v0.14.0
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 that
are common to all frequenz APIs.
The frequenz-api-microgrid
python library has also been updated to
use 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 the
python package definition, instead of generating the proto definitions using
protoc
. This is required, otherwise each proto library depending on
frequenz-api-common
will generate its own python modules for
frequenz-api-common
, resulting in multiple definition of the common data
structures. -
Upgraded minimum required python version for the python library to 3.11
The change to use the
frequenz-api-common
definitions forces the minimum
required python version of thefrequenz-api-microgrid
package to be 3.11,
as a transitive dependency inherited from thefrequenz-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 for
inverters, and other components that support it. Also, the parameters to the
RPC can be sent using the messageSetPowerReactiveParam
.
Bug Fixes
None
What's Changed
- Clear release notes by @tiyash-basu-frequenz in #56
- Use proto definitions from the common API by @tiyash-basu-frequenz in #57
- Extend component states for battery, EV charger, and inverter components by @tiyash-basu-frequenz in #59
- Add RPC to set reactive power by @tiyash-basu-frequenz in #60
- Update release notes by @tiyash-basu-frequenz in #58
Full Changelog: v0.13.0...v0.14.0