Skip to content

Commit 9563b4d

Browse files
committed
Update RELEASE_NOTES.md
Signed-off-by: Sahas Subramanian <[email protected]>
1 parent 3824238 commit 9563b4d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

RELEASE_NOTES.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,24 @@
66

77
## Upgrading
88

9+
+ Formulas composition has changed (#327) -
10+
- receivers from formulas are no longer composable.
11+
- formula composition is now done by composing FormulaEngine instances.
12+
- Automatic formulas from the logical meter and *pools, are now
13+
properties, and return `FormulaEngine` instances, which can be
14+
composed further, or can provide a receiver to fetch values.
15+
16+
``` python
17+
grid_power_receiver = microgrid.logical_meter().grid_power.new_receiver()
18+
19+
self._inverter_power = (
20+
microgrid.logical_meter().pv_power
21+
+ microgrid.logical_meter().battery_power
22+
).build("inverter_power")
23+
24+
inverter_power_receiver = self._inverter_power.new_receiver()
25+
```
26+
927
* Update BatteryStatus to mark battery with unknown capacity as not working (#263)
1028
* The channels dependency was updated to v0.14.0 (#292)
1129
* Some properties for `PowerDistributingActor` results were renamed to be more consistent between `Success` and `PartialFailure`:

0 commit comments

Comments
 (0)