For the complete documentation index, see llms.txt. This page is also available as Markdown.

Self-supply

Maximize self-consumption: store surplus PV and discharge it to cover the load, keeping grid exchange close to zero.

Self-supply maximizes the use of your own energy on site. Instead of optimizing for price, it keeps the net exchange with the grid close to zero: surplus PV is stored in the battery and discharged again to cover consumption.

How it works

Every control cycle the algorithm:

  • Balances against the grid. It measures the power at the grid connection point and steers the battery to bring that net exchange towards zero, charging when there is export (PV surplus), discharging when there is import (consumption the PV cannot cover).

  • Uses a deadband. Small grid fluctuations within a configurable deadband are ignored, so the battery does not chase every minor change.

  • Runs PV at full power, except when the injection price is negative: then controllable PV inverters are curtailed so that production does not exceed what is consumed and stored locally, avoiding paying to export.

  • Manages EV charging as part of the same decision. Controllable loads are not actively managed in this mode.

Unlike cost optimization, self-supply does not build a forward price-based plan. It balances the installation in real time against the measured grid power.

Relationship to an external signal

Like cost optimization, self-supply is a local strategy. When an external signal partner is actively steering the battery, that partner takes precedence; self-supply runs when no external signal is active.

Last updated