-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
part:data-pipelineAffects the data pipelineAffects the data pipelinepart:microgridAffects the interactions with the microgridAffects the interactions with the microgridtype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
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 *Pools, etc. and the power manager to also adapt to the new graph.
Metadata
Metadata
Assignees
Labels
part:data-pipelineAffects the data pipelineAffects the data pipelinepart:microgridAffects the interactions with the microgridAffects the interactions with the microgridtype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Type
Projects
Status
To do