周淳, 姜彤. 基于矢量指令集的三相潮流并行计算方法[J]. 电网技术, 2023, 47(3): 1151-1158. DOI: 10.13335/j.1000-3673.pst.2022.0678
引用本文: 周淳, 姜彤. 基于矢量指令集的三相潮流并行计算方法[J]. 电网技术, 2023, 47(3): 1151-1158. DOI: 10.13335/j.1000-3673.pst.2022.0678
ZHOU Chun, JIANG Tong. Parallel Calculation Method for Three-phase Power Flow Based on Vector Instruction Set[J]. Power System Technology, 2023, 47(3): 1151-1158. DOI: 10.13335/j.1000-3673.pst.2022.0678
Citation: ZHOU Chun, JIANG Tong. Parallel Calculation Method for Three-phase Power Flow Based on Vector Instruction Set[J]. Power System Technology, 2023, 47(3): 1151-1158. DOI: 10.13335/j.1000-3673.pst.2022.0678

基于矢量指令集的三相潮流并行计算方法

Parallel Calculation Method for Three-phase Power Flow Based on Vector Instruction Set

  • 摘要: 随着互联电网规模不断扩大,电力网络分析计算对计算速度的要求日益提高。高级矢量扩展指令集(advanced vector extensions,AVX)是应对大规模浮点运算所提出的基于SIMD的快速并行计算解决方案,最高可以将浮点运算能力提升16倍。以电力系统三相潮流计算为研究对象,采用快速YBUS潮流算法计算。对迭代方程组求解过程进行改造,将8×8的矩阵与8×1的向量作为运算单元,利用AVX指令集实现运算单元的基本计算与求逆的矢量化算法,完成了基于运算单元的方程因子表分块求解算法;将三相潮流方程节点导纳矩阵的三相模型部分对应的6×6矩阵和6×1向量扩展到8×8矩阵和8×1向量构成的运算单元中,其他部分则有序填充至运算单元中。采用半动态节点优化编号,建立了以运算单元为单位的分块稀疏系数矩阵,基于运算单元运算符的矢量化重载实现了三相潮流方程并行求解。使用IEEE标准三相算例进行测试,结果表明,三相潮流矢量化并行算法与原有算法结果一致,在时间性能上具有高效性。

     

    Abstract: With the expansion of the scale of the interconnected power grid, the requirements for the calculation speed in the power system analysis are increasing. The Advanced Vector Extensions (AVX) is an efficient instruction set proposed for large-scale floating-point operations, which can increase the floating-point computing capability by up to 16 times. Taking the three-phase power flow calculation as the research object, the fast YBUS power flow algorithm is adopted for calculation, and the vector instruction set is introduced to improve the calculation process. By transforming the process of solving iterative equations, and taking the 8×8 matrix and 8×1 vector as the operation units, the AVX instruction set is used to realize the basic calculation and the inverse vectorized algorithm of the operation units, and the equations are divided into blocks to be solved by lower-upper (LU) decomposition based on the vectorized operation unit. The 6×6 matrix and 6×1 vector corresponding to the three-phase model of the node admittance matrix of the three-phase power flow equation are extended into the operation unit of the 8×8 matrix and 8×1 vector, and other parts are filled into the operation unit. By adopting the Tinney-2 ordering scheme, a sparse partitioned matrix based on the operation unit is established, and the parallel solution of the three-phase power flow equation is realized based on the vectorized overloading of the operation unit operator. The three-phase system cases IEEE24 and IEEE57 are used for testing. The results show that the three-phase power flow vectorization parallel method has accurate calculation results. Compared with the traditional power flow method, the vectorization parallel method has high efficiency in time performance.

     

/

返回文章
返回