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.
2 parents 140df52 + c640c9c commit 9dc9e4eCopy full SHA for 9dc9e4e
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} ({self.HeatStartPrice.quantity()}) cannot be ' \
2153
+ f'greater than {self.HeatEndPrice.Name} ({self.HeatEndPrice.quantity()}). ' \
2154
+ f'GEOPHIRES will assume {self.HeatStartPrice.Name} is equal to {self.HeatEndPrice.Name}.'
2155
+ model.logger.warning(s)
2156
else:
2157
model.logger.info("No parameters read because no content provided")
2158
0 commit comments