Skip to content

Self-consumption, surplus and the 20 % cap

How much of your production will be used on site, how much surplus, and are you under the Law 82-21 20 % cap? Hour-by-hour simulation on a PVGIS typical year.

Examples:
1. Project

2. Site
PVGIS data (European Commission, JRC): 30° tilt, 0° azimuth (south), 14 % system losses.
Site consumption

Alnitak typical profile (default). A measured load curve would replace it.
Adjust the profile (days, hours, base load, closure)
Working days per week

Applies at night, on closed days and during the annual closure.

3. Options (optional)
Capacity actually usable (after depth of discharge). Leave blank for no battery.

Export to the grid

Frequently asked questions

Is the 20 % surplus cap assessed monthly or yearly?

Yearly. Law 82-21 (art. 12) limits surplus sales to 20 % of annual production. Surplus is metered and invoiced each month, then settled once a year within the cap, by the tenth working day of January (ANRE decision 04/26, art. 9.2). A month above 20 % therefore does not breach the cap if the year stays below it.

What is the tariff for exported surplus?

On MV, HV and EHV: 0.21 MAD/kWh at peak and 0.18 MAD/kWh off-peak, excluding taxes (ANRE decision 04/26, arts. 6 and 7), valid from 1 March 2026 to 28 February 2027, unless extended by ANRE. The tariff is fixed when the connection convention is signed, then indexed to the TGM (art. 10). On LV, no tariff is set to date. Amounts shown are indicative gross estimates, before any grid use charges (TURT / TURD).

What happens to surplus above 20 %?

It is not paid: ANRE decision 04/26 (art. 7) only pays surplus within the 20 % ceiling on annual production. The ceiling applies to sales, not to physical export, whose conditions are set by the connection agreement with the grid operator. The tool quantifies this energy and compares, for your site, an export limit and a smaller PV capacity.

How is a battery taken into account?

The battery stores PV surplus and returns it to the site, which reduces export. The cap is calculated here on the annual AC output of the PV inverters. Storage is permitted (Law 82-21, art. 15), but its metering rules await the implementing text: with an AC-coupled battery, the position of the production meter must be confirmed with the grid operator.

What data does the simulation use?

Production comes from PVGIS (European Commission) for the chosen city: a typical year from the 2005–2023 series, 30° tilt, due south, 14 % system losses. Consumption follows an adjustable Alnitak typical profile (days, hours, base load, closure) or your 12 monthly bills. For final sizing, a measured load curve replaces this profile.

Does the tool size protection for backup operation?

No. With a backup battery, it lists the points a protection study must cover (inverter fault current, earthing system, transfer switch, selectivity, motor starting, genset) and the documents to gather. It gives no setting or trip value and never concludes that an installation is safe or compliant.