Skip to content

Commit 362690b

Browse files
Only display 1 decimal place of water loss rate (consistent with previous behavior)
1 parent dea6ddf commit 362690b

28 files changed

+79
-79
lines changed

src/geophires_x/Outputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ def PrintOutputs(self, model: Model):
306306
f.write(f' Number of Production Wells: {model.wellbores.nprod.value:10.0f}' + NL)
307307
f.write(f' Number of Injection Wells: {model.wellbores.ninj.value:10.0f}' + NL)
308308
f.write(f' {Outputs._field_label(Outputs.VERTICAL_WELL_DEPTH_OUTPUT_NAME, 49)}{model.reserv.depth.value:10.1f} ' + model.reserv.depth.CurrentUnits.value + NL)
309-
f.write(f' Water loss rate: {model.reserv.waterloss.value:10.2f} {model.reserv.waterloss.CurrentUnits.value}\n')
309+
f.write(f' Water loss rate: {model.reserv.waterloss.value:10.1f} {model.reserv.waterloss.CurrentUnits.value}\n')
310310
f.write(f' Pump efficiency: {model.surfaceplant.pump_efficiency.value:10.1f} ' + model.surfaceplant.pump_efficiency.CurrentUnits.value + NL)
311311
f.write(f' Injection temperature: {model.wellbores.Tinj.value:10.1f} ' + model.wellbores.Tinj.CurrentUnits.value + NL)
312312
if model.wellbores.rameyoptionprod.value:

tests/examples/Fervo_Norbeck_Latimer_2023.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.433 sec
9+
Simulation Time: 10:13
10+
Calculation Time: 0.432 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -39,7 +39,7 @@ Simulation Metadata
3939
Number of Production Wells: 1
4040
Number of Injection Wells: 1
4141
Well depth: 2.3 kilometer
42-
Water loss rate: 10.00 %
42+
Water loss rate: 10.0 %
4343
Pump efficiency: 80.0 %
4444
Injection temperature: 41.0 degC
4545
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/Fervo_Project_Cape-2.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.648 sec
9+
Simulation Time: 10:13
10+
Calculation Time: 0.650 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -39,7 +39,7 @@ Simulation Metadata
3939
Number of Production Wells: 1
4040
Number of Injection Wells: 2
4141
Well depth: 2.6 kilometer
42-
Water loss rate: 2.00 %
42+
Water loss rate: 2.0 %
4343
Pump efficiency: 80.0 %
4444
Injection temperature: 56.7 degC
4545
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/Fervo_Project_Cape-3.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.866 sec
9+
Simulation Time: 10:13
10+
Calculation Time: 0.868 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -39,7 +39,7 @@ Simulation Metadata
3939
Number of Production Wells: 39
4040
Number of Injection Wells: 39
4141
Well depth: 2.6 kilometer
42-
Water loss rate: 5.00 %
42+
Water loss rate: 5.0 %
4343
Pump efficiency: 80.0 %
4444
Injection temperature: 56.7 degC
4545
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/Fervo_Project_Cape.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.651 sec
9+
Simulation Time: 10:13
10+
Calculation Time: 0.655 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -39,7 +39,7 @@ Simulation Metadata
3939
Number of Production Wells: 12
4040
Number of Injection Wells: 12
4141
Well depth: 2.6 kilometer
42-
Water loss rate: 2.00 %
42+
Water loss rate: 2.0 %
4343
Pump efficiency: 80.0 %
4444
Injection temperature: 56.2 degC
4545
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/S-DAC-GT.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
9+
Simulation Time: 10:13
1010
Calculation Time: 0.099 sec
1111

1212
***SUMMARY OF RESULTS***
@@ -41,7 +41,7 @@ Simulation Metadata
4141
Number of Production Wells: 3
4242
Number of Injection Wells: 3
4343
Well depth: 3.1 kilometer
44-
Water loss rate: 2.00 %
44+
Water loss rate: 2.0 %
4545
Pump efficiency: 80.0 %
4646
Injection temperature: 70.0 degC
4747
User-provided production well temperature drop

tests/examples/example1.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.780 sec
9+
Simulation Time: 10:12
10+
Calculation Time: 0.773 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -40,7 +40,7 @@ Simulation Metadata
4040
Number of Production Wells: 2
4141
Number of Injection Wells: 2
4242
Well depth: 3.0 kilometer
43-
Water loss rate: 2.00 %
43+
Water loss rate: 2.0 %
4444
Pump efficiency: 80.0 %
4545
Injection temperature: 50.0 degC
4646
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/example10_HP.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
9+
Simulation Time: 10:13
1010
Calculation Time: 0.096 sec
1111

1212
***SUMMARY OF RESULTS***
@@ -40,7 +40,7 @@ Simulation Metadata
4040
Number of Production Wells: 2
4141
Number of Injection Wells: 2
4242
Well depth: 2.1 kilometer
43-
Water loss rate: 2.00 %
43+
Water loss rate: 2.0 %
4444
Pump efficiency: 80.0 %
4545
Injection temperature: 83.0 degC
4646
User-provided production well temperature drop

tests/examples/example11_AC.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.097 sec
9+
Simulation Time: 10:13
10+
Calculation Time: 0.096 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -41,7 +41,7 @@ Simulation Metadata
4141
Number of Production Wells: 2
4242
Number of Injection Wells: 2
4343
Well depth: 2.1 kilometer
44-
Water loss rate: 2.00 %
44+
Water loss rate: 2.0 %
4545
Pump efficiency: 80.0 %
4646
Injection temperature: 83.0 degC
4747
User-provided production well temperature drop

tests/examples/example12_DH.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.578 sec
9+
Simulation Time: 10:13
10+
Calculation Time: 0.570 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -43,7 +43,7 @@ Simulation Metadata
4343
Number of Production Wells: 2
4444
Number of Injection Wells: 2
4545
Well depth: 3.5 kilometer
46-
Water loss rate: 0.00 %
46+
Water loss rate: 0.0 %
4747
Pump efficiency: 80.0 %
4848
Injection temperature: 50.0 degC
4949
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/example13.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.033 sec
9+
Simulation Time: 10:12
10+
Calculation Time: 0.032 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -42,7 +42,7 @@ Simulation Metadata
4242
Number of Production Wells: 2
4343
Number of Injection Wells: 2
4444
Well depth: 4.0 kilometer
45-
Water loss rate: 0.00 %
45+
Water loss rate: 0.0 %
4646
Pump efficiency: 80.0 %
4747
Injection temperature: 50.0 degC
4848
User-provided production well temperature drop

tests/examples/example1_addons.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.782 sec
9+
Simulation Time: 10:12
10+
Calculation Time: 0.776 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -41,7 +41,7 @@ Simulation Metadata
4141
Number of Production Wells: 2
4242
Number of Injection Wells: 2
4343
Well depth: 3.0 kilometer
44-
Water loss rate: 2.00 %
44+
Water loss rate: 2.0 %
4545
Pump efficiency: 80.0 %
4646
Injection temperature: 50.0 degC
4747
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/example1_outputunits.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.783 sec
9+
Simulation Time: 10:12
10+
Calculation Time: 0.781 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -40,7 +40,7 @@ Simulation Metadata
4040
Number of Production Wells: 2
4141
Number of Injection Wells: 2
4242
Well depth: 3.0 kilometer
43-
Water loss rate: 2.00 %
43+
Water loss rate: 2.0 %
4444
Pump efficiency: 80.0 %
4545
Injection temperature: 50.0 degC
4646
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/example2.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.210 sec
9+
Simulation Time: 10:12
10+
Calculation Time: 0.203 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -39,7 +39,7 @@ Simulation Metadata
3939
Number of Production Wells: 2
4040
Number of Injection Wells: 2
4141
Well depth: 3.0 kilometer
42-
Water loss rate: 0.00 %
42+
Water loss rate: 0.0 %
4343
Pump efficiency: 80.0 %
4444
Injection temperature: 70.0 degC
4545
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/example3.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.114 sec
9+
Simulation Time: 10:12
10+
Calculation Time: 0.113 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -41,7 +41,7 @@ Simulation Metadata
4141
Number of Production Wells: 3
4242
Number of Injection Wells: 3
4343
Well depth: 3.1 kilometer
44-
Water loss rate: 2.00 %
44+
Water loss rate: 2.0 %
4545
Pump efficiency: 80.0 %
4646
Injection temperature: 73.0 degC
4747
User-provided production well temperature drop

tests/examples/example4.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.046 sec
9+
Simulation Time: 10:12
10+
Calculation Time: 0.044 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -39,7 +39,7 @@ Simulation Metadata
3939
Number of Production Wells: 3
4040
Number of Injection Wells: 2
4141
Well depth: 2.0 kilometer
42-
Water loss rate: 0.00 %
42+
Water loss rate: 0.0 %
4343
Pump efficiency: 80.0 %
4444
Injection temperature: 70.0 degC
4545
User-provided production well temperature drop

tests/examples/example5.out

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Simulation Metadata
66
----------------------
77
GEOPHIRES Version: 3.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
9+
Simulation Time: 10:12
1010
Calculation Time: 0.046 sec
1111

1212
***SUMMARY OF RESULTS***
@@ -38,7 +38,7 @@ Simulation Metadata
3838
Number of Production Wells: 2
3939
Number of Injection Wells: 2
4040
Well depth: 3.0 kilometer
41-
Water loss rate: 2.00 %
41+
Water loss rate: 2.0 %
4242
Pump efficiency: 80.0 %
4343
Injection temperature: 80.0 degC
4444
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/example8.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.783 sec
9+
Simulation Time: 10:13
10+
Calculation Time: 0.778 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -39,7 +39,7 @@ Simulation Metadata
3939
Number of Production Wells: 1
4040
Number of Injection Wells: 1
4141
Well depth: 2.8 kilometer
42-
Water loss rate: 2.00 %
42+
Water loss rate: 2.0 %
4343
Pump efficiency: 80.0 %
4444
Injection temperature: 30.0 degC
4545
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/example9.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.781 sec
9+
Simulation Time: 10:13
10+
Calculation Time: 0.774 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -40,7 +40,7 @@ Simulation Metadata
4040
Number of Production Wells: 1
4141
Number of Injection Wells: 1
4242
Well depth: 3.8 kilometer
43-
Water loss rate: 2.00 %
43+
Water loss rate: 2.0 %
4444
Pump efficiency: 80.0 %
4545
Injection temperature: 60.0 degC
4646
Production Wellbore heat transmission calculated with Ramey's model

tests/examples/example_ITC.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.9.7
88
Simulation Date: 2025-05-15
9-
Simulation Time: 10:09
10-
Calculation Time: 0.786 sec
9+
Simulation Time: 10:13
10+
Calculation Time: 0.780 sec
1111

1212
***SUMMARY OF RESULTS***
1313

@@ -39,7 +39,7 @@ Simulation Metadata
3939
Number of Production Wells: 2
4040
Number of Injection Wells: 2
4141
Well depth: 5.0 kilometer
42-
Water loss rate: 2.00 %
42+
Water loss rate: 2.0 %
4343
Pump efficiency: 80.0 %
4444
Injection temperature: 50.0 degC
4545
Production Wellbore heat transmission calculated with Ramey's model

0 commit comments

Comments
 (0)