Skip to content

Commit a3cd9d2

Browse files
Output Inflation costs during construction in ECONOMIC PARAMETERS after Accrued financing during construction for economic models that don't treat inflation costs as capital costs (non-SAM-EM)
1 parent 02058cc commit a3cd9d2

File tree

11 files changed

+48
-30
lines changed

11 files changed

+48
-30
lines changed

src/geophires_x/EconomicsUtils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ def total_capex_parameter_output_parameter() -> OutputParameter:
139139
UnitType=Units.CURRENCY,
140140
CurrentUnits=CurrencyUnit.MDOLLARS,
141141
PreferredUnits=CurrencyUnit.MDOLLARS,
142-
ToolTipText="The total capital expenditure (CAPEX) required to construct the plant. "
143-
"This value includes all direct and indirect costs, contingency, and any cost escalation from "
144-
"inflation during construction. It is used as the total installed cost input for "
145-
"SAM Economic Models."
142+
ToolTipText='The total capital expenditure (CAPEX) required to construct the plant. '
143+
'This value includes all direct and indirect costs, and contingency. '
144+
'For SAM Economic models, it also includes any cost escalation from inflation during construction. '
145+
'It is used as the total installed cost input for SAM Economic Models.'
146146
)

src/geophires_x/Outputs.py

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,20 @@ def PrintOutputs(self, model: Model):
274274
acf_label = Outputs._field_label(acf.display_name, 49)
275275
f.write(f' {acf_label}{acf.value:10.2f} {acf.CurrentUnits.value}\n')
276276

277+
display_inflation_costs_in_economic_parameters: bool = (
278+
econ.econmodel.value in [EconomicModel.BICYCLE,
279+
EconomicModel.FCR,
280+
EconomicModel.STANDARDIZED_LEVELIZED_COST]
281+
and
282+
econ.inflation_cost_during_construction.value != 0.
283+
)
284+
if display_inflation_costs_in_economic_parameters:
285+
# Inflation cost is displayed here for economic models that don't treat inflation cost as a
286+
# capital cost
287+
icc: OutputParameter = econ.inflation_cost_during_construction
288+
icc_label = Outputs._field_label(icc.display_name, 49)
289+
f.write(f' {icc_label}{icc.value:10.2f} {icc.CurrentUnits.value}\n')
290+
277291
f.write(f' Project lifetime: {model.surfaceplant.plant_lifetime.value:10.0f} {model.surfaceplant.plant_lifetime.CurrentUnits.value}\n')
278292
f.write(f' Capacity factor: {model.surfaceplant.utilization_factor.value * 100:10.1f} %\n')
279293

@@ -497,11 +511,7 @@ def PrintOutputs(self, model: Model):
497511
# expenditure.
498512
pass
499513

500-
display_inflation_during_construction_in_capital_costs = is_sam_econ_model \
501-
or (econ.econmodel.value in [EconomicModel.BICYCLE, EconomicModel.FCR,
502-
EconomicModel.STANDARDIZED_LEVELIZED_COST]
503-
and
504-
econ.inflation_cost_during_construction.value != 0.)
514+
display_inflation_during_construction_in_capital_costs = is_sam_econ_model
505515
if display_inflation_during_construction_in_capital_costs:
506516
icc_label = Outputs._field_label(econ.inflation_cost_during_construction.display_name, 47)
507517
f.write(f' {icc_label}{econ.inflation_cost_during_construction.value:10.2f} {econ.inflation_cost_during_construction.CurrentUnits.value}\n')

src/geophires_x_client/geophires_x_result.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ class GeophiresXResult:
7979
'Nominal Discount Rate',
8080
'WACC',
8181
'Accrued financing during construction',
82+
# Displayed for economic models that don't treat inflation costs as capital costs (non-SAM-EM)
83+
'Inflation costs during construction',
8284
'Project lifetime',
8385
'Capacity factor',
8486
'Project NPV',
@@ -261,6 +263,7 @@ class GeophiresXResult:
261263
'Total surface equipment costs',
262264
'Exploration costs',
263265
'Investment Tax Credit',
266+
# Displayed for economic models that treat inflation costs as capital costs (SAM-EM)
264267
'Inflation costs during construction',
265268
'Total Add-on CAPEX',
266269
'Total capital costs',

src/geophires_x_schema_generator/geophires-result.json

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"Total CAPEX": {
2222
"type": "number",
23-
"description": "The total capital expenditure (CAPEX) required to construct the plant. This value includes all direct and indirect costs, contingency, and any cost escalation from inflation during construction. It is used as the total installed cost input for SAM Economic Models.",
23+
"description": "The total capital expenditure (CAPEX) required to construct the plant. This value includes all direct and indirect costs, and contingency. For SAM Economic models, it also includes any cost escalation from inflation during construction. It is used as the total installed cost input for SAM Economic Models.",
2424
"units": "MUSD"
2525
},
2626
"Average Direct-Use Heat Production": {},
@@ -100,6 +100,11 @@
100100
"description": "The accrued inflation on total capital costs over the construction period, as defined by Inflation Rate During Construction. For SAM Economic Models, this is calculated automatically by compounding Inflation Rate over Construction Years if Inflation Rate During Construction is not provided.",
101101
"units": "%"
102102
},
103+
"Inflation costs during construction": {
104+
"type": "number",
105+
"description": "The calculated amount of cost escalation due to inflation over the construction period.",
106+
"units": "MUSD"
107+
},
103108
"Project lifetime": {},
104109
"Capacity factor": {},
105110
"Project NPV": {
@@ -432,7 +437,7 @@
432437
"Annualized capital costs": {},
433438
"Total CAPEX": {
434439
"type": "number",
435-
"description": "The total capital expenditure (CAPEX) required to construct the plant. This value includes all direct and indirect costs, contingency, and any cost escalation from inflation during construction. It is used as the total installed cost input for SAM Economic Models.",
440+
"description": "The total capital expenditure (CAPEX) required to construct the plant. This value includes all direct and indirect costs, and contingency. For SAM Economic models, it also includes any cost escalation from inflation during construction. It is used as the total installed cost input for SAM Economic Models.",
436441
"units": "MUSD"
437442
},
438443
"Drilling Cost": {},

tests/examples/Fervo_Norbeck_Latimer_2023.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.47
88
Simulation Date: 2025-07-31
9-
Simulation Time: 08:38
10-
Calculation Time: 0.476 sec
9+
Simulation Time: 08:57
10+
Calculation Time: 0.475 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -25,6 +25,7 @@ Simulation Metadata
2525

2626
Economic Model = BICYCLE
2727
Accrued financing during construction: 5.00 %
28+
Inflation costs during construction: 1.41 MUSD
2829
Project lifetime: 10 yr
2930
Capacity factor: 90.0 %
3031
Project NPV: -13.03 MUSD
@@ -103,7 +104,6 @@ Simulation Metadata
103104
Field gathering system costs: 1.52 MUSD
104105
Total surface equipment costs: 12.85 MUSD
105106
Exploration costs: 3.62 MUSD
106-
Inflation costs during construction: 1.41 MUSD
107107
Total capital costs: 28.12 MUSD
108108

109109

tests/examples/Fervo_Project_Cape-2.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.47
88
Simulation Date: 2025-07-31
9-
Simulation Time: 08:38
10-
Calculation Time: 0.707 sec
9+
Simulation Time: 08:57
10+
Calculation Time: 0.709 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -25,6 +25,7 @@ Simulation Metadata
2525

2626
Economic Model = BICYCLE
2727
Accrued financing during construction: 5.00 %
28+
Inflation costs during construction: 2.54 MUSD
2829
Project lifetime: 15 yr
2930
Capacity factor: 90.0 %
3031
Project NPV: 42.34 MUSD
@@ -101,7 +102,6 @@ Simulation Metadata
101102
Field gathering system costs: 1.68 MUSD
102103
Total surface equipment costs: 26.36 MUSD
103104
Exploration costs: 0.00 MUSD
104-
Inflation costs during construction: 2.54 MUSD
105105
Total capital costs: 50.76 MUSD
106106

107107

tests/examples/Fervo_Project_Cape-3.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.47
88
Simulation Date: 2025-07-31
9-
Simulation Time: 08:38
10-
Calculation Time: 0.940 sec
9+
Simulation Time: 08:57
10+
Calculation Time: 0.951 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -25,6 +25,7 @@ Simulation Metadata
2525

2626
Economic Model = BICYCLE
2727
Accrued financing during construction: 5.00 %
28+
Inflation costs during construction: 53.65 MUSD
2829
Project lifetime: 20 yr
2930
Capacity factor: 90.0 %
3031
Project NPV: 4580.36 MUSD
@@ -102,7 +103,6 @@ Simulation Metadata
102103
Total surface equipment costs: 969.26 MUSD
103104
Exploration costs: 30.00 MUSD
104105
Investment Tax Credit: -459.83 MUSD
105-
Inflation costs during construction: 53.65 MUSD
106106
Total capital costs: 1072.95 MUSD
107107

108108

tests/examples/Fervo_Project_Cape.out

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.47
88
Simulation Date: 2025-07-31
9-
Simulation Time: 08:38
10-
Calculation Time: 0.707 sec
9+
Simulation Time: 08:57
10+
Calculation Time: 0.712 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -25,6 +25,7 @@ Simulation Metadata
2525

2626
Economic Model = BICYCLE
2727
Accrued financing during construction: 5.00 %
28+
Inflation costs during construction: 24.14 MUSD
2829
Project lifetime: 15 yr
2930
Capacity factor: 90.0 %
3031
Project NPV: 520.01 MUSD
@@ -101,7 +102,6 @@ Simulation Metadata
101102
Field gathering system costs: 23.00 MUSD
102103
Total surface equipment costs: 357.63 MUSD
103104
Exploration costs: 0.00 MUSD
104-
Inflation costs during construction: 24.14 MUSD
105105
Total capital costs: 482.83 MUSD
106106

107107

tests/examples/example10_HP.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.47
88
Simulation Date: 2025-07-31
9-
Simulation Time: 08:38
9+
Simulation Time: 08:57
1010
Calculation Time: 0.105 sec
1111

1212
***SUMMARY OF RESULTS***
@@ -27,6 +27,7 @@ Simulation Metadata
2727
Economic Model = Standard Levelized Cost
2828
Interest Rate: 5.00 %
2929
Accrued financing during construction: 5.00 %
30+
Inflation costs during construction: 1.39 MUSD
3031
Project lifetime: 30 yr
3132
Capacity factor: 90.0 %
3233
Project NPV: 15.18 MUSD
@@ -99,7 +100,6 @@ Simulation Metadata
99100
Field gathering system costs: 2.55 MUSD
100101
Total surface equipment costs: 10.33 MUSD
101102
Exploration costs: 3.32 MUSD
102-
Inflation costs during construction: 1.39 MUSD
103103
Total capital costs: 27.72 MUSD
104104

105105

tests/examples/example11_AC.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.47
88
Simulation Date: 2025-07-31
9-
Simulation Time: 08:38
9+
Simulation Time: 08:57
1010
Calculation Time: 0.107 sec
1111

1212
***SUMMARY OF RESULTS***
@@ -28,6 +28,7 @@ Simulation Metadata
2828
Economic Model = Standard Levelized Cost
2929
Interest Rate: 5.00 %
3030
Accrued financing during construction: 5.00 %
31+
Inflation costs during construction: 1.32 MUSD
3132
Project lifetime: 30 yr
3233
Capacity factor: 90.0 %
3334
Project NPV: 10.11 MUSD
@@ -100,7 +101,6 @@ Simulation Metadata
100101
Field gathering system costs: 2.34 MUSD
101102
Total surface equipment costs: 8.96 MUSD
102103
Exploration costs: 3.32 MUSD
103-
Inflation costs during construction: 1.32 MUSD
104104
Total capital costs: 26.35 MUSD
105105

106106

0 commit comments

Comments
 (0)