The Grid Runs at 50 Hz and Has Never Gone Down

▶ Watch (01:26)

European generators spin at 50 Hz. When multiple generators synchronize to that same frequency, the grid carries a stronger signal. When they fall out of sync, the signal weakens and machinery can break. The European grid has 305,000 transmission lines connecting 400 million consumers and has never gone down. The margin between normal operation and total collapse is 2.5 Hz. Less than the difference between two piano keys. Every watt must be consumed almost instantly. The grid has no buffer.

The Duck Curve and 66 Terawatts of Wasted Energy

▶ Watch (11:20)

Germany’s solar capacity keeps growing, creating the duck curve problem. Midday, so much solar comes online that prices turn negative. Producers pay to put electricity on the grid. Consumers get paid to take it. As the sun sets, fossil fuel plants scramble to fill the gap. Since 2015, Germany curtailed 66 terawatts of energy it could not use. Grid operators paid producers 6.5 billion to hold back generation and generated 28 megatons of unnecessary CO2. In 2024 alone, the wasted energy would have powered 2.7 million homes for a year.

How a VPP Coordinates 100,000 Homes and the Energy Market

▶ Watch (14:19)

Enpal connects 100,000 solar homes in Germany. Combined, those homes hold about 1 GW of controllable battery capacity, equivalent to one nuclear reactor. The energy market works like a stock exchange. A VPP controller manages two trading modes: day-ahead (predict tomorrow’s supply and commit to it) and intraday (respond every 15 minutes when the market requests, say, 1 MW). For a 1 MW intraday request, the controller picks 1,000 homes with surplus energy and instructs each to discharge 1 kW into the grid. Enpal’s cloud acts as the broker: routing telemetry and commands between controller and homes.

The Architecture: IoT HEMS, MQTT, Dapr Actors, and Spark

▶ Watch (16:59)

Each home runs a HEMS (home energy management system), an IoT device connecting to the inverter, battery, heat pump, solar panels, and EV charger. MQTT (via EMQX broker) handles pub/sub between homes and cloud, with built-in tolerance for devices that go offline or have poor LTE. In the cloud, Dapr runs one actor per home: a digital twin that holds current state so the controller never needs to poll a home directly. Argo manages deployments, and Apache Spark with Databricks delivers real-time analytics, showing power production across Germany within a 10-minute window.

Batteries Respond in Milliseconds. Gas Peakers Take 10 Minutes.

▶ Watch (21:22)

Batteries separate VPPs from older grid tools. Hydro takes longer than batteries, gas peaker plants take up to 10 minutes, and coal plants take hours to adjust output. Batteries respond within milliseconds. Tesla demonstrated this with 1,100 homes: a 750 MW plant tripped, putting 600,000 homes at risk of blackout. The VPP’s home batteries stepped in autonomously before any operator realized what was happening. Within 6 seconds, frequency was restored. Enpal plans the same role for Berlin: 53,000 connected homes storing midday solar and discharging at peak evening prices.

Q&A

Do VPPs work in winter when solar generation is low? Batteries charge from the grid during off-peak low-price periods and from wind energy. Extended periods with no renewable energy (Dunkelflaute) lasting 100 or more hours still require fossil fuel backup. ▶ 24:54

Do you have to prove the energy you sold was actually delivered? Yes. Smart metering systems from grid providers verify delivery. Failing to deliver triggers an imbalance fee described as extremely expensive. ▶ 27:51

Can homeowners with existing inverters participate? Enpal currently focuses on homes with existing PV panels and is expanding to support third-party inverters. The minimum hardware requirement is a battery. ▶ 28:44

Notable Quotes

fine and total collapse is 2.5 hertz. LeRenzo Malcom · ▶ 07:05

The grid was stable. Mario Flores · ▶ 23:44

Key Takeaways

  • The European grid has 2.5 Hz between stability and collapse, with no storage buffer at all.
  • Since 2015, Germany wasted 66 terawatts of solar energy at a cost of 6.5 billion.
  • Batteries in a VPP respond in milliseconds. Gas peaker plants take up to 10 minutes.

About the Speaker(s)

LeRenzo Malcom is a software engineer at Enpal, where Enpal is building Europe’s largest virtual power plant.

Mario Flores is an Engineering Manager at Enpal, originally from the US and based in Berlin. He thinks about how to be a better engineer, leader, friend, and parent.