Design a Virtual Power Plant Dispatching Thousands of Home Batteries

Last updated: November 29, 2026

Quick Overview

Design a platform that aggregates customer home batteries and solar into a virtual power plant, decides each battery's charge and discharge plan from prices and forecasts, sends commands to devices, and proves delivery for grid flexibility services.

Fuse Energy
System Design
Software Engineer
Fuse Energy
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design a platform that aggregates customer home batteries and solar into a virtual power plant, decides each battery's charge and discharge plan from prices and forecasts, sends commands to devices, and proves delivery for grid flexibility services.

Fuse installs batteries and solar in homes and trades power in real time, which makes a fleet-level dispatch platform a natural core system. A hard system design round tests control loops over unreliable devices, the split between optimisation and execution, and keeping customer comfort and safety constraints ahead of trading value.

What the Interviewer Expects
  • Separate planning (day-ahead and intraday optimisation) from real-time execution
  • Model per-home constraints: reserve for the customer, inverter limits, device health
  • Handle devices that are offline, slow or disobey commands
  • Aggregate fleet position and feed it to trading as a tradable volume
  • Measure and settle delivered flexibility against a baseline
Key Topics to Cover
Virtual power plant
Control loops
Device command and telemetry
Fleet optimisation
Safety limits
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • A national flexibility event needs 20 MW for 30 minutes starting in 5 minutes. Walk through the path.
  • How do you stop a buggy plan from draining every customer's battery at once?
  • How would you support several device vendors with different APIs and latencies?
  • How do you estimate the baseline a home would have followed without your command?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Fleet of tens of thousands of batteries (growing), each with telemetry every 30 to 60 seconds. Goals: minimise customer cost and earn trading or flexibility revenue while keeping a customer-set minimu...

High-Level Design
  • Device gateway: one adapter per vendor (cloud API or direct, e.g. Modbus via a home hub) normalising telemetry (soc, power, mode, ts) and accepting set_mode/set_power commands.
  • **Telemetry...

Submit Your Answer
Markdown supported

Related Questions