We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 140df52 commit 3ce7613Copy full SHA for 3ce7613
src/geophires_x/Economics.py
@@ -2148,6 +2148,11 @@ def read_parameters(self, model: Model) -> None:
2148
" range 0-10. GEOPHIRES will assume default surface plant O&M cost correlation with" +
2149
" adjustment factor = 1.")
2150
ParameterToModify.value = 1.0
2151
+ if self.HeatStartPrice.value > self.HeatEndPrice.value:
2152
+ s = f'{self.HeatStartPrice.Name} cannot be greater than {self.HeatEndPrice.Name}. ' \
2153
+ f'GEOPHIRES will assume {self.HeatStartPrice.Name} is equal to {self.HeatEndPrice.Name}.'
2154
+ print("Warning: " + s)
2155
+ model.logger.warning(s)
2156
else:
2157
model.logger.info("No parameters read because no content provided")
2158
0 commit comments