基于图形化调度操作模拟的电力系统动态仿真技术OA
Power system dynamic simulation technology based on graphical dispatching operation simulation
[目的]随着新能源大规模接入电网,电力系统结构日趋复杂,运行状态动态演变加剧.图形化调度操作模拟预演作为保障电网安全稳定运行的重要技术手段,对动态仿真的实时性与精度提出了更高要求.然而,传统CPU串行仿真受限于硬件并行计算能力,难以满足大规模电网图形化模拟的实时需求,尤其在复杂电网电磁暂态仿真中,计算负载高与仿真效率低之间的矛盾更加突出,严重制约调度决策的及时性与可靠性.因此,需构建兼顾高精度与高效率的电力系统动态仿真方案.[方法]针对图形化调度操作模拟预演需求,本文提出一种融合图形处理器(graphics processing unit,GPU)加速的电力系统动态仿真方案.首先,采用移频分析(shift frequency analysis,SFA)方法构建电网动态相量模型,通过希尔伯特变换生成解析信号并进行移频处理,将原始电力信号映射至零频域,在保留暂态过程关键特征的同时降低计算复杂度.其次,基于延迟线性多步复合(delay-based linear multi-step composite,LB-LMC)方法实现仿真任务在组件级与网络级的解耦.其中,组件级按照单指令多线程(single instruction multiple threads,SIMT)模式设计并行计算内核,由单线程负责同类组件的单实例计算,以保证线程同构性;网络级则调用GPU高性能线性代数库求解代数方程组.最后,构建"数据并行+任务并行"的双层并行架构,并结合OpenCL框架实现任务调度与线程安全控制,通过基于图的关联矩阵归约方法解决线程竞争问题.[结果]以DIgSILENT提供的IEEE 14节点系统为测试对象,在t=0.1 s时断开Line_0001_0005线路施加扰动,开展仿真验证.结果表明,与DIgSILENT PowerFactory电磁暂态仿真结果相比,本文方法在电压、电流及发电机转子转速等关键参数上的相对误差均较小.在仿真效率方面,IEEE 14节点系统场景下,本文方法总耗时为4.9 s,实时性系数为0.245,较传统CPU串行仿真效率提升约90%,较GPU基础并行仿真效率提升约67.8%.随着网络规模扩大,本文方法的效率优势进一步增强,并在大规模电网场景下仍保持超实时仿真能力.[结论]本文提出的GPU加速动态仿真方法,通过SFA动态相量模型与LB-LMC解耦方法的结合,实现了仿真精度与计算效率的有效平衡,可满足大规模电网图形化调度操作模拟预演的超实时仿真需求.本文构建的"数据并行+任务并行"双层并行架构突破了传统CPU串行仿真的算力限制,并通过基于图的线程安全设计有效解决了并行计算中的线程竞争问题.该方法能够为调度操作可视化与智能推演提供高精度动态数据支撑,对提升电网调度决策水平及保障高比例新能源电网安全稳定运行具有重要工程应用价值.
[Objective]With the large-scale integration of new energy into power grids,power system structures are becoming increasingly complex,and dynamic changes in operating states are intensifying.As an important technical means to ensure safe and stable operation of power grids,graphical dispatching operation simulation and rehearsal impose higher requirements on the real-time performance and accuracy of dynamic simulation.However,traditional central processing unit(CPU)serial simulation is limited by hardware parallel computing capability,making it difficult to meet the real-time requirements of large-scale power grid graphical simulation.This problem is particularly prominent in electromagnetic transient simulation of complex power grids,where the contradiction between high computational load and low simulation efficiency seriously restricts the timeliness and reliability of dispatching decisions.Therefore,it is necessary to construct a power system dynamic simulation scheme that considers both high accuracy and high efficiency.[Methods]To meet the requirements of graphical dispatching operation simulation and rehearsal,this paper proposed a power system dynamic simulation scheme integrating graphics processing unit(GPU)acceleration.First,the shifted frequency analysis(SFA)method was used to construct a dynamic phasor model of the power grid.An analytic signal was generated through the Hilbert transform and subjected to frequency shifting,mapping the original power signal to the zero-frequency domain,thus reducing computational complexity while retaining key characteristics of the transient process.Second,the delay-based linear multi-step composite(LB-LMC)method was used to decouple simulation tasks at the component level and network level.At the component level,parallel computing kernels were designed according to the single instruction multiple threads(SIMT)mode,in which a single thread was responsible for computing one component instance of the same type to ensure thread homogeneity.At the network level,a GPU high-performance linear algebra library was called to solve algebraic equation systems.Finally,a two-layer parallel architecture of"data parallelism+task parallelism"was constructed,and task scheduling and thread safety control were implemented using the OpenCL framework.Thread contention was resolved through a graph-based association matrix reduction method.[Results]The IEEE 14-bus system provided by DIgSILENT was used as the test system.A disturbance was introduced by disconnecting Line_0001_0005 at t=0.1 s for simulation verification.The results show that,compared with the electromagnetic transient simulation results of DIgSILENT PowerFactory,the proposed method has small relative errors in key parameters such as voltage,current,and generator rotor speed.In terms of simulation efficiency,in the IEEE 14-bus system scenarios,the total time consumption of the proposed method is 4.9 s,and the real-time factor is 0.245.The efficiency is improved by approximately 90%compared with traditional CPU serial simulation and by approximately 67.8%compared with basic GPU parallel simulation.As the network scale expands,the efficiency advantage of the proposed method is further enhanced,and ultra-real-time simulation capability is maintained in large-scale power grid scenarios.[Conclusions]The GPU-accelerated dynamic simulation method proposed in this paper effectively balances simulation accuracy and computational efficiency by combining the SFA dynamic phasor model with the LB-LMC decoupling method,and can meet the ultra-real-time simulation requirements of graphical dispatching operation simulation and rehearsal for large-scale power grids.The two-layer parallel architecture of"data parallelism+task parallelism"constructed in this paper breaks through the computing power limitations of traditional CPU serial simulation and effectively solves thread contention in parallel computing through graph-based thread safety design.This method can provide high-precision dynamic data support for dispatching operation visualization and intelligent deduction,and has important engineering application value for improving power grid dispatching decision-making and ensuring safe and stable operation of power grids with a high proportion of new energy sources.
李慧勇;吴亮;邱生敏;姜伟;万军
中国南方电网电力调度控制中心,广东 广州 510663中国南方电网电力调度控制中心,广东 广州 510663中国南方电网电力调度控制中心,广东 广州 510663广州能信数字科技有限公司,广东 广州 510530广州能信数字科技有限公司,广东 广州 510530
信息技术与安全科学
图形化调度操作GPU加速移频分析延迟线性多步复合双层并行架构单指令多线程电力系统动态仿真超实时仿真
《沈阳工业大学学报》 2026 (5)
57-64,8
南方电网有限责任公司技术改造项目(000500SZ23120025).
评论