Closed llucax closed 2 months ago
I would like to propose another potential solution - we can just add a "virtual" meter to the component graph. This has a few advantages to the proposal above:
However, if we really want to follow the proposal mentioned in the issue description, then we could get replace all virtual components with meter metadata fields, again for consistency.
Also for cross-referencing, the #246 also touches on the point of metadata vs components in the component graph.
I also feel like having a more representative component graph sounds cleaner and less hacky.
Marking this blocked for now, until we stabilize the requirement in discussions.
We discussed that we do not need to consider meters having hidden connections. Client app algorithms should be able to adapt to anomalous meter readings.
What's needed?
When reading electrical data from the microgrid, we rely mostly on meters and inverters. It is very common that inverters even have a meter in front of them as they provide more reliable data. In those cases one can use the inverter as a fallback way to get data in cases where the meter is not working. There are cases where we even have a component connected to a meter but for technical reasons there is no way to measure the component (like a PV inverter), but we can read it indirectly via a meter.
The problem is a meter can have connections to other electrical components (like a load) that is not represented in the component graph, and if that is the case, we can't rely anymore on the meter to either be a proxy for some other phantom/virtual component or an unknown load.
To solve this, we need a way to determine a meter is only connected to its children nodes or if there could be phantom/hidden/virtual connection that is not represented in the component graph, so we can know how we can use that meter and what is it metering exactly.
Proposed solution
The proposed solution is to add a metadata
Meter
message with a bool field to tell if there is (or could be) a hidden connection or if it is guaranteed that all connections to the meter are represented in the component graph. For example:Use cases
No response
Alternatives and workarounds
No response
Additional context
Other issues related to supporting this use case: