Skip to content

Represent sensors as as their own category #51

@tiyash-basu-frequenz

Description

@tiyash-basu-frequenz

What's needed?

We have two types of equipment in our microgrids:

  • electrical control or measurement component, such as inverters, batteries, meters, etc.
  • sensors providing details of the surrounding environment, such as temperature, humidity, irradiance, etc.

Currently, sensors are represented as a component category. This breaks the concept of the term "component", which is meant to refer to electrical components only.

Hence, sensors should be represented as an entity disjointed from components. We need to ensure that "sensors", as a concept,
a. exist at the same level as components
b. are not components

Proposed solution

A simple approach to address this would be to
a. remove sensors from the ComponentCategory enum, AND
b. rename the SensorType enum to SensorCategory.

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:❓We need to figure out how soon this should be addressedtype: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