Open
Description
What's needed?
We need to be able to pick up and adapt to changes in the component graph dynamically. This means we need to rebuild formulas in the data pipeline and power manager (at least) to accommodate to the new graph.
Proposed solution
Alternatives
Polling
The solution we can implement now would be to poll the microgrid API (fetch components and connections) every some amount of time, compare the new component graph to the current one, and trigger an update if it changed.
Event based
We could have a more efficient way to detect changes if the microgrid API is extended to add an RPC that streams updates to the component graph.
Updates
We would need to update all the affected formulas in the data pipeline, like formulas in *Pool
s, etc. and the power manager to also adapt to the new graph.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
To do