Inverter Modes#

GbbOptimizer controls the inverter using four basic modes (protocol operations). Each inverter implements them differently — see the Mode Mappings section for detailed mappings.

Required Data from the Inverter#

The inverter must provide the following data:

FieldDescription
soc_percBattery SOC in percent (or V if controlling via voltage)
loads_total_kWhConsumption counter (kWh, cumulative)
fromgrid_total_kWhGrid import energy counter (kWh)
togrid_total_kWhGrid export energy counter (kWh)
pv_total_kWhPV production counter (kWh)

Optionally:

FieldDescription
ev_charge_total_kWhEV charging counter
hp_total_kWhHeat pump counter
other1_total_kWhother2_total_kWhOther counters

Operation Modes#

Normal#

Return to normal operation:

  • PV powers the home, then the battery, then the grid
  • Home is powered from PV, then from battery, then from grid

Charge#

Start charging the battery from PV and/or grid to the specified SOC level at the specified rate (W).

After the target SOC is reached:

  • Do not charge the battery from the grid
  • Do not discharge the battery below the target SOC
  • Charging the battery from PV is allowed

Discharge#

Start discharging the battery (and PV) to the grid down to the specified SOC level at the specified rate (W).

DisableCharge#

Disable battery charging. Energy from PV is sent to the home and grid.

Mappings for Individual Inverters#