Skip to content

Solar advice/Batteries and the grid

How solar self-consumption works in Spain

Almost every home system in Spain is a grid-connected self-consumption system, or autoconsumo. How the power flows from the panels through the house to the grid, what the three types of autoconsumo are, and how the system is registered.

By the Sunrise Energy teamUpdated 3 min read

Almost every home solar system in Spain works the same way: the panels supply the house, the grid stays connected, and electricity flows in whichever direction is needed at that moment. Spanish law calls this autoconsumo, self-consumption. This guide explains how the power flows, which type of self-consumption most homes use, and how a system is registered. How exported power is credited on your bill has its own guide: selling excess solar electricity in Spain.

How the power flows

1. Panels turn daylight into direct current (DC). 2. The inverter converts it to alternating current (AC) at the voltage and frequency of the grid. 3. The house uses that power first. Whatever is switched on, the fridge, the air conditioning, the pool pump, runs on solar power as long as there is enough. 4. If the panels produce more than the house uses, the surplus flows out to the grid through your meter. 5. If the house uses more than the panels produce, at night or on a dull day, the difference comes from the grid, as before.

Nothing needs switching. The meter records what goes in each direction, hour by hour.

A day on a sunny roof

  • Early morning: the panels start slowly. The house still draws mostly from the grid.
  • Late morning to mid-afternoon: production is at its highest. The house runs on solar power and the surplus goes to the grid.
  • Evening: production falls away just as cooking, lights and often air conditioning start. The house draws from the grid again, or from a battery if there is one.

That is why using power in the middle of the day, with timers on the pool pump, dishwasher or washing machine, gets more out of the same panels.

The three types of autoconsumo

The Spanish regulation for self-consumption (Real Decreto 244/2019) sets out three types:

  • Without surplus (sin excedentes). A device prevents any power from going to the grid. The system is simpler to process, but any surplus is lost.
  • With surplus, under compensation (con excedentes acogida a compensación). The surplus goes to the grid and is credited on your electricity bill each month. This is what most homes use.
  • With surplus, not under compensation. The surplus is sold as a producer under the general rules for electricity production. This is rarely worth the extra administration for a home.

To use simplified compensation, the system has to be renewable, have an installed power of no more than 100 kW, and you need a compensation agreement with your electricity company. For solar, installed power means the power of the inverter, not the panels.

Is a battery needed?

No. A grid-connected system works without one: the grid covers what the panels do not. A battery can store daytime surplus for the evening; see do you need a solar battery in Spain.

What happens in a power cut

A grid-connected system switches off when the grid fails, for the safety of people working on the lines. Keeping power during a cut needs a back-up system; see do solar panels work during a power cut.

How the system is registered

A home system does not stay informal. In the Valencian Community, after installation the authorised installer files the installation online with the regional industry department: with a technical design document (memoria técnica de diseño) for systems up to 10 kW, or with an engineer’s project above that. The region then registers the self-consumption installation itself and informs the distributor, which updates your access contract. You do not have to file anything yourself for a normal home system. The retailer then sets up the compensation agreement.

Home systems with surplus up to 15 kW on urban land, and all systems without surplus, are exempt from the separate grid access and connection permits that larger generators need. Separately from all of this, the town hall has to be informed. The detail, and who does what, is in what documents you need for a solar installation.

Words you will come across

The table below explains the Spanish terms that appear on quotes, bills and paperwork. For how we design and install a system like this, see solar panel installation.

Spanish terms

Glossary

In English

Autoconsumo
Self-consumption
Excedentes
Surplus
Compensación simplificada
Simplified compensation
Inversor
Inverter
CUPS
Supply point code
Distribuidora
Distributor
Comercializadora
Retailer
Memoria técnica de diseño
Technical design document

What it means

Autoconsumo
Using power you produce yourself, with the grid connected.
Excedentes
Power the panels produce that the house does not use at that moment.
Compensación simplificada
Your surplus is credited against the energy on your monthly bill.
Inversor
Converts the panels’ DC power into AC for the house and the grid.
CUPS
The unique code of your connection, on every electricity bill.
Distribuidora
Owns the lines and the meter in your area. Not the company you pay.
Comercializadora
The company that sends your bill and credits your surplus.
Memoria técnica de diseño
The installer’s design document for a low-voltage installation.

Real Decreto 244/2019

The three types of autoconsumo

Without surplus

Surplus
Blocked by an anti-export device
What you get for it
Nothing
Paperwork
Simplest
Usual for homes
Sometimes

With surplus, compensation

Surplus
Goes to the grid
What you get for it
A credit on your monthly bill
Paperwork
Registration plus a compensation agreement
Usual for homes
Yes, most homes

With surplus, sold

Surplus
Goes to the grid
What you get for it
Payment as a producer
Paperwork
Registration as a producer, taxes
Usual for homes
Rarely

Simplified compensation applies to renewable systems up to 100 kW of inverter power.

Frequently asked questions

Sunrise Energy

Ask me anything about going solar here, or pick one of these.

More questions

Answers come from our own frequently asked questions, written by the Sunrise Energy team.

Is self-consumption allowed everywhere in Spain?

Yes. It is regulated nationally by Real Decreto 244/2019. The regions handle registration, and the town halls their own paperwork, so the steps differ slightly per place.

Do I have to register my solar panels myself?

Not for a normal home system in the Valencian Community. The installer files the installation with the region, which registers the self-consumption and informs the distributor.

Does the grid still supply me at night?

Yes. The grid stays connected and supplies whatever the panels do not, automatically.

Can I use all my solar power myself?

Only what you use at the moment it is produced, or what you store in a battery. The rest is exported and credited.

Want to know what this means for your roof?

Leave your details and we come and look. Figures follow once we have seen the roof and your consumption.

Request an obligation free quotation

Step 1 of 3