Hybrid Symbolic-Numeric Framework for Power System Modeling and Analysis

Hantao Cui, Fangxing Li, Kevin Tomsovic
2/21/2020
2 citations
eess.SY

Official code: CURENT/andes (389 stars, Python, last commit 2026-03-12). 1 more implementation below.

Abstract

With the recent proliferation of open-source packages for computing, power system differential-algebraic equation (DAE) modeling and simulation are being revisited to reduce the programming efforts. Existing open-source tools require manual efforts to develop code for numerical equations, sparse Jacobians, and discontinuous components.

Show full abstract

This paper proposes a hybrid symbolic-numeric framework, exemplified by an open-source Python-based library ANDES, which consists of a symbolic layer for descriptive modeling and a numeric layer for vector-based numerical computation. This method enables the implementation of DAE models by mixing and matching modeling components, through which models are described. In the framework, a rich set of discontinuous components and standard transfer function blocks are provided besides essential modeling elements for rapid modeling. ANDES can automatically generate robust and fast numerical simulation code, as well as and high-quality documentation. Case studies present a) two implementations of turbine governor model TGOV1, b) power flow computation time break down for MATPOWER systems, c) validation of time-domain simulation with commercial software using three test systems with a variety of models, and d) the full eigenvalue analysis for Kundur's system. Validation shows that ANDES closely matches the commercial tool DSATools for power flow, time-domain simulation, and eigenvalue analysis.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
CURENT/andesOfficial389Python–2026-03-12
cuihantao/andesCommunity17Python–2025-11-11
CURENT/andesOfficial100%

Python toolbox / library for power system transient dynamics simulation with symbolic modeling and numerical analysis 🔥

389165Python, ShellNov 7, 20168 months agoNOASSERTION
analysisandeseigenvalue-analysislibrarymodeling-dae+11 more
cuihantao/andesCommunity100%

ANDES has been transferred to the CURENT organization account. Please post questions to https://github.com/curent/andes. Maintenance and development will continue. Python toolbox / library for power system transient dynamics simulation with symbolic modeling and numerical analysis 🔥

172Python, ShellMar 9, 20231 years agoNOASSERTION

Similar Papers

Cite this paper

@article{cui2020hybrid,
  title  = {Hybrid Symbolic-Numeric Framework for Power System Modeling and Analysis},
  author = {Hantao Cui and Fangxing Li and Kevin Tomsovic},
  year   = {2020},
  eprint = {2002.09455},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.09455}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2002.09455.svg)](https://codeofpaper.com/paper/2002.09455)

Discussion