Skip to content

Dangling components cause initialization failure #1248

@shsms

Description

@shsms

What happened?

There was a dangling component from the API and the component graph initialization failed.

What did you expect instead?

Log a warning and build the graph without that component.

Extra information

In addition to this, the status of the component graph should be available, so that apps can decide whether they want to proceed based on how they judge the situation.

It could for example, be a microgrid.config_status() method that provides details about issues in the component graph, like a list of categories for dangling components, there are battery inverters without batteries, etc.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority:❓We need to figure out how soon this should be addressedtype:bugSomething isn't working

    Projects

    Status

    To do

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions