Skip to content

Commit c39ce08

Browse files
verify gradient_C_per_m in WellBores.py - add FIXME for overpressure impl issue
1 parent 036e2eb commit c39ce08

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

src/geophires_x/WellBores.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,11 +432,12 @@ def InjPressureDropsAndPumpingPowerUsingImpedenceModel(f1: float, vinj: float, r
432432

433433
return newDPOverall, PumpingPower, DPInjWell
434434

435+
435436
def get_hydrostatic_pressure_kPa(
436437
Trock_degC: float,
437438
Tsurf_degC: float,
438439
depth_m: float,
439-
gradient_C_per_m: float, # converted from C/km to C/m
440+
gradient_C_per_m: float, # converted from C/km to C/m
440441
lithostatic_pressure: PlainQuantity) -> float:
441442
"""
442443
Correlation cited as being from Xie, Bloomfield, and Shook in

tests/examples/example_overpressure.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ Electricity Escalation Rate Per Year,0.012
1515
Reservoir Model,1, ---Multiple Fractures reservoir model
1616
Reservoir Depth,3, ---[km]
1717
Number of Segments,1, ---[-]
18+
19+
# FIXME: Overpressure implementation does correctly convert gradients - see https://github.com/softwareengineerprogrammer/GEOPHIRES/pull/111/files#r2492064756
1820
Gradient 1,47, ---[deg.C/km]
21+
1922
Maximum Temperature,400, ---[deg.C]
2023
Number of Production Wells,2, ---[-]
2124
Number of Injection Wells,2, ---[-]

tests/examples/example_overpressure2.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ Electricity Escalation Rate Per Year,0.012
1515
Reservoir Model,1, ---Multiple Fractures reservoir model
1616
Reservoir Depth,3, ---[km]
1717
Number of Segments,1, ---[-]
18+
19+
# FIXME: Overpressure implementation does correctly convert gradients - see https://github.com/softwareengineerprogrammer/GEOPHIRES/pull/111/files#r2492064756
1820
Gradient 1,47, ---[deg.C/km]
21+
1922
Maximum Temperature,400, ---[deg.C]
2023
Number of Production Wells,2, ---[-]
2124
Number of Injection Wells,2, ---[-]

0 commit comments

Comments
 (0)