Skip to content

Commit 6f038e0

Browse files
Doing a Monte Carlo Simulation for Fervo. Also, extending the maximum possible range for Plant Outlet Pressure
1 parent 83a312e commit 6f038e0

File tree

4 files changed

+25
-7
lines changed

4 files changed

+25
-7
lines changed

src/geophires_x/SurfacePlant.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ def __init__(self, model: Model):
342342
"Plant Outlet Pressure",
343343
DefaultValue=100.0,
344344
Min=0.01,
345-
Max=10000.0,
345+
Max=15000.0,
346346
UnitType=Units.PRESSURE,
347347
PreferredUnits=PressureUnit.KPASCAL,
348348
CurrentUnits=PressureUnit.KPASCAL,
@@ -576,16 +576,16 @@ def read_parameters(self, model:Model) -> None:
576576
model.wellbores.impedancemodelallowed.value = False
577577
self.setinjectionpressurefixed = True
578578
elif ParameterToModify.Name == 'Plant Outlet Pressure':
579-
if ParameterToModify.value < 0 or ParameterToModify.value > 10000:
579+
if ParameterToModify.value < self.plant_outlet_pressure.Min or ParameterToModify.value > self.plant_outlet_pressure.Max:
580580
if self.setinjectionpressurefixed:
581581
ParameterToModify.value = 100
582-
msg = (f'Provided plant outlet pressure outside of range 0-10000. GEOPHIRES will '
582+
msg = (f'Provided plant outlet pressure outside of range defined valid range. GEOPHIRES will '
583583
f'assume default plant outlet pressure ({ParameterToModify.value} kPa)')
584584
print(f'Warning: {msg}')
585585
model.logger.warning(msg)
586586
else:
587587
self.usebuiltinoutletplantcorrelation.value = True
588-
msg = ('Provided plant outlet pressure outside of range 0-10000 kPa. '
588+
msg = ('Provided plant outlet pressure outside of defined valid range. '
589589
'GEOPHIRES will calculate plant outlet pressure based on production '
590590
'wellhead pressure and surface equipment pressure drop of 10 psi')
591591
print(f'Warning: {msg}')

tests/examples/Fervo_Norbeck_Latimer_2024.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.4.29
88
Simulation Date: 2024-05-15
9-
Simulation Time: 10:41
10-
Calculation Time: 0.337 sec
9+
Simulation Time: 11:23
10+
Calculation Time: 0.353 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -52,7 +52,7 @@ Simulation Metadata
5252

5353
***RESOURCE CHARACTERISTICS***
5454

55-
Maximum reservoir temperature: 400.0 degC
55+
Maximum reservoir temperature: 300.0 degC
5656
Number of segments: 1
5757
Geothermal gradient: 0.0767 degC/m
5858

tests/examples/Fervo_Norbeck_Latimer_2024.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Fracture Width, 160, per the paper (distance between wellbores assumes a dipole
2525
Fracture Separation, 10 meter
2626
Number of Segments,1
2727
Gradient 1, 76.74, per the paper
28+
Maximum Temperature, 300 degC, per the paper
2829
Plant Outlet Pressure, 1450 psi, per the paper
2930

3031
*** Wellbore Parameters***
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
INPUT, Reservoir Density, uniform, 2650, 2900
2+
INPUT, Number of Fractures, uniform, 90, 110
3+
INPUT, Fracture Height, normal, 100, 30
4+
INPUT, Fracture Width, normal, 100, 30
5+
INPUT, Fracture Separation, uniform, 5, 15
6+
INPUT, Plant Outlet Pressure, uniform, 6895, 13790
7+
INPUT, Production Flow Rate per Well, triangular, 35, 41, 47
8+
INPUT, Injection Temperature, uniform, 24, 52
9+
INPUT, Ambient Temperature, normal, 15, 7
10+
INPUT, Surface Temperature, normal, 15, 7
11+
OUTPUT, Average Net Electricity Generation
12+
OUTPUT, Average Total Electricity Generation
13+
OUTPUT, Electricity breakeven price
14+
OUTPUT, Average Production Temperature
15+
OUTPUT, Average Pumping Power
16+
ITERATIONS, 5000
17+
HTML_PATH, D:\TEMP\MC_Fervo_Norbeck_latimer_2024.html

0 commit comments

Comments
 (0)