Skip to content

Commit 94edf5d

Browse files
retain flat license addition to OCC for SAM-EM
1 parent 2db64b8 commit 94edf5d

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/geophires_x/Economics.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3454,14 +3454,14 @@ def calculate_total_capital_costs(self, model: Model) -> None:
34543454
self.RITCValue.value = self.RITC.value * self.CCap.value
34553455
self.CCap.value = self.CCap.value - self.RITCValue.value
34563456

3457-
# Add in the FlatLicenseEtc, OtherIncentives, & TotalGrant
3458-
# Add in the FlatLicenseEtc, OtherIncentives, & TotalGrant
3457+
self.CCap.value += self.FlatLicenseEtc.value
3458+
34593459
if self.econmodel.value != EconomicModel.SAM_SINGLE_OWNER_PPA:
3460+
# SAM-EM parameterizes these as ibi_oth_amount
34603461
self.CCap.value = (
3461-
self.CCap.value
3462-
+ self.FlatLicenseEtc.value
3463-
- self.OtherIncentives.value
3464-
- self.TotalGrant.value
3462+
self.CCap.value
3463+
- self.OtherIncentives.value
3464+
- self.TotalGrant.value
34653465
)
34663466

34673467
def calculate_operating_and_maintenance_costs(self, model: Model) -> None:

0 commit comments

Comments
 (0)