Skip to content

Maximum debt fraction box is buggy with IRR target mode #1353

@brtietz

Description

@brtietz

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:

  1. The debt fraction limit box is unchecked, and the PPA price is determined by an IRR target
  2. The debt fraction limit box is checked, and the PPA price is determined by an IRR target
  3. 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:

  1. 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

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions