File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -521,9 +521,9 @@ def ProdPressureDropAndPumpingPowerUsingIndexes(
521
521
Pprodwellhead = ppwellhead_kPa
522
522
if Pprodwellhead < Pminimum_kPa :
523
523
Pprodwellhead = Pminimum_kPa
524
- msg = (f'Provided production wellhead pressure ({ Pprodwellhead } kPa) '
525
- f'under minimum pressure ({ Pminimum_kPa } kPa). '
526
- f'GEOPHIRES will assume minimum wellhead pressure' )
524
+ msg = (f'Provided production wellhead pressure ({ Pprodwellhead :.2f } kPa) '
525
+ f'under minimum pressure ({ Pminimum_kPa :.2f } kPa). '
526
+ f'GEOPHIRES will assume minimum wellhead pressure. ' )
527
527
528
528
print (f'Warning: { msg } ' )
529
529
model .logger .warning (msg )
@@ -644,8 +644,8 @@ def InjPressureDropAndPumpingPowerUsingIndexes(
644
644
Pprodwellhead = ppwellhead
645
645
if Pprodwellhead < Pminimum_kPa :
646
646
Pprodwellhead = Pminimum_kPa
647
- msg = (f'Provided production wellhead pressure ({ Pprodwellhead } ) under minimum pressure ({ Pminimum_kPa } ). '
648
- f'GEOPHIRES will assume minimum wellhead pressure' )
647
+ msg = (f'Provided production wellhead pressure ({ Pprodwellhead :.2f } kPa ) under minimum pressure ({ Pminimum_kPa :.2f } kPa ). '
648
+ f'GEOPHIRES will assume minimum wellhead pressure. ' )
649
649
print (f'Warning: { msg } ' )
650
650
model .logger .warning (msg )
651
651
You can’t perform that action at this time.
0 commit comments