Faster than Real-Time Simulation: Methods, Tools, and Applications

Xiaorui Liu, Juan Ospina, Ioannis Zografopoulos, Alonzo Russell, Charalambos Konstantinou

Abstract

Faster than Real-Time (FTRT) simulation represents a paradigm shift in system monitoring and control, moving from reactive observation to proactive prediction. By outpacing the "wall clock," FTRT allows for the evaluation of multiple "what-if" scenarios during critical events, such as power grid failures or wildfire propagation. This paper reviews the technical foundations of FTRT, including hardware acceleration via HPC and FPGAs, advanced numerical solvers, and domain decomposition. We highlight significant performance gains, such as 134x speedups in computation and early warning windows for grid instability, while discussing the ongoing challenges of modeling complexity in modern cyber-physical systems.

Introduction

Standard Real-Time Simulation (RTS) is inherently limited by its synchronization with the physical clock. While RTS is indispensable for hardware-in-the-loop (HIL) testing, it lacks predictive capabilities. For critical infrastructure like the electric power grid, knowing the current state is insufficient for preventing cascading blackouts. Operators require a "look-ahead" window to anticipate system trajectories and implement corrective actions. FTRT addresses this by solving complex, nonlinear differential-algebraic equations (DAEs) faster than reality, effectively providing a "crystal ball" for engineering systems.

System Architecture

The implementation of FTRT requires a sophisticated interplay between physical hardware, digital simulators, and high-performance computing (HPC) resources.

System architecture of an FTRT-enabled environment.

As shown in the architecture above, the system typically involves three main components: the hardware devices under test (e.g., PVs, wind farms, controllers), a digital real-time simulator for standard HIL testing, and an HPC-based FTRT simulator. The FTRT simulator receives real-time system states and performs state prediction, scenario analysis, and failure prediction to generate decision parameters for prevention and mitigation.

The FTRT Concept and Timing

The fundamental advantage of FTRT is its ability to perform multiple computational cycles within a single real-time interval.

Timing diagram comparing RTS and FTRT simulation modes.

This timing relationship illustrates the temporal advantage of FTRT. While standard RTS computation time $f(t)$ matches the real-time clock, FTRT compresses this computation. This "slack" time is utilized for scenario analysis, allowing the system to identify an "Optimal Scenario" before the next real-time step $t_n$ is reached.

Methods

The technical realization of FTRT relies on several key pillars:

  • Hardware Acceleration: Moving beyond single-processor limitations by utilizing HPC clusters and FPGA-based emulation. FPGAs, in particular, allow for nanosecond-level computation by mapping mathematical models directly onto hardware logic.
  • Domain Decomposition: Large-scale systems are partitioned into smaller sub-systems using methods like Parallel General Norton Multiport Equivalent (PGNME), enabling simultaneous processing across different processors.
  • Advanced Numerical Solvers: High-order discretization (e.g., 4th-order Runge-Kutta) and algorithmic frameworks like Predictor-Corrector and Linear Multi-step methods are employed to maintain numerical stability at high speeds.
  • Software Frameworks: Specialized tools like GridPACK, an open-source HPC framework, facilitate large-scale power system simulations.

Applications and Benchmarks

FTRT performance is validated against standard power system benchmarks and diverse environmental models:

  • Power Systems: Models include the WECC (4,555 buses), the New England IEEE 39-bus system for stability prediction, and the Greenland Grid Subsystem for cyberattack detection.
  • Non-Power Domains: FTRT principles are applied to building airflow studies, emergency navigation in shopping malls, and wildfire propagation modeling.

Key Results

Empirical studies demonstrate the transformative potential of FTRT:

  • Massive Speedups: FPGA implementations have achieved up to 134x speedup over traditional hardware emulation. Large-scale WECC system models have been solved 10 times faster than standard benchmarks.
  • Early Warning: In a New England 39-bus test case, FTRT detected "Out-of-Step" (OOS) conditions 5.86 seconds faster than traditional real-time methods—a critical window for preventing generator damage.
  • High Accuracy: Despite the acceleration, relative errors remain low, with one study reporting a maximum relative error of only -0.97% compared to high-fidelity offline Matlab/Simulink simulations.
  • Environmental Impact: In wildfire modeling, FTRT predicted fire dynamics for the next hour in just 58 seconds.

Conclusion and Future Work

While FTRT offers significant advantages, it faces hurdles in modeling complexity, particularly with the increasing integration of volatile renewable energy sources. Future research will focus on improving the synergy between real-time simulators and HPC/FPGA accelerators to reduce communication latency and developing robust algorithms for automated corrective decision-making based on FTRT predictions.

Summary updated

BibTeX
@inproceedings{liu2021faster,
  author = {Xiaorui Liu and Juan Ospina and Ioannis Zografopoulos and Alonzo Russell and Charalambos Konstantinou},
  title = {{Faster than Real-Time Simulation: Methods, Tools, and Applications}},
  booktitle = {MSCPES@CPSIoTWeek},
  year = {2021},
  doi = {10.1145/3470481.3472703},
}
Figure