Skip to content

Commit 84cde2f

Browse files
move CALCULATED_PARAMETER_PLACEHOLDER_VALUE to ParameterUtils
1 parent 256a030 commit 84cde2f

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/geophires_x/Economics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
interest_during_construction_output_parameter, total_capex_parameter_output_parameter, \
1818
overnight_capital_cost_output_parameter, CONSTRUCTION_CAPEX_SCHEDULE_PARAMETER_NAME, \
1919
_YEAR_INDEX_VALUE_EXPLANATION_SNIPPET, investment_tax_credit_output_parameter, lcoh_output_parameter, \
20-
lcoc_output_parameter, CALCULATED_PARAMETER_PLACEHOLDER_VALUE
21-
from geophires_x.ParameterUtils import expand_schedule_dsl
20+
lcoc_output_parameter
21+
from geophires_x.ParameterUtils import expand_schedule_dsl, CALCULATED_PARAMETER_PLACEHOLDER_VALUE
2222
from geophires_x.GeoPHIRESUtils import quantity
2323
from geophires_x.OptionList import Configuration, WellDrillingCostCorrelation, EconomicModel, EndUseOptions, PlantType, \
2424
_WellDrillingCostCorrelationCitation

src/geophires_x/EconomicsUtils.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
f'The value is specified as a project year index corresponding to the ' f'Year row in the cash flow profile'
1818
)
1919

20-
CALCULATED_PARAMETER_PLACEHOLDER_VALUE = -1
21-
2220

2321
def BuildPricingModel(
2422
plantlifetime: int,

src/geophires_x/ParameterUtils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111

1212
COMMENT_PARAMETER_NAME_PREFIX: str = '_COMMENT-'
1313

14+
CALCULATED_PARAMETER_PLACEHOLDER_VALUE = -1
15+
1416

1517
def expand_schedule_dsl(
1618
schedule_strings: list[str | float], total_years: int, allow_schedule_length_to_exceed_total_years: bool = False

0 commit comments

Comments
 (0)