Skip to content

Conversation

@tiyash-basu-frequenz
Copy link
Contributor

Wind turbines typically do AC->DC->AC conversion, so classifying them as inverters is not appropriate. Additionally, a component category COMPONENT_CATEGORY_WIND_TURBINE already exists to represent wind turbines, so it is redundant to have a separate inverter type for them.

Wind turbines typically do AC->DC->AC conversion, so classifying them
as inverters is not appropriate. Additionally, a component category
`COMPONENT_CATEGORY_WIND_TURBINE` already exists to represent wind
turbines, so it is redundant to have a separate inverter type for them.

Signed-off-by: Tiyash Basu <[email protected]>
Copilot AI review requested due to automatic review settings July 9, 2025 11:25
@tiyash-basu-frequenz tiyash-basu-frequenz requested a review from a team as a code owner July 9, 2025 11:25
@tiyash-basu-frequenz tiyash-basu-frequenz self-assigned this Jul 9, 2025
@tiyash-basu-frequenz tiyash-basu-frequenz linked an issue Jul 9, 2025 that may be closed by this pull request
@github-actions github-actions bot added part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files labels Jul 9, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes the INVERTER_TYPE_WIND_TURBINE enum value from InverterType since wind turbines already have their own component category, and it updates the release notes accordingly.

  • Drop redundant INVERTER_TYPE_WIND_TURBINE entry from the proto enum
  • Add a release-note entry for the removal

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
proto/frequenz/api/common/v1alpha8/microgrid/electrical_components/electrical_components.proto Removed the wind-turbine inverter enum entry
RELEASE_NOTES.md Documented the enum value removal in release notes
Comments suppressed due to low confidence (1)

proto/frequenz/api/common/v1alpha8/microgrid/electrical_components/electrical_components.proto:529

  • After removing an enum value, protobuf best practices recommend reserving its numeric tag to prevent future reuse—e.g., add reserved 4; above the closing brace.
}

@tiyash-basu-frequenz tiyash-basu-frequenz added this pull request to the merge queue Jul 9, 2025
Merged via the queue into frequenz-floss:v0.x.x with commit b5d067a Jul 9, 2025
6 checks passed
@tiyash-basu-frequenz tiyash-basu-frequenz deleted the 393_inverter_type_wind_turbine branch July 9, 2025 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:docs Affects the documentation part:protobuf Affects the protocol buffer definition files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inverter type WIND_TURBINE is redundant

2 participants