Skip to main content
Version: 2026.11

Captive battery

bat1 may only charge from pv1. That single restriction changes the answer in two opposite ways depending on whether pv1 is producing: when it is, the captive sink depletes it before anyone else may share it; when it is not, the sink has nowhere legal to draw from.

What this case shows​

  • A captive sink is served from its allowed source before flexible sinks share it.
  • When every allowed source is idle the restriction is relaxed as a last resort: the sink is booked for what it actually drew.
  • The unservable draw is reported as a restriction deficit.

Each snapshot below is one set of readings on this wiring, drawn as a flow chart — how to read it.

Captive depletes first​

Captive battery · snapshot 01

pv1 produces exactly what bat1 draws, so bat1 takes all of it.

SOURCESCHANNELSSINKS
ReadingWOf grossShareMade of
Gross power900 W1grid 500 W · pv1 400 W
Grid import500 W5/9grid 500 W
Grid export0 W0nothing exported
PV production400 W4/9pv1 400 W
Charging power400 W4/9bat1 400 W
Discharging power0 W0no battery discharging
Standby power0 W0no standby draw
Self-consumption500 W5/9grid 500 W
Metering imbalanceok0 W0readings reconcile exactly
Home base load300 W1/3unmetered remainder of consumption
Ribbon widths are watts in every view. Hover, focus or tap a ribbon to see the sensor behind it.

Source in standby​

Captive battery · snapshot 02

pv1 is drawing standby, so it is a sink; bat1's only allowed source is not supplying. bat1's 400 W still came from the grid, so that is where it is booked, and all 400 W are its deficit — a "PV only" battery topping up from the grid. The base load is only what no meter measured.

SOURCESCHANNELSSINKS
ReadingWOf grossShareMade of
Gross power1000 W1grid 1000 W
Grid import1000 W1grid 1000 W
Grid export0 W0nothing exported
PV production0 W0no PV system
Charging power400 W2/5bat1 400 W
Discharging power0 W0no battery discharging
Standby power20 W1/50pv1 20 W
Self-consumption580 W29/50grid 580 W
Metering imbalanceok0 W0readings reconcile exactly
Home base load480 W12/25unmetered remainder of consumption
▲ a restriction is relaxed: the readings cannot be met without it.Ribbon widths are watts in every view. Hover, focus or tap a ribbon to see the sensor behind it.

Why this case exists​

One restriction, two opposite consequences — which is why both snapshots share a wiring.

When the captive battery's allowed source is producing, the battery depletes it first: it takes all of pv1, and the unrestricted consumer is left with the grid. A naive implementation that shared each source proportionally would hand the battery a slice of grid power it is not allowed to touch, so this snapshot separates the two implementations immediately.

When that same source drops into standby it stops being a source at all. The battery now has nowhere legal to draw from, and rather than dividing by zero the row collapses to zeros and the shortfall is reported as a restriction deficit.