-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fallback components in generated formulas in LogicalMeter #184
Comments
Additionally the |
Well we can read that from the PV inverter which is a component on the component graph. |
This is because the microgrid API currently doesn't have drivers for reading data from PV inverters. We have plans to update our generated formulas to have fallback components, when a certain selection of components is unable to stream data, tracked here: frequenz-floss#184. Reading PV power from a meter is also going to be more accurate, because it measures the actual power coming out of the PV inverter, unaffected by the inverter's self consumption. Signed-off-by: Sahas Subramanian <[email protected]>
This is because the microgrid API currently doesn't have drivers for reading data from PV inverters. We have plans to update our generated formulas to have fallback components, when a certain selection of components is unable to stream data, tracked here: frequenz-floss#184. Reading PV power from a meter is also going to be more accurate, because it measures the actual power coming out of the PV inverter, unaffected by the inverter's self consumption. Signed-off-by: Sahas Subramanian <[email protected]>
This is because the microgrid API currently doesn't have drivers for reading data from PV inverters. We have plans to update our generated formulas to have fallback components, when a certain selection of components is unable to stream data, tracked here: frequenz-floss#184. Reading PV power from a meter is also going to be more accurate, because it measures the actual power coming out of the PV inverter, unaffected by the inverter's self consumption. Signed-off-by: Sahas Subramanian <[email protected]>
that's not necessarily true. If we have support for PV inverters, these can be used as a fallback. |
Writting here suggestions from Matthias and Sahas, so they don't get lost Addressing this issue involves having an dynamic graph that self changes on certain conditions. This can actually be done without having to rebuild the formula. There are This is a good starting point even that suggestion wouldn't cover the case of one meter in front of many PV inverters. |
What's needed?
Support for automatic logical meter formulas to be regenerated with fallback components from the component graph, if available.
For example, in the
grid_power()
formula, power values from all components directly attached to the grid component are added. These are usually just meters. But one of these meters fails, and that meter has a fallback component, values from the fallback components can be used in the formula instead.In the first version, this can be done for just meters attached to inverters. If such meters fail, values from the inverters can be used instead.
This might also be possible with meters attached to ev-chargers, if we can be confident that there are no hidden load behind such meters, and it is just the ev chargers.
This will NOT be possible
because both those don't have fallback devices in the component graph that we can get power readings from.
Proposed solution
No response
Use cases
No response
Alternatives and workarounds
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: