NatLabRockies / NatLabRockies/SAM
Add warnings (or errors) for buy all-sell all and BTM batteries
@brtietz is already working on this.
Since Apr 1, 2026.
- Dominant language
- C++
- Stars
- 486
- Forks
- 219
- Avg merge
- 10h 10m
- Merged PRs (30d)
- 2
Description
Describe the bug
The buy all-sell all utility rate option is designed to simulate two meters: e.g. a facility purchases energy to meet it's load on one meter, and sells renewable energy on a 2nd meter. This does not make sense for behind the meter batteries, where the purpose of the battery is to offset the load. Currently the battery buys energy on the load meter and discharges on the production meter (without going to the load), and it's hard to imagine a real battery being wired in this way. For example, this never reduces demand charges.
Expected behavior
Add appropriate warnings or errors (ssc and maybe the GUI) for this situation such that users know they might want to consider a different utility rate option, such as net billing.
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.
Assessment
This issue has not been assessed yet.