Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
softwareengineerprogrammer authored Nov 1, 2023
2 parents 897d6c3 + bd11971 commit 719f458
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/geophires_x/OptionList.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class EndUseOptions(str, Enum):
ABSORPTION_CHILLER = "Absorption Chiller" # 6
HEAT_PUMP = "Heat Pump" # 7
DISTRICT_HEATING = "District Heating" # 8
RTES = "Reservoir Thermal Energy Storage" # 9


class EconomicModel(str, Enum):
Expand Down
5 changes: 5 additions & 0 deletions tests/test_geophires_x.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
from pathlib import Path

from geophires_x.OptionList import EndUseOptions

from geophires_x_client import GeophiresXClient
from geophires_x_client import GeophiresXResult
from geophires_x_client import _get_logger
Expand Down Expand Up @@ -193,3 +195,6 @@ def test_runtime_error_with_error_code(self):
self.assertEqual(
str(re.exception), 'GEOPHIRES encountered an exception: failed with the following error codes: [5500.]'
)

def test_RTES_name(self):
self.assertEqual(EndUseOptions.RTES.value, 'Reservoir Thermal Energy Storage')

0 comments on commit 719f458

Please sign in to comment.