Skip to content

Commit 02058cc

Browse files
fix impl error introduced in 95b850f that was affecting example13 (regenerated with no change in results)
1 parent b44fda1 commit 02058cc

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/geophires_x/Economics.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ def _construction_inflation_cost_elec_heat() -> tuple[float, float]:
453453
capex_elec_plus_infl, capex_heat_plus_infl = _construction_inflation_cost_elec_heat()
454454

455455
LCOE = (capex_elec_plus_infl + np.sum(Coam_elec * discount_vector)) / np.sum(model.surfaceplant.NetkWhProduced.value * discount_vector) * 1E8 # cents/kWh
456-
LCOH = (capex_heat_plus_infl * CCap_heat +
456+
LCOH = (capex_heat_plus_infl +
457457
np.sum((Coam_heat + model.surfaceplant.PumpingkWh.value * model.surfaceplant.electricity_cost_to_buy.value / 1E6) * discount_vector)) / np.sum(model.surfaceplant.HeatkWhProduced.value * discount_vector) * 1E8 # cents/kWh
458458
LCOH = LCOH * 2.931 # $/MMBTU
459459

tests/examples/example13.out

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44

55
Simulation Metadata
66
----------------------
7-
GEOPHIRES Version: 3.9.36
8-
Simulation Date: 2025-07-25
9-
Simulation Time: 11:30
10-
Calculation Time: 0.037 sec
7+
GEOPHIRES Version: 3.9.47
8+
Simulation Date: 2025-07-31
9+
Simulation Time: 08:44
10+
Calculation Time: 0.036 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -27,7 +27,7 @@ Simulation Metadata
2727

2828
Economic Model = Standard Levelized Cost
2929
Interest Rate: 5.00 %
30-
Accrued financing during construction: 0.00 %
30+
Accrued financing during construction: 0.00 %
3131
Project lifetime: 30 yr
3232
Capacity factor: 80.0 %
3333
Project NPV: -31.42 MUSD

0 commit comments

Comments
 (0)