Skip to content

Commit e3c37ce

Browse files
Add a new component category for relays
This new category will enable us to handle components equipped with relays. Signed-off-by: Tiyash Basu <[email protected]>
1 parent 87dc60a commit e3c37ce

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

RELEASE_NOTES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@
1313
* Added a new message named `Location`, representing the co-ordinates of a
1414
geographical location.
1515

16+
* Added a new variant `COMPONENT_CATEGORY_RELAY` to the `ComponentCategory`
17+
enum.
18+
1619
## Bug Fixes
1720

1821
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->

proto/frequenz/api/common/components.proto

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,13 @@ enum ComponentCategory {
4444

4545
// A heat and power combustion plant (CHP stands for combined heat and power).
4646
COMPONENT_CATEGORY_CHP = 10;
47+
48+
// A relay.
49+
// Relays generally have two states: open (connected) and closed
50+
// (disconnected).
51+
// They are generally placed in front of a component, e.g., an inverter, to
52+
// control whether the component is connected to the grid or not.
53+
COMPONENT_CATEGORY_RELAY = 11;
4754
}
4855

4956
// Enumerated battery types.

0 commit comments

Comments
 (0)