From 6baa2380a9fea2f0a82c92cad8c8ea6b4b1d3143 Mon Sep 17 00:00:00 2001 From: Sahas Subramanian Date: Mon, 20 Jul 2026 14:22:32 +0200 Subject: [PATCH] Clear release notes Signed-off-by: Sahas Subramanian --- RELEASE_NOTES.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 7cc253465..61ee6f2ad 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -2,16 +2,16 @@ ## Summary -This release updates the microgrid component graph library to v0.5.0. Formulas now fall back to more sources: a component that shares a meter with other components can be measured as that meter minus its siblings, so a formula can still return a value where it used to return nothing. + ## Upgrading -* Update the microgrid component graph library to v0.5.0. The per-category formulas (battery, PV, CHP, EV charger, ...) now read the component first and use the meter as the fallback. This is the opposite of the old order, so generated formula strings and power values can change. To keep the old order, pass `ComponentGraphConfig(prefer_meters_in_component_formulas=True)` to `microgrid.initialize()`. - -* Graph validation errors now use a new message format. + ## New Features -* Formulas now fall back to more sources. A component that shares a meter with other components can be measured as that meter minus its siblings, which also covers diamond topologies, and a meter can fall back to the components under it. So a formula can still return a value when some readings are missing. + + +## Bug Fixes -* `microgrid.initialize()` has a new keyword argument `component_graph_config`. It takes a `ComponentGraphConfig` and gives full control over how the component graph is built. `ComponentGraphConfig` and `FormulaOverrides` are re-exported from `frequenz.sdk.microgrid`. +