Have a personal or library account? Click to login
Formal validation for microgrid reliability based on TLA+ Cover

Formal validation for microgrid reliability based on TLA+

Open Access
|Feb 2026

Abstract

Ensuring the reliability of modern microgrids requires verification beyond conventional simulations. This paper introduces the novel application of TLA+, a formal specification language to model and verify a cyber‑physical microgrid with six DERs and four priority loads. Our approach formally defines critical safety invariants such as Margin of Safety (MoS) ≥ 0 and automatically uncovers subtle design flaws, including MoS violations undetected by conventional testing. Experimental verification on a 25 kV system shows TLA+ can explore 1.79 million states in under 3 minutes, mathematically proving correctness under normal (MoS = +28) and attack scenarios (MoS = –2). State‑space exploration ranges efficiently from minimal configurations (3,332 states, 8 s) to full‑load conditions (1.79 M states, 171 s) with predictable growth indicated by anomaly percentages (0.19 %-65 %). Although validated on a single topology, the method establishes a provably correct foundation for microgrid design, advancing the shift from test‑and‑fix to correct‑by‑construction methodologies in resilient smart grid engineering.

DOI: https://doi.org/10.2478/jee-2026-0006 | Journal eISSN: 1339-309X | Journal ISSN: 1335-3632
Language: English
Page range: 55 - 67
Submitted on: Nov 8, 2025
|
Published on: Feb 18, 2026
In partnership with: Paradigm Publishing Services
Publication frequency: 6 issues per year

© 2026 Muhammad Nasar, János Csatár, published by Slovak University of Technology in Bratislava
This work is licensed under the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 License.