-
Notifications
You must be signed in to change notification settings - Fork 20
Description
What happened?
We wanted to run some FCR prequalification tests on a set of batteries. These batteries had been moved to a separate instance of the microgrid API. When running the actor, we were unable to start, because we got the error "Component tree is not a graph!". It appears to be thrown from here:
| if not nx.is_tree(self._graph): |
Initially, we could not find anything wrong with the component graph itself, since we verified it using the connections endpoint of the microgrid API. It was then pointed out to us that there existed a component, which was not connected to any other components. After removing this component, the error went away.
What did you expect instead?
Ideally, the error reporting here should be more detailed, to avoid debugging sessions that lead to false conclusions. Something like component ID #X has no connections and is a dangling component would have saved us a lot of effort here.
Affected version(s)
v0.20.0
Affected part(s)
Core components (data structures, etc.) (part:core), Microgrid (API, component graph, etc.) (part:microgrid)
Extra information
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status