Skip to content

Commit bea93af

Browse files
Include CAPEX in SUMMARY OF RESULTS for SAM econ models. (Could possibly display capex for all econ models but decided to limit scope for now)
1 parent 480614e commit bea93af

File tree

4 files changed

+19
-12
lines changed

4 files changed

+19
-12
lines changed

src/geophires_x/Outputs.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,9 @@ def PrintOutputs(self, model: Model):
221221
f.write(f' {model.economics.LCOE.display_name}: {model.economics.LCOE.value:10.2f} {model.economics.LCOE.CurrentUnits.value}\n')
222222
f.write(f' {model.economics.LCOH.display_name}: {model.economics.LCOH.value:10.2f} {model.economics.LCOH.CurrentUnits.value}\n')
223223

224+
if econ.econmodel.value == EconomicModel.SAM_SINGLE_OWNER_PPA:
225+
f.write(f' {Outputs._field_label(econ.CCap.display_name, 50)}{econ.CCap.value:10.2f} {econ.CCap.CurrentUnits.value}\n')
226+
224227
f.write(f' Number of production wells: {model.wellbores.nprod.value:10.0f}'+NL)
225228
f.write(f' Number of injection wells: {model.wellbores.ninj.value:10.0f}'+NL)
226229
f.write(f' Flowrate per production well: {model.wellbores.prodwellflowrate.value:10.1f} ' + model.wellbores.prodwellflowrate.CurrentUnits.value + NL)
@@ -380,7 +383,8 @@ def PrintOutputs(self, model: Model):
380383
elif model.reserv.resvoloption.value == ReservoirVolume.RES_VOL_ONLY:
381384
f.write(' Reservoir volume provided as input\n')
382385
if model.reserv.resvoloption.value in [ReservoirVolume.FRAC_NUM_SEP, ReservoirVolume.RES_VOL_FRAC_SEP, ReservoirVolume.FRAC_NUM_SEP]:
383-
f.write(f' {model.reserv.fracnumbcalc.display_name}: {math.ceil(model.reserv.fracnumbcalc.value)}\n')
386+
frac_num_label = Outputs._field_label(model.reserv.fracnumbcalc.display_name, 56)
387+
f.write(f' {frac_num_label}{math.ceil(model.reserv.fracnumbcalc.value)}\n')
384388
f.write(f' {model.reserv.fracsepcalc.display_name}: {model.reserv.fracsepcalc.value:10.2f} {model.reserv.fracsep.CurrentUnits.value}\n')
385389
f.write(f' Reservoir volume: {model.reserv.resvolcalc.value:10.0f} {model.reserv.resvol.CurrentUnits.value}\n')
386390

tests/examples/Fervo_Project_Cape-4.out

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.12
88
Simulation Date: 2025-05-29
9-
Simulation Time: 08:40
10-
Calculation Time: 1.045 sec
9+
Simulation Time: 08:52
10+
Calculation Time: 1.046 sec
1111

1212
***SUMMARY OF RESULTS***
1313

1414
End-Use Option: Electricity
1515
Average Net Electricity Production: 525.19 MW
1616
Electricity breakeven price: 7.51 cents/kWh
17+
Total CAPEX: 2464.00 MUSD
1718
Number of production wells: 54
1819
Number of injection wells: 54
1920
Flowrate per production well: 107.0 kg/sec
@@ -67,7 +68,7 @@ Simulation Metadata
6768
Fracture width: 500.00 meter
6869
Fracture area: 250000.00 m**2
6970
Number of fractures calculated with reservoir volume and fracture separation as input
70-
Number of fractures: 2322
71+
Number of fractures: 2322
7172
Fracture separation: 10.00 meter
7273
Reservoir volume: 5801599999 m**3
7374
Reservoir impedance: 0.0010 GPa.s/m**3

tests/examples/example_SAM-single-owner-PPA-2.out

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

55
Simulation Metadata
66
----------------------
7-
GEOPHIRES Version: 3.9.11
8-
Simulation Date: 2025-05-27
9-
Simulation Time: 10:11
10-
Calculation Time: 0.908 sec
7+
GEOPHIRES Version: 3.9.12
8+
Simulation Date: 2025-05-29
9+
Simulation Time: 08:52
10+
Calculation Time: 0.878 sec
1111

1212
***SUMMARY OF RESULTS***
1313

1414
End-Use Option: Electricity
1515
Average Net Electricity Production: 404.31 MW
1616
Electricity breakeven price: 7.37 cents/kWh
17+
Total CAPEX: 1609.42 MUSD
1718
Number of production wells: 39
1819
Number of injection wells: 39
1920
Flowrate per production well: 120.0 kg/sec
@@ -67,7 +68,7 @@ Simulation Metadata
6768
Fracture width: 10000.00 meter
6869
Fracture area: 20000000.00 m**2
6970
Reservoir volume calculated with fracture separation and number of fractures as input
70-
Number of fractures: 149.00
71+
Number of fractures: 149
7172
Fracture separation: 30.00 meter
7273
Reservoir volume: 88800000000 m**3
7374
Reservoir impedance: 0.0010 GPa.s/m**3

tests/examples/example_SAM-single-owner-PPA.out

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,15 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.12
88
Simulation Date: 2025-05-29
9-
Simulation Time: 08:41
10-
Calculation Time: 1.054 sec
9+
Simulation Time: 08:55
10+
Calculation Time: 1.052 sec
1111

1212
***SUMMARY OF RESULTS***
1313

1414
End-Use Option: Electricity
1515
Average Net Electricity Production: 58.87 MW
1616
Electricity breakeven price: 6.60 cents/kWh
17+
Total CAPEX: 264.61 MUSD
1718
Number of production wells: 6
1819
Number of injection wells: 6
1920
Flowrate per production well: 100.0 kg/sec
@@ -67,7 +68,7 @@ Simulation Metadata
6768
Fracture width: 500.00 meter
6869
Fracture area: 250000.00 m**2
6970
Number of fractures calculated with reservoir volume and fracture separation as input
70-
Number of fractures: 2322
71+
Number of fractures: 2322
7172
Fracture separation: 10.00 meter
7273
Reservoir volume: 5801599999 m**3
7374
Reservoir impedance: 0.0010 GPa.s/m**3

0 commit comments

Comments
 (0)