Modulgebäude mit dunkler Fassade von oben gesehen, das Flachdach ist mit Reihen von Solarmodulen belegt

Can a modular building produce its own electricity?

Solar panels on a modular building: how much roof a module provides, what structure and winter limit, and when self-consumption and storage pay off.

7 min read Insights
Contents
  1. Reduce consumption first
  2. How much roof a module provides
  3. Structure and roof: snow, wind, waterproofing
  4. Self-consumption brings the most benefit
  5. Battery storage: only with a suitable load profile
  6. Winter sets the limit
  7. Registration, permit and operation
  8. Frequently asked questions

A flat roof, plenty of sun and a building that needs electricity during the day: at first glance, modular buildings and photovoltaics go well together. And a modular building can indeed generate part of its own electricity. How large that part is depends on the roof area, the use and the season. Managing entirely without a grid connection, on the other hand, is difficult for year-round use, especially in winter.

Key points at a glance

  • Reduce consumption first: a good building envelope and efficient building services make any solar installation more effective.
  • A single module offers only a small roof area. A continuous array only becomes possible across several modules.
  • Roof and structure must take the extra weight plus snow and wind. That requires structural verification.
  • Solar power used directly in the building brings the most benefit. A battery only pays off with a suitable load profile.
  • In winter, the installation delivers least when the building needs most energy.

Reduce consumption first

Before a solar installation is planned, it should be clear how much energy the building actually needs. Good insulation, airtight junctions at the module joints, suitable windows and effective solar shading reduce the demand. Direct electric heating or ventilation that runs round the clock drives it up. An economical building with a suitably sized installation is often more cost-effective than a large installation on a building that wastes energy.

In summer, peak solar production coincides with the greatest cooling demand. If you need to cool offices or containers, you can use your own electricity exactly when it is generated.

How much roof a module provides

A room module of around 6 by 2.5 to 3 metres has a roof area of about 15 to 18 square metres. Edge distances, penetrations for ventilation and exhaust air, and maintenance walkways all take their share. On a single module there is therefore only room for a small installation. Only on several connected modules does an area emerge that supplies a noticeable amount of electricity for the whole building.

On flat roofs, solar panels are mounted on frames at a shallow tilt, for example facing east and west. This spreads production more evenly over the day and suits buildings that are used from morning to evening. Trees or neighbouring buildings that cast shade reduce the yield and need to be taken into account in the design.

Structure and roof: snow, wind, waterproofing

A solar installation is an additional load. On top of that comes snow, which can collect between the rows of panels, and wind, which pulls at the raised panels. The snow and wind loads to be assumed at the location are set out in the SIA 261 standard. Snow loads vary considerably with altitude. Whether the module, roof and substructure can carry these loads must be verified structurally.

On flat roofs, the frames are often weighed down with ballast instead of being anchored in the roof, so that the waterproofing is not pierced. Ballast, however, means additional weight. Every penetration, for example for cables, must be permanently watertight. Fall protection is also needed for installation and later maintenance. Suva requires it to be included in the design of the solar installation from the start and recommends guardrails or edge protection at the roof edge.

If the building is to be relocated later, there is one more point: the solar panels and cables must be easy to detach for transport and dismantling.

Self-consumption brings the most benefit

Solar power is most worthwhile when it is used directly in the building instead of flowing into the grid. Offices, schools and workshops have an advantage here: they need electricity during the day for lighting, equipment, ventilation and cooling, in other words when the sun is shining. Whatever is left over must be taken and paid for by the network operator. The grid connection remains in place.

If there are several buildings or users on one site, they can join together in a self-consumption group (ZEV). Since 1 January 2026, local electricity communities (LEG) have also been possible, through which solar power can be sold to consumers nearby.

Battery storage: only with a suitable load profile

A battery shifts solar power from midday to the evening. That increases self-consumption, but it does not bridge a gap of several weeks in winter. SwissEnergy states that only a few battery systems are profitable today, and even then only under favourable conditions. Whether one pays off depends on the load profile, the electricity tariff and the storage size.

Plant room in a modular building with an inverter on the wall, a battery storage unit on the floor and a distribution cabinet, cables in cable trays
Inverter, battery and distribution board in the plant room: the battery shifts solar power into the evening, but it does not replace the grid connection.

In buildings that stand empty in the evening, such as offices or schools, a battery accordingly brings little. It is often cheaper to move flexible loads such as hot water or charging stations into the sunny hours.

Winter sets the limit

In winter, the sun shines for a shorter time and lower in the sky, and snow can cover the solar panels for days. At the same time, the energy demand for heating and lighting is at its highest. An annual balance in which the installation generates more than the building consumes does not therefore mean that the building can manage without the grid in winter.

Single-storey modular building in the snow, with the shallow-tilt solar panels on the roof largely covered by snow
Snow on shallow-tilt solar panels: just when the most heat is needed, the installation delivers the least.

A fully self-sufficient supply is technically possible, but it requires large storage and a precise calculation over the critical winter months. For office and school buildings, a grid-connected installation with high self-consumption is as a rule simpler, cheaper and more reliable in operation.

Registration, permit and operation

A solar installation is registered with the network operator. After installation, the electrical contractor uses a safety certificate to prove that the installation has been inspected. As for building law: with a new modular building, the solar installation is best included in the planning application straight away. If it is added to a roof later, a notification to the municipality is often sufficient in building and agricultural zones, provided the installation is adequately integrated. For larger new buildings, energy law may even require a solar installation on the roof or facade.

After commissioning, simple monitoring is worthwhile. Meters for production, consumption from the grid and feed-in show whether the installation delivers what was planned. Unusually high consumption at night, for example, points to equipment that does not switch off.

  • Consumption when and for what the building needs electricity
  • Roof area how much is left after edge distances, roof structures and maintenance walkways
  • Structure whether modules, roof and foundations can carry the extra weight with snow and wind
  • Waterproofing how frames and cables are fixed without creating leaks
  • Safety how the roof is protected against falls during installation and maintenance
  • Grid registration with the network operator, payment for the surplus and, where relevant, ZEV or LEG

Frequently asked questions

Can a modular building manage entirely without a grid connection?

Technically, this is possible with large storage. For year-round use, winter is the biggest hurdle. For most office and school buildings, a grid-connected installation is the better choice.

Is battery storage worthwhile?

Only if the load profile fits, in other words if a lot of electricity is needed in the evening. According to SwissEnergy, only a few battery systems are profitable today.

Can every container roof carry solar panels?

Not without verification. Weight and ballast, snow and wind loads and the waterproofing must be checked for the specific roof.

Does the solar installation need a building permit?

For a new building, it belongs in the planning application. If it is retrofitted, a notification is often sufficient for the roof. In protected zones and on protected buildings, a permit may be needed. The canton and municipality regulate the details.

Prefer to ask directly instead of reading at length?

Some things are settled faster by a short conversation than by any article. Tell us about your project.

Message us on WhatsApp