Spain puts a price on the hours a data center’s renewable contracts miss
A data center can buy a year’s worth of solar electricity and still need someone to keep the lights on every evening.
Published November 23, 2026Analysis / Energy / Grid Technology

A data center can buy a year’s worth of solar electricity and still need someone to keep the lights on every evening. Spain has put a price on that gap. Under a royal decree effective November 22, a large new data center following the standard rule must show enough eligible renewable supply to cover at least four-fifths of its electricity use in each hour. Buying more production at noon can leave the owner with exactly the same shortfall at sunset. Royal Decree 1032/2026, Articles 7–9
Consider a campus drawing 100 megawatts around the clock. Suppose its contracts cover only 40% of consumption for six hours each day, and at least 80% through the other eighteen. Over a 30-day month, the decree’s formula yields a provisional hourly-matching charge of €576,000. The six weak hours determine the rate. The rate applies to everything the campus consumed that month.
That gives a buyer three quite different things to shop for. A wind contract can supply electricity when its solar contract runs out. A battery can carry some of the afternoon’s output into the evening. A customer willing to run a computing job earlier can reduce the amount the operator needs to buy at sunset in the first place. Which is worth paying for depends on the pattern of the shortfall, how reliably the remedy arrives and whether it moves the campus into a different billing band.
Spain has a reason to care about the hour on the meter. In the decree’s preamble, the government identifies more than 15 gigawatts of grid-access and connection permits already granted to data centers. That figure describes permission to draw power. Actual demand will depend on how many projects get built and how quickly customers fill them. The government’s concern is that new demand arriving when renewable generation is scarce would call more gas-fired plants into service. The decree ties conditions to access to the grid, a decision a developer encounters well before its first customer moves in. Official text, preamble and Article 2
A solar contract has two jobs
The standard applies from 10 MW of grid-access capacity, including commonly owned centers at the same location that reach the threshold together. Pending applications and permits already granted for sites still awaiting connection fall within the transitional provisions. For the latter, the decree generally gives the project six months to document compliance, subject to specified exceptions. A separate reporting obligation starts at 500 kilowatts of IT power. Counting servers for that reporting threshold answers a different question from measuring the size of a grid connection. The decree also excludes centers devoted exclusively to defense, civil protection or public security and certain state-sector critical-operator facilities. Article 2 and fifth transitional provision
Article 7 asks where the energy will come from over a year. It sets 80% coverage through qualifying self-supply or renewable power contracts. The usual commissioning window allows generation up to 36 months older than the center’s start or the first use of the corresponding energy. A developer can also bring in qualifying repowered facilities. One particularly revealing exception lets older photovoltaic plants count regardless of age if they had no renewable forward purchase agreement when the decree took effect. A buyer can put an existing uncontracted solar plant to work under that provision. Calling every credited megawatt-hour evidence of a newly built power station would overstate what the law requires. Articles 7 and 11
Article 8 gives the same contracts a second job. The system operator compares eligible production and consumption hour by hour. A parent company’s financial contract has to identify the relationship between the center and the generating assets to qualify. And a contract that passes the paperwork test still has a production profile. Once an hour reaches 80%, it has zero deviation. A very sunny afternoon cannot earn a negative deviation to cancel an uncovered night. Articles 8, 9 and 11
Storage can change that profile. For a stand-alone store associated with qualifying generation, renewable output used to charge it is taken out of the generation available to count in that hour. Its credit can appear later when the store discharges. Where charging exceeds the associated generation, the decree accounts for the uncovered grid draw using the national renewable share in the charging hour. Related rules for hybrid plants deduct the nonrenewable portion from subsequent net production. Two batteries of equal capacity can therefore deliver different eligible coverage, depending on when and from what supply they charged. Article 8(5)
What it costs to miss an evening
The law scores an hour with no eligible supply at 100% deviation and an hour with 80% coverage or better at zero. Between them the scale is linear. In the 100 MW example, 40% coverage meets half the target, so each weak hour scores 50% deviation. Six such hours out of 24 give a monthly mean of 12.5%. That falls in the 10% to under 20% band, charged at €8 per megawatt-hour. The site uses 100 × 24 × 30 = 72,000 MWh. Multiplying by €8 gives €576,000. This illustration isolates the provisional matching charge. Energy purchases, any separate additionality compensation, sanctions where applicable and annual settlement have their own accounting. Article 9(2–5) and Article 10
Now give that buyer a contract supplying another 10 MW in precisely those six hours. Coverage rises to 50%. The monthly mean deviation falls to 9.375%, just inside the €5 band. The illustrative charge falls by €216,000 for 1,800 MWh of extra matched production over the month. That is a €120 reduction in this charge per additional matched MWh, before paying for the contract. Place the same 1,800 MWh in already compliant hours and the charge stays at €576,000. Neither number is a general market price. A smaller purchase that leaves the buyer in the same band has a different payoff. A wind farm whose output misses the critical hours may deliver much less value than its monthly total suggests.
Moving a job changes the other side of the fraction. The campus consumes less in an uncovered hour and more in the hour receiving the job. The second hour must have enough renewable headroom to absorb it. A scheduled batch of computations might tolerate the move. A service answering customers in real time offers far less discretion. A battery leaves the work schedule alone, at the price of equipment, conversion losses and a finite discharge time. None of these choices guarantees local transmission capacity, even where the eligible energy balances across the hour.
The alternative asks for something the grid can call on
For eligible sites entering operation before December 31, 2030, a five-year transitional route offers a bargain. Through 2028 it requires 60% hourly coverage during the applicable P1 tariff period. From 2029 it requires 70% in P1 and 60% in P2 until the transition ends. In exchange the site must qualify for Spain’s automatic power-reduction system, pass its tests and be capable of reducing grid draw to zero within the operator’s specified response time when activated under the prescribed conditions. The ordinary Article 8 requirement follows the transition. The grid obtains a callable reduction in demand. What happens to the computing job during an activation depends on the operator’s facilities and customer agreements. First transitional provision
A narrower regime exists for qualifying projects under pre-existing European digital-sovereignty initiatives, subject to control requirements and favorable reports. Its hourly percentage tracks the previous calendar year’s renewable share of national generation. Eligibility for that route, or for the demand-response transition, changes the economics enough that a projected bill without the project’s regulatory status is of little use. Second transitional provision
The first revealing evidence will be a set of paired records: which generating and storage assets an operator committed to a site, and how their hourly output lined up with the load after the site opened. A portfolio with modest annual output could be valuable if it consistently covers scarce evening hours. A larger portfolio could leave the same evening gap month after month. Electricity buyers already know the difference. Spain has given it a line on a data center’s bill.
Sources
Royal Decree 1032/2026, Articles 7–9 · Official text, preamble and Article 2 · Article 2 and fifth transitional provision · Articles 7 and 11 · Articles 8, 9 and 11 · First transitional provision · Second transitional provision