v0.14.0 #61
v0.14.0
#61
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Frequenz Migrogrid API Release Notes
Summary
In this release, the protobuf definitions here are being updated to use shared
definitions from
frequenz-api-common
.The
frequenz-api-common
repository contains shared protobuf definitions thatare common to all frequenz APIs.
The
frequenz-api-microgrid
python library has also been updated touse the
frequenz-api-common
library as a dependency.
This release upgrades the minimum required python version for the library
frequenz-api-microgrid
to 3.11.This release also extends the API by adding new component states, and a new RPC
to set reactive power level of applicable components.
Upgrading
Using
frequenz-api-common
for common proto definitionsThe following proto definitions have been removed, and are being used from the
frequenz-api-common
repository instead:ComponentCategory
->frequenz.api.common.components.ComponentCategory
battery.Type
->frequenz.api.common.components.BatteryType
common.Bounds
->frequenz.api.common.metrics.Bounds
common.Metric
->frequenz.api.common.metrics.Metric
common.Ac
->frequenz.api.common.metrics.electrical.Ac
common.Dc
->frequenz.api.common.metrics.electrical.Dc
ev_charger.Type
->frequenz.api.common.components.EVChargerType
inverter.Type
->frequenz.api.common.components.InverterType
sensor.Type
->frequenz.api.common.components.SensorType
The pypi package
frequenz-api-common
is being added as a dependency to thepython package definition, instead of generating the proto definitions using
protoc
. This is required, otherwise each proto library depending onfrequenz-api-common
will generate its own python modules forfrequenz-api-common
, resulting in multiple definition of the common datastructures.
Upgraded minimum required python version for the python library to 3.11
The change to use the
frequenz-api-common
definitions forces the minimumrequired python version of the
frequenz-api-microgrid
package to be 3.11,as a transitive dependency inherited from the
frequenz-api-common
package.New Features
Added new battery component states
Three new battery component states have been added:
SwitchingOn
SwitchingOff
Unknown
Added a new EV charger component state
A new EV charger component states have been added:
Unknown
Added a new inverter component state
A new inverter component states have been added:
Unknown
Added RPC to set reactive power
A new RPC, named
SetPowerReactive
has been added to set reactive power forinverters, and other components that support it. Also, the parameters to the
RPC can be sent using the message
SetPowerReactiveParam
.Bug Fixes
None
What's Changed
Full Changelog: v0.13.0...v0.14.0
This discussion was created from the release v0.14.0.
Beta Was this translation helpful? Give feedback.
All reactions