Allow BESS to Export#471
Open
adfarth wants to merge 77 commits into
Open
Conversation
hdunham
reviewed
Jun 4, 2025
hdunham
reviewed
Jun 10, 2025
hdunham
reviewed
Jun 10, 2025
hdunham
reviewed
Jun 10, 2025
hdunham
reviewed
Jun 10, 2025
hdunham
reviewed
Jun 10, 2025
hdunham
reviewed
Jun 10, 2025
hdunham
reviewed
Jun 10, 2025
hdunham
reviewed
Jun 11, 2025
hdunham
reviewed
Jun 11, 2025
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 21 out of 22 changed files in this pull request and generated 9 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Fixes issue in which WHL and NEM were both being used
adfarth
commented
Jun 12, 2026
lixiangk1
reviewed
Jul 9, 2026
lixiangk1
reviewed
Jul 9, 2026
lixiangk1
reviewed
Jul 9, 2026
Collaborator
|
I'm not sure how to add comments to files that haven't been changed, but...
|
Collaborator
Author
Great catch on electric_tariff.jl. I updated that to account for BESS export and fixed a bug in there. Also updated the mpc constraint: c5a452c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added
can_net_meter,can_wholesale,can_export_beyond_nem_limitand associated decision variable dvStorageToGridstorage_to_grid_series_kwFixed
TODO:
dvStorageToGridon metering type, following the logic of tech export binsdvDischargeFromStorageas total discharge withdvStorageToGriddvStorageToGridinto load balancing constraintsThings to test:
Future work:
Notes/Assumptions:
ElectricStoragecan end up being sized, and export, much more than the peak load (this is currently true in develop, too, but now the issue is more extreme)