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_fileof theConfigManagingActorconstructor was renamed toconfig_path. -
The
BatteryPool.power_boundsmethod now streams inclusion/exclusion bounds. The bounds are now represented byPowerobjects and notfloats.
New Features
-
The
ConfigManagingActorconstructor now can accept apathlib.Pathasconfig_pathtoo (before it accepted only astr). -
The
PowerDistributingActornow considers exclusion bounds, when finding an optimal distribution for power between batteries.
What's Changed
- Use
Timer.periodicin theResamplerby @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-microgridto v0.15.1 by @shsms in #416 - Improvements to the
ConfigManagingActorby @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