Add multi‑commodity support to device scheduler#1946
Add multi‑commodity support to device scheduler#1946Ahmad-Wahid wants to merge 47 commits intofeat/switching-between-gas-and-electricityfrom
Conversation
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Documentation build overview
Show files changed (6 files in total): 📝 4 modified | ➕ 2 added | ➖ 0 deleted
|
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
…chemas Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: F.N. Claessen <[email protected]>
Signed-off-by: F.N. Claessen <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
This reverts commit b22c6d7.
Signed-off-by: Ahmad-Wahid <[email protected]>
|
@Flix6x could you please suggest some assertions for both test cases? |
|
Please comment on why the test suite is failing. |
|
Please try to run these test cases: |
Flix6x
left a comment
There was a problem hiding this comment.
I reviewed the two tests.
Signed-off-by: F.N. Claessen <[email protected]>
Flix6x
left a comment
There was a problem hiding this comment.
We should look those failing tests, too.
|
Here are all the failed tests from the job, along with their failure reasons:
|
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
This reverts commit 2becd02.
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
|
@Ahmad-Wahid Maybe we should move the preference to charge sooner (and discharge later) to a per-device StockCommitment instead of a per-device FlowCommitment. The StockCommitment should use a tiny negative up-price for SoC > 0, and no down-price, so it prefers being full over being empty, all else being equal. Update: moved out to #2023 |
…eat/multi-commodity # Conflicts: # documentation/concepts/commitments.rst # flexmeasures/data/models/planning/__init__.py # flexmeasures/data/models/planning/storage.py
…lectricity' into feat/multi-commodity # Conflicts: # flexmeasures/data/models/planning/tests/test_commitments.py
Signed-off-by: F.N. Claessen <[email protected]>
Signed-off-by: F.N. Claessen <[email protected]>
Signed-off-by: F.N. Claessen <[email protected]>
Signed-off-by: F.N. Claessen <[email protected]>
…eat/multi-commodity
…ulti-commodity # Conflicts: # flexmeasures/data/models/planning/tests/test_commitments.py
Signed-off-by: Ahmad-Wahid <[email protected]>
…han later Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
Signed-off-by: Ahmad-Wahid <[email protected]>
This PR adds initial support for multi‑commodity commitments (e.g. gas and electricity) in the device_scheduler, building on the grouped‑devices functionality. Flow commitments can now be tagged with a commodity, and EMS‑level flow constraints are applied per commodity by aggregating the relevant devices.
TODO
closes https://github.com/SeitaBV/simulations/issues/987