Skip to content

Commit 3ead530

Browse files
committed
Output SUTRA pump efficiency as percentage (issue 95)
1 parent 5b5e346 commit 3ead530

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/geophires_x/SUTRAOutputs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def PrintOutputs(self, model: Model):
156156
f.write(f" Well Depth: {model.reserv.depth.value:10.1f} " + model.reserv.depth.CurrentUnits.value + NL)
157157

158158
pump_efficiency_display_unit = model.surfaceplant.pump_efficiency.CurrentUnits.value
159-
pump_efficiency_display = f'{model.surfaceplant.pump_efficiency.value:10.1f} {pump_efficiency_display_unit}'
159+
pump_efficiency_display = f'{model.surfaceplant.pump_efficiency.value * 100:10.1f} {pump_efficiency_display_unit}'
160160
f.write(f' Pump efficiency: {pump_efficiency_display}{NL}')
161161

162162
f.write(f" Lifetime Average Well Flow Rate: {np.average(abs(model.wellbores.ProductionWellFlowRates.value)):10.1f} " + model.wellbores.ProductionWellFlowRates.CurrentUnits.value + NL)

src/geophires_x/SurfacePlant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def __init__(self, model: Model):
255255
Min=0.1,
256256
Max=1.0,
257257
UnitType=Units.PERCENT,
258-
PreferredUnits=PercentUnit.TENTH,
258+
PreferredUnits=PercentUnit.PERCENT,
259259
CurrentUnits=PercentUnit.TENTH,
260260
Required=True,
261261
ErrMessage="assume default circulation pump efficiency (0.75)",

0 commit comments

Comments
 (0)