• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

FlexMeasures / flexmeasures / 28956729277

08 Jul 2026 03:58PM UTC coverage: 81.161% (-0.05%) from 81.212%
28956729277

push

github

web-flow
Add multi‑commodity support to device scheduler (#1946)

* docs: new section describing commitments

Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: rewrite the overview in commitments section

Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: keep ems variables, but explain them as representing the site context

Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: cross-reference the commitments section and the linear problem formulation

Signed-off-by: F.N. Claessen <felix@seita.nl>

* fix: cross-references

Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: add commitments section to index

Signed-off-by: F.N. Claessen <felix@seita.nl>

* feat: add a util function for printing out commitments in a tabulated format

* refactor: move pretty printing method to class

Signed-off-by: F.N. Claessen <felix@seita.nl>

* feat: Commitment supports device groups

Signed-off-by: F.N. Claessen <felix@seita.nl>

* feat: start testing device grouping

Signed-off-by: F.N. Claessen <felix@seita.nl>

* dev: test multi-feed

Signed-off-by: F.N. Claessen <felix@seita.nl>

* update the ids of devices to be integers

* feat: function that group commitment quantities

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* add commitments for multi group

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* fix: get unique list of devices for a frame column

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* fix: create util functions that extract devices for a list of values and map them to the respective group id

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* fix: create a series for a list of grouped devices

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* drop outdated comments

* use commitment costs and add asserts for electricity and gas

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* and an assert for commodity costs

Signed-off-by: Ahmad-Wahid <ahmedwahid16101@gmail.com>

* add an extra assert on c... (continued)

470 of 508 new or added lines in 12 files covered. (92.52%)

42 existing lines in 6 files now uncovered.

14122 of 17400 relevant lines covered (81.16%)

0.81 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

74.56
/flexmeasures/utils/coding_utils.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc