电力系统建模与分析的符号-数值混合库( 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