ASGriDS: Asynchronous Smart-Grids Distributed Simulator

Takai-Eddine Kennouche, Florent Cadoux, Nicolas Gast, B. Vinot

TL;DR

This paper introduces ASGriDS, a novel asynchronous distributed simulation framework designed to model the complex interactions within smart grids. By decoupling power and communication network simulations and allowing asynchronous operation, ASGriDS enables more realistic and scalable testing of control strategies, especially in scenarios with unreliable communication.

What Problem Does This Paper Address?

Modern smart grids are intricate cyber-physical systems, integrating power grids with communication networks and sophisticated controllers. The increasing reliance on distributed renewable energy sources and the growing demand for reliability and efficiency necessitate advanced simulation tools. Existing simulators often struggle to capture the full complexity of these systems, either by focusing too narrowly on power or communication aspects or by enforcing strict synchronization that doesn't reflect real-world asynchronous behavior. This makes it challenging to accurately prototype, test, and validate control strategies, especially under realistic network conditions like packet loss and delays.

Methods

ASGriDS tackles this challenge with a multi-domain, asynchronous, event-driven simulation framework. Key methodological aspects include:

  • Asynchronous Design: Unlike traditional simulators that enforce strict time synchronization, ASGriDS allows each simulation node to operate based on its local clock. This asynchronous approach better reflects the inherent nature of smart grids and enables real-time execution.
  • Modular Architecture: The framework is built around a modular design, separating the "Deployment Plane" (for simulation setup and control) and the "Communication Plane" (for modeling network behavior). This allows for flexibility in how components are deployed and interact.
  • Event-Driven Nodes: Each simulation component is modeled as an "Event-Driven Node." These nodes can be deployed as processes, threads, or remote objects, facilitating distributed simulations.
  • Flexible Communication Modeling: ASGriDS integrates with Linux network emulation tools (like netem) to accurately model various communication impairments such as delay, jitter, packet loss, and duplication. This allows for testing control strategies under realistic and challenging network conditions.
  • Pythonic Environment: The framework is developed in Python, leveraging libraries like asyncio for asynchronous operations and pandapower for electrical network simulations (load flow and optimal power flow).

Datasets

The paper evaluates ASGriDS using two main benchmarks:

  • Washington Case300 Network: This network, with 193 loads, is used to test the simulator's scalability in terms of CPU and memory consumption as the number of nodes increases.
  • CIGRE Low Voltage Network: This benchmark, consisting of 37 nodes, is used for a case study involving an Optimal Power Flow (OPF) controller operating over a lossy communication network. The study incorporates load and PV production profiles from a separate dissemination document.

Key Insights and Ideas

  • Realism through Asynchronism: The paper strongly argues that asynchronous simulation is crucial for accurately modeling smart grids, as it mirrors real-world behavior and avoids the limitations of strict synchronization, especially for real-time applications.
  • Unified Multi-Domain Simulation: ASGriDS provides a single environment to model both the electrical grid and its communication infrastructure, bridging a gap often found in domain-specific simulators.
  • Impact of Communication Quality: The case study highlights how communication reliability (specifically packet loss) significantly impacts the performance of control strategies like OPF, demonstrating the value of simulating these impairments.
  • Scalability for Complex Grids: The framework is designed to scale to hundreds of nodes, which is essential for simulating realistic distribution networks and microgrids.

Key Results

  • Scalability: ASGriDS exhibits limited memory consumption, approximately 140 MB plus 50 kB per simulated node, and its CPU usage is primarily dominated by the power flow solver.
  • Communication Performance: In the case study, the OPF controller using TCP consistently outperformed UDP in terms of voltage violation reduction, except under extreme packet loss (60%), where UDP showed a slight advantage due to TCP's retransmission overhead.
  • Control Strategy Evaluation: The framework successfully demonstrated the evaluation of an OPF-based controller under varying levels of packet loss (0% to 60%) on an emulated lossy network.

Limitations and Future Work

  • Limitations: The paper acknowledges that while ASGriDS can scale to hundreds of nodes, simulating entire distribution networks might require even greater scalability. The current implementation's CPU usage is heavily influenced by the power flow solver, suggesting potential bottlenecks for very large-scale simulations.
  • Future Work: The authors plan to continue developing ASGriDS, focusing on:
  • Enhancing support for distributed setups and Hardware-in-the-Loop (HIL) configurations.
  • Developing fault-tolerant controllers.
  • Incorporating capabilities to handle measurement uncertainty and non-ideal communication more comprehensively.
  • Expanding the range of simulated ICT infrastructure and control strategies.

Summary updated

Abstract

International audience
BibTeX
@inproceedings{kennouche2019asgrids,
  author = {Takai-Eddine Kennouche and Florent Cadoux and Nicolas Gast and B. Vinot},
  title = {{ASGriDS: Asynchronous Smart-Grids Distributed Simulator}},
  booktitle = {HAL},
  year = {2019},
}
Figure