Battery & inverter

The store the optimizer plans around, the hardware it drives, and the running price of what is inside it.

What this is for

  • I want EOS Connect to know my battery — how big it is, how fast it charges, how far it may be emptied.
  • I want it to actually drive my inverter rather than only advise me.
  • I want to know what the energy sitting in the battery cost me, so a discharge decision has a price behind it.

Two settings groups: battery.* describes the store and what it contains, inverter.* is how EOS Connect talks to the hardware.

The battery itself

Capacity, the charge and discharge limits, and the state of charge the optimizer plans against. These are the numbers every plan is built on, so a capacity that is out by a third makes every decision out by a third.

Recent Akkudoktor EOS builds describe a battery by a battery profile. On such a server EOS Connect writes the capacity and battery.max_charge_power_w as the profile adjustment, the same place EOS's own migration puts them. The charge and discharge efficiencies come from the profile, so battery.charge_efficiency and battery.discharge_efficiency do not reach that optimizer. The log says so once at startup. If the profile's values do not fit your battery, choose or create a matching profile in EOSdash. EOS Connect writes only its own fields, and only when they differ: the profile you choose and anything else set in EOSdash stay as they are.

The charging curve

With battery.charging_curve_enabled on, the charge power falls as the battery fills: the full battery.max_charge_power_w up to 50 % SOC, then less and less, down to 0.05 C near full and never below 500 W. A battery temperature sensor lowers it further in the cold and the heat.

  • Real charging is always held to the curve, whatever the plan asks for.
  • The plan follows the curve only with the built-in optimizer (local_evopt): every slot is planned with the charge power the curve allows at the state of charge planned for that slot. The temperature is taken as it is now for the whole horizon. EOS and EVopt accept one charge limit for all 48 hours, so they plan with battery.max_charge_power_w.
  • Discharging is never limited by the curve. The planned discharge limit is battery.max_charge_power_w.

What your stored energy cost

EOS Connect can track a running price for the energy in the battery, from what it actually paid to put it there — grid energy at that hour's tariff, solar at the export you gave up. Discharging then has a cost to weigh against the current tariff instead of being treated as free. See What your stored energy actually cost in the User Guide for what it is worth in practice.

The four power sensors are read as one energy balance, so they have to be measured at the same point: solar in, grid in, household out, battery in or out. What the balance cannot place is left unattributed rather than guessed at.

  • Load power is the whole household — heat pump, wallbox and managed loads included, everything behind the meter except the battery itself. Naming a partial load (say, the house without the wallbox) does not simply lose that appliance: the solar it consumed then looks like surplus, and charging that really came off the grid is booked as free, so the stored price comes out too low.
  • Grid power is the meter, import-positive by default. The opposite convention is detected from the data rather than assumed, so an export-positive sensor also works.
  • Price is what a kWh drawn from the grid costs right now — the import tariff, not a forecast and not your feed-in rate. Solar charging is costed separately, at the export revenue you gave up, from the feed-in price under What you pay.

On an EVCC data source none of this is yours to wire up: EVCC meters all four itself and the fields are filled in for you.

The inverter

How EOS Connect reaches the hardware, and what it is allowed to ask of it. The control paths themselves — what a charge or discharge command does, and what the API and MQTT expose — are in Controlling the battery.