v0.6.2
·
67 commits
to v0.x.x
since this release
Immutable
release. Only release title and notes can be modified.
Frequenz Gridpool Library Release Notes
Summary
This release updates the microgrid component graph library to v0.5.0 and adds a way to configure how the component graph is built.
Upgrading
- The per-category formulas (
pv,battery,chp,ev) now read the component first and use the meter as the fallback. This is the opposite of the old order, and it changes the generated config. Regenerate stored configs with this release and review the diff. - To keep the old order, pass
ComponentGraphConfig(prefer_meters_in_component_formulas=True)toload_configs,load_configs_from_apiorComponentGraphGenerator, or use the new--prefer-meters-in-component-formulasflag of the CLI. - The update brings more changes, for example to the
consumptionformula and to the graph validation error messages. See the v0.5.0 release notes of the component graph library for the full list.
New Features
load_configsandload_configs_from_apitake acomponent_graph_configargument, andComponentGraphGeneratortakes it asconfig. It controls how the component graph is built and how its formulas are generated.ComponentGraphConfigandFormulaOverridesare re-exported fromfrequenz.gridpoolandfrequenz.gridpool.config.- The
generate-configandprint-formulasCLI commands take a--prefer-meters-in-component-formulasflag, which reads the meter before the component in the per-category formulas.
Bug Fixes
What's Changed
Full Changelog: v0.6.1...v0.6.2