-
Notifications
You must be signed in to change notification settings - Fork 51
Feat: scheduler support for device groups #1934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
68 commits
Select commit
Hold shift + click to select a range
9dd779a
docs: new section describing commitments
Flix6x 13e9308
docs: rewrite the overview in commitments section
Flix6x 1179198
docs: keep ems variables, but explain them as representing the site c…
Flix6x 1b10360
docs: cross-reference the commitments section and the linear problem …
Flix6x 0d25b25
Merge remote-tracking branch 'refs/remotes/origin/main' into docs/com…
Flix6x 6f6e52b
fix: cross-references
Flix6x 3599379
docs: add commitments section to index
Flix6x ce1533d
Merge remote-tracking branch 'refs/remotes/origin/main' into docs/com…
Flix6x 84fbd5a
feat: add a util function for printing out commitments in a tabulated…
Ahmad-Wahid 90177bf
refactor: move pretty printing method to class
Flix6x 9f34676
feat: Commitment supports device groups
Flix6x 43107c8
feat: start testing device grouping
Flix6x b90d7f0
dev: test multi-feed
Flix6x 4179981
update the ids of devices to be integers
Ahmad-Wahid 8b108ed
feat: function that group commitment quantities
Ahmad-Wahid 485349e
add commitments for multi group
Ahmad-Wahid 81bb9ec
fix: get unique list of devices for a frame column
Ahmad-Wahid 334e4d3
fix: create util functions that extract devices for a list of values …
Ahmad-Wahid f738d9f
fix: create a series for a list of grouped devices
Ahmad-Wahid 620c6dc
drop outdated comments
Ahmad-Wahid 40eb747
use commitment costs and add asserts for electricity and gas
Ahmad-Wahid 708d869
and an assert for commodity costs
Ahmad-Wahid ce307f8
add an extra assert on costs
Ahmad-Wahid ee33fa2
Merge remote-tracking branch 'origin/main' into feat/switching-betwee…
Flix6x 82f807e
fix: wrong timezone; the test relied on the preference to charge soon…
Flix6x 128550f
feat: move preference to charge sooner and discharge later into a Sto…
Flix6x 130b9dd
fix: test case no longer relies on arbitrage opportunity coming from …
Flix6x 1eab828
feat: check for optimal schedule
Flix6x b9bc4a9
feat: prefer a full storage earlier over later
Flix6x 57df5c3
docs: update commitment name and inline comments
Flix6x ce71637
docs: touch up test explanation
Flix6x f6183df
fix: update test case given preference for a full battery
Flix6x ed471a8
delete: clean up comment
Flix6x 7611fb9
feat: model the preference to curtail later within the same StockComm…
Flix6x bf16e63
fix: reduce tiny price slope
Flix6x 06c30dc
docs: delete duplicate changelog entry
Flix6x 0125e28
Merge remote-tracking branch 'origin/main' into feat/full-soc-preference
Flix6x d99089b
docs: fix broken link
Flix6x cf01f1d
Revert "fix: reduce tiny price slope"
Flix6x bdbdead
fix: soc unit conversion
Flix6x f987706
fix: adapt test to check for 1 hour of free energy at 15-min scheduli…
Flix6x 12cf595
Merge remote-tracking branch 'origin/main' into feat/switching-betwee…
Flix6x 534179a
style: black
Flix6x 05aed7e
fix: check curtailment preference per distinct device
Flix6x e55f638
fix: set tight tolerance for HiGHS solver
Flix6x 764712f
refactor: merge if-blocks
Flix6x 9070eae
fix: use iloc
Flix6x 857e9c1
fix: diminish tiny price slope by number of planning steps
Flix6x 54c9c36
refactor: always diminish tiny price slope by number of planning step…
Flix6x 158c7a0
chore: increment StorageScheduler version
Flix6x 261ed3a
Merge branch 'feat/full-soc-preference' into feat/switching-between-g…
Flix6x 66e9a8b
Merge remote-tracking branch 'origin/main' into feat/switching-betwee…
Flix6x 1ec0b2c
Merge remote-tracking branch 'origin/main' into feat/switching-betwee…
Flix6x 49df3a6
feat: rewrite test to not rely on multi-commodity
Flix6x a518437
feat: rewrite test to prove that only when both HPs share a single co…
Flix6x 4258636
fix: do not coerce device_group into a time series
Flix6x b4f8b2b
docs: changelog entry
Flix6x 6e3a5a4
docs: pretty_print is not specifically for FlowCommitments
Flix6x 7eb1319
docs: add (back) inline dev notes
Flix6x a298dc7
feat: strengthen asserts
Flix6x 7f15c13
feat: add check for exact electricity costs expected
Flix6x ffd0d86
fix: sum over electricity costs; and move to StockCommitment to model…
Flix6x a33790a
fix: replace vague assert with explicit asserts
Flix6x 6b6a474
docs: lose confusing comment
Flix6x 70e1af6
fix: backwards compatibility in case no device is specified;
Flix6x 792d2df
fix: when device is present but device_group is absent, fall back to …
Flix6x a9174a5
dev: update expectations of how costs are shared between EV and battery
Flix6x 7deff15
Merge remote-tracking branch 'origin/main' into feat/switching-betwee…
Flix6x File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will likely become problematic once we need to model a device that belongs to both a shared power constraint and a shared storage, but let's deal with it once the problem actually presents itself.