電力系統建模與分析的符號-數值混合庫( CS SY)

  • 2020 年 3 月 27 日
  • 筆記

最近,隨着科學計算、電力系統模擬的開源軟件包的蓬勃發展,人們正在重新審視電力系統模擬,以減少建模和分析的編程工作量。現有的開源工具需要手工開發數值方程和稀疏雅各布矩陣的代碼。當研究人員需要用大量的方程來實現複雜的模型時,這樣的工作就會變得重複、乏味和容易出錯。本文提出了一種兩層混合庫,由描述建模的符號層和基於矢量的數值計算的數值層組成。開源庫允許使用描述性方程字符串實現基於微分代數方程(DAE)的模型,這些模型將透明地生成強勁、快速的數值模擬代碼和高質量的文檔。因此,複雜的模型和系統可以很容易地原型化和模擬。這兩個層是解耦的,因此符號層是獨立於大小寫的,並且現有的數值程序可以重用。本文討論了索引、方程求值和雅各布矩陣求值的實現細節並進行了四個案例的研究:a.渦輪調速器模型TGOV1的實現,b.MATPOWER測試系統的功率流計算,c.使用昆都爾的GENROU、EXDC2和TGOV1模型的雙區域系統對商業軟件的驗證,以及d.昆都爾系統的全特徵值分析。

原文題目:Hybrid Symbolic-Numeric Library for Power System Modeling and Analysis

原文:With the recent booming of open-source packages for scientific computing, power system simulation is being revisited to reduce the programming efforts for modeling and analysis. Existing open-source tools require manual efforts to develop code for numerical equations and sparse Jacobians. Such work would become repeated, tedious and error-prone when a researcher needs to implement complex models with a large number of equations. This paper proposes a two-layer hybrid library consisted of a symbolic layer for descriptive modeling and a numeric layer for vector-based numerical computation. The open-source library allows to implement differential-algebraic equation (DAE)-based models with descriptive equation strings, which will be transparently generated into robust and fast numerical simulation code and high-quality documentation. Thus, complex models and systems can be easily prototyped and simulated. These two layers are decoupled so that the symbolic layer is case-independent, and existing numerical programs can be reused. Implementation details in indexing, equation evaluation, and Jacobian evaluation are discussed. Case studies present a) implementation of turbine governor model TGOV1, b) the power flow calculation for MATPOWER test systems, c) the validation against commercial software using Kundur's two-area system with GENROU, EXDC2 and TGOV1 models, and d) the full eigenvalue analysis for Kundur's system.

原文作者:Hantao Cui, Fangxing Li, Kevin Tomsovic

原文地址:http://cn.arxiv.org/abs/2002.09455