Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 7 additions & 24 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,17 @@

## Summary

This release introduces the new `v1alpha8` version of the API, which includes several breaking changes compared to `v1alpha7`. The changes focus on improving consistency and clarity by renaming several symbols and removing unused components.
<!-- Here goes a general summary of what this release is about -->

## Upgrading

- A new package `frequenz.api.common.v1alpha8` has been introduced, containing the following breaking changes from `v1alpha7`.
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->

- Removed:
## New Features

+ `electrical_components.Fuse`
+ `InverterType.INVERTER_TYPE_WIND_TURBINE`
- A new message has been added to the `v1alpha8` package: `microgrid.electrical_components.Meter`. This message holds static information about specific meters in a microgrid.
- The `microgrid.electrical_components.ElectricalComponentCategorySpecificInfo` enum in the `v1alpha8` package has been extended with a new variant: `Meter`. This addition allows expressing information specific to meters within a microgrid.

- Renamed several symbols to increase consistency and clarity:
## Bug Fixes

+ `microgrid`:

* `MicrogridComponentIds` to `MicrogridElectricalComponentIds`
* `MicrogridComponentIDs.component_ids` to `MicrogridElectricalComponentIds.electrical_component_ids`

+ `electrical_components`:

* `ElectricalComponentConnections.source_component_id` to `ElectricalComponentConnections.source_electrical_component_id`
* `ElectricalComponentConnections.destination_component_id` to `ElectricalComponentConnections.destination_electrical_component_id`
* `ElectricalComponentStateSnapshot.component_id` to `ElectricalComponentStateSnapshot.electrical_component_id`
* Transformer-related terms are renamed to align them with power transformers, which are more commonly used in electrical engineering:
* `electrical_components.VoltageTransformer` to `electrical_components.PowerTransformer`
* `ElectricalComponentCategorySpecificInfo.kind.voltage_transformer` to `ElectricalComponentCategorySpecificInfo.kind.power_transformer`
* `ElectricalComponentCategory.ELECTRICAL_COMPONENT_CATEGORY_VOLTAGE_TRANSFORMER` to `ElectricalComponentCategory.ELECTRICAL_COMPONENT_CATEGORY_POWER_TRANSFORMER`

+ `types`:

* The whole package has been renamed to `types` to avoid using reserved keywords in programming languages.
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,25 @@ message PowerTransformer {
float secondary = 2;
}

// A representation of a meter.
//
// Meters typically cannot be controlled remotely, but they can provide
// telemetry data.
message Meter {
// Indicates if the polarity of the meter is reversed.
//
// During installation, meters may be wired in an opposite direction, causing
// consumption to be reported as negative values, and production as positive
// values. Since this is opposite to the convention followed in this API -
// consumption is positive, and production is negative - it is important to
// know if such a reversal is present.
//
// If true, the telemetry values reported by the meter should be inverted
// (multiplied by -1) to reflect the correct polarity - consumption as
// positive, and production as negative.
bool polarity_reversed = 1;
}

// MetricConfigBounds describes a set of limits for a specific metric consisting
// of a lower and upper bound for said metric.
//
Expand All @@ -585,6 +604,7 @@ message ElectricalComponentCategorySpecificInfo {
GridConnectionPoint grid_connection_point = 3;
Inverter inverter = 4;
PowerTransformer power_transformer = 5;
Meter meter = 6;
}
}

Expand Down