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(
521521 Pprodwellhead = ppwellhead_kPa
522522 if Pprodwellhead < Pminimum_kPa :
523523 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. ' )
527527
528528 print (f'Warning: { msg } ' )
529529 model .logger .warning (msg )
@@ -644,8 +644,8 @@ def InjPressureDropAndPumpingPowerUsingIndexes(
644644 Pprodwellhead = ppwellhead
645645 if Pprodwellhead < Pminimum_kPa :
646646 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. ' )
649649 print (f'Warning: { msg } ' )
650650 model .logger .warning (msg )
651651
You can’t perform that action at this time.
0 commit comments