Skip to content
eXperts in Kilowatts and Optimisationsaving energy at home

Shared solar self-consumption in blocks of flats: how it is organised and shared out

How to install shared solar panels on a building in Spain, which majority the owners' meeting needs, how output and costs are shared, the paperwork, and what happens to neighbours who stay out.

Most people in Spain live in flats, and for years that seemed to shut the door on solar self-consumption. Since 2019 the rules have allowed collective self-consumption, in which several neighbours share a photovoltaic installation on the roof of the building or somewhere close by and share out the energy it produces. It is one of the most effective ways of bringing solar power into cities.

This guide explains how collective self-consumption works, which decisions the owners' association has to take, which majorities are needed, how output and costs are shared, what the paperwork is and what happens to neighbours who do not want to take part.

What collective self-consumption is

Collective self-consumption exists when several consumers join the same generating installation. In a building, the usual arrangement is to put panels on the roof terrace and share the output among the neighbours who take part, and even with the common services (lift, stairwell lighting, water pumps).

Each participant keeps their own electricity contract and their own retailer. The solar output is shared according to agreed distribution coefficients, and each neighbour sees their share on their bill.

A nearby installation connected through the grid

The rules also allow the installation to sit on another building nearby, connected through the distribution network, as long as certain distance and connection requirements are met. This opens the door to sharing panels between buildings in the same neighbourhood. The specific conditions, such as the maximum distance, have been widened several times; check the current ones before planning a project like this.

How the energy is shared: the coefficients

The distribution coefficients state what percentage of the output belongs to each participant. They can be:

  • Fixed: the same percentage in every hour of the year. For example, each of 10 participating neighbours receives 10 %.
  • Hourly: different coefficients for each hour of the year, which allow the sharing to follow each neighbour's real consumption. They are more efficient but take more management.

Criteria for setting the coefficients

CriterionAdvantageDrawback
Equal sharesSimple and easy to explainWhoever uses little during the day loses surplus
According to each person's investmentFair to those who put in moreDifferent contributions have to be agreed
According to the ownership shareConsistent with the community chargesDoes not reflect consumption
According to daytime consumptionMaximises self-consumptionMore complex to calculate and update

The coefficients are set out in a distribution agreement signed by all the participants and sent to the distribution company.

Example: why the criterion matters

Imagine a sunny day on which the part of the installation assigned to three neighbours produces 15 kWh between 10:00 and 18:00:

NeighbourConsumption in those hoursEqual shares (5 kWh each)Shares by daytime consumption
A, works from home8 kWhUses 5 and buys 3 from the gridReceives 8 and uses it all
B, out all day3 kWhUses 3 and has 2 left overReceives 3 and uses it all
C, at home in the mornings4 kWhUses 4 and has 1 left overReceives 4 and uses it all

With equal shares, 3 kWh are bought from the grid while another 3 kWh are exported as surplus, compensated at a lower price. Sharing by consumption uses everything. Because real consumption changes from hour to hour, hourly coefficients fine-tune things further; and if this criterion is chosen, it makes sense for each neighbour's contribution to bear some relation to the energy they receive.

Decisions at the owners' meeting

The installation occupies a common element, usually the roof, so the owners' meeting has to approve it. Spain's Horizontal Property Act sets the majorities required:

  • Renewable energy installations for common or private use on common elements: these can be approved with the favourable vote of one third of the owners representing one third of the ownership shares, on the terms the law sets.
  • When the decision is taken with that majority, the costs are borne by those who voted in favour, and neighbours who join later must pay their corresponding share.
  • If the installation counts as an improvement that benefits the whole community and is approved with larger majorities, the cost can be passed on to all the owners.

The exact wording of the law has changed several times to make this kind of installation easier, so the property manager should confirm the applicable majority and the cost arrangements before the meeting.

Who takes part and who does not

In collective self-consumption, taking part is voluntary:

  • Neighbours who do not want to take part do not pay for the installation and receive no energy.
  • They can join later, paying their share of the investment as agreed.
  • The common services can be one more participant, so that all the neighbours benefit indirectly through lower community charges.

Costs and financing

The cost per kWp of a collective installation is usually somewhat lower than that of an individual one, thanks to economies of scale, although it can rise because of a complicated roof, the need for cable runs to the meters or lifting equipment.

Ways to finance it

  • A contribution from each participant according to their coefficients.
  • A special levy or the reserve fund if all the neighbours or the common services take part.
  • A bank loan in the community's name.
  • Pay-per-use models: some companies install the panels and charge the neighbours a fee for the energy or a rent, with no upfront investment.
  • Public grants: in recent years there have been specific subsidies for self-consumption and building renovation, run by the autonomous communities. Check the current ones.

The paperwork

  1. Technical study: roof, orientation, shading, structure and estimated output.
  2. Approval at the meeting with the appropriate majority.
  3. Distribution agreement with the coefficients, signed by the participants.
  4. Municipal licence or notification: depending on the town hall, a building licence or a responsible declaration.
  5. Installation by a registered company.
  6. Installation certificate and registration with the autonomous community.
  7. Notification to the distribution company of the distribution agreement and the participating CUPS supply points.
  8. Activation of compensation with each neighbour's retailer.

The whole process, from the study to the first bill with compensation, can take several months. More in paperwork and legalising self-consumption.

Check the roof before installing

The panels will be on the roof for many years; first sort out anything that would force you to take them down:

  • Waterproofing: if the roof terrace will need redoing soon, do it before installing; removing and refitting the panels afterwards costs a lot.
  • Structure and wind: a technician must check that the roof can take the weight of the panels and their ballast, and how they are anchored to withstand the wind.
  • Uses that must remain: aerials, washing lines, access to the lift machinery, flues and clear walkways for maintenance.
  • The cable route: how the cables come down to the connection point, usually the bank of meters. A service shaft with free space makes the job much simpler.

What each neighbour sees on their bill

Each participating neighbour sees on their bill:

  • The energy they have taken from the grid, already net of the share of solar output that belongs to them and that they used at the time.
  • The surplus that belongs to them under their coefficient and that they did not use.
  • The compensation for that surplus according to their retailer. See surplus compensation.

Because each neighbour may have a different retailer, the value of the compensation can vary between participants.

Tips to make it work well

  • Appoint a person or a committee to coordinate with the property manager and the installer.
  • Ask for several detailed quotes with estimated output and guarantees.
  • Choose sensible coefficients and plan how to update them if a neighbour's situation changes.
  • Include the common services so that the whole community benefits.
  • Agree in writing what happens if a neighbour sells their flat: usually the share passes on with the home.
  • Take out a basic maintenance contract for the installation.

Case study: a building with 24 flats

An owners' association in Alicante installed 30 kWp on its roof terrace. Fifteen of the 24 flats and the common services took part. They agreed:

  • A fixed coefficient of 6 % for each participating flat.
  • 10 % for the common services (lift, lighting and water pump), so that all the neighbours benefit through the community charge.
  • The option for new flats to join by paying their share of the investment, with the coefficients recalculated.

The investment was about €33,000, around €2,000 per participating flat once the common services' share had been allocated, and it benefited from a regional grant. Each participating flat produces about 2,600 kWh a year from its share. Families who work from home or programme their appliances for midday make much more of their share; those who are out all day rely more on surplus compensation.

Checklist for the meeting

  • A technical study with estimated output and a quote.
  • The required majority confirmed by the property manager.
  • The criterion for sharing costs and the coefficients.
  • Rules for flats that join later and for sales.
  • A maintenance contract and insurance for the installation.

Frequently asked questions

Can one neighbour alone put panels on the roof terrace?

They need the meeting's authorisation. Some neighbours on the top floor, or in penthouses with a private terrace, can install them on their own terrace with fewer requirements, depending on the building's statutes.

What happens if I sell my flat?

Usually the share passes on with the home. The distribution agreement should cover this.

And if I rent?

The energy is assigned to the home's supply point, so whoever holds the electricity contract will see the discount on their bill. The decision to take part and invest normally belongs to the owner, who is the one who votes at the meeting. In practice, owner and tenant should agree in writing who bears the cost and who uses the energy for as long as the tenancy lasts.

Do I have to change retailer?

No. Each participant keeps their retailer, although it is worth checking what compensation price it offers.

Can the installation be extended later?

Yes, with a new approval and an update of the legalisation and the distribution agreement.

In short

Collective self-consumption lets the neighbours in a building share a solar installation on the roof and divide its output by means of coefficients. It needs the approval of the owners' meeting with the majority the law sets, a distribution agreement signed by the participants, legalisation and notification to the distribution company. Taking part is voluntary, the common services can benefit, and, well organised, it is an effective way of bringing solar savings to flats.

Sources and further reading

Last checked on .

Keep saving

Related guides