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

FlexMeasures / flexmeasures / 12515521465

27 Dec 2024 11:29AM UTC coverage: 67.21% (+0.2%) from 66.974%
12515521465

push

github

web-flow
Feature/planning/multi-commitments (#1144)

* fix: couple aggregate flow to each individual commitment

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

* feature: add new flex-context fields to schema

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

* refactor: reorder

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

* refactor: move commitments to new structure

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

* feature: set up peak commitments

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

* feature: transform commitments featuring groups into sub-commitments per group

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

* wip: try out splitting EMS flow commitment equalities

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

* feature: take max deviation of groups with more than one time slot (should work under the assumption of positive prices)

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

* refactor: use commitments DataFrame structure for peak commitment

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

* refactor: use commitments DataFrame structure for commodity commitment

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

* add test

Signed-off-by: Victor Garcia Reolid <victor@seita.nl>

* feature: expand test to cover capacity breach commitments and peak commitments, and fix scheduler logic

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

* feature: price validation (commitments that price a max deviation must state non-negative penalties for the problem to be bounded)

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

* fix: comment out print statements again

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

* feature: set up capacity breach commitments

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

* docs: add debugging comments

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

* style: better legibility of code lines and corresponding comments

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

* feature: use VariableQuantityField for new price fields

Signed-off-... (continued)

7036 of 11354 branches covered (61.97%)

Branch coverage included in aggregate %.

197 of 240 new or added lines in 7 files covered. (82.08%)

5 existing lines in 2 files now uncovered.

8167 of 11266 relevant lines covered (72.49%)

7.17 hits per line

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

86.62
/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