Skip to content

Commit 1a5af3b

Browse files
update construction capex schedule tooltip text to reflect implementation
1 parent a6206ae commit 1a5af3b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

src/geophires_x/Economics.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1171,13 +1171,17 @@ def __init__(self, model: Model):
11711171
'calculated automatically by compounding Inflation Rate over Construction Years.'
11721172
)
11731173

1174+
construction_capex_schedule_name = 'Construction CAPEX Schedule'
11741175
self.construction_capex_schedule = self.ParameterDict[self.construction_capex_schedule.Name] = listParameter(
1175-
"Construction CAPEX Schedule",
1176+
construction_capex_schedule_name,
11761177
DefaultValue=[1.],
11771178
Min=0.0,
11781179
Max=1.0,
1179-
ToolTipText='A list of percentages of the total overnight CAPEX spent in each construction year. '
1180-
'The number of entries must equal Construction Years. e.g., for 3 years: 0.1,0.4,0.5'
1180+
ToolTipText=f'A list of fractions of the total overnight CAPEX spent in each construction year. '
1181+
f'For example, for 3 construction years with 10% in the first year, 40% in the second, '
1182+
f'and 50% in the third, provide {construction_capex_schedule_name} = 0.1,0.4,0.5. '
1183+
f'If the length of the provided schedule does not match the number of construction years, '
1184+
f'it will be interpolated to match the number of construction years.'
11811185
)
11821186

11831187
default_bond_financing_start_year = 0

src/geophires_x_schema_generator/geophires-request.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@
17741774
"maximum": 1.0
17751775
},
17761776
"Construction CAPEX Schedule": {
1777-
"description": "A list of percentages of the total overnight CAPEX spent in each construction year. The number of entries must equal Construction Years. e.g., for 3 years: 0.1,0.4,0.5",
1777+
"description": "A list of fractions of the total overnight CAPEX spent in each construction year. For example, for 3 construction years with 10% in the first year, 40% in the second, and 50% in the third, provide Construction CAPEX Schedule = 0.1,0.4,0.5. If the length of the provided schedule does not match the number of construction years, it will be interpolated to match the number of construction years.",
17781778
"type": "array",
17791779
"units": null,
17801780
"category": "Economics",

0 commit comments

Comments
 (0)