File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed
Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change 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 ` :
You can’t perform that action at this time.
0 commit comments