Consolidate grid outage inputs on new Grid Outage input page#902
Conversation
Put critical load, grid outage, and battery min SOC during outage inputs on Grid Outage page. Rename Grid page to Grid Limit now that grid outage inputs are not on that page. Also fix Electric Load page tooltips
Remove crit_load_is_shown default (exclusive var no longer needed) Fix autographs for battery autonomy probabilities Add battery autonomy to Metrics table Revise UI text
* Electric Load Data and Electric Load Options forms replace Electric Load Crit, Electric Load Critical, Electric Load Other, and Electric Load froms * Single Grid Outage page for critical load, grid outage, and battery minimum SOC for grid outage inputs * Revise and test conditional text to provide better feedback on what combinations of inputs are feasible
* Message about grid outage inputs moving to Grid Outage page * Change PVWatts Battery for grid outage to "error" so message is red and revise message.
Add critical load UI variable defaults so we can use a single Electric Load Data form for all BTM configurations instead of maintaining two copies of the form. Remove exclusive var for Critical Load panel on old Electric Load page.
Includes numerous other revisions that will be listed in a subsequent PR before the SAM 2021.12.02 update.
|
Behavior on the fuel cell page is inconsistent. I specified a critical load without enabling the battery, and got the expected warning, but then I'm allowed to modify two variables but not the grid outage: I'd prefer all three boxes below the critical load specification to be greyed out while the battery is disabled, but mostly just looking for consistency. |
|
Another bug with the enable/disable code. Steps to reproduce: (1) Change to "use time series critical load data"
|
brtietz
left a comment
There was a problem hiding this comment.
The page looks good, help directs to the right places, and the electric load page suggests scaling factors and similar are still working.
The enable/disable functions need to handle a few more edge cases, plus the defaults issue we discussed over email.
Nice work!
Fix fuel cell widget enabling to require enabled battery. Fix tab order on Grid Outage and Electric Load Data forms. Fix enabling of inputs when time series critical load data exists with option is set to percentage input. Fix Electric Load callback issue for non-batt BTM configs.
|
@cpaulgilman I like this organization! However, the PV Battery - Single Owner config has a callback error now: I adjusted the dimensions of a text box a little bit for display on Mac. |
sjanzou
left a comment
There was a problem hiding this comment.
@cpaulgilman, same issue as @dguittet reported
Steps to reproduce:
- Add Case
- Energy Storage -> Detailed PV-Battery
- Power Purchase Agreement -> Single Owner
Same issue with Detailed PV-Battery / Merchant Plant and all Detailed PV-Battery / Power Purchase Agreement markets
Also resize Grid Outage text boxes and revise label for battery min SOC during outage
brtietz
left a comment
There was a problem hiding this comment.
Latest revision looks good on Windows, thanks!



Goes with NatLabRockies/ssc#739
Fixes #891
Fixes #864 by adding Grid Outage page to BTM Standalone configurations.
Revises version upgrade script text added in PR #884
Tasks
Test all configurations with BTM battery, except PVWatts - Battery
PV Battery
Generic Battery
Fuel Cell
Standalone Battery
Rename Grid page to Grid Limits page to differentiate from Grid Outage.
Create new Grid Outage page and consolidate inputs on one page.
Move Grid Outage from old Grid page
Move Battery Dispatch BTM Outage SOC form from BTM battery page
Move critical load inputs to new page
Remove LOAD_BELPE_CRIT and LOAD_SIMPLE_CRIT from startup script after testing all configs.
Fix Load page tooltips.
Check that
crit_load_is_shownis not needed in SSC and remove default input in relevant configs.Check
resiliency_graphs()autograph function: Keys off of exclusive var that we are no longer using, so check for PV Battery, Generic Battery, Standalone Battery, Fuel Cell config instead.Modify Electric Load Data form to handle load data with or without critical load data so we don't have to maintain two versions of the form.
Version upgrade script to alert users when opening SAM 2020.11.29 or older files that inputs are on new Grid Outage page. Also change PVWatts message from warning to error.
Add critical load defaults to non-storage BTM configurations to allow for single Electric Load Data form for storage and non-storage configurations. This means adding defaults that are not used to BTM configurations without storage, but perhaps could be useful in future if we add critical load capabilities later.
Update Help.
Deal with displaying monthly critical load on load page.
Run defaults script to make sure simulations work.
Click through Grid Outage and Electric Load Data UI page in BTM PV Battery, Generic Battery, Standalone Battery, Fuel Cell configs to check for UI callback issues.
Type of change
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.