Skip to content

Add support for new component category Relay #79

@tiyash-basu-frequenz

Description

@tiyash-basu-frequenz

What's needed?

Certain microgrids incorporate external relays to enable the connection or disconnection of components within the microgrid. These relays are controlled by writing a binary value (true/false, 1/0) to a digital output of a micro-controller situated within the local microgrid. Subsequently, the digital output operates the external relay, facilitating the switching mechanism. As part of our implementation, we aim to support and facilitate the control of these switching mechanisms to enhance the microgrid's functionality and flexibility.

Please look here for the corresponding issue in the common proto specs: frequenz-floss/frequenz-api-common#43

Proposed solution

The Microgrid API should facilitate streaming data from Relays. Therefore, it needs data definitions. For an example of such data definitions, please refer to the for inverters here.

The data definition should support the following states: OPENED and CLOSED.

Additionally, the Microgrid API should also support the start and stop methods for Relays.

Invoking the start method should cause a state transition from OPENED to CLOSED, and the stop command should do the reverse.

Use cases

No response

Alternatives and workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:protobufAffects the protocol buffer definition filespriority:highAddress this as soon as possibletype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions