Skip to content

Predbat takes account of dissimilar battery capacities in the plan #830

Description

@gcoan

Is your feature request related to a problem? Please describe.
Predbat currently assumes that the batteries and inverters in multi-battery/inverter setups are identical and will charge and discharge at a consistent rate. In reality this is not always the case and is resulting in Predbat calculating plans that it then cannot deliver.

Describe the solution you'd like
Example of a 'can't deliver' plan:

I have a 9.5 and a 5.2 battery on two different inverters. Charge rate for both is 2.6kWh (in reality its actually more like 2.4kWh, but ignore that for now). The 5.2 (80% DoD so actually 4.2kWh usable capacity) will charge from empty to full therefore in 2 hours but the 9.5 will take about 3 and a half.

There is another zero rate power up event tomorrow and Predbat's plan is to charge from 4% to 100% in 3 hours (which as per above charging rates cannot be achieved):
image

Ideal solution would be that Predbat plans and manages both inverters separately and optimally whilst still avoiding cross charging.

A step back from that would be that Predbat recognises the different capacities and charge rates of different inverters and takes account of them in the plan.
For example, tomorrow, start the charging of the inverter with the 9.5 at 12:30 so its fully complete by 16:00, but for the 5.2, leave it holding soc at 4% and exporting PV until 13:00 or 13:30 which still gives enough time to fully charge the 5.2 from 13:30-15:30.

Describe alternatives you've considered

  1. Do nothing.
    Results in (a) cross charging when Predbat realises it can't fully charge the batteries in time and starts reducing the target soc (see Cross charging during charging event #829), and (b) battery not being fully charged before the peak period.

  2. Manually set force charge slots to ensure the larger battery is charged sufficiently.
    In this example I could force charge at 12:30 but doing this in Predbat will cause both batteries to be force charged, which is wasteful as the smaller battery can be fully charged at 0p.

  3. Manually control the inverters to achieve what I want. set predbat to read only, initiate manual charge on just the 9.5 at say 12:30, then at 13:00 turn read only off to let Predbat take over the charging.
    Not really what I want to be doing.

Additional context
The power up zero rate event illustrates the issue very well but clearly it is a bigger issue than just these events. Any overnight charging risks not delivering the plan because the inverter/battery sizing isn't currently taken account of in the Predbat plan.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions