Frequenz Microgrid Component Graph Library Release Notes
Summary
This release lets formulas take a component's operational mode into account. A component that provides no telemetry is not used as a measurement source. It is still used to classify the meter that measures it, and is measured through that meter instead.
Upgrading
- The
microgridextra now needsfrequenz-client-microgrid >= 0.18.4, up from>= 0.18.3. A component's operational mode is read from itsprovides_telemetry()andaccepts_control()methods, and 0.18.3 has neither, so the feature below would do nothing there. If you pin the client yourself, move the pin to>= 0.18.4, < 0.19.
New Features
-
Formulas now take a component's operational mode into account. A component that provides no telemetry is not used as a measurement source. It is still used to classify the meter that measures it (e.g. as a PV meter or a CHP meter), so it can still be measured through that meter.
The mode is read from the component's
provides_telemetry()andaccepts_control()methods. A component that does not have both methods, or does not specify both values, is treated as providing telemetry and is used exactly as before. A component built from the microgrid API carries the mode the API reports for it, so formulas can change for a site that has an inactive or control-only component.
What's Changed
- Clear release notes by @shsms in #98
- Bump the compatible group with 6 updates by @dependabot[bot] in #101
- Bump actions/labeler from 6.1.0 to 7.0.0 by @dependabot[bot] in #102
- Bump the patch group with 2 updates by @dependabot[bot] in #100
- Bump the minor group with 2 updates by @dependabot[bot] in #103
- Bump pydoclint from 0.9.0 to 0.9.1 by @dependabot[bot] in #105
- Update frequenz-client-assets requirement from <0.4,>=0.1.0 to >=0.1.0,<0.6 by @dependabot[bot] in #106
- Bump types-markdown from 3.10.2.20260518 to 3.10.2.20260712 by @dependabot[bot] in #107
- Bump actions/setup-python from 6.3.0 to 7.0.0 by @dependabot[bot] in #104
- Update Ubuntu to 24.04 by @llucax in #108
- Read the operational mode from Python components by @shsms in #99
Full Changelog: v0.5.0...v0.5.1