Add temperature constraint for resource temperature#1341
Conversation
cpaulgilman
left a comment
There was a problem hiding this comment.
@mjprilliman This modifies a UI form in the .txt format. Should we wait to make this pull request until after the JSON UI forms are finished?
Good point. I can wait and update the .json format once merged. Just want to make sure this gets into patch 1. |
|
Updated UI form json file after merge |
|
Thanks for waiting for the migration to JSON UI forms. When I change the resource temperature on the Geothermal Resource page from the default 200 to 500 degrees C, I get a window with a geothermal mimo error twice, and then a UI callback error. After the callback error, I get your new UI error message "The maximum temperature for the GETEM model is 373 degrees Celsius," and the temperature is reset to 200 as expected. Here's part of the callback error: |
Equations were breaking at 500C where they weren't at ~400C values I was testing with. Added checks to not update calcs for new temperature if > 373 degrees |
Description
-Add message box informing user of 374 C temperature constraint for geothermal resource temperature
-Add UI variable to store last successfully entered resource temperature to revert
-Associated var table change in ssc.
Fixes #1340
Type of change
Please delete options that are not relevant.
Checklist:
If you have added a new compute module in a SSC pull request related to this one, be sure to check the Process Requirements.