Skip to content

Use inverter data if inverter meter is down for grid load calculation #294

@idlir-shkurti-frequenz

Description

@idlir-shkurti-frequenz

What's needed?

Currently the grid load is calculated by adding up all the relevant meters in the microgrid. If any of the meters is down then the grid_load() formula gives out None. This means that even if one of the inverter meters is down but the inverter still working, then the grid load will return a None value. The battery_power() function on the other hand will not return None as this function gets its power data from the inverters.

Proposed solution

Use the inverters as back up to get the inverter/battery load if any inverter meter goes down. This will require changes to the grid_load() function.

Use cases

If the main meter is not working properly, then a None grid load value is expected from peak shaving. This will mean that peak shaving will go into slow discharge mode. However if one of the inverter meters is also down peak shaving will also go into slow discharge mode even though the inverters/batteries are working correctly.

Alternatives and workarounds

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:data-pipelineAffects the data pipelineresolution:duplicateThis issue or pull request already existstype:enhancementNew feature or enhancement visitble to users

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions