v0.17.0
Frequenz Microgrid API Release Notes
Summary
In this release, the Microgrid API has been updated to use the latest version of frequenz-api-common
, in addition to a few improvements and a bug fix.
Upgrading
-
This release upgrades
frequenz-api-common
to versionv0.6.1
. Please refer to the release notes for v0.6.0 and v0.6.1 offrequenz-api-common
for more information. -
A new RPC named
AddComponentBounds
has been introduced, which accepts only inclusive bounds. The old RPCsAddComponentInclusionBounds
andAddComponentExclusionBounds
have been removed. -
The enum
ComponentBoundsTargetMetric
has been removed in favour of theMetric
enum fromfrequenz-api-common
. -
The polarity of reactive power has been changed to follow the IEEE 1459-2010 standard definitions. In this standard, positive reactive power is inductive (current is lagging the voltage), and negative reactive power is capacitive (current is leading the voltage).
New Features
-
The
AddComponentBoundsRequest
message has a fieldvalidity_duration
which allows the user to specify the duration for which the bounds are valid. The bounds will be automatically removed after the specified duration. The client can select between 5 seconds, 1 minute, 5 minutes, and 15 minutes. If set toUNSPECIFIED
, the bounds will be valid for a default duration of 5 seconds. -
The request messages
SetComponentPowerActiveRequest
andSetComponentPowerReactiveRequest
have a new field namedrequest_lifetime
which allows the user to specify the duration for which the power setpoints are valid. If this field is not specified in a request, the power setpoint will be valid for 60 seconds.
Bug Fixes
- The CI was unable to catch unused imports in the proto file before. This has been fixed by adding a new step to the CI to build using
protoc
with the--fatal-warnings
flag.
What's Changed
- Prepare for release v0.16.1 by @tiyash-basu-frequenz in #226
- Upgrade frequenz-api-common to v0.6.0 by @tiyash-basu-frequenz in #227
- Add a new RPC for adding component bounds by @tiyash-basu-frequenz in #229
- ci: Use a hash for the labeler version instead of a tag by @llucax in #230
- Allow clients to specify validity durations for bounds by @tiyash-basu-frequenz in #231
- Change the polarity of reactive power by @tiyash-basu-frequenz in #233
- Fix python dependencies for frequenz-api-common v0.6.0 by @tiyash-basu-frequenz in #235
- Support user-provided lifetimes for set active/reactive power RPCs by @tiyash-basu-frequenz in #236
- Add CI step to build using
protoc
with fatal warnings by @tiyash-basu-frequenz in #237 - Bump the required group with 2 updates by @dependabot in #240
- Bump the required group with 2 updates by @dependabot in #241
- Bump the required group with 4 updates by @dependabot in #242
- Make Dependabot check for updates monthly on Monday by @llucax in #243
- Bump mkdocs-material from 9.5.19 to 9.5.20 in the required group by @dependabot in #244
- Upgrade frequenz-api-common from v0.6.0 to v0.6.1 by @tiyash-basu-frequenz in #245
- Clean up release notes to prepare for release v0.17.0 by @tiyash-basu-frequenz in #246
Full Changelog: v0.16.1...v0.17.0