NatLabRockies / NatLabRockies/SAM
Add "enter single value" option for grid outage
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 486
- Forks
- 219
- Avg merge
- 10h 10m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem? Please describe.
When I use the Grid Outage feature, I often want to model a grid outage in all timesteps. To modify the grid outage array to be "1" in every time step, I have to use an external spreadsheet tool and then copy/paste the values. Adding options for users to automatically set all time steps to "1" (or back to "0") would be nice.
Describe the solution you'd like
Something like this:

Or dedicated buttons for "0" and "1", as those are the only valid options.
Describe alternatives you've considered
Copying the default "0" values to a spreadsheet, changing them to "1", copying from the spreadsheet, and pasting back into SAM.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points; start by locating the Grid Outage editor and the array it changes. Confirm how users currently edit timestep values, then define completion as setting every timestep to 0 or 1 from the SAM UI while preserving existing outage behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100