Skip to content

Update component graph to require battery inverters to have successors #89

@shsms

Description

@shsms

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

Metadata

Metadata

Labels

part:microgridAffects the interactions with the microgridpriority:lowThis should be addressed only if there is nothing else on the tabletype:enhancementNew feature or enhancement visitble to users

Type

No type

Projects

Status

To do

Relationships

None yet

Development

No branches or pull requests

Issue actions