Skip to content

Commit f78603e

Browse files
increase max allowed total capex param to $100B
1 parent f2bfd6d commit f78603e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/geophires_x/Economics.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -868,7 +868,8 @@ def __init__(self, model: Model):
868868
"Total Capital Cost",
869869
DefaultValue=-1.0,
870870
Min=0,
871-
Max=1000,
871+
# pint treats GUSD as billions of dollars (G for giga)
872+
Max=quantity(100, 'GUSD').to('MUSD').magnitude,
872873
UnitType=Units.CURRENCY,
873874
PreferredUnits=CurrencyUnit.MDOLLARS,
874875
CurrentUnits=CurrencyUnit.MDOLLARS,

src/geophires_x_schema_generator/geophires-request.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1591,7 +1591,7 @@
15911591
"category": "Economics",
15921592
"default": -1.0,
15931593
"minimum": 0,
1594-
"maximum": 1000
1594+
"maximum": 100000.0
15951595
},
15961596
"Total O&M Cost": {
15971597
"description": "Total initial O&M cost.",

0 commit comments

Comments
 (0)