CS Paper Radar

Efficient Co-simulator Integration with Application to Smart Grids

Talha Ibn Aziz, Jihoon Og, Ioanis Nikolaidis, Omid Ardakanian

cs.NI ·submitted 2026-09-02 19:54 UTC · v2
benchmark

Abstract

The evolution of the electric power grid towards a ``smart grid'' is an example of an emerging large-scale cyber-physical system. To study the potential of cyberattacks or other sources of extreme events, high-fidelity co-simulation is one of the few realistic strategies. In this work, we demonstrate a practical and high-performance co-simulation strategy for smart grids, which provides lessons about co-simulation integration that can be carried over to other cyber-physical systems. Specifically, we present a co-simulation platform based on the Mosaik framework that integrates several federates including OpenDSS for power flow, a refined NS-3 for communication networks, and custom Python-based simulators for on-load tap changer control, distributed state estimation, and data collection. We compare synchronization strategies -- exhaustive lock-step time advancement versus an optimized event-driven approach that exploits lower-bound time stamps (LBTS) and next-event prediction -- and introduce targeted refinements to NS-3 event handling and relevance filtering of internal events. Performance is evaluated on two standard IEEE benchmark systems: the 13-node test feeder with tap-changer voltage regulation and a large-scale 33-bus system augmented with 32 European low-voltage feeders (1,793 nodes total) performing distributed state estimation with thousands of phasors and smart meters. Experimental results demonstrate that the refined event-based synchronization that uses LBTS-based NS-3 event filtering reduces execution time by up to 50\% over non-filtered LBTS, and more than 4$\times$ in the tap control scenario compared to naïve lock-step methods, while strictly preserving temporal correctness and simulation accuracy.

Comment
12 pages

Closest papers

Nearest neighbours by meaning across the whole index.

Towards Cyber-Physical Cognition: A Unified Ontology-Driven Knowledge Graph for Real-Time Autonomous Grid Operations

eess.SY ·2026-08-17 ·Sathvik Sankaranarayanan, Michael Mandulak, Ibrahim Shahbaz, Eman Hammad
published similarity 0.58
Abstract · Accepted author manuscript at the IEEE Annual Conference of the Industrial Electronics Society (IEEE IECON 2026). This version has been acce…

Modern power systems and smart grids are often composed of fragmented and heterogeneous data silos, which lack the cohesion needed for effective cross-domain analysis. For this, this paper introduces a universal ontology framework for the operational representation of intelligent cyber-physical power systems via a unified knowledge graph and an ontology capable of cross-domain reasoning. This work focuses on bridging cyber-physical simulators as a stepping stone towards that vision. By establishing a unified semantic middleware grounded in IEC 61970 (CIM) and IEC 62351/61850 standards, this framework integrates disparate cyber and physical simulation environments, illustrated via OMNeT++ and PowerWorld, into a single knowledge graph. Evaluation across three standard power system benchmarks demonstrates sub-linear scaling in both knowledge graph size and construction time. We further validate the framework's efficacy for real-time decision support, achieving millisecond-level query performance across both domains, maintained across six cumulative structural mutations to the knowledge graph. The resulting unified knowledge graph provides a robust, scalable information corpus for autonomous smart grid operations, enabling complex analysis of real-world power systems.

0.20

Compiling Spatial Certificates into Temporal Contracts for Latency-Aware Control

eess.SY ·2026-08-25 ·Avinash malik
benchmark similarity 0.58
Abstract · 6 pages, 1 figure

We introduce CIPS, a contract-driven execution abstraction for managing computational latency and sampled-data updates in safety-critical cyber-physical systems (CPS). A fundamental challenge in real-time control is that physical safety certificates are defined spatially, yet predicting their validity under non-zero computation and handoff latency requires online numerical integration of plant dynamics. CIPS resolves this operational dichotomy by systematically compiling heterogeneous spatial safety certificates into normalized, unit-rate temporal contracts entirely offline. This transformation abstracts complex plant dynamics, exposing a deterministic, O(1) temporal budget to a generic sampled-data scheduler. We formally prove that this architecture guarantees global hybrid safety invariance under bounded computational latency and asynchronous execution. Finally, we validate the framework via an autonomous vehicle braking benchmark, demonstrating a 60.5 times reduction in micro-architectural evaluation overhead compared to latency-aware event-triggered control (LA-ETC) while preserving safety bounds.

0.15

CQTwin: A Digital-Twin Toolkit for Operational Analytics of HPC Schedulers

cs.DC cs.PF ·2026-10-19 ·Kanglin Xu, Yash Kurkure, Yihe Zhang, Michael E. Papka, Zhiling Lan
publishedcode/data similarity 0.57
Abstract · Accepted at the 1st International Workshop on HPC Operational Data Analytics (HPC-ODA 2026), held with SC26. 8 pages, 4 figures, 3 tables

HPC facilities collect years of job scheduler records, yet much of this operational data remains underused because accessible tools for turning it into actionable insight are scarce. We present CQTwin, an open-source digital-twin toolkit for operational analytics of HPC scheduling data. CQTwin addresses this gap through two complementary modes: offline trace replay and online event-driven simulation. Built on the Python-based CQSim discrete-event simulator, CQTwin combines a fidelity-validated, high-performance C++ engine with an interactive browser-based dashboard and a Snapshot Lab, enabling facility staff, operators, and researchers to characterize workloads, compare scheduling policies, and explore what-if scenarios. As an offline twin, CQTwin replays archived workload traces under alternative policies to show how the same workload would have unfolded under different scheduling decisions. As an online twin, it consumes job events as they arrive and projects how alternative policies would process the currently queued jobs, providing guidance for real-time decision-making. The dashboard supports the complete analysis workflow, including workload characterization, experiment configuration and monitoring, and multidimensional comparison of simulation results, allowing users to determine visually which policies best suit a workload and what trade-offs they entail. We validate CQTwin using production traces from the Argonne Leadership Computing Facility spanning 2016-2023.

0.55

RyBench: Runtime Verification Benchmarking Framework over Publish/Subscribe Networks

cs.LO cs.PFcs.SE ·2026-11-17 ·Mehmet Hilmi Dündar, Doğan Ulus
publishedbenchmark similarity 0.57
Abstract · In Proceedings FMAS 2026, arXiv:2611.21375

Autonomous systems built as distributed, node-based systems communicate via publish/subscribe middleware. Runtime Verification (RV) tools are used to monitor those systems against formal specifications, receiving monitored events through the pub/sub channel. An RV tool's practical value depends on its monitoring throughput capacity and verdict latency, besides its correctness, so a systematic benchmarking setup is needed to evaluate how efficiently these tools run. This paper presents RyBench, a pub/sub-based benchmarking framework that acts as a synthetic event publisher in place of a monitored system, providing a common benchmarking setup. RyBench separates benchmark generation, serialization, and transport into distinct components, enabling the combination of different event-generation strategies, data formats, and transport layers. We also evaluate the framework's throughput capacity across these configurations using Open Simulation Interface (OSI) schemas and Timescales properties, and illustrate the end-to-end benchmarking flow through an application to Reelay and an integration with MonPoly.

0.42

Interpretable Cyber-Physical Attack Detection in Smart Grids: A Leakage-Controlled Multi-Testbed Evaluation of Fusion, Robustness, and Observability Limits

cs.LG cs.AIcs.CR ·2026-11-07 ·Muhammad Ridwanul Hoque, Sarah Sharif, Reza Saeed Kandezy, Yaser Banad
code/data similarity 0.57
Abstract

Cyber-physical smart-grid detectors are typically treated as black boxes and validated exclusively on clean, temporally shuffled datasets, which risk overly optimistic performance claims. This work presents a multi-testbed evaluation study built around an interpretable, time-windowed fusion Random Forest, adopting the pessimistic result whenever evaluation protocols disagree. (i) On a public paired cyber-physical dataset, shuffled cross-validation is optimistic: macro-F1 falls from 0.96 to 0.88 +/- 0.06 under rolling-origin temporal evaluation. A topology-free graph convolutional network (GCN) serving as a control confirms that this lightweight model is competitive on these splits. (ii) The adaptive and adaptive-joint feature-space attacks, which are infeasible as realistic grid manipulations, degrade macro-F1 to 0.67 and 0.34, respectively. Adversarial training and randomized smoothing partially restore performance, and a physics-constrained evolution-strategy evasion on the IEEE 14-Bus testbed shows the same vulnerability pattern. (iii) On real IEC-104 traffic, the cyber view reliably catches structural attacks (recall of 0.87 to 0.98) but largely fails on semantic value manipulation (recall of 0.11 to 0.35). An observability taxonomy on the IEEE 14-Bus system reveals that stealthy false data injection defeats all three observation views. (iv) On a full AC weighted least-squares state-estimation testbed, a forecasting-aided temporal test is evaded by slow ramps precisely where a rate-invariant physics-manifold test sustains detection at a common 5% false-alarm target. A full end-to-end evaluation on IEEE 118-Bus confirms the ordering but bounds its strength: the manifold test detects every trial down to 0.05 degree/step and 0.48 at 0.02 degree/step, against 0.14 for the temporal test. All code and benchmarks are released.

0.38

Constraint-Driven Modeling Enabling Dual Model Checking and Simulation for Discrete Event Systems

cs.SE cs.ARcs.LO ·2026-08-22 ·Soroosh Gholami, Hessam S. Sarjoughian
similarity 0.56
Abstract · 33 pages, 19 figures, 6 tables, 2 listings

Verification and validation (V&V) are crucial methods for evaluating the requirements and specifications of dynamical models that fulfill their intended purposes. Parallel Discrete EVent System Specification (PDEVS) is a system-theoretic modeling approach for creating modular, hierarchical component-based simulation models. In this paper, we introduce Constraint-DEVS, a method for creating bounded Parallel DEVS models that lend themselves, in addition to simulation, to model checking. We extend the DEVS-Suite framework to create Constraint-DEVS specifications which can then be model checked using a proposed state exploration protocol with the Parallel DEVS abstract simulator protocol. These capabilities, along with the support for non-determinism, complex data transfer, and performance-related property checking, make Constraint-DEVS and its accompanying DEVS-Suite a unique framework for the development, verification, and validation of discrete-event systems. In order to demonstrate this work, we developed and verified models of Network-on-Chip. Also, we detail behavioral design artifacts for the DEVS-Suite framework's hybrid model-checking and simulation engine.

0.15

Event-Driven Simulation of Power Electronics Rich Grid Models

eess.SY ·2026-08-23 ·Ajay Pratap Yadav, James Nutaro
similarity 0.56
Abstract

Power-electronics systems should be treated according to their natural mathematical structure---inherent switching and discontinuities with piecewise continuous states. Therefore, the simulator should be organized around events, switching topologies, and topology intervals, rather than only around a continuous-time solver that later corrects or smooths discontinuities. This paper presents a simple, event-driven EMT architecture using native C kernels with Python orchestration. With this method, we distill the essential elements of discrete-event simulation applied to power electronics problems and thereby point toward a broad research thrust wherein mature ideas from discrete-event simulation are adapted for use in simulating power electronics circuits.

0.24

Reinsertion-Aware Parameter Estimation of the WECC Composite Load Model via Closed-Loop Equivalent-Network Co-Estimation

eess.SY ·2026-10-25 ·Jong Ha Woo, Victor Daldegan Paduani, Zishuo Yang, Yu Ma, Qi Xiao +1 more
benchmark similarity 0.56
Abstract · 10 pages, 10 figures, 7 tables. Submitted to IEEE Transactions on Power Systems

Measurement-based parameter estimation of the WECC composite load model (CMLD) commonly relies on voltage replay, where measured voltage is imposed on an isolated CMLD and its parameters are optimized to reproduce measured active and reactive power. However, this open-loop formulation neglects the two-way dynamic interaction between the load and grid, potentially causing large errors when the estimated model is reinserted into dynamic grid simulations. To address this limitation, we propose a closed-loop parameter estimation framework that alternately estimates the CMLD parameters and a five-parameter equivalent network representing the external grid. This framework restores load-grid interaction during estimation and enables voltage, active power, and reactive power to jointly constrain the parameter estimation. Compared with four baseline methods, the proposed approach achieves the highest reinsertion accuracy in both the CMLD benchmark and transmission and distribution (T&D) co-simulation environments. In the T&D case, it reduces active-power, reactive-power, and voltage errors by 73%, 64%, and 62%, respectively. The identified model also maintains improved reinsertion accuracy under disturbances not used for estimation, demonstrating transferability beyond the identification event.

0.47