Describe the bug
The maximum debt fraction checkbox can cause the debt fraction to be forced to 100% when paired with IRR target mode. Consider three cases:
- The debt fraction limit box is unchecked, and the PPA price is determined by an IRR target
- The debt fraction limit box is checked, and the PPA price is determined by an IRR target
- The debt fraction limit box is checked. and the PPA price matches (1)
All three cases should return approximately the same debt fraction (within reasonable rounding) but right now case 2 goes to 100%.
Note that there might be an additional bug here with setting the minimum debt fraction to zero. That should be investigated at the same time.
To Reproduce
Steps to reproduce the behavior:
- Run cases as above in attached SAM file:
maximum-debt-fraction-test.zip
Expected behavior
Cases with debt fractions between 0% and 100% should not have their debt fractions changed by the checkbox.
Operating System and Version
- Version 2022.11.21, possibly others
Describe the bug
The maximum debt fraction checkbox can cause the debt fraction to be forced to 100% when paired with IRR target mode. Consider three cases:
All three cases should return approximately the same debt fraction (within reasonable rounding) but right now case 2 goes to 100%.
Note that there might be an additional bug here with setting the minimum debt fraction to zero. That should be investigated at the same time.
To Reproduce
Steps to reproduce the behavior:
maximum-debt-fraction-test.zip
Expected behavior
Cases with debt fractions between 0% and 100% should not have their debt fractions changed by the checkbox.
Operating System and Version