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

FlexMeasures / flexmeasures / 30657663831
83%

Build:
DEFAULT BRANCH: main
Ran 31 Jul 2026 07:18PM UTC
Jobs 1
Files 172
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Jul 2026 07:03PM UTC coverage: 83.271% (+0.05%) from 83.218%
30657663831

push

github

web-flow
Model inflexible devices as assets; drop the unreleased flex-context group field (#2374)

* feat: model inflexible devices as assets; drop unreleased flex-context group field

An inflexible (unschedulable) device can now be declared in a flex-model entry
via a single inflexible-consumption/inflexible-production sensor reference (its
own asset). Such a device joins a group through the ordinary flex-model 'group'
field, exactly like a flexible member, so its fixed load counts towards the
group's intermediate power constraint -- and it is gathered upward with the rest
of the flex-model/asset tree, so no downward flex-context traversal is needed.

This replaces the unreleased approach from #2358, which let a flex-context
inflexible entry carry a 'group' field (removed here, together with the
SensorReference.group carrier and the inventory plumbing behind it). The flat
flex-context inflexible-consumption/production lists remain for site base load.

InflexibleDeviceSchema moves to schemas/sensors.py so both the flex-context and
the flex-model can use it without an import cycle. group_to_devices already folds
inflexible members in, and FlexDevice.group_key reverts to reading the flex-model
'group' -- so a flex-model inflexible device's membership uses the normal path.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TaMepbxRYzJxQKFtu6Hq4p
Signed-off-by: F.N. Claessen <felix@seita.nl>

* docs: fill in PR number in changelog

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TaMepbxRYzJxQKFtu6Hq4p
Signed-off-by: F.N. Claessen <felix@seita.nl>

* fix: single-object example for the flex-model inflexible fields

The flex-model inflexible-consumption/inflexible-production fields are a single
sensor reference, but reused the shared metadata whose example is a list (that
form fits the flex-context list fields). Override the example to a single object
on th... (continued)

66 of 66 new or added lines in 3 files covered. (100.0%)

16307 of 19583 relevant lines covered (83.27%)

0.83 hits per line

Jobs
ID Job ID Ran Files Coverage
1 30657663831.1 31 Jul 2026 07:18PM UTC 172
83.27
GitHub Action Run
Source Files on build 30657663831
  • Tree
  • List 172
  • Changed 5
  • Source Changed 5
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #30657663831
  • 42a79c6d on github
  • Prev Build on main (#30587447484)
  • Next Build on main (#30712612355)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc