CN102073766A - Method for accelerating asynchronous parallel computation of transient stability of power grid based on single-computer multiple-core mode - Google Patents

Method for accelerating asynchronous parallel computation of transient stability of power grid based on single-computer multiple-core mode Download PDF

Info

Publication number
CN102073766A
CN102073766A CN2011100046124A CN201110004612A CN102073766A CN 102073766 A CN102073766 A CN 102073766A CN 2011100046124 A CN2011100046124 A CN 2011100046124A CN 201110004612 A CN201110004612 A CN 201110004612A CN 102073766 A CN102073766 A CN 102073766A
Authority
CN
China
Prior art keywords
calculation
data
transient stability
fault
transient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011100046124A
Other languages
Chinese (zh)
Other versions
CN102073766B (en
Inventor
宋墩文
马世英
李柏青
赵晓彤
侯俊贤
李庆华
王英涛
陈勇
熊选文
杜三恩
董毅峰
冯静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
China Electric Power Research Institute Co Ltd CEPRI
Original Assignee
China Electric Power Research Institute Co Ltd CEPRI
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Electric Power Research Institute Co Ltd CEPRI filed Critical China Electric Power Research Institute Co Ltd CEPRI
Priority to CN201110004612.4A priority Critical patent/CN102073766B/en
Publication of CN102073766A publication Critical patent/CN102073766A/en
Application granted granted Critical
Publication of CN102073766B publication Critical patent/CN102073766B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Supply And Distribution Of Alternating Current (AREA)

Abstract

本发明基于单机多核硬件架构提出了一种快速提升暂态稳定异步并行计算方法,包括:(1)实现故障集合的批量、并行批量、自动负载平衡批量暂态稳定故障快速计算,对每一个故障计算结果实现稳定性判别分析,对全部故障集内故障计算结果实现统计分析报表;(2)实现暂态稳定作业的批量计算及分析;(3)提出暂态稳定批量计算防僵死方法,实现并行批量计算速度的过程控速方法,提出并实现暂态稳定交互计算与自动计算相混合实现技术方法。本发明不通过改动暂态稳定计算算法和实现形式,实现并行批量计算是基于任务解耦方式,实现海量故障计算并行计算的同时,保证暂态稳定计算本身的独立性,提高暂态稳定计算效率。

Figure 201110004612

Based on the stand-alone multi-core hardware architecture, the present invention proposes a method for rapidly improving transient stability asynchronous parallel computing, including: (1) realizing fast calculation of fault sets in batches, parallel batches, and automatic load balancing batches of transient stable faults, and for each fault The calculation results realize the stability discriminant analysis, and realize the statistical analysis report for the calculation results of all faults in the fault set; (2) realize the batch calculation and analysis of the transient stability operation; The process speed control method of batch calculation speed, proposes and realizes the technical method of mixing interactive calculation and automatic calculation of transient stability. The present invention does not change the calculation algorithm and implementation form of transient stability, realizes parallel batch calculation based on task decoupling mode, realizes parallel calculation of massive fault calculation, ensures the independence of transient stability calculation itself, and improves the efficiency of transient stability calculation .

Figure 201110004612

Description

基于单机多核模式提速电网暂态稳定异步并行计算方法 Asynchronous Parallel Computing Method for Accelerating Power Grid Transient Stability Based on Single Computer and Multi-core Mode

技术领域:Technical field:

本发明涉及一种异步并行计算方法,具体涉及基于单机多核模式提速电网暂态稳定异步并行计算方法。The invention relates to an asynchronous parallel computing method, in particular to an asynchronous parallel computing method for accelerating power grid transient stability based on a single machine multi-core mode.

背景技术:Background technique:

电力系统仿真是电力系统科研、规划、设计、建设、投运、运行、维护工作中最基本的分析研究方法。电力系统仿真按不同的分类方法,存在多种不同表现类型,按仿真的实时性来分析表现为离线和在线仿真,按实现仿真的手段来分表现为动态模拟、全数字模拟、数模混合模拟仿真。按仿真模型描述的精细度和仿真步长的差异,可以表现为机电和电磁暂态仿真。本发明涉及的是通过计算机进行的机电仿真分析。Power system simulation is the most basic analysis and research method in power system research, planning, design, construction, commissioning, operation and maintenance. According to different classification methods, power system simulation has a variety of different performance types. According to the real-time analysis of simulation, the performance is offline and online simulation, and according to the means of realizing simulation, it is divided into dynamic simulation, full digital simulation, and digital-analog hybrid simulation. simulation. Differences in the fineness of simulation model description and simulation step size can be expressed in electromechanical and electromagnetic transient simulations. The invention relates to electromechanical simulation analysis by computer.

机电仿真一般分为稳态计算分析和暂态计算分析。稳态计算主要指针对研究电网所建立的数字模型电网进行的潮流计算,是为其它计算和分析构建一个电网运行的基态,表现为电网可能存在的一种运行状态。暂态稳定计算是通过对发电机、励磁系统、调试系统、电力系统稳定器、静动态负荷、线路变压器等设备进行数字建模,通过对处于某种运行状态的电网施加一定扰动进行计算,计算电网中所有发电机能否维持同步运行的过程。Electromechanical simulation is generally divided into steady-state calculation and analysis and transient calculation and analysis. Steady-state calculation mainly refers to the power flow calculation for the digital model grid established by the research grid. It is to construct a base state of grid operation for other calculations and analysis, which is a possible operating state of the grid. Calculation of transient stability is carried out through digital modeling of generators, excitation systems, commissioning systems, power system stabilizers, static and dynamic loads, line transformers, etc. The process of whether all generators in the grid can maintain synchronous operation.

暂态稳定计算在电力系统规划和运行分析中是必不可少的分析手段,具有举足轻重地位。它不仅为规划系统的电源布局及合理送出、通道布局及网络优化、无功补偿及电压控制、保护配置及稳控措施的合理性提供电力系统暂态稳定性的校核,为电力系统安全稳定可靠运行提供量化依据,而且可用于研究各种提高暂态稳定的措施,计算继电保护和自动装置参数整定定值提供依据。Transient stability calculation is an indispensable analysis method in power system planning and operation analysis, and plays a pivotal role. It not only provides power system transient stability checks for planning system power supply layout and reasonable transmission, channel layout and network optimization, reactive power compensation and voltage control, protection configuration and stability control measures, but also contributes to the safety and stability of the power system. Reliable operation provides quantitative basis, and can be used to study various measures to improve transient stability, and provide basis for calculating relay protection and automatic device parameter setting.

在国内电力系统中,对于输电主网,采用的暂态稳定计算工具主要为中国电力科学研究院开发的PSD-BPA和PSASP。这两者计算模式主要是通过设置单一的故障配合暂态稳定数字模型进行单一的暂态稳定计算或建立简单的故障集实现单一方式的故障级联计算。对于海量故障和多个运行方式的组合故障运算,采用了计算机群的并行计算方式。In the domestic power system, for the main power transmission network, the transient stability calculation tools used are mainly PSD-BPA and PSASP developed by the China Electric Power Research Institute. These two calculation modes are mainly to perform a single transient stability calculation by setting a single fault with a transient stability digital model or to establish a simple fault set to realize a single fault cascading calculation. For the calculation of massive faults and combined faults of multiple operating modes, the parallel computing method of computer clusters is adopted.

而电网的快速发展,新能源建设、新的电压等级出现、多种复杂交直流输电、微电网运行、各种电力电子器件应用,导致电网暂态稳定计算分析的故障集、方式量呈暴增趋势,而大量的计算分析往往并不只在固定的工作场所进行,大量的计算分析可能在建设现场、调试现场、会议现场等,在每个海量故障计算现场都建立并行计算机群,是不现实的也是不经济的,如何解决电网发展带来的海量故障快速计算问题,是一个现实的也是迫切需要解决的问题。The rapid development of the power grid, new energy construction, new voltage levels, various complex AC and DC transmission, micro-grid operation, and various power electronic device applications have led to a sharp increase in the number of fault sets and methods for power grid transient stability calculation and analysis. However, a large number of calculations and analyzes are often not only carried out in fixed workplaces. A large number of calculations and analyzes may be carried out at construction sites, debugging sites, conference sites, etc. It is unrealistic to establish a parallel computer cluster at each massive fault calculation site. It is also uneconomical. How to solve the problem of rapid calculation of massive faults brought about by the development of the power grid is a realistic and urgent problem to be solved.

根据《PSD-BPA暂态稳定程序用户手册》所介绍的,典型的暂态稳定计算步骤如下:According to the "PSD-BPA Transient Stability Program User Manual", the typical calculation steps of transient stability are as follows:

1)对仿真的目标电网进行收资,建立基本的设备参数和网络拓扑模型数据,利用潮流程序建立目标电网基本的运行方式。1) Collect funds for the simulated target grid, establish basic equipment parameters and network topology model data, and use the power flow program to establish the basic operation mode of the target grid.

2)收资目标电网机组、励磁、调试、PSS(电力系统稳定器)、线路变压器零序参数等,建立基本的稳定模型参数,通过暂态稳定计算程序进行试算,保证暂态稳定模型数据的合理性和正确性。2) Fund collection target grid unit, excitation, commissioning, PSS (power system stabilizer), line transformer zero-sequence parameters, etc., establish basic stability model parameters, and conduct trial calculations through transient stability calculation programs to ensure transient stability model data reasonableness and correctness.

3)根据潮流模型中的参数信息,按一定的格式要求建立一个故障数据,故障数据可以是母线故障、变压器故障、线路故障、直流故障,甚至是连锁故障。故障过程可以包括多个过程,包括故障开始、故障消失、开关跳开、开关重回、开关再跳等。3) According to the parameter information in the power flow model, a fault data is established according to certain format requirements. The fault data can be bus faults, transformer faults, line faults, DC faults, or even cascading faults. The fault process may include multiple processes, including fault start, fault disappearance, switch trip, switch reset, switch re-trip, etc.

4)带故障进行暂态稳定计算,对计算结果进行稳定性判断分析,通过计算输出曲线及计算输出数据进行电网特性分析。4) Perform transient stability calculation with faults, conduct stability judgment analysis on the calculation results, and analyze power grid characteristics by calculating output curves and calculating output data.

以上步骤适合于电网暂态稳定交互式计算,能实现单一故障形态的手工控制的暂态稳定详细计算。但不能适应海量故障多方式下快速自动计算分析,没有利用计算多核处理能力,对工程计算不同的应用方式缺少选择性支持。The above steps are suitable for the interactive calculation of the transient stability of the power grid, and can realize the detailed calculation of the transient stability of the manual control of a single fault form. However, it cannot adapt to the rapid automatic calculation and analysis of massive faults in multiple ways, does not utilize the computing multi-core processing capability, and lacks selective support for different application methods of engineering calculations.

发明内容:Invention content:

针对现有技术的不足,本发明目的是利用计算机单机多核的强大处理能力,在不改变暂态稳定计算程序本身及授权判断方式条件下,实现海量故障多方式作业的并行批量计算,提高电网扰动计算分析速度,降低电网仿真分析劳动强度。通过预先建立好的多个电网基础运行方式,由潮流计算程序对其进行预计算形成多个基础运行方式。潮流计算迭代次数有限,计算速度非常快,且必须得到收敛的潮流运行方式后才能进行暂态稳定计算,因此不用事先实施多个方式的潮流批量或并行计算,这里并不排除潮流自动调整技术突破后,为得到基态运行方式所进行的大量潮流试算而采用并行计算方法。还必须依据建立的潮流模型数据,按不同分析需求,依据指定的格式准备好海量故障集。此外,还需要根据电网分析目的和分析详细程度,构建暂态稳定数字模型,且需要保证暂态稳定数字模型在无故障扰动数据下计算正确合理。Aiming at the deficiencies of the prior art, the purpose of the present invention is to utilize the powerful processing capability of single-machine multi-core computers, without changing the transient stability calculation program itself and the authorization judgment method, to realize the parallel batch calculation of massive fault multi-mode operations, and to improve the power grid disturbance. Calculation and analysis speed reduces the labor intensity of power grid simulation analysis. Through the pre-established multiple basic operation modes of the power grid, the power flow calculation program pre-calculates them to form multiple basic operation modes. The number of iterations of power flow calculation is limited, the calculation speed is very fast, and the transient stability calculation can only be performed after a converged power flow operation mode is obtained, so it is not necessary to implement batch or parallel calculation of power flow in multiple ways in advance, and breakthroughs in automatic power flow adjustment technology are not ruled out here Finally, in order to obtain a large number of power flow trial calculations in the base state operation mode, a parallel computing method is adopted. It is also necessary to prepare massive fault sets according to the established power flow model data according to different analysis requirements and according to the specified format. In addition, it is necessary to construct a transient stability digital model according to the power grid analysis purpose and analysis level of detail, and it is necessary to ensure that the transient stability digital model is calculated correctly and reasonably without fault disturbance data.

数据准备就绪后,依据本发明在单机上实现多运行方式下的海量故障集暂态稳定提速异步并行计算。After the data is ready, according to the present invention, the asynchronous parallel calculation of transient stability and acceleration of massive fault sets under multiple operation modes is realized on a single machine.

本发明提供的基于单机多核模式提速电网暂态稳定异步并行计算方法,其改进之处在于:所述方法包括如下步骤:The improvement of the asynchronous parallel calculation method for transient stability of power grid based on single-machine multi-core mode provided by the present invention is that the method includes the following steps:

(1)确定电网仿真计算的基态运行方式,建立基态潮流水平相适应的电网暂态稳定模型参数,并对需要研究的电网进行基态方式准备;按照分析目的的差异建立不同类别故障集合,并调整电网暂态稳定模型;(1) Determine the base state operation mode of the power grid simulation calculation, establish the grid transient stability model parameters that are compatible with the base state power flow level, and prepare the base state mode for the power grid that needs to be studied; establish different types of fault sets according to the differences in analysis purposes, and adjust Grid transient stability model;

(2)确定基态潮流、故障集与暂态稳定模型对应关系,构建暂态稳定计算作业任务组,以任务单元形式,形成全部分析目标的作业批量任务组,即作业任务批队列数据,作业批队列按串行序列化模式执行,即按计算的优先等级依次形成暂态稳定计算关联数据对;(2) Determine the corresponding relationship between the ground state power flow, fault set and transient stability model, construct a transient stability calculation job task group, and form a job batch task group for all analysis targets in the form of task units, that is, job task batch queue data, job batch The queue is executed in the serial serialization mode, that is, the transient stability calculation associated data pairs are formed sequentially according to the priority level of the calculation;

(3)判断数据的完整性和有效性,开启暂态稳定作业计算;(3) Judging the integrity and validity of the data, and starting the calculation of transient stability operations;

(4)将当前作业故障集数据分解为单一的故障数据队列;(4) Decompose the current job fault set data into a single fault data queue;

(5)按照指定的计算模式实施选定的故障集暂态稳定批量计算;(5) Carry out the batch calculation of transient stability of the selected fault set according to the specified calculation mode;

(6)形成整个故障集的暂态稳定计算综合摘要报表;(6) Form a comprehensive summary report of transient stability calculation of the entire fault set;

(7)全部暂态稳定计算作业完成后结束全部作业计算。(7) After all transient stability calculation operations are completed, all operation calculations are ended.

本发明提供的第一优选方案的计算方法,其改进之处在于,The calculation method of the first preferred solution provided by the present invention is improved in that,

所述完整性判断包括基态数据存在性、故障集数据的存在性、暂态模型数据的存在;The integrity judgment includes the existence of base state data, the existence of fault set data, and the existence of transient model data;

所述有效性判断包括故障集合内单一故障的合理性和有效性判断。The validity judgment includes the rationality and validity judgment of a single fault in the fault set.

本发明提供的第二优选方案的计算方法,其改进之处在于,所述计算模式分为:The calculation method of the second preferred solution provided by the present invention is improved in that the calculation mode is divided into:

基本级联串行批量计算方式;Basic cascade serial batch calculation method;

带指定核数的并行批量计算模式;Parallel batch computing mode with specified number of cores;

动态自动负载平衡计算模式。Dynamic automatic load balancing calculation mode.

本发明提供的第三优选方案的计算方法,其改进之处在于,所述基本级联串行批量计算方式的步骤如下:The calculation method of the third preferred solution provided by the present invention is improved in that the steps of the basic cascade serial batch calculation method are as follows:

(a)从所述步骤(4)分解得到的故障数据队列中取一组单一故障数据,与方式数据、暂态稳定模型数据配对形成计算数据组;(a) get one group of single fault data from the fault data queue that described step (4) decomposes and obtain, form calculation data group with mode data, transient stability model data pairing;

(b)用(a)计算数据组启动暂态稳定计算核;(b) start the transient stability calculation kernel with the calculation data set in (a);

(c)暂态稳定计算结束后跳转到(e);(c) Jump to (e) after the transient stability calculation is completed;

(d)对每次判断探测周期进行累计,并与设定的最大暂态稳定计算耗时阀值进行比对,超过预先设定的阀值,就强行终止暂态稳定计算过程,并将强行操作过程记录在故障计算结果中;其中,从步骤(3)到所有作业结束为一个总的探测时间段,在一个总的探测时间段中根据作业量的多少分成若干个探测周期。(d) Accumulate each judgment detection cycle and compare it with the set maximum transient stability calculation time-consuming threshold. If the threshold exceeds the preset threshold, the transient stability calculation process will be forcibly terminated, and the The operation process is recorded in the fault calculation result; wherein, from step (3) to the end of all operations is a total detection time period, which is divided into several detection periods according to the amount of work.

(e)提取结果进行稳定性判断分析,判别为稳定结果,即一次故障计算完成,将相关结论放置到结果列表中,退出本次故障计算;(e) Extract the results for stability judgment and analysis, judge as a stable result, that is, a fault calculation is completed, put the relevant conclusions in the result list, and exit this fault calculation;

(f)提取故障数据队列数据项,当前计算作业内容中的故障已计算完成后,汇总本次作业中所有计算结果,形成统计摘要,并退出本次作业计算。(f) Extract the data items of the fault data queue. After the faults in the current calculation operation have been calculated, summarize all the calculation results in this operation to form a statistical summary, and exit the calculation of this operation.

本发明提供的第四优选方案的计算方法,其改进之处在于,所述并行批量计算模式步骤如下:The calculation method of the fourth preferred solution provided by the present invention is improved in that the steps of the parallel batch calculation mode are as follows:

1)多核存在且设定值大于1,跳转到2);1) Multi-core exists and the set value is greater than 1, jump to 2);

2)根据指定的核数建立与之相等的数据队列;2) Establish a data queue equal to the specified number of cores;

3)计算数据队列中存在空闲队列时,从所述步骤(4)分解得到的故障数据队列中取一组单一故障数据填充到空闲数据队列中,指定被暂态稳定计算程序应用前一直保留在队列中;3) When there is an idle queue in the calculation data queue, a group of single fault data is filled into the idle data queue from the fault data queue decomposed in the step (4), and it is reserved in the idle data queue before it is designated to be applied by the transient stability calculation program. in the queue;

4)所有队列已经填满数据,转入第5)步;4) All queues have been filled with data, go to step 5);

5)指定的计算核有空置的计算核,从数据队列中取一组参数,在空闲的核上启动暂态稳定计算过程,进行所取故障数据的暂态稳定计算;5) The designated calculation core has a vacant calculation core, and a set of parameters is taken from the data queue, and the transient stability calculation process is started on the idle core, and the transient stability calculation of the fault data taken is performed;

6)在一个探测周期内,当探测到暂态稳定计算结束,就立即启动结果解析过程,实施电网事故计算结果进行归类分析,结果分析完成,即一个故障计算的完成,退出本次故障计算,跳转到8);6) In a detection cycle, when the transient stability calculation is detected, the result analysis process is started immediately, and the power grid accident calculation results are classified and analyzed. After the result analysis is completed, that is, a fault calculation is completed, and the fault calculation is exited. , jump to 8);

7)所有并行的暂态稳定计算耗时时长超过指定的僵死限定阀值,强行终止超过阀值的暂态稳定计算过程,跳转到8);7) All parallel transient stability calculations take longer than the specified dead limit threshold, forcibly terminate the transient stability calculation process exceeding the threshold, and jump to 8);

8)结束计算,立即释放占用的计算核和数据参数队列;8) End the calculation, and immediately release the occupied calculation core and data parameter queue;

9)填充并行数据队列过程中,当前故障作业还有未填充的故障数据,就将其填充到空置的数据队列中;9) In the process of filling the parallel data queue, if the current fault job still has unfilled fault data, it will be filled into the vacant data queue;

本发明提供的第五优选方案的计算方法,其改进之处在于,所述自动负载平衡计算步骤为:The calculation method of the fifth preferred solution provided by the present invention is improved in that the automatic load balancing calculation step is:

I.根据指定的核数建立与之相等的数据队列;I. Establish a data queue equal to the specified number of cores;

II.计算数据队列中存在空闲队列时,从所述步骤(4)分解得到的故障数据队列中取一组单一故障数据填充到空闲数据队列中,指定被暂态稳定计算程序应用前一直保留在队列中;II. When there is an idle queue in the calculation data queue, get a group of single fault data from the fault data queue obtained by decomposing the step (4) and fill it into the idle data queue, and keep it in the idle data queue before it is designated to be applied by the transient stability calculation program in the queue;

III.所有队列已经填满数据,转入第V步;III. All queues have been filled with data, go to step V;

IV.指定的计算核有空置的计算核,从数据队列中取一组参数,在空闲的核上根据负载判断结果启动暂态稳定计算过程,进行所取故障数据的暂态稳定计算,动态负载判断公式如下:IV. The specified calculation core has a vacant calculation core, and a set of parameters is taken from the data queue, and the transient stability calculation process is started on the idle core according to the load judgment result, and the transient stability calculation of the fault data taken is performed, and the dynamic load The judgment formula is as follows:

RR cpucpu == 11 -- TT idleidle TT periodperiod RR memmeme == 11 -- Mm useuse Mm totaltotal RR cpucpu ≤≤ RR cc -- settingsetting RR memmeme ≤≤ RR mm -- settingsetting

本发明提供的第六优选方案的计算方法,其改进之处在于:所述步骤(2)的子步骤包括:The calculation method of the sixth preferred solution provided by the present invention is improved in that: the sub-steps of the step (2) include:

①选择计算收敛的基态方式数据;① Select the ground state mode data for calculation convergence;

②选择用于暂态稳定计算的故障集合数据;② Selection of fault set data for transient stability calculation;

③选择匹配于基态潮流方式的暂态稳定数据;③ Select the transient stability data matching the ground state power flow mode;

④将①-③获得的数据信息整合为一个独立的计算作业Ti④ Integrate the data information obtained in ①-③ into an independent computing operation T i ;

⑤重复①-④过程,建立两个以上独立计算作业,按权重因子P对任务优先级进行排序,形成计算优先序列,根据计算优先等级,布置计算任务的先后顺序;对于已经执行完成的作业,将权重因子P置零,在新的作业开始执行时,将重新按权重因子P对任务排序,因已经计算的作业权重因子P为0,被放置到降序末端;⑤Repeat the process ①-④, establish two or more independent computing jobs, sort the task priorities according to the weight factor P, form a computing priority sequence, and arrange the sequence of computing tasks according to the computing priority levels; for the jobs that have been executed, Set the weight factor P to zero, and when the new job starts to execute, the tasks will be sorted according to the weight factor P again, because the weight factor P of the job that has been calculated is 0, and it is placed at the end of the descending order;

建立双队列管理权重因子,其中一个队列管理设置的权重因子,另一个用于管理计算时的权重因子的变化。Establish dual queue management weight factors, one of which is used to manage the weight factor set by the queue, and the other is used to manage the change of the weight factor during calculation.

本发明提供的第七优选方案的计算方法,其改进之处在于,所述步骤⑤中按照动态变化优先权重系统,实现序列化级联批量运算作业的动态执行,其执行权重由双队列[p1,p2,....,pN]T列向量控制,静态反应手工设定控制,动态反应执行和计算过程中对未计算作业的动态执行顺序变更,对执行完成暂态稳定计算的动态系数pi置零,对未执行的作业,在确定下一次作业时,按列向量降序实现计算作业的冒泡选择。The calculation method of the seventh preferred solution provided by the present invention is improved in that, in the step ⑤, according to the dynamic change priority weight system, the dynamic execution of serialized cascading batch operation operations is realized, and its execution weight is determined by the double queue [p 1 , p 2 , ...., p N ] T column vector control, static response manual setting control, dynamic response execution and dynamic execution order change of uncalculated jobs during execution and calculation, and completion of transient stability calculation during execution The dynamic coefficient pi is set to zero, and for unexecuted jobs, when determining the next job, the bubble selection of computing jobs is realized in descending order of column vectors.

本发明提供的第八优选方案的计算方法,其改进之处在于:所述步骤(c)中给出的暂态稳定计算结束判断分步判断探测周期的经验值为1秒。The calculation method of the eighth preferred solution provided by the present invention is improved in that: the empirical value of the step-by-step judgment and detection period of the transient stability calculation end judgment given in the step (c) is 1 second.

与现有技术比,本发明的有益效果为:Compared with the prior art, the beneficial effects of the present invention are:

实现海量故障批量计算的三种计算模式,三种模式之间可以无缝切换,切换之后不影响已经执行的暂态稳定计算项。Three calculation modes for batch calculation of massive faults can be seamlessly switched between the three modes, and the transient stability calculation items that have been executed will not be affected after switching.

无论暂态稳定故障项计算采用何种模式,多个作业间采用串行序列化计算方法,通过引入计算优先级权重因子,动态调整未计算作业的计算优先顺序,使动态控制作业的计算先后成为可能。No matter what mode is used for the calculation of transient stability fault items, the serialized calculation method is adopted among multiple jobs. By introducing the calculation priority weight factor, the calculation priority of uncalculated tasks is dynamically adjusted, so that the calculation of dynamic control tasks becomes possible.

对于暂态稳定计算过程的监视判断周期给出工程经验值,并理论分析过短或过长都将影响计算效率的结论。设计的多核的异步启动并行执行的批量故障计算模式,能迅速提升暂态稳定计算的效率。For the monitoring and judgment period of the transient stability calculation process, the engineering experience value is given, and the theoretical analysis concludes that if it is too short or too long, it will affect the calculation efficiency. The designed multi-core asynchronous start and parallel execution batch fault calculation mode can rapidly improve the efficiency of transient stability calculation.

在暂态稳定计算中,引入负载率因素,设计计算机负载率判断模式,以适合日常办公条件下,进行暂态稳定批量计算的方法,能充分利用计算机空闲间隔和最大发挥其处理能力,提高暂态稳定计算效率。In the calculation of transient stability, the load rate factor is introduced, and the computer load rate judgment mode is designed to suit the daily office conditions. The method of batch calculation of transient stability can make full use of the idle interval of the computer and maximize its processing capacity, and improve the temporary stability. State stability computing efficiency.

本发明不通过改动暂态稳定计算算法和实现形式,实现的并行批量计算是基于任务解耦方式,在实现海量故障计算并行计算的同时,保证暂态稳定计算本身的独立性。The invention does not change the transient stability calculation algorithm and implementation form, and realizes the parallel batch calculation based on the task decoupling mode, which ensures the independence of the transient stability calculation itself while realizing the parallel calculation of massive fault calculations.

基本级联串行批量计算方式实现暂态稳定故障的串行序列化批量计算,是基本的计算形式;带指定核数的并行批量计算模式实现了多计算核下多个暂态稳定计算的异步启动、并行计算,能满足无人值守的全自动化高效率计算分析;动态自动负载平衡的批量计算模式是考虑与其它非计算任务协调,满足计算舒适感和工作选择性的自动工作模式,在此方式下能实现计算休眠、级联批量计算和并行批量计算的自动转换。在实际故障作业计算过程中,能通过人工干预,在不中断全部作业整个计算流程条件下,实现三种计算模式自由切换。The basic cascade serial batch calculation method realizes the serial serialized batch calculation of transient stability faults, which is the basic calculation form; the parallel batch calculation mode with a specified number of cores realizes the asynchronous calculation of multiple transient stability calculations under multiple computing cores Start-up and parallel computing can satisfy unattended fully automated high-efficiency computing analysis; the batch computing mode of dynamic automatic load balancing is an automatic working mode that considers coordination with other non-computing tasks and satisfies computing comfort and work selectivity. Here In this way, the automatic conversion of computing sleep, cascading batch computing and parallel batch computing can be realized. In the actual calculation process of faulty operations, the three calculation modes can be freely switched without interrupting the entire calculation process of all operations through manual intervention.

附图说明Description of drawings

图1:本发明提出的基于单机多核的提速电网暂态稳定计算效率的异步并行计算方法实现步骤框图;Figure 1: A block diagram of the implementation steps of the asynchronous parallel computing method for the transient stability calculation efficiency of the speed-up power grid based on the single-machine multi-core proposed by the present invention;

图2:单机串行批量处理暂态稳定计算子过程步骤框图;Figure 2: Block diagram of sub-process steps of single-machine serial batch processing transient stability calculation;

图3:单机多核并行批量处理暂态稳定计算子过程步骤框图;Figure 3: Block diagram of sub-process steps of transient stability calculation sub-process of single-machine multi-core parallel batch processing;

图4:单机多核带负载平衡的批量处理暂态稳定计算子过程步骤框图;Figure 4: Block diagram of sub-process steps of batch processing transient stability calculation with load balancing on a single machine;

图5:暂态稳定计算三种批量计算模式原理示意图,主要表明计算核对故障作业和故障项的计算处理过程。Figure 5: Schematic diagram of the principle of three batch calculation modes for transient stability calculation, which mainly shows the calculation and processing process of calculating and checking fault operations and fault items.

具体实施方式Detailed ways

本发明具体实施方式的框图如图2,基于单机多核的提速电网暂态稳定计算效率的异步并行计算方法包括如下步骤:The block diagram of the specific embodiment of the present invention is shown in Figure 2, and the asynchronous parallel computing method based on the single-machine multi-core speed-up power grid transient stability computing efficiency includes the following steps:

(1)根据电网分析计算要求,从电网网络潮流拓扑模型数据中,根据电网设备组成包括发电机、母线、交流线路、变压器、暂态稳定器、直流设备等,形成电网暂态稳定分析要求的故障集。实现基于电网稳态模型的潮流计算,形成电网仿真计算的基态运行方式。建立于基态潮流水平相适应的电网暂态稳定模型参数,主要包括电网内发电机原动机模型、风电机组及控制系统模型、励磁调节器模型、调速器模型、直流控制系统模型、电力系统稳定器模型、静态和动态负荷模型、SVC/STATCOM/FLC等电力电子设备模型、电网零序包括变压器零序及线路零序模型等。并对需要研究电网进行多种基态方式准备,包括枯大、枯小、丰大、丰小等,保证基态潮流方式的收敛;按照分析目的例如N-1故障扫描、N-2故障筛选等的差异建立不同类别故障集合,并调整电网暂态稳定模型。(1) According to the requirements of power grid analysis and calculation, from the power flow topology model data of the power grid network, according to the composition of power grid equipment including generators, busbars, AC lines, transformers, transient stabilizers, DC equipment, etc., form the transient stability analysis requirements of the power grid failure set. Realize the power flow calculation based on the steady state model of the power grid, and form the base state operation mode of the power grid simulation calculation. The parameters of the transient stability model of the power grid established based on the level of the ground state power flow, mainly include the prime mover model of the generator in the power grid, the wind turbine and its control system model, the excitation regulator model, the governor model, the DC control system model, and the power system stability model. Transformer model, static and dynamic load model, SVC/STATCOM/FLC and other power electronic equipment models, power grid zero sequence including transformer zero sequence and line zero sequence models, etc. And prepare for various ground state methods for the power grid that needs to be studied, including large dry, small dry, large large, small full, etc., to ensure the convergence of the ground state power flow mode; according to the analysis purpose such as N-1 fault scanning, N-2 fault screening, etc. The difference sets up different types of fault sets and adjusts the transient stability model of the power grid.

(2)确定基态潮流、故障集与暂态稳定模型对应关系,构建暂态稳定计算作业任务组。以任务单元形式,形成全部分析目标的作业批量任务组,即作业任务批队列数据。作业批队列按串行序列化模式执行,因此应按计算的优先等级依次形成暂态稳定计算关联数据对。本步骤分项操作包括:(2) Determine the corresponding relationship between the ground state power flow, fault set and transient stability model, and build a task group for transient stability calculation. In the form of task units, the job batch task group of all analysis targets is formed, that is, the job task batch queue data. The job batch queue is executed in serial serialization mode, so the associated data pairs for transient stability calculations should be formed in sequence according to the priority of calculations. The sub-items of this step include:

①选择计算收敛的基态方式数据;① Select the ground state mode data for calculation convergence;

②选择用于暂态稳定计算的故障集合数据;② Selection of fault set data for transient stability calculation;

③选择匹配于基态潮流方式的暂态稳定数据;③ Select the transient stability data matching the ground state power flow mode;

④将①-③获得的数据信息整合为一个独立的计算作业Ti,其中T代表作业,i代表本次作业产生的序号,必须依次累加。④Integrate the data information obtained from ①-③ into an independent calculation operation T i , where T represents the operation, and i represents the sequence number generated by this operation, which must be accumulated sequentially.

⑤重复①-④过程,建立多个独立计算作业,根据计算优先等级,布置计算任务的先后顺序,建立一个完整的批量作业任务集合

Figure BDA0000043391930000071
N代表设置的全部计算作业数。在单一作业中,设置有作业优先权重因子即P=[p1,p2,....,pN]T,权重因子Pi表明了作业优先级,为大于零的自然数。当作业序列执行时,按权重因子对任务优先级进行排序,形成计算优先序列。对于已经执行完成的作业,将权重因子置零,在新的作业开始执行时,将重新按权重因子对任务排序,因已经计算的作业权重因子为0,被放置到降序末端,新的作业权重因子如果为0,表明所有计算作业已经结束,否则就启动该作业进行计算。为了保存权重因子供下次应用,要建立双队列管理权重因子,其中一个队列管理设置的权重因子,另一个用于管理计算时的权重因子的变化。⑤ Repeat the process ①-④ to create multiple independent computing jobs, arrange the sequence of computing tasks according to the computing priority, and establish a complete set of batch job tasks
Figure BDA0000043391930000071
N represents the number of all calculation jobs set. In a single job, a job priority weight factor is set, that is, P=[p 1 , p 2 , ..., p N ] T , and the weight factor P i indicates the job priority, which is a natural number greater than zero. When the job sequence is executed, the task priorities are sorted by weight factors to form a computing priority sequence. For the jobs that have been executed, the weight factor is set to zero. When the new job starts to execute, the tasks will be sorted according to the weight factor again. Because the weight factor of the job that has been calculated is 0, it is placed at the end of the descending order, and the new job weight If the factor is 0, it indicates that all calculation jobs have ended, otherwise, the job is started for calculation. In order to save the weight factor for the next application, it is necessary to establish a dual queue management weight factor, one of which manages the weight factor set by the queue, and the other is used to manage the change of the weight factor during calculation.

在步骤⑤中按照动态变化优先权重系统,实现序列化级联批量运算作业的动态执行。其执行权重由双队列[p1,p2,....,pN]T列向量控制,静态反应手工设定控制,动态反应执行和计算过程中对未计算作业的动态执行顺序变更。对执行完成暂态稳定计算的动态系数pi置零,对未执行的作业,在确定下一次作业时,按列向量降序实现计算作业的冒泡选择。In step ⑤, according to the dynamic change priority weight system, the dynamic execution of serialized and cascaded batch computing jobs is realized. Its execution weight is controlled by double-queue [p 1 , p 2 , ..., p N ] T column vectors, static response is controlled by manual setting, and dynamic response is the change of dynamic execution order of uncalculated jobs during execution and calculation. The dynamic coefficient p i of the completed transient stability calculation is set to zero, and for the unexecuted job, when the next job is determined, the bubbling selection of the calculation job is realized according to the descending order of the column vector.

(3)启动单组暂态稳定作业计算。在计算前,要考虑重新判断潮流基态方式、故障集文件和暂态模型数据的完整性和有效性,因为在电网仿真计算过程中,数据建模和修改、方式计算和动态模型参数调整、具体故障数据的设置都可能被手工改变,只有考虑数据的修改变化,才可能满足最新暂态稳定计算分析需求,因此在启动计算前一时刻,对数据的完整性和有效性判断有利于整个并行批量的可靠性和高效性。完整性判断包括基态数据存在性、故障集数据的存在性、暂态模型数据的存在性三个判断;有效性判断包括故障集合内单一故障的合理性和有效性判断;另外还要检查基态潮流是否收敛,稳定模型参数设置是否有效,自动判断计算结果稳定性判断是否存在且有效,如果不存在人工设置判断稳定性定值,就结合专家知识取缺省的判断稳定定值。(3) Start the single-group transient stability calculation. Before calculation, it is necessary to consider re-judging the completeness and validity of power flow base state mode, fault set file and transient model data, because in the process of power grid simulation calculation, data modeling and modification, mode calculation and dynamic model parameter adjustment, specific The settings of the fault data may be changed manually. Only by considering the modification and change of the data can the latest transient stability calculation and analysis requirements be met. Therefore, at the moment before the calculation is started, the judgment of the integrity and validity of the data is beneficial to the entire parallel batch reliability and efficiency. Integrity judgment includes three judgments: the existence of ground state data, the existence of fault set data, and the existence of transient model data; the validity judgment includes the rationality and validity judgment of a single fault in the fault set; in addition, it is necessary to check the ground state power flow Whether it is converged, whether the parameter setting of the stable model is valid, and whether the stability judgment of the calculation result exists and is valid automatically. If there is no manual setting of the judgment stability value, the default judgment stability value is taken in combination with expert knowledge.

(4)针对当前作业故障集数据,将其分解为单一的故障数据队列。分解时,按格式行操作,在故障集数据中,每个故障行通过间隔行开始,间隔行内包括故障间隔标示符、故障计算名称及故障结果数据名称三个数据域,其中故障名称及故障结果数据名称域允许不存在,本方法能根据名称形成规则自动产生。(4) For the fault set data of the current job, decompose it into a single fault data queue. When decomposing, operate according to the format row. In the fault set data, each fault row starts with an interval row, and the interval row includes three data fields: fault interval identifier, fault calculation name, and fault result data name. Among them, fault name and fault result The data name field is allowed to be absent, and this method can be automatically generated according to the name formation rules.

(5)按照指定的计算模式实施选定的故障集暂态稳定批量计算。本方法将计算模式分为三种类型:基本级联串行批量计算方式、带指定核数的并行批量计算模式、采取动态自动负载平衡的批量计算模式。三种计算模式可以在计算过程中随时进行切换。根据指定的模式分三个分支进行单一故障集合暂态稳定计算,步骤分别是:(5) Carry out the batch calculation of transient stability of the selected fault set according to the specified calculation mode. This method divides the calculation mode into three types: the basic cascade serial batch calculation mode, the parallel batch calculation mode with a specified number of cores, and the batch calculation mode with dynamic automatic load balancing. The three calculation modes can be switched at any time during the calculation process. According to the specified mode, the single fault set transient stability calculation is divided into three branches, and the steps are as follows:

基本级联串行批量计算方式。级联模式是一种串行自动计算暂态稳定故障模式。它将故障集中一个个故障拆开,将故障数据、暂态稳定模型数据、方式数据不断配对,传递给暂态稳定计算核,由计算核完成暂态稳定计算。该方式的子过程步骤如下:Basic cascading serial batch calculation method. Cascade mode is a serial automatic calculation of transient stability failure modes. It disassembles the faults one by one in the fault set, continuously matches the fault data, transient stability model data, and mode data, and transmits them to the transient stability calculation core, which completes the transient stability calculation. The sub-process steps of this method are as follows:

(a)从第(4)步分解得到的故障数据队列中取一组单一故障数据,与方式数据、暂态稳定模型数据配对形成计算数据组。(a) Take a group of single fault data from the fault data queue decomposed in step (4), and pair them with mode data and transient stability model data to form a calculation data group.

(b)带(a)计算数据组启动暂态稳定计算核,开始单一故障形式的暂态稳定计算。(b) Start the transient stability calculation core with the calculation data set in (a), and start the transient stability calculation in the form of a single fault.

(c)通过不断监视暂态稳定计算进度,判断计算是否结束。如果结束,就跳转到(e)。如果没有结束,就等待一个判断周期。判断周期表现为延时Td,默认值Td为1秒。延时时间的指定直接影响级联计算的效率,如果设置过长,那么最后一次判断计算结束的时间等待理论上极限接近Td,因为如果在一开始进入等待时,计算刚好结束,再次回来判断的时间刚好要延迟一个Td。如果考虑最坏情况,以平均一个作业N个故障,共M个作业,那么因轮循检查浪费的极限时间为:N×M×Td,单位为秒。因此,延时Td每增加1秒,整个级联计算延时浪费就放大N×M秒。延时定值也不能过短,因为过短将导致判断的频次增加,也可能导致计算效率降低。(c) By continuously monitoring the progress of the transient stability calculation, it is judged whether the calculation is over. If it ends, jump to (e). If it is not over, just wait for a judgment cycle. The judging period is expressed as a delay T d , and the default value T d is 1 second. The specified delay time directly affects the efficiency of cascaded calculations. If the setting is too long, the theoretical limit of the waiting time for the last judgment of the end of the calculation is close to T d , because if the calculation just ends when it enters the wait at the beginning, come back to judge again The time is just delayed by a T d . If the worst case is considered, with an average of N faults in one job and a total of M jobs, then the limit time wasted due to round robin inspection is: N×M×T d , the unit is second. Therefore, every time the delay T d increases by 1 second, the entire cascaded calculation delay waste will be enlarged by N×M seconds. The delay setting value cannot be too short, because too short will lead to an increase in the frequency of judgment, and may also lead to a decrease in calculation efficiency.

约定每次暂态稳定计算耗时相等。有下列表达式成立:It is agreed that each transient stability calculation takes the same amount of time. The following expressions hold:

(N0+1)×T0=(T0+ΔTε)×Nε (N 0 +1)×T 0 =(T 0 +ΔT ε )×N ε

T0为默认的初始延时定值,N0为均匀判断单次暂态稳定计算需要的次数(假定判断时隔是均匀的,不受机器工况变化),那么考虑判断本身耗费的时间,最少判断单次暂态稳定计算结束的次数至少为(N0+1)。如果延时定值的变化量用ΔTε表示,而因延时定值变化导致判断总次数为Nε,那么因延时定值改变而导致的判断次数变化为:T 0 is the default initial delay value, N 0 is the number of times needed for uniform judgment of single transient stability calculation (assuming that the judgment interval is uniform and not subject to changes in machine conditions), then consider the time spent on judgment itself, The minimum number of times for judging the end of a single transient stability calculation is at least (N 0 +1). If the variation of the delay setting value is represented by ΔT ε , and the total number of judgments due to the change of the delay setting value is N ε , then the change of the number of judgments due to the change of the delay setting value is:

ΔNΔN == NN ϵϵ -- (( NN 00 ++ 11 )) == -- ΔΔ TT ϵϵ TT 00 ++ ΔΔ TT ϵϵ ×× (( NN 00 ++ 11 ))

考虑出入过程转换时间开销ΔTω,那么,当延时时间缩短,即ΔTε小于0时,ΔN为正值,可用绝对值表示,因延时值缩短导致的判断耗时增加有下列表达式成立:Considering the conversion time cost ΔT ω of the entry and exit process, then, when the delay time is shortened, that is, when ΔT ε is less than 0, ΔN is a positive value, which can be expressed as an absolute value, and the following expression holds true for the increase in judgment time due to the shortened delay value :

|| ΔΔ TT ϵϵ TT 00 ++ ΔΔ TT ϵϵ ×× (( NN 00 ++ 11 )) || ×× ΔΔ TT ωω -- TT 00

因出入判断过程的时间一般在微妙到毫秒一级,因此有ΔTω<<T0,所以一定程度上减小T0会提高级联计算效率,但如果设定太小,导致

Figure BDA0000043391930000093
情况就会相反,因此设置太小的延迟判断时间值也不可取。Because the time of the entry and exit judgment process is generally at the level of milliseconds, there is ΔT ω <<T 0 , so reducing T 0 to a certain extent will improve the cascade calculation efficiency, but if it is set too small, it will cause
Figure BDA0000043391930000093
The situation will be the opposite, so it is not advisable to set too small a delay judgment time value.

在单个暂态稳定计算过程中,为判断暂态稳定计算过程是否结束,建议探测周期的经验值设定为1秒,防止过长或过短造成的对整个计算时间的影响。In a single transient stability calculation process, in order to judge whether the transient stability calculation process is over, it is recommended that the empirical value of the detection cycle be set to 1 second to prevent the impact on the entire calculation time caused by too long or too short.

(d)对每次判断探测时间进行累计,并与设定的最大暂态稳定计算耗时阀值进行比对,如果超过预先设定的阀值,就强行终止暂态稳定计算过程,并将强行操作过程记录在故障计算结果中。设置最大暂态稳定计算耗时阀值,是为了防止暂态稳定计算程序的僵死,因求解矩阵、数据整合、匹配、统计可能存在问题,将导致暂态稳定计算死锁,使得级联计算无法持续进行。由于设置暂态稳定计算僵死阀值,从技术上有效解决了级联计算整体失败概率,提高了整个计算的可靠性。(d) Accumulate the detection time for each judgment and compare it with the set maximum transient stability calculation time-consuming threshold. If it exceeds the preset threshold, the transient stability calculation process is forcibly terminated, and the The forced operation process is recorded in the fault calculation result. The purpose of setting the maximum time-consuming threshold for transient stability calculation is to prevent the rigidity of the transient stability calculation program. There may be problems in solving the matrix, data integration, matching, and statistics, which will lead to a deadlock in the transient stability calculation, making the cascade calculation impossible. Ongoing. Since the dead threshold of transient stability calculation is set, the overall failure probability of cascade calculation is technically effectively solved, and the reliability of the entire calculation is improved.

(e)当暂态稳定计算结束后,需提取结果进行稳定性判断分析,稳定性判断结论包括稳定和不稳定性判别。不稳定性质根据电网失去稳定的种类又包括攻角失稳、动态失稳、电压失稳、频率失稳等类别。稳定结果判别完成,表明一次故障计算完成,将相关结论放置到结果列表中,退出本次故障计算。(e) After the transient stability calculation is completed, the results need to be extracted for stability judgment analysis, and the stability judgment conclusion includes the judgment of stability and instability. According to the type of power grid instability, the instability properties include angle-of-attack instability, dynamic instability, voltage instability, and frequency instability. The completion of the stable result judgment indicates that a fault calculation is completed, and the relevant conclusions are placed in the result list, and this fault calculation is exited.

(f)提取故障数据队列数据项,如果还存在故障数据,进入下一个故障项计算过程,回到第(a)步骤。如果当前计算作业内容中的所有故障已计算完成,汇总本次作业中所有结果结果,形成统计摘要,然后退出本次作业计算。(f) Extract the data item of the fault data queue, if there is still fault data, enter the calculation process of the next fault item, and return to step (a). If all the faults in the current calculation job content have been calculated, summarize all the results in this job to form a statistical summary, and then exit the job calculation.

带指定核数的并行批量计算模式。本方法支持多核计算机暂态稳定并发计算,在实现并行计算前,要在计算机允许最大核数范围内指定用于暂态稳定计算的CPU核数。计算只与计算机的核数相关,与计算机的类型和CPU个数无关,支持单一的个人台式机、笔记本和服务器。必须指定一个以上的核数,才从理论上启动批量并行计算。其子过程步骤如下:Parallel batch computing mode with specified number of cores. This method supports multi-core computer transient stability concurrent calculation. Before realizing parallel calculation, the number of CPU cores used for transient stability calculation must be specified within the range of the maximum number of cores allowed by the computer. Computation is only related to the number of cores of the computer, and has nothing to do with the type of computer and the number of CPUs. It supports a single personal desktop, notebook and server. You must specify more than one core number to theoretically start batch parallel computing. Its sub-process steps are as follows:

1)判断多核存在且设定值大于1。如果存在且设定值大于1,直接跳转到步骤2);否则,进入基本级联串行批量计算过程。1) Judging that multi-core exists and the setting value is greater than 1. If it exists and the set value is greater than 1, jump directly to step 2); otherwise, enter the basic cascade serial batch calculation process.

2)根据指定的核数建立与之相等的数据队列。在并行批量计算过程中,按耗时排序依次为数据导入导出、暂态稳定计算、故障集分解、暂态稳定结果分析、暂态稳定计算数据准备。为避免暂态稳定计算等待和提高整体计算效率,必须是在一有计算机核空置时,就立即启动暂态稳定计算,因此总是在启动暂态稳定计算前,将所有并行数据队列全部填充上要求的计算参数数据。因故障数据准备时间相对暂态稳定计算要短,因此不会出现数据计算核空置出现,而数据还没有完全准备好的情况。正常运行状态下,总是并行数据队列准备就绪后,等待暂态稳定计算完成。2) Establish a data queue equal to the specified number of cores. In the parallel batch calculation process, data import and export, transient stability calculation, fault set decomposition, transient stability result analysis, and transient stability calculation data preparation are sequenced in order of time consumption. In order to avoid waiting for transient stability calculation and improve the overall calculation efficiency, the transient stability calculation must be started as soon as a computer core is vacant. Therefore, all parallel data queues are always filled before starting the transient stability calculation. Required calculation parameter data. Because the fault data preparation time is shorter than the transient stability calculation, there will be no data calculation core vacancy, and the data is not yet fully prepared. In normal operation, it always waits for the completion of transient stability calculation after the parallel data queue is ready.

3)判断计算数据队列中是否存在空闲队列。如果存在空闲队列,立即从第(4)步分解得到的故障数据队列中取一组单一故障数据填充到空闲数据队列中,指定被暂态稳定计算程序应用前一直保留在队列中。如果不存在空闲数据队列,就进入任务等待,等待任何一个已经启动暂态稳定计算过程结束后,释放出数据队列。3) Judging whether there is an idle queue in the computing data queue. If there is an idle queue, immediately take a group of single fault data from the fault data queue decomposed in step (4) and fill it into the idle data queue, and keep it in the queue until it is specified to be applied by the transient stability calculation program. If there is no idle data queue, it enters the task waiting, and waits for any one that has started the transient stability calculation process to end, and then releases the data queue.

4)判断所有队列是否已经填满数据,如果已经填满,就转入第5)步;否则转入第9)步。4) Judging whether all the queues have been filled with data, if they have been filled, then go to step 5); otherwise, go to step 9).

5)判断是否指定的计算核全部繁忙,如果有空置的计算核,立即从数据队列中取一组参数,在空闲的核上启动暂态稳定计算过程,进行所取故障数据的暂态稳定计算。只要启动暂态稳定计算,将建立暂态稳定计算监视线程,以便以一定的探测时间通过轮询方式,实时探测计算结束状态。5) Judging whether all the designated calculation cores are busy, if there are vacant calculation cores, immediately take a set of parameters from the data queue, start the transient stability calculation process on the idle cores, and perform the transient stability calculation of the fault data taken . As long as the transient stability calculation is started, a transient stability calculation monitoring thread will be established to detect the end state of the calculation in real time through polling with a certain detection time.

6)在一个探测周期内,当探测到暂态稳定计算结束,就立即启动结果解析过程,实施电网事故计算结果进行归类分析,包括稳定定性判断,不稳定归类判断,以及最低电压点统计分析、功角变化最大幅度统计分析等。结果分析完成,表明一个故障计算的完成,退出本次故障计算,跳转到8)。如果一个探测周期内,没有探测到任何暂态稳定计算结束,将记录暂态稳定计算经历的耗时时长。6) In a detection cycle, when the transient stability calculation is detected, the result analysis process is immediately started, and the power grid accident calculation results are classified and analyzed, including stability qualitative judgment, unstable classification judgment, and minimum voltage point statistics Analysis, statistical analysis of the largest change in power angle, etc. The result analysis is completed, indicating the completion of a fault calculation, exit this fault calculation, and jump to 8). If no end of transient stability calculation is detected within a detection period, the time-consuming time of transient stability calculation will be recorded.

7)判断所有并行的暂态稳定计算耗时时长是否超过指定的僵死限定阀值,如果超过僵死限定阀值,就强行终止超过阀值的暂态稳定计算过程,跳转到8)。如果没有超过限定阀值,就进入下一个探测周期,跳转到6)。在每一个暂态稳定计算启动时,都开启一个计数器Ti,i表示启动的暂态稳定计算过程序号。对每个计算过程存在一个Ti=K×ΔT,每一个计算过程都有自己的K值,只有启动之后,K才开始计数,当K×ΔT大于Tsetting,Tsetting为僵死阀值,说明暂态稳定计算超时,将启动计算终止过程。本方法对设置僵死阀值存在要求,不排除暂态稳定计算正常进行但耗时超长,因此可能存在提取终止正常计算的可能性,因此在设置时间阀值时,可以对研究电网进行一次暂态稳定计算试算,计算出计算的时间,然后增加一定的裕度,作为僵死限定阀值。一般情况下,时间裕度可取5到10分钟,僵死限定阀值一般小于30分钟。僵死限定阀值不能设定太小,如果设置过小,将导致大量暂态稳定计算失败,不是本方法所要推荐的,本方法主要目的是为了快速批量计算出大量的电网故障。7) Judging whether the time-consuming time of all parallel transient stability calculations exceeds the specified dead limit threshold, if it exceeds the dead limit threshold, the transient stability calculation process exceeding the threshold is forcibly terminated, and jumps to 8). If the limit threshold is not exceeded, enter the next detection cycle and jump to 6). When each transient stability calculation is started, a counter T i is opened, and i represents the program number of the started transient stability calculation. There is a T i =K×ΔT for each calculation process, each calculation process has its own K value, and K starts to count only after it is started, when K×ΔT is greater than T setting , T setting is the dead threshold value, indicating When the transient stability calculation times out, the calculation termination process will be initiated. This method has requirements for setting the dead threshold. It does not rule out that the transient stability calculation is carried out normally but takes too long, so there may be a possibility of terminating the normal calculation. Therefore, when setting the time threshold, a temporary calculation of the research grid can State stability calculation trial calculation, calculate the calculation time, and then add a certain margin as the dead limit threshold. In general, the time margin can be 5 to 10 minutes, and the deadlock limit threshold is generally less than 30 minutes. The dead limit threshold cannot be set too small. If it is set too small, a large number of transient stability calculations will fail, which is not recommended by this method. The main purpose of this method is to quickly calculate a large number of grid faults in batches.

8)无论是故障计算正常结束,还是超时限被迫结束。只有结束计算,就立即释放占用的计算核和数据参数队列。8) Either the failure calculation ends normally, or the overtime limit is forced to end. As long as the calculation is completed, the occupied calculation core and data parameter queue will be released immediately.

9)上接4),在填充并行数据队列过程中,如果当前故障作业还有未填充的故障数据,就将其填充到空置的数据队列中。如果没有要计算的故障数据,就进入判断全部暂态稳定计算是否结束,如果结束将结束本次作业,否则等待全部计算核空置。9) Continuing from 4), in the process of filling the parallel data queue, if the current fault job still has unfilled fault data, it will be filled into the vacant data queue. If there is no fault data to be calculated, it will enter to judge whether all transient stability calculations are over. If it is over, this operation will end, otherwise wait for all calculation cores to be vacant.

自动负载平衡计算模式。自动负载平衡模式是根据计算机动态负载情况来决定是否启动暂态稳定计算过程,在暂态稳定计算过程中,可能会涉及其它耗时业务启动,如果该业务优先级高于计算模式,如果缺少负载平衡动态机制,将导致资源的平均分配,势必影响操作者使用感觉和工作进度。自动负载平衡模式与带指定核数的并行批量计算模式非常类似,在执行流程和步骤上也基本按带指定核数的并行批量计算模式步骤进行,主要的区别步骤在于:Automatic load balancing calculation mode. The automatic load balancing mode decides whether to start the transient stability calculation process according to the dynamic load of the computer. During the transient stability calculation process, other time-consuming business startups may be involved. If the business priority is higher than the calculation mode, if there is no load A balanced dynamic mechanism will lead to an equal distribution of resources, which will inevitably affect the operator's feeling of use and work progress. The automatic load balancing mode is very similar to the parallel batch computing mode with a specified number of cores, and the execution process and steps are basically carried out according to the steps of the parallel batch computing mode with a specified number of cores. The main differences are:

I.在自动负载平衡模式下,并不事先判断指定核数是否一定要大于1,只要有指定核数,即使是指定1个核,设为最小计算要求,也将建立数据队列。也就是说本模式不进行第1)步判断。I. In the automatic load balancing mode, it is not judged in advance whether the specified number of cores must be greater than 1. As long as there is a specified number of cores, even if 1 core is specified, and the minimum calculation requirement is set, a data queue will be established. That is to say, this mode does not perform step 1) judgment.

II.在第5)步骤中,加入动态负载判断条件,是根据负载判断结果来启动暂态稳定计算过程,这比简单地只考虑计算核空闲更科学地利用计算系统资源。动态负载判断的原理如下:II. In step 5), dynamic load judgment conditions are added to start the transient stability calculation process according to the load judgment results, which makes more scientific use of computing system resources than simply considering the idleness of computing cores. The principle of dynamic load judgment is as follows:

RR cpucpu == 11 -- TT idleidle TT periodperiod RR memmeme == 11 -- Mm useuse Mm totaltotal RR cpucpu &le;&le; RR cc -- settingsetting RR memmeme &le;&le; RR mm -- settingsetting

上式中,Rcpu表示计算核占用率,Rmem为内存占用率,为自动负载平衡监视的两个关键指标,因为在暂态稳定计算过程中,影响计算速度和效率的主要是计算核的主频、内存占用量。Tperiod为自动负载计算时一个极其短的监视周期,Tidle为负载监视周期内计算核的空闲时间,它们的比值为当前计算核的空闲率,按归一化表示后,被1减得到及时的计算核负载率。Mtotal为自动负载计算时内存总量,Muse为自动负载计算时内存占用总量,它们的比值就是内存占用率。Rc-setting为计算核占用定值上限,Rm-setting为内存占用定值上限,如果计算核占用率和内存占用率小于等于其上限值,且存在空闲的计算核,就启动单个暂态稳定计算。一般Rc-setting取值为1/N(N为计算机总核数),Rm-setting一般取0.8。上述定值与计算机CPU的架构和类型有一定联系,其定值可根据具体机型进行适当调整。In the above formula, R cpu represents the computing core occupancy rate, and R mem represents the memory occupancy rate, which are two key indicators for automatic load balancing monitoring, because in the process of transient stability calculation, the calculation speed and efficiency are mainly affected by the computing core Main frequency, memory usage. T period is an extremely short monitoring period during automatic load calculation, and T idle is the idle time of the calculation core during the load monitoring period. Their ratio is the current idle rate of the calculation core. After normalization, it is subtracted by 1 to obtain timely Calculate the core load rate of . M total is the total amount of memory during automatic load calculation, M use is the total amount of memory usage during automatic load calculation, and their ratio is the memory usage. R c-setting is the upper limit of the calculation core occupancy, and R m-setting is the upper limit of the memory occupancy. If the calculation core occupancy and memory occupancy are less than or equal to the upper limit, and there is an idle computing core, a single temporary Calculation of state stability. Generally, the value of R c-setting is 1/N (N is the total number of cores of the computer), and R m-setting is generally 0.8. The above fixed values are related to the architecture and type of the computer CPU, and the fixed values can be properly adjusted according to the specific models.

(6)判断计算作业中全部故障数据是否全部计算完成,如果计算完成,将单一故障计算分析结果进行汇总,形成整个故障集的暂态稳定计算综合摘要报表,并保存和显示到报表中。如果计算没有完成,将继续第(5)步过程。(6) Judging whether all the fault data in the calculation operation have been calculated. If the calculation is completed, the single fault calculation and analysis results are summarized to form a comprehensive summary report of the transient stability calculation of the entire fault set, which is saved and displayed in the report. If the calculation is not completed, continue to step (5).

(7)判断全部暂态稳定计算作业是否完成,如果没有,就进入下一个作业计算即回返到第(3)步,否则,结束全部作业计算。(7) Judging whether all transient stability calculation operations are completed, if not, enter the next operation calculation and return to step (3), otherwise, end all operation calculations.

2、根据权力书要求1所叙述的单机多核的提速电网暂态稳定计算效率的异步并行计算方法,其特征在于:实现了多组作业多个故障批量计算的三种计算模式即基本级联串行批量计算方式、带指定核数的并行批量计算模式、采取动态自动负载平衡的批量计算模式。基本级联串行批量计算方式实现暂态稳定故障的串行序列化批量计算,是基本的计算形式;带指定核数的并行批量计算模式实现了多计算核下多个暂态稳定计算的异步启动、并行计算,能满足无人值守的全自动化高效率计算分析;动态自动负载平衡的批量计算模式是考虑与其它非计算任务协调,满足计算舒适感和工作选择性的自动工作模式,在此方式下能实现计算休眠、级联批量计算和并行批量计算的自动转换。在实际故障作业计算过程中,能通过人工干预,在不中断全部作业整个计算流程条件下,实现三种计算模式自由切换。2. According to the asynchronous parallel calculation method of single-machine multi-core speed-up power grid transient stability calculation efficiency described in requirement 1 of the power letter, it is characterized in that it realizes three calculation modes of batch calculation of multiple groups of operations and multiple faults, that is, basic cascade series Row batch computing mode, parallel batch computing mode with specified number of cores, batch computing mode with dynamic automatic load balancing. The basic cascade serial batch calculation method realizes the serial serialized batch calculation of transient stability faults, which is the basic calculation form; the parallel batch calculation mode with a specified number of cores realizes the asynchronous calculation of multiple transient stability calculations under multiple computing cores Start-up and parallel computing can satisfy unattended fully automated high-efficiency computing analysis; the batch computing mode of dynamic automatic load balancing is an automatic working mode that considers coordination with other non-computing tasks and satisfies computing comfort and work selectivity. Here In this way, the automatic conversion of computing sleep, cascading batch computing and parallel batch computing can be realized. In the actual calculation process of faulty operations, the three calculation modes can be freely switched without interrupting the entire calculation process of all operations through manual intervention.

本发明在基于PSD-BPA内核的新一代电网仿真分析平台中得到开发验证,形成的独立组建已集成到电网仿真分析平台中,在某电网特高压安全稳定适应性研究、某互联大电网安全性深化研究、某风电厂风电接入系统及运行控制研究、电网安全稳定控制策略计算分析研究中得到大量应用。为检验其功能及提速效率,随机抽取一台工作计算机进行暂态稳定计算测试。其过程如下:The present invention has been developed and verified in a new generation power grid simulation analysis platform based on the PSD-BPA core, and the formed independent components have been integrated into the power grid simulation analysis platform, and can be used in the research on the safety and stability adaptability of a certain power grid UHV, the security of a certain interconnected large power grid It has been widely used in in-depth research, research on wind power access system and operation control of a wind power plant, and calculation and analysis of power grid security and stability control strategies. In order to test its function and speed-up efficiency, a working computer is randomly selected for transient stability calculation test. The process is as follows:

一.随机选取工作计算机。1. Select a working computer at random.

测试选取Dell OPTIPLEX 960台式机,操作系统采用32位

Figure BDA0000043391930000121
Basic(EM)32-Bit,处理器为双计算核2Quad CPU Q9400,主频率为2.66GHz,安装内存为2.00GB,硬盘450G。The test selects Dell OPTIPLEX 960 desktop, and the operating system uses 32 bits
Figure BDA0000043391930000121
Basic (EM) 32-Bit, the processor is a dual computing core 2Quad CPU Q9400, the main frequency is 2.66GHz, the installed memory is 2.00GB, and the hard disk is 450G.

二.确定测试案例。2. Determine the test case.

选取某区域电网模型数据,共有节点2332个母线节点,拥有线路支路数1731个,拥有变压器支路数1738个。准备潮流数据文件,稳定数据文件,4个故障集文件分别包括10个故障、50个故障、100个故障和300故障。Selecting the model data of a regional power grid, there are a total of 2332 bus nodes, 1731 line branches and 1738 transformer branches. Prepare tidal current data files, stable data files, and 4 fault set files including 10 faults, 50 faults, 100 faults and 300 faults respectively.

三.进行测试并记录测试结果。3. Conduct the test and record the test results.

测试分两个时段进行,对每个时段而言,采用相同的测试方式。即分别按单任务串行批处理、双核并行批处理、带负载平衡的批处理进行,并对作业计算启止时间进行记录。在进行带负荷平衡测试时,在计算机上按正常的工作方式操作,例如编写报告,浏览资料,收发邮件等。测试结果见下表:The test is carried out in two periods, and the same test method is used for each period. That is to say, it is carried out according to single-task serial batch processing, dual-core parallel batch processing, and batch processing with load balancing, and records the start and stop time of job calculation. When carrying out the load balancing test, operate on the computer according to the normal working method, such as writing reports, browsing materials, sending and receiving emails, etc. The test results are shown in the table below:

表1测试时间1测试结果Table 1 Test time 1 Test results

Figure BDA0000043391930000131
Figure BDA0000043391930000131

表2测试时间2测试结果Table 2 Test time 2 Test results

四.分析测试结果。4. Analyze the test results.

通过对测试结果数据分析,本发明方法能满足海量电网故障批量计算要求,在实施电网暂态稳定计算时,能取得明显提速效果,测试过程及数据表明:Through the data analysis of test results, the method of the present invention can meet the batch calculation requirements of massive power grid faults, and can achieve obvious speed-up effects when implementing power grid transient stability calculations. The test process and data show that:

可以实现无人值守暂态稳定并行批量计算;Unattended transient stability parallel batch calculation can be realized;

进一步提高暂态稳定计算速度,可以在计算硬件架构支持情况下,通过增加计算机核数实现并行批量计算。To further improve the calculation speed of transient stability, parallel batch calculation can be realized by increasing the number of computer cores under the support of the computing hardware architecture.

能实现暂态稳定计算及结果统计分析的同步进行;It can realize the synchronization of transient stability calculation and result statistical analysis;

并行批量暂态稳定计算能大幅度提升故障计算速度,并行批计算比串行批计算提速比大于等于3.1倍;Parallel batch transient stability calculation can greatly improve the fault calculation speed, and the speedup ratio of parallel batch calculation is greater than or equal to 3.1 times than serial batch calculation;

并行批处理提速稳定性好,通过两次重复算例测试中,同一故障集耗时接近;Parallel batch processing has good speed-up and stability, and the time-consuming of the same fault set is close to that of two repeated calculation example tests;

带负荷平衡的批量计算,其提速受计算机工作工况的限制,当计算负荷重时,对整个计算效率有影响,但通过测试案例分析,即使在重负荷量情况下,也能充分利用计算机资源,提高暂态稳定计算速度,能适应多种工况下暂态稳定计算的批量自动计算。Batch calculation with load balancing, its speed is limited by the working conditions of the computer, when the calculation load is heavy, it will affect the overall calculation efficiency, but through the test case analysis, even under heavy load conditions, computer resources can be fully utilized , improve the calculation speed of transient stability, and can adapt to batch automatic calculation of transient stability calculation under various working conditions.

Claims (9)

1. based on unit multinuclear pattern speed-raising electrical network transient stability asynchronous parallel computing method, it is characterized in that described method comprises the steps:
(1) determines the ground state method of operation that grid simulation calculates, set up the electrical network transient stability model parameter that ground state trend level adapts, and needs research electrical network is carried out the ground state mode prepare; Set up different classes of failure collection according to the difference of analysis purpose, and adjust electrical network transient stability model;
(2) determine ground state trend, fault collection and transient stability model corresponding relation, make up transient stability computational tasks task groups, with the TU task unit form, form the job patch task groups of whole evaluating objects, be job task batch queue data, the job batch formation is carried out by the serial sequence pattern, and it is right promptly to form transient stability compute associations data successively by the priority level of calculating;
(3) integrality of judgment data and validity are opened the transient stability operation and are calculated;
(4) be single fault data formation with current operation fault collection data decomposition;
(5) implementing selected fault collection transient stability according to the computation schema of appointment calculates in batches;
(6) transient stability that forms whole fault collection calculates the comprehensive summary form;
(7) finishing whole operations after all the transient stability computational tasks is finished calculates.
2. computing method as claimed in claim 1 is characterized in that, described integrality judgement comprises the existence of ground state data existence, fault collection data, the existence of transient Model data;
Described validity is judged rationality and the validity judgement that comprises single failure in the failure collection.
3. computing method as claimed in claim 1 is characterized in that, described computation schema is divided into:
Basic cascade serial is account form in batches;
Band is specified the parallel batch computation schema of check figure;
Dynamic auto load balance computation schema.
4. computing method as claimed in claim 3 is characterized in that, the step of described basic cascade serial batch account form is as follows:
(a) from the fault data formation that described step (4) decomposition obtains, get one group of single failure data, form the computational data group with mode data, the pairing of transient stability model data;
(b) start transient stability with (a) computational data group and calculate nuclear;
(c) transient stability jumps to (e) after calculating and finishing;
(d) each judgement detect cycle is added up, and compares, surpass predefined threshold values, just stop transient stability computation process by force with the maximum transient stability Calculation threshold values of setting consuming time, and by force operation process recording in the calculation of fault result;
(e) the extraction result carries out the judgement of stability analysis, differentiates to be stabilization result, and promptly primary fault calculates and finishes, and related conclusions is placed in the results list, withdraws from this calculation of fault;
(f) extract fault data queuing data item, after the fault in the current computational tasks content has been calculated and finished, gather all result of calculations in this subjob, form statistical abstract, and withdraw from this subjob and calculate.
5. computing method as claimed in claim 3 is characterized in that, described parallel batch computation schema step is as follows:
1) multinuclear existence and setting value jump to 2 greater than 1);
2) set up the data queue that equates with it according to the check figure of appointment;
When 3) having idle queues in the computational data formation, from the fault data formation that described step (4) decomposition obtains, get one group of single failure data and be filled in the idle data formation, specify to be retained in the formation before the transient stability computation program application always;
4) data have been filled up in all formations, change the 5th over to) step;
5) calculating of appointment nuclear has vacant calculating nuclear, gets one group of parameter from data queue, starts transient stability computation process on the nuclear of free time, and the transient stability that carries out the fault data of getting calculates;
6) in detect cycle, calculate end when detecting transient stability, just start resolving as a result immediately, to implement power grid accident result of calculation and carry out classification analysis, interpretation of result is finished, promptly finishing of a calculation of fault withdrawed from this calculation of fault, jumps to 8);
7) all parallel transient stabilities calculate the ossified qualification threshold values that duration consuming time surpasses appointment, stop surpassing the transient stability computation process of threshold values by force, jump to 8);
8) finish to calculate the calculating nuclear of release busy immediately and data parameters formation;
9) fill in the parallel data formation process,, just fill it in the vacant data queue when the prior fault operation also has unfilled fault data;
6. computing method as claimed in claim 3 is characterized in that, described ALB calculation procedure is:
I. set up the data queue that equates with it according to the check figure of appointment;
When II. having idle queues in the computational data formation, from the fault data formation that described step (4) decomposition obtains, get one group of single failure data and be filled in the idle data formation, specify to be retained in the formation before the transient stability computation program application always;
III. data have been filled up in all formations, change the V step over to;
IV. the calculating of appointment nuclear has vacant calculating nuclear, gets one group of parameter from data queue, starts transient stability computation process according to the load judgment result on the nuclear of free time, and the transient stability that carries out the fault data of getting calculates, and the dynamic load judgment formula is as follows:
R cpu = 1 - T idle T period R mem = 1 - M use M total R cpu &le; R c - setting R mem &le; R m - setting
7. computing method as claimed in claim 1 is characterized in that, the substep of described step (2) comprising:
1. select to calculate convergent ground state mode data;
2. select to be used for the failure collection data that transient stability calculates;
3. select to be matched with the transient stability data of ground state trend mode;
4. will be 1.-data message that 3. obtains is integrated into an independently computational tasks T i
5. repeat 1.-4. process, set up independent computational tasks more than two, P sorts to task priority by weight factor, forms to calculate priority sequence, according to calculating priority level, arranges the sequencing of calculation task; For complete operation, with weight factor P zero setting, when new operation begins to carry out, will be again by weight factor P to task ranking, because of as calculated operation weight factor P is 0, be placed to the descending end;
Set up deque's administrative power repeated factor, the weight factor that one of them queue management is provided with, the variation of the weight factor when another is used for Management Calculation.
8. computing method as claimed in claim 7 is characterized in that, described step 5. in according to dynamic change priority weight system, realize the serializing cascade dynamic execution of computing operation in batches, it carries out weight by the [p of deque 1, p 2...., p N] TColumn vector control, static reaction is manual sets control, in dynamic response execution and the computation process to the not dynamic execution sequence change of computational tasks, the performance coeffcient p that complete transient stability is calculated iZero setting to unenforced operation, when determining operation next time, realizes that by the column vector descending bubbling of computational tasks is selected.
9. computing method as claimed in claim 4 is characterized in that, the transient stability that provides in the described step (c) calculates and finishes to judge that the time set of single detect cycle is 1 second.
CN201110004612.4A 2011-01-11 2011-01-11 Method for accelerating asynchronous parallel computation of transient stability of power grid based on single-computer multiple-core mode Active CN102073766B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110004612.4A CN102073766B (en) 2011-01-11 2011-01-11 Method for accelerating asynchronous parallel computation of transient stability of power grid based on single-computer multiple-core mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110004612.4A CN102073766B (en) 2011-01-11 2011-01-11 Method for accelerating asynchronous parallel computation of transient stability of power grid based on single-computer multiple-core mode

Publications (2)

Publication Number Publication Date
CN102073766A true CN102073766A (en) 2011-05-25
CN102073766B CN102073766B (en) 2014-03-12

Family

ID=44032304

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110004612.4A Active CN102073766B (en) 2011-01-11 2011-01-11 Method for accelerating asynchronous parallel computation of transient stability of power grid based on single-computer multiple-core mode

Country Status (1)

Country Link
CN (1) CN102073766B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332709A (en) * 2011-09-13 2012-01-25 中国电力科学研究院 A digital simulation method and system for equivalent HVDC transmission DC protection
CN102629220A (en) * 2012-03-08 2012-08-08 北京神州数码思特奇信息技术股份有限公司 Dynamic task allocation and management method
CN102709953A (en) * 2012-05-17 2012-10-03 中国电力科学研究院 Online quantization evaluation method of transient state stability of power grid based on WAMS (wide area measurement system) and unit pair
CN103198188A (en) * 2013-04-03 2013-07-10 国家电网公司 Static synchronous compensator (STATCOM) modeling method in power system analysis software package
CN103365715A (en) * 2013-06-17 2013-10-23 广东电网公司电力调度控制中心 Method and system for quickly calling BPA transient calculation program
CN104899397A (en) * 2015-06-19 2015-09-09 国家电网公司 Fault simulation result processing method and device
CN109344117A (en) * 2018-10-10 2019-02-15 四川新网银行股份有限公司 A kind of risk detecting system based on concurrent
CN110348066A (en) * 2019-06-17 2019-10-18 国网西藏电力有限公司电力科学研究院 Access the protective relaying device check method of weak grid on a large scale for new energy
CN118094841A (en) * 2024-04-25 2024-05-28 中国电力科学研究院有限公司 Method and device for carrying out multi-tide parallel calculation on power grid mode

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169743A (en) * 2007-11-27 2008-04-30 南京大学 A method for parallel power flow calculation based on multi-core computer in power grid

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101169743A (en) * 2007-11-27 2008-04-30 南京大学 A method for parallel power flow calculation based on multi-core computer in power grid

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
宋墩文 等: "实时动态安全评估中在线和离线仿真互访过程研究", 《电网技术》, vol. 34, no. 2, 28 February 2010 (2010-02-28) *
郑超 等: "在线动态安全评估与预警系统的功能设计与实现", 《电网技术》, vol. 34, no. 3, 31 March 2010 (2010-03-31) *

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102332709B (en) * 2011-09-13 2014-10-01 中国电力科学研究院 A digital simulation method and system for equivalent HVDC transmission DC protection
CN102332709A (en) * 2011-09-13 2012-01-25 中国电力科学研究院 A digital simulation method and system for equivalent HVDC transmission DC protection
CN102629220A (en) * 2012-03-08 2012-08-08 北京神州数码思特奇信息技术股份有限公司 Dynamic task allocation and management method
CN102709953B (en) * 2012-05-17 2016-05-25 中国电力科学研究院 A kind of based on WAMS and the right online quantitative estimation method of Power Network Transient Stability of unit
CN102709953A (en) * 2012-05-17 2012-10-03 中国电力科学研究院 Online quantization evaluation method of transient state stability of power grid based on WAMS (wide area measurement system) and unit pair
CN103198188A (en) * 2013-04-03 2013-07-10 国家电网公司 Static synchronous compensator (STATCOM) modeling method in power system analysis software package
CN103365715A (en) * 2013-06-17 2013-10-23 广东电网公司电力调度控制中心 Method and system for quickly calling BPA transient calculation program
CN104899397A (en) * 2015-06-19 2015-09-09 国家电网公司 Fault simulation result processing method and device
CN104899397B (en) * 2015-06-19 2018-04-06 国家电网公司 The treating method and apparatus of fault simulation result
CN109344117A (en) * 2018-10-10 2019-02-15 四川新网银行股份有限公司 A kind of risk detecting system based on concurrent
CN110348066A (en) * 2019-06-17 2019-10-18 国网西藏电力有限公司电力科学研究院 Access the protective relaying device check method of weak grid on a large scale for new energy
CN118094841A (en) * 2024-04-25 2024-05-28 中国电力科学研究院有限公司 Method and device for carrying out multi-tide parallel calculation on power grid mode
CN118094841B (en) * 2024-04-25 2024-07-09 中国电力科学研究院有限公司 A method and device for performing multi-flow parallel calculation on power grid mode

Also Published As

Publication number Publication date
CN102073766B (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN102073766B (en) Method for accelerating asynchronous parallel computation of transient stability of power grid based on single-computer multiple-core mode
CN102684224B (en) Unit combination method for resolving and considering wind power volatility
Yu et al. An optimal power flow algorithm to achieve robust operation considering load and renewable generation uncertainties
CN102214922B (en) An Evaluation System for Power Network Planning Scheme
Sexauer et al. Voltage quality assessment in a distribution system with distributed generation—A probabilistic load flow approach
CN108418204B (en) A Microgrid State Assessment Method Based on Situational Awareness
CN112260331B (en) Extra-high voltage alternating current-direct current power grid simulation platform and construction method
Duerr et al. Load balancing with energy storage systems based on co-simulation of multiple smart buildings and distribution networks
CN103116692A (en) Grid-connection type micro grid reliability analyzing method and grid-connection type micro grid reliability analyzing system
CN111509728B (en) Optimal regulation and control method and system based on multi-source heterogeneous virtual load
Jin et al. Dispatching strategies for coordinating environmental awareness and risk perception in wind power integrated system
CN101320914A (en) An emergency dispatching method to enhance power grid transmission capacity
Ju et al. Incorporating demand response in two-stage frequency emergency control
CN104503827B (en) A kind of large-scale electrical power system method of operation power flow transfer is than multi-core parallel concurrent batch processing method
Shen et al. Inertia estimation of power system with new energy considering with high renewable penetrations
CN101840465B (en) Multi-scheme comprehensive evaluation method for automatic low-frequency load reduction of large electric network
CN113708444B (en) Energy balance control method and device for energy storage power station
Mohammed et al. Optimal allocation and sizing of multi DG units including different load model using evolutionary programming
Liang et al. A heuristic virtual machine scheduling algorithm in cloud data center
CN102522753A (en) Plant-level load optimization distribution test system of thermal power plant and load optimization distribution method thereof
Kerin et al. Dynamic security indication in power systems with large amount of renewables
CN104182643A (en) Peak shaving gap calculation and analysis method of electric power system with wind power
CN105896534A (en) Fault state set screening method for power transmission system considering importance degree and association degree of line
CN114565229B (en) Online practical estimation core method for rotational inertia of power system
Zhang et al. Calculation of the carrying capacity of distributed power generation in distribution network under carbon peaking and carbon neutrality goals

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: STATE ELECTRIC NET CROP.

Effective date: 20130424

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20130424

Address after: 100192 Beijing city Haidian District Qinghe small Camp Road No. 15

Applicant after: China Electric Power Research Institute

Applicant after: State Grid Corporation of China

Address before: 100192 Beijing city Haidian District Qinghe small Camp Road No. 15

Applicant before: China Electric Power Research Institute

GR01 Patent grant
GR01 Patent grant