File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -1743,7 +1743,7 @@ def PrintOutputs(self, model: Model):
1743
1743
f .write (f' Fracture separation: { model .reserv .fracsepcalc .value :10.2f} ' + model .reserv .fracsep .CurrentUnits .value + NL )
1744
1744
f .write (f' Reservoir volume: { model .reserv .resvolcalc .value :10.0f} ' + model .reserv .resvol .CurrentUnits .value + NL )
1745
1745
if model .wellbores .impedancemodelused .value :
1746
- f .write (f' Reservoir impedance: { model .wellbores .impedance .value / 1000 :10.2f } ' + model .wellbores .impedance .CurrentUnits .value + NL )
1746
+ f .write (f' Reservoir impedance: { model .wellbores .impedance .value / 1000 :10.4f } { model .wellbores .impedance .CurrentUnits .value } \n ' )
1747
1747
else :
1748
1748
if model .wellbores .overpressure_percentage .Provided :
1749
1749
# write the reservoir pressure as an average in the overpressure case
Original file line number Diff line number Diff line change @@ -796,7 +796,11 @@ def __init__(self, model: Model):
796
796
)
797
797
self .impedance = self .ParameterDict [self .impedance .Name ] = floatParameter (
798
798
"Reservoir Impedance" ,
799
+
800
+ # Note default/input value units are converted as a special case in read_parameters; see
801
+ # https://github.com/NREL/GEOPHIRES-X/blob/d51eb8d1dc8b21c7a79c4d35f296d740347658e0/src/geophires_x/WellBores.py#L1280-L1282
799
802
DefaultValue = 1000.0 ,
803
+
800
804
Min = 1E-4 ,
801
805
Max = 1E4 ,
802
806
UnitType = Units .IMPEDANCE ,
@@ -1277,7 +1281,8 @@ def read_parameters(self, model: Model) -> None:
1277
1281
# impedance: impedance per well pair (input as GPa*s/m^3 and converted to KPa/kg/s
1278
1282
# (assuming 1000 for density; density will be corrected for later))
1279
1283
elif ParameterToModify .Name == "Reservoir Impedance" :
1280
- # shift it by a constant to make the units right, per line 619 of GEOPHIRES 2
1284
+ # shift it by a constant to make the units right, per line 619 of GEOPHIRES 2:
1285
+ # https://github.com/NREL/GEOPHIRES-v2/blob/08485b98ae02aeb7a5acd972f906b2ea81ae2647/GEOPHIRESv2.py#L610-L619
1281
1286
self .impedance .value = self .impedance .value * (1E6 / 1E3 )
1282
1287
self .impedancemodelused .value = True
1283
1288
if self .impedance .Provided is False :
Original file line number Diff line number Diff line change 4
4
5
5
Simulation Metadata
6
6
----------------------
7
- GEOPHIRES Version: 3.7.1
8
- Simulation Date: 2025-01-22
9
- Simulation Time: 10:48
10
- Calculation Time: 0.889 sec
7
+ GEOPHIRES Version: 3.7.12
8
+ Simulation Date: 2025-02-17
9
+ Simulation Time: 10:42
10
+ Calculation Time: 0.890 sec
11
11
12
12
***SUMMARY OF RESULTS***
13
13
@@ -70,7 +70,7 @@ Simulation Metadata
70
70
Number of fractures: 149.00
71
71
Fracture separation: 30.00 meter
72
72
Reservoir volume: 88800000000 m**3
73
- Reservoir impedance: 0.00 GPa.s/m**3
73
+ Reservoir impedance: 0.0010 GPa.s/m**3
74
74
Reservoir density: 2800.00 kg/m**3
75
75
Reservoir thermal conductivity: 3.05 W/m/K
76
76
Reservoir heat capacity: 790.00 J/kg/K
You can’t perform that action at this time.
0 commit comments