JuliaGrid: An Open-Source Julia-Based Framework for Power System State Estimation
Mirsad Cosovic, Ognjen Kundacina, Muhamed Delalic, Armin Teskeredzic, Darijo Raca, Amer Mesanovic, Dragisa Miskovic, Dejan Vukobratovic, Antonello Monti
TL;DR
JuliaGrid tackles the challenge of scalable, open-source state estimation for modern power systems by unifying AC/DC steady-state models, observability analysis, PMU-enabled estimation, bad-data handling, and optimization-based OPF within a single Julia-based runtime. It combines WLS and LAV estimators (including orthogonal and Peters-Wilkinson variants) with a robust measurement model and multiple factorization options, while enabling data reuse for fast quasi-steady-state analyses. The framework integrates JuMP for OPF, supports flexible data ingestion (MATPOWER/PSSE/HDF5), and leverages a modular, object-oriented design to extend analyses and algorithms. Benchmark results on networks up to 70,000 buses demonstrate competitive performance and memory efficiency against leading open-source tools, underscoring JuliaGrid’s potential as a research and educational platform for large-scale grid analysis.
Abstract
Modern electric power systems have an increasingly complex structure due to rise in power demand and integration of diverse energy sources. Monitoring these large-scale systems, which relies on efficient state estimation, represents a challenging computational task and requires efficient simulation tools for power system steady-state analyses. Motivated by this observation, we propose JuliaGrid, an open-source framework written in the Julia programming language, designed for high performance execution across multiple platforms. The framework implements observability analysis, weighted least-squares and least-absolute value estimators, bad data analysis, and various algorithms related to phasor measurements. To complete power system analysis, the framework includes power flow and optimal power flow, enabling measurement generation for the state estimation routines. Leveraging computationally efficient algorithms, JuliaGrid solves large-scale systems across all methods, offering competitive performance compared to other open-source tools. It is specifically designed for quasi-steady-state analysis, with automatic detection and reuse of computed data to boost performance. These capabilities are validated on systems with 10000, 20000 and 70000 buses.
