Skip to content

Commit 5554ed1

Browse files
committed
Update release notes for the v1.0.0-rc3 release
Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 1064f61 commit 5554ed1

File tree

1 file changed

+37
-19
lines changed

1 file changed

+37
-19
lines changed

RELEASE_NOTES.md

Lines changed: 37 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,42 +2,60 @@
22

33
## Summary
44

5+
The `microgrid` package now exposes grid connections uniformly and introduces formula operators for `consumption` and `production`, replacing the `logical_meter.*_{production,consumption}()` formulas. The `actor` package restarts crashed actors with a delay, and the `ConnectionManager` exposes the `microgrid_id` and `location` details.
6+
7+
There are also a few bug fixes, documentation improvements and other minor breaking changes.
58

69
## Upgrading
710

8-
- `microgrid.grid()`
11+
- `actor` package
12+
13+
* Actors are now restarted after a small delay when they crash to avoid a busy loop and spamming the logs if the actor keeps failing to start.
14+
15+
* The `include_broken_batteries` argument was removed from the `PowerDistributingActor`'s `Request`. This option is no longer supported.
16+
17+
- `microgrid` package
918

10-
* Similar to `microgrid.battery_pool()`, the Grid is now similarily accessed.
19+
* `grid`: The grid connection is now exposed as `microgrid.grid()`. This is more consistent with other objects exposed in the `microgrid` module, such as `microgrid.battery_pool()` and `microgrid.logical_meter()`.
1120

12-
- `BatteryPool`'s control methods
21+
* `battery_pool()`: The `include_broken_batteries` argument was removed from the `propose_*()` methods (it was also removed from the underlying type, `timeseries.BatteryPool`). This option is no longer supported.
1322

14-
* They no longer have a `include_broken_batteries` parameter. The feature has been removed.
23+
* `ComponentGraph`: The component graph is now exposed as `microgrid.component_graph.ComponentGraph`.
1524

16-
- Move `microgrid.ComponentGraph` class to `microgrid.component_graph.ComponentGraph`, exposing only the high level interface functions through the `microgrid` package.
25+
* `logical_meter()`: The `*_consumption()` and `*_production()` methods were removed. You should use the new `consumption` and `production` formula operators instead.
1726

18-
- An actor that is crashing will no longer instantly restart but induce an artificial delay to avoid potential spam-restarting.
27+
For example:
28+
29+
```python
30+
# Old:
31+
pv_consumption = logical_meter.pv_consumption_power()
32+
production = (logical_meter.pv_production_power() + logical_meter.chp_production_power()).build()
33+
# New:
34+
pv_consumption = logical_meter.pv_power().consumption().build()
35+
production = (logical_meter.pv_power().production() + logical_meter.chp_power().production()).build()
36+
```
1937

2038
## New Features
2139

40+
- The configuration flag `resend_latest` can now be changed for channels owned by the `ChannelRegistry`.
2241

23-
- Allow configuration of the `resend_latest` flag in channels owned by the `ChannelRegistry`.
42+
- New formula operators for calculating `consumption()` and `production()` were added.
2443

25-
- Add consumption and production operators that will replace the logical meters production and consumption function variants.
44+
- The `ConnectionManager` now fetches microgrid metadata when connecting to the microgrid and exposes `microgrid_id` and `location` properties of the connected microgrid.
2645

27-
- Consumption and production power formulas have been removed.
46+
Users can access this information using `microgrid.connection_manager.get().microgrid_id` and `microgrid.connection_manager.get().location`.
2847

29-
- The documentation was improved to:
48+
- The documentation has been improved to:
3049

31-
* Show signatures with types.
32-
* Show the inherited members.
33-
* Documentation for pre-releases are now published.
34-
* Show the full tag name as the documentation version.
35-
* All development branches now have their documentation published (there is no `next` version anymore).
50+
* Display signatures with types.
51+
* Show inherited members.
52+
* Publish documentation for pre-releases.
53+
* Present the full tag name as the documentation version.
54+
* Ensure all development branches have their documentation published (the `next` version has been removed).
3655
* Fix the order of the documentation versions.
3756

38-
- The `ConnectionManager` fetches microgrid metadata when connecting to the microgrid and exposes `microgrid_id` and `location` properties of the connected microgrid.
39-
4057
## Bug Fixes
4158

42-
- Fix incorrect grid current calculations in locations where the calculations depended on current measurements from an inverter.
43-
- Fix power failure report to exclude any failed power from the succeeded power.
59+
- Fixed incorrect grid current calculations in locations where the calculations depended on current measurements from an inverter.
60+
61+
- Corrected the power failure report to exclude any failed power calculations from the successful ones.

0 commit comments

Comments
 (0)