A Digital Twin of an Electrical Distribution Grid: SoCal 28-Bus Dataset

Yiheng Xie, Lucien Werner, Kaibo Chen, Thuy-Linh Le, Christine Ortega, Steven LowarXiv 2025 · DOI · arXiv

Introduction

The transition toward a sustainable energy future is fundamentally reshaping the electrical grid. Distribution networks, once passive conduits for power, are now dynamic ecosystems hosting Distributed Energy Resources (DERs) such as rooftop solar, fuel cells, and electric vehicle (EV) charging stations. This shift introduces unprecedented volatility and bidirectional power flows. To manage this complexity, researchers at Caltech have introduced the SoCal 28-Bus Dataset, an open-access "digital twin" of a real-world distribution grid that provides high-resolution, synchronized data alongside detailed circuit topology.

The Monitoring Gap in Modern Grids

Traditional grid monitoring systems are ill-equipped for the high-frequency dynamics of modern distribution networks. Supervisory Control and Data Acquisition (SCADA) systems typically sample data every 1 to 15 minutes, which is too slow to capture transient events. Advanced Metering Infrastructure (AMI), or smart meters, often lack synchronization, preventing the calculation of precise phase differences between nodes. Furthermore, academic research frequently relies on idealized simulations (like IEEE n-bus models) that fail to account for the "noise" and hardware-specific dynamics of physical systems.

Comparison of grid metering systems across transmission and distribution levels.

As shown in Figure 1, the proposed system fills a critical gap in the distribution sector (480 V – 34.5 kV), offering synchronized, affordable, and privacy-preserving monitoring that surpasses the capabilities of standard SCADA or AMI deployments.

Methodology: Building a Dense Sensor Network

The researchers implemented a "dense" sensor network, placing meters at every bus with non-zero power injection. The hardware consists of modified eGauge EG4X meters optimized for high-accuracy synchronization. A key technical innovation is the integration of the Precision Time Protocol (PTP) and GPS-disciplined time servers, enabling microsecond-level synchronization across the entire 28-bus network.

The "digital twin" comprises two core elements:

  1. System Model: A digitized representation of the physical grid, where single-line diagrams are converted into mathematical admittance matrices.
  2. Live Data Stream: Real-time measurements that reflect the actual state of the hardware.

The SoCal 28-Bus Dataset

The dataset provides a comprehensive view of a diverse network including solar panels, fuel cells, natural gas generators, and data centers. Its primary components include:

  • Synchro-waveforms: Raw current and voltage signals sampled at 2.5 kHz, capturing harmonics and transients.
  • Synchro-phasors: Processed magnitude and phase data derived from the waveforms.
  • Circuit Parameters: Detailed information on topology, conductor materials, and transformer ratings.
High-resolution synchro-waveforms (left) and synchro-phasors (right) captured by the 28-bus system.

Figure 3 illustrates the richness of the data. While most grid research relies on phasors (right), the inclusion of raw waveforms (left) is vital for studying Inverter-Based Resources (IBRs), which often introduce distortions that simplified models ignore.

Key Results and Insights

The utility of the digital twin was validated through state estimation in both the phasor and time domains. The results demonstrated high fidelity to physical reality:

  • Phasor Domain: The average normalized residual error was just 0.851% over an hour of operation.
  • Time Domain: During complex transient events, the error remained remarkably low at 1.23%.

The dataset successfully captures real-world phenomena such as "polarity reversals"—where local generation causes power to flow back into the grid—and harmonic distortions typically absent in simulated environments. Additionally, by measuring at the secondary side of distribution transformers, the system preserves individual customer privacy while maintaining high-fidelity system-level visibility.

Conclusion and Future Work

The SoCal 28-Bus Dataset represents a significant leap forward from previous benchmarks, offering an order of magnitude more nodes and longer data durations. While current hardware constraints limit waveform capture to 10% temporal coverage, and the system is currently a monitoring-only twin, it provides a robust foundation for future research in grid control and stability.

The dataset and supporting code are available at: https://github.com/caltech-netlab/digital-twin-dataset

Summary updated

Abstract

We provide an open-access dataset of phasor & waveform measurement units (PMUs/WMUs) of a real-world electrical distribution network. The network consists of diverse sets of generation resources (including solar panels, fuel cells, natural gas generators, and utility interconnections), loads (including large-scale electric vehicle charging, data centers, central cooling, offices), topology changes (such as line outages and load transfers), as well as a mixture of single- and three-phase networks. We describe a densely deployed PMU sensor network in a distribution grid, in which all buses with non-zero power injections are measured. This approach enables a range of applications such as state estimation, system identification, power flow optimization, and feedback control, several of which are discussed in this paper. Additionally, we provide a synchronized waveform dataset which allows the analysis of harmonics, transient events, dynamic grid impedance, and stability. Data collection started in 2023 while new data is generated continuously and made available online. A characterization of measurement error is provided. Finally, we provide circuit topology and parameters as a part of the dataset. Together, the circuit and timeseries data offer an opportunity for researchers to develop and test algorithms on a real-world system.
BibTeX
@misc{xie2025digital,
  author = {Yiheng Xie and Lucien Werner and Kaibo Chen and Thuy-Linh Le and Christine Ortega and Steven Low},
  title = {{A Digital Twin of an Electrical Distribution Grid: SoCal 28-Bus Dataset}},
  year = {2025},
  eprint = {2504.06588},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2504.06588},
}
Figure