Skip to content

Commit

Permalink
End-Use Option tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
softwareengineerprogrammer committed Jun 23, 2024
1 parent 8cdfa88 commit 5b00c9e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
10 changes: 9 additions & 1 deletion src/geophires_x/SurfacePlant.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,15 @@ def __init__(self, model: Model):
AllowableRange=[1, 2, 31, 32, 41, 42, 51, 52],
UnitType=Units.NONE,
ErrMessage="assume default end-use option (1: electricity only)",
ToolTipText="Select the end-use application of the geofluid heat (see docs for details)"
ToolTipText="""Select the end-use application of the geofluid heat:
1: Electricity;
2: Direct-Use Heat;
31: Cogeneration Topping Cycle, Heat sales considered as extra income;
32: Cogeneration Topping Cycle, Electricity sales considered as extra income;
41: Cogeneration Bottoming Cycle, Heat sales considered as extra income;
42: Cogeneration Bottoming Cycle, Electricity sales considered as extra income;
51: Cogeneration Parallel Cycle, Heat sales considered as extra income;
52: Cogeneration Parallel Cycle, Electricity sales considered as extra income"""
)
self.plant_type = self.ParameterDict[self.plant_type.Name] = intParameter(
"Power Plant Type",
Expand Down
2 changes: 1 addition & 1 deletion src/geophires_x_schema_generator/geophires-request.json
Original file line number Diff line number Diff line change
Expand Up @@ -692,7 +692,7 @@
"maximum": 100.0
},
"End-Use Option": {
"description": "Select the end-use application of the geofluid heat (see docs for details)",
"description": "Select the end-use application of the geofluid heat:\n1: Electricity;\n2: Direct-Use Heat;\n31: Cogeneration Topping Cycle, Heat sales considered as extra income;\n32: Cogeneration Topping Cycle, Electricity sales considered as extra income;\n41: Cogeneration Bottoming Cycle, Heat sales considered as extra income;\n42: Cogeneration Bottoming Cycle, Electricity sales considered as extra income;\n51: Cogeneration Parallel Cycle, Heat sales considered as extra income;\n52: Cogeneration Parallel Cycle, Electricity sales considered as extra income",
"type": "integer",
"units": null,
"category": "Surface Plant",
Expand Down

0 comments on commit 5b00c9e

Please sign in to comment.