v0.24.0
Frequenz Python SDK Release Notes
Summary
Now the microgrid API v0.15.x is being used. The SDK can only connect to microgrids using this version of the API. Inclusion and exclusion bounds in the new API are now handled by the power distributor and battery pool.
Upgrading
-
Upgrade to microgrid API v0.15.1. If you're using any of the lower level microgrid interfaces, you will need to upgrade your code.
-
The argument
conf_file
of theConfigManagingActor
constructor was renamed toconfig_path
. -
The
BatteryPool.power_bounds
method now streams inclusion/exclusion bounds. The bounds are now represented byPower
objects and notfloat
s.
New Features
-
The
ConfigManagingActor
constructor now can accept apathlib.Path
asconfig_path
too (before it accepted only astr
). -
The
PowerDistributingActor
now considers exclusion bounds, when finding an optimal distribution for power between batteries.
What's Changed
- Use
Timer.periodic
in theResampler
by @jh2007github in #520 - Allow running release notes check in merge queues by @llucax in #566
- Clear release notes by @llucax in #560
- Update
frequenz-api-microgrid
to v0.15.1 by @shsms in #416 - Improvements to the
ConfigManagingActor
by @llucax in #565 - Bump brettcannon/check-for-changed-files from 294a99714e0d350b5083472a293d41bc91804e68 to 4170644959a21843b31f1181f2a1761d65ef4791 by @dependabot in #567
- Bump types-protobuf from 4.23.0.2 to 4.23.0.3 by @dependabot in #568
- Bump polars from 0.18.11 to 0.18.12 by @dependabot in #569
- Stream exclusion bounds from the battery pool by @shsms in #537
- Bump polars from 0.18.12 to 0.18.13 by @dependabot in #570
- Add docs cross-linking to APIs by @llucax in #571
- Support exclusion bounds in power distributor by @shsms in #562
- Update release notes for the v0.24.0 release by @llucax in #573
Full Changelog: v0.23.0...v0.24.0