Skip to content

Commit 24127b7

Browse files
'Interest on reserves' special case (appears to only be present in input)
1 parent 0eda5e2 commit 24127b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/geophires_x/EconomicsSamCashFlow.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,12 @@ def _build_single_owner_output_properties():
186186

187187
sop = {**sop, **_SINGLE_OWNER_OUTPUT_PROPERTIES_ADDITIONAL}
188188

189+
with open(
190+
_get_file_path('sam_economics/Generic_400_MWe/Generic_400_MWe_singleowner.json'), encoding='utf-8'
191+
) as gso:
192+
reserves_interest_input_value = json.load(gso)['reserves_interest']
193+
sop['Interest on reserves (%/year)'] = lambda _soo: reserves_interest_input_value
194+
189195
return sop
190196

191197

0 commit comments

Comments
 (0)