What's needed?
The component graph's requirement for inverters to have successors was removed in #88, in order to quickly get support for PV inverters which don't have successors.
We need to add back this requirement just for battery inverters.
Proposed solution
For this the component graph needs to know the type of the inverter, which is already available in the microgrid API, and just needs to be added to the Component struct of the sdk. The the component graph can enforce the requirement selectively, based on the type of the inverter.
Use cases
No response
Alternatives and workarounds
No response
Additional context
No response