基于CPU和GPU的大量系统计算的快速并行Newton-Raphson潮流求解器
Fast Parallel Newton-Raphson Power Flow Solver for Large Number of System Calculations with CPU and GPU
摘要:
为了分析大量的电网状态,例如,当评估可再生能源发电的不确定性的影响时,使用概率蒙特卡罗模拟或静态时间序列模拟,必须执行大量的潮流计算。针对实时电网运行、电网规划以及计算时间要求严格的情况,提出了一种在CPU上同时并行化多个牛顿-拉夫逊潮流计算的新方法。结果表明,与开源工具pandapower相比,当在CPU和GPU上执行具有相同稀疏模式的导纳矩阵的系统的重复潮流时,速度提高了100倍以上。加速依赖于算法改进和高度优化的并行化策略,可以减少重复性工作,并很好地饱和现代CPU和GPU的高硬件计算能力。这是通过基于LU重构的批处理稀疏矩阵运算和批处理线性求解器实现的。与最先进的线性系统求解器KLU库相比,批处理线性求解器显示出较大的性能改进,并且在小问题规模下具有更好的GPU性能饱和度。最后,给出了将该求解器集成到pandapower中的方法,从而使该并行潮流求解器具有优异的性能,可方便地应用于具有挑战性的实际电网运行和创新研究,如数据驱动的机器学习研究。
英文摘要:
To analyze large sets of grid states, e.g. when evaluating the impact from the uncertainties of the renewable generation with probabilistic Monte Carlo simulation or in stationary time series simulation, large number of power flow calculations have to be performed. For the application in real-time grid operation, grid planning and in further cases when computational time is critical, a novel approach on simultaneous parallelization of many Newton-Raphson power flow calculations on CPU and with GPU-acceleration is proposed. The result shows a speed-up of over x100 comparing to the open-source tool pandapower, when performing repetitive power flows of system with admittance matrix of the same sparsity pattern on both CPU and GPU. The speed-up relies on the algorithm improvement and highly optimized parallelization strategy, which can reduce the repetitive work and saturate the high hardware computational capability of modern CPUs and GPUs well. This is achieved with the proposed batched sparse matrix operation and batched linear solver based on LU-refactorization. The batched linear solver shows a large performance improvement comparing to the state-of-the-art linear system solver KLU library and a better saturation of the GPU performance with small problem scale. Finally, the method of integrating the proposed solver into pandapower is presented, thus the parallel power flow solver with outstanding performance can be easily applied in challenging real-life grid operation and innovative researches e.g. data-driven machine learning studies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。