From 5b00c9e827b8bb32088ccd23ae429ecb45159434 Mon Sep 17 00:00:00 2001 From: softwareengineerprogrammer <4056124+softwareengineerprogrammer@users.noreply.github.com> Date: Sun, 23 Jun 2024 12:48:57 -0700 Subject: [PATCH] End-Use Option tooltip --- src/geophires_x/SurfacePlant.py | 10 +++++++++- .../geophires-request.json | 2 +- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/geophires_x/SurfacePlant.py b/src/geophires_x/SurfacePlant.py index a5d8cd1e..b5bf85d4 100644 --- a/src/geophires_x/SurfacePlant.py +++ b/src/geophires_x/SurfacePlant.py @@ -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", diff --git a/src/geophires_x_schema_generator/geophires-request.json b/src/geophires_x_schema_generator/geophires-request.json index dfaf6ec0..9c3df87f 100644 --- a/src/geophires_x_schema_generator/geophires-request.json +++ b/src/geophires_x_schema_generator/geophires-request.json @@ -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",