You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extend the ElectricalComponentCategory enum with new variants (#378)
This PR
- renumbers the variants in the `ElectricalComponentCategory` enum.
- adds new variants to the `ElectricalComponentCategory` enum:
- `ELECTRICAL_COMPONENT_CATEGORY_PLC`
- `ELECTRICAL_COMPONENT_CATEGORY_STATIC_TRANSFER_SWITCH`
- `ELECTRICAL_COMPONENT_CATEGORY_UNINTERRUPTIBLE_POWER_SUPPLY`
- `ELECTRICAL_COMPONENT_CATEGORY_CAPACITOR_BANK`
- `ELECTRICAL_COMPONENT_CATEGORY_SMART_LOAD`
- `ELECTRICAL_COMPONENT_CATEGORY_WIND_TURBINE`
- Renames the variant `ELECTRICAL_COMPONENT_CATEGORY_RELAY` to
`ELECTRICAL_COMPONENT_CATEGORY_BREAKER` to better align with the common
terminology used in electrical engineering.
Copy file name to clipboardExpand all lines: RELEASE_NOTES.md
+12Lines changed: 12 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,7 @@
22
22
23
23
* The whole package and all proto files, messages, field, enums were renamed to `electrical_components`
24
24
* `ComponentCategoryMetadataVariant` to `ElectricalComponentCategorySpecificInfo`
25
+
* `ComponentCategory` to `ElectricalComponentCategory`
25
26
* `Component.category_type` to `ElectricalComponent.category_specific_info`
26
27
* `ComponentCategoryMetadataVariant.metadata` to `ElectricalComponentCategorySpecificInfo.kind`
27
28
* `ComponentErrorCode` to `ElectricalComponentDiagnosticCode`
@@ -34,6 +35,7 @@
34
35
+ `COMPONENT_CATEGORY_GRID` to `ELECTRICAL_COMPONENT_CATEGORY_GRID_CONNECTION_POINT`
35
36
+ `ComponentCategoryMetadataVariant.metadata.grid` to `ElectricalComponentCategorySpecificInfo.kind.grid_connection_point`
36
37
* `InverterType.INVERTER_TYPE_SOLAR` to `InverterType.INVERTER_TYPE_PV` (to align with the more colloquial term "PV inverter")
38
+
* `ComponentCategory.COMPONENT_CATEGORY_RELAY` to `ElectricalComponentCategory.ELECTRICAL_COMPONENT_CATEGORY_BREAKER` (to better align with the common terminology used in electrical engineering).
37
39
38
40
+`microgrid.sensors`:
39
41
@@ -78,6 +80,8 @@
78
80
79
81
- The `v1` package has been renamed to `v1alpha7`. The current `v1` package now consists of the contents the same directory from the v0.6.x branch, which is the latest stable version of the API.
80
82
83
+
- The enum `ComponentCategory` (now `ElectricalComponentCategory`) has been extended with new variants.
84
+
81
85
## New Features
82
86
83
87
Added many new messages and enum values:
@@ -93,6 +97,14 @@ Added many new messages and enum values:
93
97
+`ElectricalComponentDiagnosticCode` (previously `ComponentErrorCode`): New diagnostic codes to cover more cases, especially for inverters
94
98
+`InverterType.INVERTER_TYPE_WIND_TURBINE`: Enum value to represent wind turbine inverters
95
99
100
+
-`microgrid.ElectricalComponentCategory` (previously `microgrid.ComponentCategory`) has been extended with new enum values:
0 commit comments