Skip to content

Commit

Permalink
Remove redundant default value definitions from HIP-RA-X tooltip text
Browse files Browse the repository at this point in the history
  • Loading branch information
softwareengineerprogrammer committed Nov 22, 2024
1 parent 6be1132 commit b742073
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions src/geophires_x_schema_generator/hip-ra-x-request.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
],
"properties": {
"Reservoir Temperature": {
"description": "Reservoir Temperature [150 degC]",
"description": "Reservoir Temperature",
"type": "number",
"units": "degC",
"category": null,
Expand All @@ -26,7 +26,7 @@
"maximum": 1000
},
"Rejection Temperature": {
"description": "Rejection Temperature [25 degC]",
"description": "Rejection Temperature",
"type": "number",
"units": "degC",
"category": null,
Expand All @@ -35,7 +35,7 @@
"maximum": 200
},
"Reservoir Porosity": {
"description": "Reservoir Porosity [18%]",
"description": "Reservoir Porosity",
"type": "number",
"units": "%",
"category": null,
Expand All @@ -44,7 +44,7 @@
"maximum": 100.0
},
"Reservoir Area": {
"description": "Reservoir Area [81 km2]",
"description": "Reservoir Area",
"type": "number",
"units": "km**2",
"category": null,
Expand All @@ -53,7 +53,7 @@
"maximum": 10000.0
},
"Reservoir Thickness": {
"description": "Reservoir Thickness [0.286 km]",
"description": "Reservoir Thickness",
"type": "number",
"units": "kilometer",
"category": null,
Expand All @@ -62,7 +62,7 @@
"maximum": 10000.0
},
"Reservoir Life Cycle": {
"description": "Reservoir Life Cycle [30 years]",
"description": "Reservoir Life Cycle",
"type": "integer",
"units": "yr",
"category": null,
Expand All @@ -71,7 +71,7 @@
"maximum": 100
},
"Rock Heat Capacity": {
"description": "Rock Heat Capacity [2.84E+12 kJ/km3C]",
"description": "Rock Heat Capacity",
"type": "number",
"units": "kJ/km**3C",
"category": null,
Expand All @@ -80,7 +80,7 @@
"maximum": 100000000000000.0
},
"Fluid Specific Heat Capacity": {
"description": "Specific Heat Capacity Of Water [4.18 kJ/kgC]",
"description": "Specific Heat Capacity Of Water",
"type": "number",
"units": "kJ/kgC",
"category": null,
Expand All @@ -89,7 +89,7 @@
"maximum": 10.0
},
"Density Of Reservoir Fluid": {
"description": "Density Of Water [1.0E+12 kg/km3]",
"description": "Density Of Water",
"type": "number",
"units": "kg/km**3",
"category": null,
Expand All @@ -98,7 +98,7 @@
"maximum": 10000000000000.0
},
"Density Of Reservoir Rock": {
"description": "Density Of Rock [2.55E+12 kg/km3]",
"description": "Density Of Rock",
"type": "number",
"units": "kg/km**3",
"category": null,
Expand Down
20 changes: 10 additions & 10 deletions src/hip_ra_x/hip_ra_x.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
CurrentUnits=TemperatureUnit.CELSIUS,
Required=True,
ErrMessage='assume default reservoir temperature (150 degC)',
ToolTipText='Reservoir Temperature [150 degC]',
ToolTipText='Reservoir Temperature',
)
)
self.rejection_temperature: Parameter = parameter_dict_entry(
Expand All @@ -134,7 +134,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
CurrentUnits=TemperatureUnit.CELSIUS,
Required=True,
ErrMessage='assume default rejection temperature (25 degC)',
ToolTipText='Rejection Temperature [25 degC]',
ToolTipText='Rejection Temperature',
)
)
self.reservoir_porosity: Parameter = parameter_dict_entry(
Expand All @@ -148,7 +148,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
CurrentUnits=PercentUnit.PERCENT,
Required=True,
ErrMessage='assume default reservoir porosity (18%)',
ToolTipText='Reservoir Porosity [18%]',
ToolTipText='Reservoir Porosity',
)
)
self.reservoir_area: Parameter = parameter_dict_entry(
Expand All @@ -162,7 +162,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
CurrentUnits=AreaUnit.KILOMETERS2,
Required=True,
ErrMessage='assume default reservoir area (81 km2)',
ToolTipText='Reservoir Area [81 km2]',
ToolTipText='Reservoir Area',
)
)
self.reservoir_thickness: Parameter = parameter_dict_entry(
Expand All @@ -176,7 +176,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
CurrentUnits=LengthUnit.KILOMETERS,
Required=True,
ErrMessage='assume default reservoir thickness (0.286 km2)',
ToolTipText='Reservoir Thickness [0.286 km]',
ToolTipText='Reservoir Thickness',
)
)
self.reservoir_life_cycle: Parameter = parameter_dict_entry(
Expand All @@ -189,7 +189,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
AllowableRange=list(range(1, 101, 1)),
Required=True,
ErrMessage='assume default Reservoir Life Cycle (25 years)',
ToolTipText='Reservoir Life Cycle [30 years]',
ToolTipText='Reservoir Life Cycle',
)
)

Expand All @@ -205,7 +205,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
CurrentUnits=HeatCapacityUnit.KJPERKM3C,
Required=True,
ErrMessage='assume default Rock Heat Capacity (2.84E+12 kJ/km3C)',
ToolTipText='Rock Heat Capacity [2.84E+12 kJ/km3C]',
ToolTipText='Rock Heat Capacity',
)
)
self.fluid_heat_capacity: Parameter = parameter_dict_entry(
Expand All @@ -219,7 +219,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
CurrentUnits=HeatCapacityUnit.kJPERKGC,
Required=True,
ErrMessage='calculate a value based on the water temperature',
ToolTipText='Specific Heat Capacity Of Water [4.18 kJ/kgC]',
ToolTipText='Specific Heat Capacity Of Water',
)
)
self.fluid_density: Parameter = parameter_dict_entry(
Expand All @@ -233,7 +233,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
CurrentUnits=DensityUnit.KGPERKILOMETERS3,
Required=True,
ErrMessage='calculate a value based on the water temperature',
ToolTipText='Density Of Water [1.0E+12 kg/km3]',
ToolTipText='Density Of Water',
)
)
self.rock_density: Parameter = parameter_dict_entry(
Expand All @@ -247,7 +247,7 @@ def parameter_dict_entry(param: Parameter) -> Parameter:
CurrentUnits=DensityUnit.KGPERKILOMETERS3,
Required=True,
ErrMessage='assume default Density Of Rock (2.55E+12 kg/km3)',
ToolTipText='Density Of Rock [2.55E+12 kg/km3]',
ToolTipText='Density Of Rock',
)
)
self.rock_recoverable_heat: Parameter = parameter_dict_entry(
Expand Down

0 comments on commit b742073

Please sign in to comment.