Skip to content

Commit 7a197c5

Browse files
Set SAM flip target year (IRR) even though no-op
1 parent cfdee22 commit 7a197c5

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed
-17 Bytes
Binary file not shown.

src/geophires_x/EconomicsSam.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,12 @@ def _get_single_owner_parameters(model: Model) -> dict[str, Any]:
268268

269269
ret['analysis_period'] = model.surfaceplant.plant_lifetime.value
270270

271+
# SAM docs claim that specifying flip target year, aka "year in which you want the IRR to be achieved" influences
272+
# how after-tax cumulative IRR is reported (https://samrepo.nrelcloud.org/help/mtf_irr.html). This claim seems to
273+
# be erroneous, however, as setting this value appears to have no effect in either the SAM desktop app nor when
274+
# calling with PySAM. But, we set it here anyway for the sake of technical compliance.
275+
ret['flip_target_year'] = model.surfaceplant.plant_lifetime.value
276+
271277
itc = econ.RITCValue.quantity()
272278
total_capex = econ.CCap.quantity() + itc
273279
ret['total_installed_cost'] = (total_capex * (1 + econ.inflrateconstruction.value)).to('USD').magnitude

src/geophires_x/sam_economics/Generic_400_MWe/Generic_400_MWe.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
"months_receivables_reserve" : 0,
236236
"cost_other_financing" : 0,
237237
"flip_target_percent" : 20,
238-
"flip_target_year" : 11,
238+
"flip_target_year" : 20,
239239
"pbi_fed_for_ds" : 0,
240240
"pbi_sta_for_ds" : 0,
241241
"pbi_uti_for_ds" : 0,

src/geophires_x/sam_economics/Generic_400_MWe/Generic_400_MWe_singleowner.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187
"months_receivables_reserve" : 0,
188188
"cost_other_financing" : 0,
189189
"flip_target_percent" : 20,
190-
"flip_target_year" : 11,
190+
"flip_target_year" : 20,
191191
"pbi_fed_for_ds" : 0,
192192
"pbi_sta_for_ds" : 0,
193193
"pbi_uti_for_ds" : 0,

0 commit comments

Comments
 (0)