Energy

Solar & Battery Self-Consumption Profile Calculator

Simulate matching solar generation and household load with a simple surplus-first battery dispatch and grid exchange.

How the calculation works

For each interval, match solar and load; charge from remaining surplus subject to power and upper SOC, then discharge to remaining deficit subject to power and lower SOC. Apply charge and discharge efficiencies separately, track stored energy and exchange residuals with the grid.

Worked example

Example inputs — Solar AC generation per interval (kW): 0, 4, 4, 0; Matching AC load per interval (kW): 2, 2, 2, 2; Each interval duration (minutes): 60; Battery usable model capacity at 100% SOC (kWh): 4; Initial state of charge (%): 25; Minimum state of charge (%): 0; Maximum state of charge (%): 100; Maximum AC charge power (kW): 2; Maximum AC discharge power (kW): 2; AC-to-stored charging efficiency (%): 100; Stored-to-AC discharging efficiency (%): 100. Expected results — Solar generation: 8 kWh; Household load: 8 kWh; Solar directly serving load: 4 kWh; AC energy sent to battery: 4 kWh; AC battery energy serving load: 3 kWh; Grid import: 1 kWh; Grid export: 0 kWh; Battery conversion losses: 0 kWh; Final stored energy: 2 kWh; Final state of charge: 50 %; Solar captured on site including stored energy: 100 %.

Assumptions and limits

Each matched sample is constant average AC power over one complete interval. Direct solar serves load first; surplus charges within limits, remaining surplus exports; deficit discharges battery within limits, remaining deficit imports. Percent solar captured includes energy still stored and subsequent storage losses, so it is not identical to solar ultimately consumed. Initial stored energy may originate from the grid or a prior period. No export limits, grid charging, degradation, tariffs, backup/islanding, reactive power or subinterval peaks. Capacity and state of charge are a simplified energy model.

Reference and further reading

Read the underlying subject reference. Calculith is an independent implementation; the reference does not endorse or certify this tool.

Related calculators

Browse all 1000 calculators →

Example values are editable. Results are estimates where assumptions apply. Calculations run in your browser. Updated 2026-11-16.