Green City LAB SDGs

How Luče’s community battery kept the village microgrid running

In a mountain community, putting panels on rooftops is not enough to advance the local energy transition if power lines have limited capacity, voltage rises too high, or storms repeatedly cause outages. In Luče, northern Slovenia, the European COMPILE research demonstration combined solar power, household batteries, a 150 kW/333 kWh community battery, control systems, and an EV charger in an area centered on nine residential buildings, testing how local resources could support a weak low-voltage distribution network.

Homes and electricity distribution equipment along a road in Luče, northern Slovenia. Climate and Energy
Luče, the village where a community battery was demonstrated. Photo: Doremo, May 27, 2018. Wikimedia Commons, CC BY-SA 4.0, resized. The photograph does not establish that the equipment pictured is the COMPILE community battery itself.
Jump to evidence and sources

This case is often described as “Slovenia’s first self-sufficient energy community.” However, self-sufficiency here does not mean never using external electricity at any time of year. It refers to meeting demand with local electricity during periods with sufficient solar generation and stored energy, or during tests of islanded operation disconnected from the distribution grid. Annual generation and consumption, seasonal shortfalls, operating time during outages, and electricity market contracts need to be considered separately.

COMPILE was an EU research project conducted from 2018 to 2022, with Luče as its main Slovenian demonstration site. The project’s end in 2022 proves neither that equipment was removed nor that it operated continuously through 2026. This article uses primary sources to explain the equipment, islanding tests, and voltage improvements during the demonstration, distinguishing them from current ownership and maintenance contracts or annual operating figures.

  1. In Luče, a weak grid was a barrier to expanding solar power
    1. Daytime voltage rises and outages during bad weather
    2. Protecting agricultural and household activities from outages
  2. Nine buildings, 102 kW of solar power, and a 150 kW/333 kWh community battery
    1. Distinguish equipment ratings from the energy actually available
    2. Household batteries and the community battery serve different roles
  3. “Self-sufficiency” means different things over a year, during particular periods, and during outages
    1. Meeting 100% of demand during particular periods
    2. Islanded operation is a limited state disconnected from the grid
  4. Islanded operation verified through disconnection tests and actual switching
    1. Tests verified switching and resynchronization
    2. Resynchronizing with the grid is also important
  5. Increasing the solar capacity that can connect to the distribution grid
    1. “Three times” and “five times the original allowance” may use different baselines
    2. Grid reinforcement does not become entirely unnecessary
  6. Electricity bills and local trading: institutions are harder than technology
    1. Settlement trials beginning in 2021
    2. Distinguish research-period exceptions from permanent arrangements
  7. Separate COMPILE’s approximately €6.93 million from the cost of Luče alone
    1. Project costs cover five demonstration sites and research tools
    2. The question is who pays future costs, rather than whether equipment was free
  8. After the demonstration: module replacement, flooding, and annual generation and consumption
    1. COMPILE ended on October 31, 2022
    2. Operating records that should be published annually
  9. Community decisions: who participates and who benefits?
    1. Do not limit the system to households with roofs, funding, and connectivity
    2. Electricity data also reveal information about daily life
  10. Other mountain communities can learn the sequence, not just the equipment
    1. Start by measuring voltage, outages, and demand
    2. Balance operation for emergencies and the electricity market
  11. Links to the SDGs: energy, industry, communities, and climate
    1. Relevant to SDGs 7, 9, 11, and 13, without constituting certification of achievement
  12. Frequently asked questions (FAQ)
    1. Does Luče use no external electricity throughout the year?
    2. How large is the community battery?
    3. How many days can it supply power during an outage?
    4. By how much did solar generation increase?
    5. Does a battery eliminate the need for distribution network reinforcement?
    6. Is COMPILE’s approximately €6.93 million the cost of Luče alone?
    7. Is the same equipment operating under the same conditions in 2026?
  13. Related published articles
  14. Primary and official sources, and date checked
  15. Summary: the system for managing a weak local grid matters more than the self-sufficiency label

In Luče, a weak grid was a barrier to expanding solar power

Daytime voltage rises and outages during bad weather

COMPILE’s official Luče demonstration site page describes the area as a rural low-voltage distribution network with a weak connection to the medium-voltage grid. Voltage was prone to exceed acceptable limits during daytime rooftop solar generation, while storms, thunderstorms, and other extreme weather made outages more likely. The ability to add generation depends not only on residents’ ability to buy panels but also on whether power lines and transformers can handle reverse power flow.

The conventional response is to reinforce lines and transformers. In addition, the Luče demonstration adjusted local power flows by charging the community battery during high generation periods, discharging it during evening demand peaks, and combining household batteries with demand control. Batteries do not generate electricity. They shift surplus energy to other times and help balance voltage, supply, and demand.

Protecting agricultural and household activities from outages

The demonstration aimed not only to increase the renewable energy share but also to enable homes and local agricultural businesses to keep essential equipment operating during outages. In mountain areas, refrigeration, milking, water supply, communications, and other functions may depend on electricity. A brief outage lasting a few minutes requires different preparation from a storm-related outage with a prolonged restoration time. Operating rules are needed to decide which loads take priority and how much battery charge to reserve.

Local challengeRole of equipment and controlsResults to measurePoint to avoid misunderstanding
Daytime voltage risesCharge batteries with surplus solar electricityFrequency and duration of voltage excursionsBatteries do not generate electricity
Evening demand peaksDischarge batteriesMaximum power drawn from the gridInclude charging and discharging losses
Storm-related outagesMaintain critical loads through islanded operationSwitching time and duration of continued supplyNot complete independence throughout the year
Limits on solar connectionsIncrease hosting capacity through local controlAdditional connected kilowatts and curtailmentInstalled capacity and actual generation are different
Separate the Luče demonstration’s objectives into outcomes for the grid and daily life, rather than the mere presence of equipment.
The Savinja River flowing through Luče and houses along its banks
Luče and the Savinja River (August 2, 2014). Photo of the demonstration area’s living environment, taken before the community battery was installed. Not all buildings shown have been confirmed as COMPILE participating homes. Photo credit: Marketinka1 / Original source / CC BY-SA 4.0. Reduced in size for display.

Nine buildings, 102 kW of solar power, and a 150 kW/333 kWh community battery

Distinguish equipment ratings from the energy actually available

COMPILE’s official materials describe Luče’s energy community as combining nine mostly residential buildings with a total of 102 kW of additional solar generation, a 150 kW/333 kWh community battery, five household batteries, a public EV charger, home energy management systems, and community controls. Kilowatts (kW) express the rate at which power can flow in or out at a given moment, while kilowatt-hours (kWh) express stored energy. If the full 333 kWh were discharged at 150 kW, a simple theoretical calculation gives approximately 2.2 hours. Actual duration varies with operating conditions, including safety reserves, conversion losses, battery degradation, and priority loads.

The community battery was installed in late 2019 and integrated into the distribution grid in February 2020. COMPILE’s integration announcement describes operation that charges from daytime solar surplus and discharges during nighttime demand peaks to improve voltage conditions. Even when rated capacity is published, useful annual energy in kWh cannot be established without daily charging and discharging quantities, round-trip efficiency, maximum state of charge, output limits, and downtime.

The specifications of the five household batteries clarify how they differ from the community battery. The official spring 2020 overview lists two 10 kW/23.2 kWh units, one 10 kW/11.6 kWh unit, one 5 kW/9.8 kWh unit, and one 3.5 kW/7 kWh unit. The five batteries are not all the same size. Their nominal storage capacities total 74.8 kWh, but they are separate systems installed in individual homes. Simply adding that value to the community battery’s 333 kWh cannot establish outage-response capability. Connections, controls, and the reserves retained by users all matter.

Household battery specificationNumber of unitsSubtotal of nominal capacity
10 kW/23.2 kWhTwo units46.4 kWh
10 kW/11.6 kWhOne unit11.6 kWh
5 kW/9.8 kWhOne unit9.8 kWh
3.5 kW/7 kWhOne unit7.0 kWh
Household totalFive units74.8 kWh
Specifications published by COMPILE in spring 2020. Subtotals and the total are nominal capacities calculated from the published figures, not remaining capacities in 2026 or measured capacity available for simultaneous use.

The relationship between capacity and time can be understood by holding assumptions constant. With no solar replenishment, no losses, and no reserve, supplying only a 30 kW load from 333 kWh would last 333 ÷ 30 = 11.1 hours; at 100 kW, it would last 3.33 hours. These are illustrative calculations for understanding battery size, not measurements from Luče. Daytime solar meeting part of demand slows discharge, while increased electric heating in cold weather accelerates it. This is why the 150 kW power limit and the question of how many hours the system lasts must be considered separately.

Household batteries and the community battery serve different roles

Household batteries balance a home’s solar generation and loads to increase self-consumption. A community battery can consider multiple buildings and the distribution network to manage voltage and peaks across the area. Individual household systems alone may struggle to optimize one home’s surplus against another home’s demand at the community level. Shared equipment, meanwhile, requires arrangements for ownership, charging and discharging decisions, and allocation of costs and benefits.

During the demonstration, Petrol’s Tango technical information system and COMPILE tools monitored and controlled solar generation, batteries, demand, and grid conditions. Automatic control does not justify ignoring residents’ preferences. Optimal operation differs depending on whether the priority is retaining charge for outages, discharging when electricity is expensive, or supporting distribution voltage. Residents, equipment owners, and the distribution operator need a shared understanding of control objectives and authority.

Controls have distinct roles at the individual-home and whole-network levels. The official HomeRule description presents a design that manages household solar and batteries for voltage support, generation output adjustment, and economic operation. For example, if excess solar generation at one home raises voltage at its connection point, charging or adjusting output at that home may help. But if the same occurs next door, each home maximizing its own benefit does not necessarily keep the entire distribution line within its limits.

GridRule coordinates the community battery and community-wide self-consumption while communicating with household controls. The official page lists Petrol and ETRA versions, described as configurations suited to different operators and requirements. A shared product name does not mean that every demonstration site runs the same version or functions. Public pages also retain indications that development is ongoing. Feature lists should be read as design descriptions; claims about operation need to be checked against Luče-specific reports.

For helping residents understand contracts and electricity flows, there is also an operational support platform called ComPilot. Its official specifications include displays of overall and member-specific generation and consumption, comparisons between similar users, membership contract management, and analysis using tariff conditions. A distinctive feature is treating voltage control separately from the management of who agreed to what and who pays which charges. Aligning the tariff model displayed on screen with actual utility bills requires matching external contracts and metering rules.

The lesson is a design that does not bundle everything into a single label of “AI control.” Explaining household device control, community voltage and battery coordination, and resident participation and contracts separately makes it easier to identify whom to contact about an outage or billing question. Residents can participate without knowing a battery’s internal structure if they understand which appliances may be adjusted, whether they can override operation, and what takes priority during an outage.

EquipmentPublished scaleMain roleAdditional operating records needed
Solar generationAdditional 102 kWProduce renewable electricity locallyAnnual and monthly generation, and curtailment
Community battery150 kW/333 kWhVoltage, peak demand, and outage responseCharging and discharging quantities, losses, and downtime
Household batteriesFive units, totaling 74.8 kWh nominal capacityHousehold self-consumption and reservesCurrent usable capacity and effects for each participating household
EV chargerOne public chargerElectrification of local transportNumber of charging sessions and energy charged
Control systemsTango and COMPILE toolsCoordinate equipment operationAvailability, communication failures, and authority
Equipment ratings describe design conditions and should be checked separately from annual generation, storage, and outage-avoidance results.
Figure 1. Generation, household batteries, and the community battery have different roles

Solar on nine buildings: 102 kW total

Equipment that produces electricity locally. Actual generation varies with sunlight, seasons, and output limits.

Household batteries: five units

Published capacities total 74.8 kWh. They balance generation and consumption at individual homes.

Community battery: 150 kW/333 kWh

Charges and discharges according to community-wide surplus, demand, and grid conditions.

Distribution equipment and controls

Combine metering, protection, and communications to support disconnection from and reconnection to the external grid.

Configuration published by COMPILE in spring 2020. Kilowatts measure power; kilowatt-hours measure energy. Adding household and community capacities alone does not establish how long supply will last during an outage.

Sources: COMPILE equipment overview (spring 2020), GridRule. Created by SDGs Department based on these sources.

Open a larger version of the figure (PNG)

“Self-sufficiency” means different things over a year, during particular periods, and during outages

Meeting 100% of demand during particular periods

In September 2021, Petrol introduced Luče as Slovenia’s first “self-sufficient energy community.” COMPILE research presentations describe analyses of self-sufficiency over individual periods and the effects of solar generation, batteries, and controls on self-sufficiency and voltage conditions. This establishes the ability to meet demand from local resources when sunlight and stored energy are sufficient, and to conduct tests disconnected from the grid. It does not mean that the community received no electricity from the external grid, not even one kWh, 24 hours a day for all 365 days.

Calculating annual self-sufficiency requires more than dividing annual local generation by annual consumption. Even an annual total of 100% does not mean supply and demand match at the same times if large summer surpluses coexist with shortages on winter nights. If surplus is exported and shortfalls are supplied by the grid, “annual balance” and “matching in time” need to be distinguished. Batteries can narrow timing gaps, but 333 kWh cannot completely bridge seasonal differences lasting months.

Consider a numerical example of a day when generation exceeds demand but electricity is still purchased from the grid. The following is a hypothetical balance explaining different indicators, not measured data from Luče. Suppose solar generates 100 kWh on a day when community demand is 80 kWh. Of the generation, 40 kWh is used directly within the community, 30 kWh charges the battery, and the remaining 30 kWh is exported. If 24 kWh can be drawn from the stored 30 kWh at night, the charging and discharging difference is 6 kWh. Local electricity delivered to the 80 kWh of demand is 40 + 24 = 64 kWh, leaving 16 kWh to be imported from the grid.

In this example, generation divided by demand is 100 ÷ 80 = 125%, but the share of demand met by locally produced electricity is 64 ÷ 80 = 80%. A high generation total is not the same as a household or community having no need for external electricity. Counting all 30 kWh charged into the battery as electricity delivered to demand would overlook the 6 kWh loss. Conversely, treating the 30 kWh exported as worthless would also be incorrect. It should be recorded as electricity supplied outside the community, separately from local use.

To keep the calculation simple, this example assumes identical battery charge at the start and end of the day and no charging from the grid. In practice, the battery may retain solar energy from the previous day or be charged with grid electricity. In those cases, opening and closing stored energy and the source of charging electricity must be included for the balance to reconcile. The same applies when reading Luče’s annual reports: distinguishing charging-side figures from discharging-side electricity supplied to homes makes claims of annual self-sufficiency easier to assess.

Islanded operation is a limited state disconnected from the grid

Islanded operation electrically disconnects a defined area from the upstream grid during an outage or planned test, using local solar and batteries to maintain voltage and frequency. In normal grid-connected operation, the large electricity network provides the reference; from the moment of disconnection, local controls must establish that reference. If demand exceeds supply, lower-priority loads need to be switched off or the area reconnected before the battery is depleted.

How many hours electricity can be supplied during an outage depends on battery charge at disconnection, sunlight, household and agricultural equipment consumption, and priority loads. An official statement of “self-sufficiency for a period” alone cannot guarantee several days of supply. Equipment ratings need to be read separately from the time and energy supplied in individual tests.

Self-sufficiency termCalculation or stateWhat it establishesWhat it does not establish
Instantaneous self-sufficiencyGeneration plus discharge meets or exceeds demand at that momentSupply and demand matching at a particular timeSupply the next day or in winter
Daily or period self-sufficiencyLocal supply and demand over a defined periodOperation under particular weather conditions100% independence for the entire year
Annual balanceAnnual generation divided by annual consumptionComparison of totalsMatching at the same time or outage response
Islanded operationOperation disconnected from the upstream gridOutage resilience within a defined areaIndefinite independent operation
Off-gridNo dependence on an external grid at any timeDesign for complete independenceThe Luče demonstration cannot automatically be classified this way
Read Luče’s “self-sufficient” claim by operating condition, rather than as complete annual independence.
Figure 2. An example of importing 16 kWh despite generating 100 kWh

Where the 100 kWh of solar generation goes

Direct use: 40 kWh + battery charging: 30 kWh + exports: 30 kWh.

Where the 30 kWh charged goes

Nighttime discharge: 24 kWh + charging, discharging, and other losses: 6 kWh.

Meeting daily demand of 80 kWh

Direct use: 40 + battery: 24 + external grid: 16 = 80 kWh.

The percentage changes with the figures compared

Generation ÷ demand = 125%. Share of demand met by locally produced electricity = 80%.

This is a hypothetical illustrative calculation, not measured data from Luče. It assumes the same battery charge at the beginning and end of the day and no charging with external grid electricity.

Source: assumptions and formulas presented in the text. Illustrative calculation and diagram by SDGs Department.

Open a larger version of the figure (PNG)

Islanded operation verified through disconnection tests and actual switching

Tests verified switching and resynchronization

COMPILE’s official report on the October 2021 CIGRE-CIRED conference describes islanded operation of the low-voltage network using the 150 kW/333 kWh battery near the Luče-Urtelj substation. It states that test measurements demonstrated disconnection and resynchronization with the grid without users perceiving a disturbance in electricity supply. The report supports the finding that switching and reconnection occurred on an actual grid. It does not publish test start and end times or the longest duration across all seasons, so this article does not treat any particular duration as guaranteed.

The X-FLEX economic assessment report D8.2 (pages 33–34) records operation during planned outages for distribution equipment maintenance. On February 18, 2021, supply continued for five hours and two minutes, from 9:20 a.m. to 2:22 p.m.; on October 4, 2022, it continued for one hour. Examples of responses lasting a few minutes during unexpected outages are also recorded. Supply duration varies with battery charge, solar generation, demand, and the equipment served. X-FLEX deliverables list (economic assessment D8.2).

Resynchronizing with the grid is also important

Reconnecting before local voltage and frequency match the upstream grid can risk major electrical transients affecting equipment. COMPILE’s conference report describes transitions to islanded operation and resynchronization without major disturbances to electricity supply. A microgrid’s functions include not only supplying power during an outage but also controls for returning safely to normal operation.

To extend successful resynchronization into a claim of long-term reliability, it is necessary to check the number of tests, failures and alarms, and procedures for failures of protection relays, communications, or control servers. Planned tests with the research team on site differ in available human support from automatic switching during a nighttime storm. Residents need advance information about which circuits remain available during an outage and what limits apply when battery charge is low.

Primary source and datePublished informationWhat can be confirmedWhat this source alone does not establish
COMPILE, spring 2020Testing of a mode disconnected from the external gridIndependent operation using local equipment was testedAnnual self-sufficiency or guaranteed outage supply time
Petrol, public event on September 17, 2021Islanded operation and equipment presented to residents and othersPublic demonstration and explanation to participants2026 operating contracts or availability
CIGRE-CIRED, October 2021 reportTest measurements of switching and grid resynchronizationSwitching without users perceiving supply disturbancesTest times or all-season operating durations in this conference report
Do not extend demonstrated operating durations into claims of uninterrupted supply at all times or complete annual self-sufficiency.
Distribution equipment beside a road in Breg pri Komendi, Slovenia
Roadside distribution equipment in Breg pri Komendi, Slovenia (May 25, 2019). Reference photo illustrating power lines and transformer equipment; it does not show Luče-Urtelj equipment or a COMPILE upgrade. Photo credit: Doremo / Original source / CC BY-SA 4.0. Reduced in size for display.

Increasing the solar capacity that can connect to the distribution grid

“Three times” and “five times the original allowance” may use different baselines

Petrol’s 2021 announcement states that Luče’s controls enabled approximately three times the solar production originally considered connectable to the network. Another COMPILE source states that local solar production could reach up to five times the amount originally permitted. The two figures may differ in equipment covered, calculation date, generation capacity versus energy produced, or initial permission conditions. Without aligned evidence, this article does not combine them into a claim of “always five times.”

The important point is that batteries and active controls offered an option for limiting voltage rises and accommodating additional solar generation. However, increased connection capacity is different from that capacity generating at full output every hour of every year. Actual generation varies with sunlight, snow, equipment failures, curtailment, demand, and battery charge. Additional installed kW, annual generated kWh, and curtailed surplus kWh need to be published separately.

Grid reinforcement does not become entirely unnecessary

A community battery may defer line reinforcement and make better use of limited distribution capacity. Even so, continued growth in electricity demand from homes, EVs, heat pumps, and businesses may require upgrades to transformers, lines, and protection equipment. Batteries degrade and incur replacement costs. Grid reinforcement and storage with controls should be compared in terms of upfront costs, life spans, outage risks, environmental impacts, and future demand.

Frequent charging and discharging of a community battery to stabilize the local grid can also conflict with residents’ aim of using electricity at cheaper times. Arrangements are needed after the demonstration to determine whether the distribution operator pays for voltage-support services or residents bear equipment costs. Technically feasible control does not ensure stable long-term operation if costs and benefits are not clearly allocated.

Solar panels covering a roof in Naklo, Slovenia
Rooftop solar panels in Naklo, Slovenia (May 10, 2017). Reference photo of equipment in the country. It does not show Luče’s actual additional 102 kW installation. Photo credit: Tiia Monto / Original source / CC BY-SA 3.0. Reduced in size for display.

Electricity bills and local trading: institutions are harder than technology

Settlement trials beginning in 2021

COMPILE outcome materials explain that settlement and billing arrangements accounting for local generation, consumption, and storage were tested from January 2021. Deciding who owns surplus local electricity and the price at which it is settled when another participant uses it is separate from controlling equipment. Household meters, contracts, taxes and network charges, electricity retail arrangements, and shared-system losses need to be reconciled.

Even with the same electricity supplier, benefits differ between households with substantial solar capacity and those without, or homes that can accommodate batteries and those that cannot. Participants need to agree whether community battery costs are shared equally or according to usage or capacity, and how the value of outage protection is assessed. Even a community of close neighbors will lose trust without transparent electricity and cost records.

Distinguish research-period exceptions from permanent arrangements

EU demonstrations may use research agreements, regulatory trials, and project funding to test controls and settlement arrangements that are difficult under normal market conditions. A successful demonstration does not necessarily mean another village can reproduce the same system using standard contracts alone. Wider adoption depends on incorporating the community battery’s grid value, locally shared electricity, and sales to the electricity market into lasting tariff arrangements.

Luče’s tariff demonstration was a study comparing actual monthly bills. The official 2021 conference report states that, for Luče from January 1, 2021, trial billing under Article 137 of the then-applicable regulatory framework and network-charge calculation methodology for distribution systems was compared with standard billing. The same source describes analysis of community composition using smart meter data and mathematical optimization. This was not a system in which locally generated electricity automatically incurred no network charges; it was a demonstration evaluating benefits under specified metering and settlement conditions.

The value of this comparison is that increased generation and reduced bills are assessed separately. More daytime solar changes the split between local use and exports if household demand is concentrated at night. Even where bills fall, the contributions of increased generation, reduced electricity purchases, shifts in timing, and the network charges applied must be separated to establish what made the difference. Effects may also differ between households able to shift water heating or EV charging and those unable to shift demand easily because of work or health needs.

The official conference summary alone does not publish detailed monthly bills or bill-reduction percentages for every participating household. This article therefore does not treat a fixed percentage saving as guaranteed in other villages. Article 137 is cited as the basis for the 2021 demonstration, not as guidance that new participants in 2026 can obtain the same terms. Distinguishing the demonstration’s arrangements from current contracts for new installations prevents results from an overseas example being mistaken for guaranteed household savings.

Value or costWho receives the benefit or bears the costContracts and data neededCaution
Solar electricityGenerating households, the community, and retailersGeneration and where it is usedDo not settle payments based on installed capacity
Community storage lossesEquipment owners and participantsEnergy charged and dischargedDo not conceal losses from consumers
Voltage improvementDistribution operator and communityAvoided excursions and service contractsAvoid double-counting benefits
Outage responseResidents, agriculture, and local governmentLoads and durations for which supply continuedThere is also insurance-like value even when unused
Equipment renewalOwners, subsidy providers, and usersLife span, warranties, and replacement reservesStill needed after research funding ends
Distinguish technical electricity sharing from legal and financial settlement.

Separate COMPILE’s approximately €6.93 million from the cost of Luče alone

Project costs cover five demonstration sites and research tools

The European Commission’s CORDIS project information lists total COMPILE costs of €6,933,605 and an EU contribution of €5,431,906.25. The approximately €6.934 million total is not the purchase price of Luče’s community battery alone. It covers the entire project: five demonstration sites in Luče, Slovenia; Križevci, Croatia; Crevillent, Spain; Rafina, Greece; and Lisbon, Portugal; tools for control, tariffs, and community formation; and research, development, and dissemination.

Evaluating Luče’s installation costs requires separate figures for solar, household batteries, the community battery, transformers and protection, communications, control software, design and construction, and resident support. Demonstration prices may include research, development, and first-unit costs and differ from current procurement prices for the same equipment. Even if grants cover upfront costs, insurance, inspections, software, communications, and battery replacement remain long-term needs.

A European Affordable Housing Initiative case study gives Luče’s installation cost as approximately €500,000. Its indicative breakdown is €350,000 for the community battery, €100,000 for solar, and €20,000–€30,000 for household batteries. These are estimates in a case-study collection; equipment-level payment records and current replacement quotations have not been verified. Cost section of the European case study.

Funding categoryAmount listed by CORDISScope
Total project cost€6,933,605.00COMPILE as a whole
EU contribution€5,431,906.25Included within total project cost
Difference between the above amounts€1,501,698.75Total less the EU contribution; not equivalent to residents’ contributions
Installation cost for Luče aloneApproximately €500,000 (estimate from a separate source)Installation of the community battery and other equipment; current operating and replacement costs unverified
Source: European Commission CORDIS. Do not add total project cost and the EU contribution together.

Because the EU contribution is included in total project cost, adding the two counts the same funds twice. Nor does the difference establish that Luče’s nine buildings paid all of it. Separating accounting figures covering research participants and multiple demonstration sites from individual household equipment costs makes the cost discussion useful to other areas. Whether residents must pay future replacement costs depends on shared-equipment ownership and maintenance contracts, not the subsidy percentage.

The question is who pays future costs, rather than whether equipment was free

Assessing the sustainability of shared equipment requires clarity about the owner, operator, warranties, failure response, and rights to use land or buildings. Battery cells, power conversion equipment, cooling, fire safety systems, and communications do not all have the same life spans. As capacity declines, it matters whether parts or the entire system will be replaced and whether funds are being reserved. The community needs an arrangement that allows safe operation after research-period maintenance contracts end.

Battery renewal also creates needs for transporting, testing, reusing, and recovering materials from old cells. Responsibilities between manufacturers and the community must be established for potential second-life stationary use or appropriate hazardous-material handling. Supporting renewable energy is not the same as having zero impacts from battery materials, manufacturing, and disposal. Evaluating greenhouse gas reductions requires a life-cycle comparison of reduced curtailment, displaced electricity, battery manufacturing and losses, and service life.

Cost categoryInitial requirementsOperating costsBoundaries that need disclosure
Generation equipmentPanels, inverters, and connectionsInspections, failures, and replacementOwnership and generation revenue for the nine buildings
Community batteryBattery, power conversion equipment, installation, and fire safetyMaintenance, energy losses, and replacementOwner and replacement reserves
Distribution equipmentTransformers, protection, and meteringInspections and fault responseCosts borne by the distribution operator and the community
Communications and controlsMeters, communications, and softwareConnectivity, licenses, and securityData controller and shutdown procedures
Community managementInformation meetings, contracts, and designAccounting, agreement building, and new participationDistinguish research personnel costs from routine operation
Assess the community’s burden by separating equipment, operation, and future replacement costs, rather than using the EU project’s total.
A containerized stationary battery installed in Pullman, United States
Turner Energy Storage Project in Pullman, Washington, United States (May 22, 2015). The original source describes a 1 MW/4 MWh vanadium flow battery. Reference photo for considering installation space; its capacity and technology are not equivalent to Luče’s 150 kW/333 kWh system. Photo credit: UniEnergy Technologies / Original source / CC BY-SA 4.0. Reduced in size for display.

After the demonstration: module replacement, flooding, and annual generation and consumption

COMPILE ended on October 31, 2022

The European Commission’s CORDIS project information states that COMPILE ran from November 2018 through October 31, 2022. During that period, the project tested equipment installation, controls, tariff models, community formation, and islanded operation. Project closure does not mean equipment removal, but neither does it mean that the research team continues providing the same daily support.

Solar installation guidance published by Slovenia’s Ministry of Culture in 2025 (printed page 71, PDF page 72) describes annual local generation of approximately 200 MWh, annual consumption of approximately 185 MWh, and 54 residential users. Its cited source, Dovolj za vse, explains that electricity is exported in summer and received from the grid or other sources in winter. Because the measurement year and imported quantities are not specified, these two annual totals cannot establish the self-sufficiency rate for 2026. Installation guidance published by the Ministry of Culture and Dovolj za vse case study.

According to the X-FLEX economic assessment report, replacement of the community battery’s modules was completed in May 2023. Flooding that August interrupted communications with much of the district’s equipment for several weeks. The report states that new field demonstrations could not be sufficiently verified before project closure. Public materials have not established 2026 availability, current maintenance contracts, or remaining equipment capacity.

Operating records that should be published annually

If the initiative continues as a community energy project, publishing solar generation, local consumption, grid imports and exports, community battery charging and discharging, voltage excursions, outages, islanded operation, and equipment downtime for the same year would clarify actual performance. Residents’ electricity bills should be presented as averages and ranges with participation conditions while protecting personal information. Openly recording equipment failures, replacements, restoration times, and costs also builds trust.

A successful research case is not one in which problems never occur. Its value lies in operating equipment on a real grid, identifying failures, communication problems, residents’ needs, and regulatory barriers, and using those findings in the next design. Long-term results require annual data including winter, bad weather, equipment downtime, and battery degradation, rather than only the best day during the demonstration.

Annual indicatorUnit or denominatorWhat it establishesCaution
Community self-sufficiencyLocal supply divided by demand, by time periodDependence on the external gridDistinguish annual totals from matching in time
Solar utilization rateSelf- and community consumption divided by generationEffective use of surplusInclude curtailment
Storage efficiencyDischarged kWh divided by charged kWhOperating lossesSpecify auxiliary power and the period
Grid qualityVoltage excursions and outage countsDistribution network improvementsDistinguish weather outages from construction outages
AvailabilityOperating time divided by the time assessedEquipment reliabilityAlso record loss of individual functions
Household financial effectsBills and conditions before and after participationResidents’ economic benefitsAdjust for tariff revisions and consumption changes
Indicators for tracking annual operation and resident benefits, rather than equipment counts during the demonstration.

Community decisions: who participates and who benefits?

Do not limit the system to households with roofs, funding, and connectivity

Households with large roofs suitable for solar, upfront capital, smart meters, and reliable communications can participate more easily, while renters, low-income households, and shaded homes may find it harder to own equipment. Outage protection and grid improvements from a community battery may benefit the wider area, but decisions are needed about who pays and whether nonparticipating households also receive supply.

Considering fairness means assessing not only generation-linked revenue but also voltage improvements, avoided outages, low-income participation, and critical loads at public facilities. Rules should also cover later entry by new participants, equipment and debts when members leave, and rights when a home is sold. Precisely because relationships in a small village are close, transparent records are needed rather than verbal promises.

Electricity data also reveal information about daily life

Time-series smart meter data may allow inferences about whether people are home, heating use, EV charging, and business activity. If a control system collects household data, rules must establish who can see it, how many years it is retained, and how it will be used after the research ends. Distribution operators, Petrol, researchers, and community managers should handle only what they need, with mechanisms for residents to request corrections or deletion and check the purposes of use.

Procedures are also needed for a safe shutdown and return to normal grid operation when cyberattacks or communication failures prevent control. Convenient remote operation becomes reliable infrastructure only when combined with authentication, updates, backups, and audit logs. A community requires continued explanations of data and control rights, rather than simply calling technology deployment resident participation.

An electric vehicle charging facility in Bovec, Slovenia
Electric vehicle charging equipment in Bovec, Slovenia (May 9, 2017). Reference photo for considering local charging locations; it does not show Luče’s public charger or an X-Flex trial vehicle. Photo credit: Tiia Monto / Original source / CC BY-SA 3.0. Reduced in size for display.

Other mountain communities can learn the sequence, not just the equipment

Start by measuring voltage, outages, and demand

Before installing a community battery, measure where voltage rises, outage causes and durations, demand from homes, agriculture, and public facilities, and desired additional solar capacity. Choosing battery size solely from a goal of “more renewables” may produce high power capability without sufficient duration, or excessive capacity and cost. Separate critical from ordinary loads and gather data covering summer and winter, weekdays and holidays, and bad weather.

Then compare reinforcement of lines and transformers, demand-shifting controls, household batteries, a community battery, and solar curtailment. Installing a battery should not be an end in itself; it should be linked to results in outage duration, voltage excursions, additional generation, and residents’ bills. Depending on local conditions, distribution network reinforcement may be cheaper and last longer.

The actual sequence followed in Luče also matters. The demonstration site’s timeline lists contracts between Petrol and participants in April 2019, installation and connection of solar and smart meters, and substation upgrades. A separate installation completion announcement confirms that nine solar installations totaling 102 kW connected to the grid in August 2019. The community battery was installed late that year and integrated into the grid in mid-February 2020. Delivery of equipment and its incorporation into operation, including grid protection and communications, are different stages.

This sequence shows that the experiment involved more than buying a battery and adding it to existing wiring. Electricity measurement, substation equipment, participation contracts, and household and community controls were in place before independent operation was tested. Presenting it as a case that entirely avoided grid reinforcement would overlook the actual equipment upgrades. The project assessed how batteries and controls could support a conventional distribution network alongside physical construction work.

The same September 2021 public event also reported Petrol’s provision of an electric vehicle for residents to try. However, the announcement identifies the vehicle trial as an X-Flex activity, intended to let residents explore charging through one week of use. COMPILE equipment, the X-Flex trial, and permanent transport services should not be counted as a single activity. Even when several projects overlap in one place, distinguishing the funding program and duration of services accurately explains what residents received.

Balance operation for emergencies and the electricity market

Discharging when electricity prices are high may generate revenue, but an outage immediately afterward could find the battery with insufficient charge. A design is needed that switches operating objectives, for example retaining more charge during high-risk seasons or warnings while using the battery for voltage regulation or market trading in normal conditions. Contracts should also define losses and responsibilities when forecasts prove wrong.

When equipment is introduced, fire and emergency services, the distribution operator, communications providers, residents, farmers, and local government should participate in training. Plans should consider battery fires, flooding, lightning, communication loss, and cyberattacks, with clear authority for stopping and restarting the system. Islanded operation requires advanced protection design; it does not arise automatically from assembling ordinary household batteries.

Implementation stageCommunity decisionsTechnical checksResults to publish
Initial assessmentOutages, critical loads, and residents’ needsVoltage, demand, and potential generationBaseline-year faults and consumption
DesignOwnership, participation, and cost sharingBattery capacity, protection, and communicationsAlternatives compared
CommissioningRules for use during outagesSwitching, resynchronization, and safetyBoth successes and faults
Normal operationTariffs, revenue, and data rightsEfficiency, voltage, and availabilityAnnual indicators and accounts
Renewal or closureFinancial reserves, withdrawal, and landReplacement, collection, and recyclingFailures, disposal, and residual value
Before purchasing equipment, design objectives, contracts, measurements, and eventual renewal as one system.
Small solar panels on the roof of a mountain hut in Konjščica
Solar panels on a mountain hut in the Konjščica pastures (photograph date from Exif: November 4, 2007). Reference photo of small-scale mountain generation; it does not show COMPILE equipment or a home installation in Luče. Photo credit: Mihael Simonič (Smihael) / Original source / CC BY-SA 3.0. Reduced in size for display.

Links to the SDGs: energy, industry, communities, and climate

Relevant to SDGs 7, 9, 11, and 13, without constituting certification of achievement

SDG 7, “Affordable and Clean Energy,” relates to using local solar and storage to improve supply reliability. SDG 9, “Industry, Innovation and Infrastructure,” connects with the implementation of a community battery and advanced protection and controls on a weak distribution network. Equipment counts alone cannot establish that affordable, reliable energy reached every resident.

SDG 11, “Sustainable Cities and Communities,” relates to protecting mountain homes, agriculture, and communications from outages and involving residents in shared management. SDG 13, “Climate Action,” connects with the potential to add solar connections and replace fossil-fueled generation. However, calculating avoided CO₂ requires emission factors for displaced electricity, battery manufacturing, losses and life span, and actual generation. Installed capacity must not be substituted for climate results.

Frequently asked questions (FAQ)

Does Luče use no external electricity throughout the year?

That has not been established. “Self-sufficient” in official sources refers to meeting demand locally during particular periods with sufficient solar and battery energy or during tests disconnected from the upstream grid. This needs to be distinguished from fully off-grid operation for 365 days, including winter, nights, and equipment downtime, and from an annual energy balance.

How large is the community battery?

The published rating is 150 kW of power and 333 kWh of energy capacity. Kilowatts describe power flowing in or out at a given time; kilowatt-hours describe stored energy. Actual supply duration varies with safety reserves, conversion losses, degradation, demand, and solar generation.

How many days can it supply power during an outage?

Operation lasting five hours and two minutes and one hour was reported during planned outages in 2021 and 2022. Duration on another day depends on battery charge, solar generation, and the loads in the area served.

By how much did solar generation increase?

Petrol uses approximately three times the original allowance, while another COMPILE source says up to five times. The dates, baselines, and use of capacity versus generation may differ, so the figures are not combined into one definitive multiplier. The equipment figures of nine buildings and an additional 102 kW need to be checked separately from actual annual generation.

Does a battery eliminate the need for distribution network reinforcement?

Not necessarily. Batteries and controls may defer or reduce reinforcement, but greater demand and more EVs or heat pumps may require line and transformer upgrades. Battery life and replacement costs need to be compared with the life span of distribution equipment.

Is COMPILE’s approximately €6.93 million the cost of Luče alone?

No. The €6,933,605 total project cost in the current CORDIS entry covers all of COMPILE, including five demonstration sites, research and control tools, business models, and dissemination. The EU contribution is €5,431,906.25 of that total. These figures do not establish Luče’s equipment costs, residents’ contributions, or current replacement costs.

Is the same equipment operating under the same conditions in 2026?

The 2023 module replacement, flood-related communications outage, and indicative annual generation and consumption in later case studies were confirmed. Current operating records are needed to establish which equipment is operating under which conditions and contracts in 2026.

Related published articles

For another perspective on community energy, Langenegg’s e5 municipal policy in Austria offers a way to consider ongoing municipal management as well as equipment. High-altitude solar at Lake Mutt, Switzerland distinguishes installed output, actual generation, and winter value. Local transport in Werfenweng separates public operating costs from user benefits. Digital irrigation support in the Vipava Valley is another Slovenian case that distinguishes sensors, advice, and farmers’ actions.

Primary and official sources, and date checked

Information checked: November 29, 2026 (JST). COMPILE’s demonstration, planned-outage operation and equipment faults recorded by X-FLEX, and later case-study materials were cross-checked. Metering and maintenance records for 2026 have not been verified.

  1. COMPILE Pilot site Luče
  2. Integration of the 150 kW/333 kWh community battery
  3. Installation of household batteries
  4. Solar installation on nine buildings
  5. Official overview of Luče’s system configuration
  6. Petrol’s 2021 announcement of the Luče demonstration
  7. CIGRE-CIRED report on operating results and islanded operation
  8. COMPILE GridRule and protection controls
  9. European Commission CORDIS information on the COMPILE project
  10. CORDIS final-period report
  11. CORDIS Results in Brief
  12. List of COMPILE public deliverables
  13. COMPILE and the Municipality of Luče award announcement (2021)

The six photographs in the article show Luče’s riverside setting, distribution equipment, solar panels, and a charger elsewhere in Slovenia, and a stationary battery in the United States. The demonstration site’s landscape is distinguished from reference photos of equipment. Captions state the limitations where photos cannot be verified as directly showing Luče’s community battery or participating homes. The featured image is an actual view of Luče (May 27, 2018, Doremo / original source / CC BY-SA 4.0).

Summary: the system for managing a weak local grid matters more than the self-sufficiency label

Luče’s value lies beyond installing a single 333 kWh battery. It combined nine buildings with 102 kW of solar, five household batteries, a community battery, transformers and protection equipment, smart meters, controls, tariff models, and residents’ agreement to expand renewable electricity on a weak mountain distribution network and actually test islanded operation. “Self-sufficiency,” however, was a result under particular periods and test conditions, not year-round fully off-grid operation. Sustaining the arrangements after research ended in 2022 requires transferring ownership, maintenance, tariffs, battery renewal, and data rights into normal community management and publishing generation, outages, voltage, charging and discharging, and household financial effects annually.

Profile photo of Maki

Written by Maki

Maki writes for the SDGs section of Green City LAB – Environmental Technology Lab, introducing initiatives by countries, the United Nations and companies around the world. Each article checks primary sources and explains how an initiative works and where its challenges lie, in plain language.

Our editorial policy / Contact (main site)

Publication and evidence dates
English edition published
Reporting periods
Each source gives its own reporting period in the text.
Copied title and URL