摘要
为了提高电力系统计算程序的通用性和灵活性,避免潮流及最优潮流计算时繁琐的导数公式推导,利用ADMAT自动微分工具箱设计了一种较灵活的计算程序。该程序无需手动编程构造雅克比矩阵和海森矩阵,减少了编程出错可能性,方便修改最优潮流模型、增减目标函数和约束条件。结合ADMAT工具箱的求解特点,研究了潮流方程、约束条件和目标函数的雅克比矩阵和海森矩阵的稀疏模式,对程序进行了优化。多个系统的测试结果表明,将自动微分技术应用于电力系统计算的可行性和优越性,所设计的程序具有较高的计算效率。
In order to improve the generality and flexibility of power system calculation program and avoid the cumbersome formula derivation of power flow and optimal power flow calculation, a flexible computing program is designed by ADMAT automatic differentiation toolbox. The program needs not manually construct Jacobian and Hessian matrix, which reduces the possibility of error in programming, and is convenient to modify the optimal power flow model and to add or reduce objective functions and constraint conditions. Based on characteristics of ADMAT toolbox, the sparse mode of Jacobian and Hessian matrix of power flow equations, constraint conditions and objective functions are studied, to optimize the program. Test results of several systems show that the application of automatic differentiation technology in power system calculation is feasible and efficient, and the designed program has a higher efficiency in calculation.
出处
《广西电力》
2013年第2期15-20,共6页
Guangxi Electric Power
关键词
自动微分
ADMAT
潮流计算
牛顿法
最优潮流
内点法
automatic differentiation, ADMAT, power flow, calculation, Newton method, optimal power flow, interior point method