Skip to content

Commit 37e18dd

Browse files
HIP-RA-X documentation fixes softwareengineerprogrammer/geothermal-ui#14
1 parent 8772047 commit 37e18dd

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/geophires_x/Units.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ class CostPerDistanceUnit(str, Enum):
215215

216216
class PressureUnit(str, Enum):
217217
"""Pressure Units"""
218-
MPASCAL = "mPa"
218+
MPASCAL = "MPa"
219219
KPASCAL = "kPa"
220220
PASCAL = "Pa"
221221
BAR = "bar"

src/geophires_x_schema_generator/hip-ra-x-request.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,16 @@
143143
"maximum": 15.0
144144
},
145145
"Reservoir Pressure": {
146-
"description": "pressure of the of reservoir (in mPa). Calculated assuming hydrostatic pressure and reservoir depth & water density if no value given",
146+
"description": "pressure of the of reservoir (in MPa). Calculated assuming hydrostatic pressure and reservoir depth & water density if no value given",
147147
"type": "number",
148-
"units": "mPa",
148+
"units": "MPa",
149149
"category": null,
150150
"default": -1.0,
151151
"minimum": 0.0,
152152
"maximum": 10000.0
153153
},
154154
"Recoverable Heat from Rock": {
155-
"description": "percent of fluid that is recoverable from the reservoir (0.75 = 75%)",
155+
"description": "percent of heat that is recoverable from the rock (0.75 = 75%)",
156156
"type": "number",
157157
"units": "",
158158
"category": null,

src/hip_ra_x/hip_ra_x.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
324324
Required=False,
325325
Provided=False,
326326
ErrMessage='calculate assuming hydrostatic pressure and the reservoir depth & water density',
327-
ToolTipText='pressure of the of reservoir (in mPa). Calculated assuming hydrostatic pressure and '
327+
ToolTipText='pressure of the of reservoir (in MPa). Calculated assuming hydrostatic pressure and '
328328
'reservoir depth & water density if no value given',
329329
)
330330
)
@@ -339,7 +339,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
339339
CurrentUnits=PercentUnit.TENTH,
340340
Required=False,
341341
ErrMessage='assume 0.75 (75%) of fluid from the reservoir is recoverable',
342-
ToolTipText='percent of fluid that is recoverable from the reservoir (0.75 = 75%)',
342+
ToolTipText='percent of heat that is recoverable from the rock (0.75 = 75%)',
343343
)
344344
)
345345
self.html_output_file: Parameter = parameter_dict_entry(

0 commit comments

Comments
 (0)