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

FlexMeasures / flexmeasures / 26874074045

03 Jun 2026 08:49AM UTC coverage: 80.718% (-0.04%) from 80.756%
26874074045

push

github

web-flow
Feat: scheduler support for device groups (#1934)

* 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 costs

... (continued)

75 of 94 new or added lines in 2 files covered. (79.79%)

8 existing lines in 1 file now uncovered.

13203 of 16357 relevant lines covered (80.72%)

0.81 hits per line

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

88.47
/flexmeasures/data/models/planning/linear_optimization.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