[go: up one dir, main page]

CN114156866A - Fault simulation method and device for automatic power generation control system of power grid - Google Patents

Fault simulation method and device for automatic power generation control system of power grid Download PDF

Info

Publication number
CN114156866A
CN114156866A CN202111320074.XA CN202111320074A CN114156866A CN 114156866 A CN114156866 A CN 114156866A CN 202111320074 A CN202111320074 A CN 202111320074A CN 114156866 A CN114156866 A CN 114156866A
Authority
CN
China
Prior art keywords
power
node
iter
active
mapping function
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
CN202111320074.XA
Other languages
Chinese (zh)
Other versions
CN114156866B (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.)
Tsinghua University
Southwest Branch of State Grid Corp of China
Original Assignee
Tsinghua University
Southwest Branch of State Grid Corp of China
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 Tsinghua University, Southwest Branch of State Grid Corp of China filed Critical Tsinghua University
Priority to CN202111320074.XA priority Critical patent/CN114156866B/en
Publication of CN114156866A publication Critical patent/CN114156866A/en
Application granted granted Critical
Publication of CN114156866B publication Critical patent/CN114156866B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for AC mains or AC distribution networks
    • H02J3/04Circuit arrangements for AC mains or AC distribution networks for connecting networks of the same frequency but supplied from different sources
    • H02J3/06Controlling transfer of power between connected networks; Controlling sharing of load between connected networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Supply And Distribution Of Alternating Current (AREA)

Abstract

The invention relates to a fault simulation method and device for an automatic power generation control system of a power grid, and belongs to the technical field of information physical coupling analysis of power systems. Wherein the method comprises: setting a mapping function of each stage of the automatic voltage control system; in each round of simulation, taking system frequency, tie line power, plant station active power output and node active injection quantity as physical quantity, taking a plant station active power output set value as control quantity, and updating the current value of the control quantity through the mapping function according to the current value of the physical quantity; and updating the current value of the previous physical quantity according to the current value of the control quantity. The method and the device can realize quantitative analysis of the influence of information disturbance on the power grid, and are favorable for safe operation of the power grid.

Description

一种电网自动发电控制系统故障仿真方法及装置A fault simulation method and device for an automatic power generation control system in a power grid

技术领域technical field

本公开属于电力系统信息物理耦合分析的技术领域,特别是涉及一种电网自动发电控制系统故障仿真方法及装置。The present disclosure belongs to the technical field of power system cyber-physical coupling analysis, and in particular relates to a fault simulation method and device for an automatic power generation control system of a power grid.

背景技术Background technique

随着电力系统中量测、通信、仿真与控制技术的应用与发展,电力系统已经成为了一个典型的信息物理系统(Cyber-physical system,CPS)。其中信息物理系统的物理侧主要指电力一次系统,包括各类子站、发电装置、负荷与电网等,信息侧则包括电力系统的量测、通信、仿真与控制等部分,包括相量量测装置(Phasor measurement units,PMU)、能量管理系统(Energy management system,EMS)与广域量测系统(wide area measurementsystem,WAMS)。With the application and development of measurement, communication, simulation and control technologies in the power system, the power system has become a typical cyber-physical system (CPS). The physical side of the cyber-physical system mainly refers to the primary power system, including various substations, power generation devices, loads and power grids, etc. The information side includes the measurement, communication, simulation and control of the power system, including phasor measurement Device (Phasor measurement units, PMU), energy management system (Energy management system, EMS) and wide area measurement system (wide area measurement system, WAMS).

信息系统在电力一次系统中的应用使电力系统的运行更加自动化、智能化,但同时也增加了电力系统对信息系统的依赖。信息系统与物理系统的耦合给电力系统的稳定运行增加了新的风险,信息侧发生的扰动可能影响电力系统的正常运行,对于电网自动发电控制(automatic generation control,AGC)系统,频率量测误差、联络线功率计划错误、指令下发延时等都可能造成电网频率与厂站出力的波动与控制误差,对电力系统的正常运行提出挑战。The application of the information system in the power primary system makes the operation of the power system more automatic and intelligent, but it also increases the power system's dependence on the information system. The coupling of the information system and the physical system adds new risks to the stable operation of the power system. The disturbance on the information side may affect the normal operation of the power system. For the automatic generation control (AGC) system of the power grid, the frequency measurement error , tie-line power planning errors, command issuance delays, etc. may cause fluctuations and control errors in power grid frequency and plant output, posing challenges to the normal operation of the power system.

进行电网自动发电控制系统信息侧扰动仿真可以模拟不同信息侧扰动对电网运行的影响,可以帮助运行人员了解电网在当前运行状态下的潜在风险,以及不同信息扰动的严重程度,有助于降低电网的潜在运行风险。目前还没有针对AGC系统的信息物理耦合仿真方法,。The information-side disturbance simulation of the automatic power generation control system can simulate the impact of different information-side disturbances on the operation of the power grid, which can help operators understand the potential risks of the power grid in the current operating state and the severity of different information disturbances, which can help reduce the power grid. potential operational risks. There is no cyber-physical coupling simulation method for AGC system at present.

发明内容SUMMARY OF THE INVENTION

本公开的目的是填补已有技术的空白之处,提出一种电网自动发电控制系统故障仿真方法及装置。本公开可以实现信息扰动对电网影响的定量分析,有助于电网的安全运行。The purpose of the present disclosure is to fill in the blank of the prior art, and to propose a fault simulation method and device for an automatic power generation control system of a power grid. The present disclosure can realize quantitative analysis of the influence of information disturbance on the power grid, and is helpful for the safe operation of the power grid.

本公开第一方面实施例提出一种电网自动发电控制系统故障仿真方法,包括:The embodiment of the first aspect of the present disclosure provides a fault simulation method for an automatic power generation control system of a power grid, including:

设定自动电压控制系统各阶段的映射函数;Set the mapping function of each stage of the automatic voltage control system;

将系统频率、联络线功率、厂站有功出力和节点有功注入量作为物理量,将厂站有功出力设定值作为控制量,根据所述物理量的当前值,通过所述映射函数更新所述控制量的当前值;Take the system frequency, tie line power, plant and station active power output and node active power injection amount as physical quantities, take the set value of plant and station active power output as the control quantity, and update the control quantity through the mapping function according to the current value of the physical quantity the current value of ;

根据所述控制量的当前值,更新所述物理量的当前值。The current value of the physical quantity is updated according to the current value of the control quantity.

在本公开一个具体实施例中,所述方法还包括:当所述物理量和所述控制量的当前值均更新一次后,一轮迭代结束;当迭代轮数达到设定的上限时,仿真结束,输出每一轮迭代得到的所述系统频率、所述联络线功率和所述厂站有功出力。In a specific embodiment of the present disclosure, the method further includes: when the current values of the physical quantity and the control quantity are both updated once, a round of iteration ends; when the number of iteration rounds reaches a set upper limit, the simulation ends , and output the system frequency, the tie line power and the active power output of the plant obtained in each round of iterations.

在本公开一个具体实施例中,所述映射函数包括:量测阶段映射函数、决策阶段映射函数以及执行阶段映射函数。In a specific embodiment of the present disclosure, the mapping function includes: a measurement stage mapping function, a decision stage mapping function, and an execution stage mapping function.

在本公开一个具体实施例中,所述联络线功率、所述厂站有功出力和所述节点有功注入量的初值是通过在设定的运行工况下进行潮流计算获得。In a specific embodiment of the present disclosure, the initial values of the tie line power, the active power output of the plant and the active power injection amount of the node are obtained by performing power flow calculation under a set operating condition.

在本公开一个具体实施例中,所述潮流计算还包括:In a specific embodiment of the present disclosure, the power flow calculation further includes:

计算联络线-节点注入功率灵敏度:Calculate the tie-line-node injection power sensitivity:

Figure BDA0003344881750000021
Figure BDA0003344881750000021

其中,

Figure BDA0003344881750000022
为节点阻抗矩阵第i行k列的值,上标n表示为节点阻抗,
Figure BDA0003344881750000023
为节点i与节点j之间的联络线阻抗,上标l表示为联络线阻抗。in,
Figure BDA0003344881750000022
is the value of the i-th row and k-column of the node impedance matrix, and the superscript n represents the node impedance,
Figure BDA0003344881750000023
is the tie line impedance between node i and node j, and the superscript l represents the tie line impedance.

在本公开一个具体实施例中,所述根据所述物理量的当前值,通过所述映射函数更新所述控制量的当前值,包括:In a specific embodiment of the present disclosure, the updating of the current value of the control quantity through the mapping function according to the current value of the physical quantity includes:

1)根据量测阶段映射函数计算虚拟量测信号;1) Calculate the virtual measurement signal according to the mapping function of the measurement stage;

x→z=E(x)x→z=E(x)

其中,E表示量测阶段映射函数,x表示待量测的物理量,包括:系统频率f、各联络线功率

Figure BDA0003344881750000024
(i,j)∈NT、各厂站有功出力
Figure BDA0003344881750000025
k∈Ng;z表示x中的各个物理量经过量测阶段后到达调度中心时的虚拟量测信号;NT为电网联络线集合,Nb为电网中母线的集合,Ng为发电厂站所在节点集合;Among them, E represents the mapping function in the measurement stage, and x represents the physical quantity to be measured, including: the system frequency f, the power of each tie line
Figure BDA0003344881750000024
(i,j) ∈NT , the active power output of each plant
Figure BDA0003344881750000025
k∈N g ; z represents the virtual measurement signal when each physical quantity in x reaches the dispatch center after the measurement stage; N T is the set of grid tie lines, N b is the set of bus bars in the power grid, and N g is the power plant station The set of nodes where it is located;

2)根据决策阶段映射函数,计算控制指令:2) Calculate the control instructions according to the mapping function in the decision-making stage:

z→y=Φ(z)z→y=Φ(z)

其中,Φ表示决策阶段映射函数,y表示控制指令;Among them, Φ represents the mapping function in the decision-making stage, and y represents the control instruction;

3)根据执行阶段映射函数,计算电网控制变量:3) Calculate the grid control variables according to the execution stage mapping function:

y→u=Ω(y)y→u=Ω(y)

其中,Ω表示执行阶段映射函数,u为控制量,所述控制量u为各厂站的有功出力设定值

Figure BDA0003344881750000031
k∈Ng。Among them, Ω represents the mapping function of the execution stage, u is the control quantity, and the control quantity u is the set value of the active power output of each plant and station
Figure BDA0003344881750000031
k∈N g .

在本公开一个具体实施例中,所述根据所述当前控制量的值,仿真更新当前物理量的值,包括:In a specific embodiment of the present disclosure, the simulation updating the value of the current physical quantity according to the value of the current control quantity includes:

1)根据当前系统频率和各厂站的有功出力设定值,计算节点有功注入功率变化量:1) According to the current system frequency and the set value of the active power output of each plant, calculate the change of the active power injection power of the node:

其中,k节点的有功注入功率变化量ΔPk为:Among them, the active injection power variation ΔP k of node k is:

Figure BDA0003344881750000032
Figure BDA0003344881750000032

式中,

Figure BDA0003344881750000033
为k节点的有功负荷变化量,
Figure BDA0003344881750000034
为k节点的厂站有功出力变化量;In the formula,
Figure BDA0003344881750000033
is the variation of active load at node k,
Figure BDA0003344881750000034
is the variation of the active power output of the plant station of node k;

根据k节点的有功注入功率变化量与当前迭代第iter步的k节点有功注入功率Pk(iter),更新第iter+1步的k节点的有功注入功率:According to the variation of the active injection power of node k and the active injection power P k (iter) of node k at step iter of the current iteration, update the active injection power of node k at iter+1 step:

Pk(iter+1)=Pk(iter)+ΔPk,k∈Nb P k (iter+1)=P k (iter)+ΔP k ,k∈N b

其中,iter为当前迭代的轮次序号;Among them, iter is the round sequence number of the current iteration;

根据k节点的厂站有功出力变化量与当前迭代第iter步的k节点的厂站有功出力

Figure BDA0003344881750000035
更新第iter+1步的k节点的厂站有功出力:According to the change of the active power output of the k node and the active power output of the k node in the iter step of the current iteration
Figure BDA0003344881750000035
Update the active power output of the k node of the iter+1 step:

Figure BDA0003344881750000036
Figure BDA0003344881750000036

2)根据节点有功注入功率变化量,利用联络线-节点注入功率灵敏度计算各联络线功率变化量;2) Calculate the power change of each tie line by using the tie line-node injection power sensitivity according to the change of the active power injection power of the node;

其中,节点i与节点j之间的联络线功率变化量为:Among them, the power variation of the tie line between node i and node j is:

Figure BDA0003344881750000037
Figure BDA0003344881750000037

根据节点i与节点j之间的联络线功率变化量及当前迭代第iter步的联络线功率

Figure BDA0003344881750000038
更新第iter+1步的联络线功率:According to the change of the tie line power between node i and node j and the tie line power of the iter step of the current iteration
Figure BDA0003344881750000038
Update the tie-line power of step iter+1:

Figure BDA0003344881750000039
Figure BDA0003344881750000039

3)根据节点有功注入功率变化量,计算电网总不平衡功率的变化量:3) Calculate the change of the total unbalanced power of the grid according to the change of the active power injection of the node:

Figure BDA0003344881750000041
Figure BDA0003344881750000041

根据电网总不平衡功率的变化量与当前迭代第iter步的电网总不平衡功率Psur(iter),更新第iter+1步的电网总不平衡功率:According to the change of the total unbalanced power of the grid and the total unbalanced power P sur (iter) of the current iteration step iter, update the total unbalanced power of the grid at the iter+1 step:

Psur(iter+1)=Psur(iter)+ΔPsur Psur (iter+1)= Psur (iter)+ ΔPsur

4)计算系统频率变化量:4) Calculate the system frequency variation:

Figure BDA0003344881750000042
Figure BDA0003344881750000042

式中,H为系统惯量,tstep为仿真步长,Psur=Psur(iter+1);In the formula, H is the system inertia, t step is the simulation step size, P sur =P sur (iter+1);

根据频率变化量与当前迭代第iter步的系统频率,更新第iter+1步的系统频率:According to the frequency change and the system frequency of the current iteration step iter, update the system frequency of the iter+1 step:

f(iter+1)=f(iter)+Δf。f(iter+1)=f(iter)+Δf.

本公开第二方面实施例提出一种电网自动发电控制系统故障仿真装置,包括:The embodiment of the second aspect of the present disclosure provides a fault simulation device for an automatic power generation control system of a power grid, including:

映射函数构建模块,用于设定自动电压控制系统各阶段的映射函数;The mapping function building module is used to set the mapping function of each stage of the automatic voltage control system;

控制量更新模块,用于将系统频率、联络线功率、厂站有功出力和节点有功注入量作为物理量,将厂站有功出力设定值作为控制量,根据所述物理量的当前值,通过所述映射函数更新所述控制量的当前值;The control quantity update module is used to use the system frequency, the power of the tie line, the active power output of the plant and the node as the physical quantity, and the set value of the active power output of the plant as the control quantity. According to the current value of the physical quantity, through the The mapping function updates the current value of the control quantity;

物理量更新模块,用于根据所述控制量的当前值,仿真更新所述物理量的当前值。A physical quantity updating module, configured to simulate and update the current value of the physical quantity according to the current value of the control quantity.

本公开第三方面实施例提出一种电子设备,包括:An embodiment of a third aspect of the present disclosure provides an electronic device, including:

至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;at least one processor; and, a memory communicatively coupled to the at least one processor;

其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被设置为用于执行上述一种电网自动发电控制系统故障仿真方法。Wherein, the memory stores instructions executable by the at least one processor, and the instructions are configured to execute the above-mentioned method for simulating a fault in an automatic power generation control system of a power grid.

本公开第四方面实施例提出一种计算机可读存储介质,所述计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述一种电网自动发电控制系统故障仿真方法。Embodiments of the fourth aspect of the present disclosure provide a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions are used to cause the computer to execute the foregoing method for simulating a fault in an automatic power generation control system of a power grid.

本公开的特点及有益效果:Features and beneficial effects of the present disclosure:

本公开通过交替进行信息系统与物理系统的逐步仿真实现信息侧扰动后的系统状态仿真,其中物理系统仿真基于联络线-节点注入功率灵敏度实现,可以在基态潮流的基础上通过较小计算量实现系统频率仿真,能够分析多种不同信息系统扰动对电网的潜在影响,有助于调度人员更好地了解电网运行风险。The present disclosure realizes the system state simulation after the information side disturbance by alternately performing the step-by-step simulation of the information system and the physical system, wherein the physical system simulation is realized based on the tie-line-node injection power sensitivity, and can be realized with a small amount of calculation on the basis of the ground-state power flow System frequency simulation can analyze the potential impact of various information system disturbances on the power grid, which helps dispatchers to better understand the risk of power grid operation.

附图说明Description of drawings

图1是本公开实施例中一种电网自动发电控制系统故障仿真方法的整体流程图。FIG. 1 is an overall flow chart of a fault simulation method for an automatic power generation control system of a power grid in an embodiment of the present disclosure.

具体实施方式Detailed ways

本公开提出一种电网自动发电控制系统故障仿真方法及装置,下面结合附图和实施例对本公开进一步详细说明。The present disclosure proposes a fault simulation method and device for an automatic power generation control system of a power grid. The present disclosure will be further described in detail below with reference to the accompanying drawings and embodiments.

本公开第一方面实施例提出一种电网自动发电控制系统故障仿真方法,整体流程如图1所示,包括以下步骤:The embodiment of the first aspect of the present disclosure proposes a fault simulation method for an automatic power generation control system of a power grid. The overall process is shown in FIG. 1 and includes the following steps:

1)根据电网结构与给定的运行工况进行潮流计算得到初始潮流,计算各联络线-节点注入功率灵敏度。1) According to the power grid structure and the given operating conditions, the initial power flow is obtained by calculating the power flow, and the injected power sensitivity of each tie line-node is calculated.

本公开实施例中,所述电网结构:包括电网中节点、支路的连接关系,发电厂站位置;所述运行工况指电网的运行状态,包括:厂站有功出力、节点有功注入量、节点负荷、电网频率等。In the embodiment of the present disclosure, the power grid structure: includes the connection relationship between nodes and branches in the power grid, and the location of the power plant station; the operating condition refers to the operating state of the power grid, including: the active power output of the power grid, the active power injection amount of the node, Node load, grid frequency, etc.

所述联络线-节点注入功率灵敏度表示节点净注入有功功率改变时联络线功率的变化率。将节点i与节点j之间的联络线功率记为

Figure BDA0003344881750000051
节点k上有功注入记为Pk(其中,节点k为任一节点,其可与节点i或j相同),则节点i与节点j之间的联络线功率对节点k上有功注入的灵敏度
Figure BDA0003344881750000052
计算表达式如下:The tie-to-node injected power sensitivity represents the rate of change of tie-line power when the net injected active power of the node changes. Denote the power of the tie line between node i and node j as
Figure BDA0003344881750000051
The active power injection on node k is denoted as P k (where node k is any node, which can be the same as node i or j), then the sensitivity of the tie line power between node i and node j to the active power injection on node k
Figure BDA0003344881750000052
The calculation expression is as follows:

Figure BDA0003344881750000053
Figure BDA0003344881750000053

式中,

Figure BDA0003344881750000054
为节点阻抗矩阵第i行k列的值,上标n表示为节点阻抗,
Figure BDA0003344881750000055
为节点i与节点j之间的联络线阻抗,上标l表示为联络线阻抗。In the formula,
Figure BDA0003344881750000054
is the value of the i-th row and k-column of the node impedance matrix, and the superscript n represents the node impedance,
Figure BDA0003344881750000055
is the tie line impedance between node i and node j, and the superscript l represents the tie line impedance.

2)令初始迭代轮数iter=0;2) Let the initial iteration round number iter=0;

3)根据给定的信息系统故障设定AGC系统各阶段的映射函数E、Φ和Ω;其中E表示量测阶段映射函数,Φ表示调度中心的决策阶段映射函数,Ω表示控制指令执行阶段映射函数。3) Set the mapping functions E, Φ and Ω of each stage of the AGC system according to the given information system fault; where E represents the mapping function of the measurement stage, Φ represents the mapping function of the decision stage of the dispatch center, and Ω represents the mapping function of the control instruction execution stage function.

本公开实施例中,所述信息系统故障包括:频率量测误差、联络线功率计划错误、指令下发延时等。In the embodiment of the present disclosure, the information system failure includes: frequency measurement error, tie-line power planning error, command delivery delay, and the like.

4)根据当前各物理量的值,进行AGC系统单步仿真,更新当前控制量的值;4) According to the current value of each physical quantity, carry out the single-step simulation of the AGC system, and update the value of the current control quantity;

其中,所述物理量包括:系统频率f、各联络线功率

Figure BDA0003344881750000056
(i,j)∈NT、各厂站有功出力
Figure BDA0003344881750000061
k∈Ng、各节点有功注入量Pk,k∈Nb;NT为电网联络线集合,Nb为电网中母线的集合,Ng为发电厂站所在节点集合。所述控制量为各厂站的有功出力设定值
Figure BDA0003344881750000062
k∈Ng。Wherein, the physical quantities include: system frequency f, power of each tie line
Figure BDA0003344881750000056
(i,j) ∈NT , the active power output of each plant
Figure BDA0003344881750000061
k∈N g , the active power injection amount of each node P k ,k∈N b ; N T is the set of grid tie lines, N b is the set of bus bars in the power grid, and N g is the set of nodes where the power plant station is located. The control quantity is the set value of the active power output of each plant and station
Figure BDA0003344881750000062
k∈N g .

进一步地,当iter=0时,所述物理量的当前值为设定的初值;其中,所述系统频率的初值由用户指定,其余物理量的初值从由1)中的初始潮流解获取,其后各物理量通过步骤4)系统频率仿真方法进行更新。Further, when iter=0, the current value of the physical quantity is the set initial value; wherein, the initial value of the system frequency is specified by the user, and the initial values of the remaining physical quantities are obtained from the initial power flow solution in 1) , and then each physical quantity is updated by step 4) system frequency simulation method.

AGC系统所需的输入的物理量(即待量测的物理量)包括:系统频率、各联络线功率、各厂站有功出力,每个输入的物理量可能包括一个或多个测点的量测信息作为输入。AGC系统信息系统单步仿真方法具体包括以下步骤:The input physical quantities required by the AGC system (that is, the physical quantities to be measured) include: system frequency, power of each tie line, active power output of each plant, and each input physical quantity may include the measurement information of one or more measurement points as enter. The single-step simulation method of the AGC system information system specifically includes the following steps:

4-1)根据设定的量测阶段映射函数计算虚拟量测信号;4-1) Calculate the virtual measurement signal according to the set measurement stage mapping function;

x→z=E(x) (2)x→z=E(x) (2)

其中,x表示电网中待量测的物理量,包括:系统频率f、各联络线功率

Figure BDA0003344881750000063
(i,j)∈NT、各厂站有功出力
Figure BDA0003344881750000064
k∈Ng;z表示x中的各个物理量经过量测阶段后到达调度中心时的虚拟量测信号。Among them, x represents the physical quantity to be measured in the power grid, including: the system frequency f, the power of each tie line
Figure BDA0003344881750000063
(i,j) ∈NT , the active power output of each plant
Figure BDA0003344881750000064
k∈N g ; z represents the virtual measurement signal when each physical quantity in x reaches the dispatch center after passing through the measurement stage.

本公开实施例中,对于AGC系统,每个待量测的物理量可有多个测点。In the embodiment of the present disclosure, for the AGC system, each physical quantity to be measured may have multiple measurement points.

4-2)根据设定的决策阶段映射函数,计算下发的控制指令:4-2) According to the set decision-making stage mapping function, calculate the issued control instructions:

z→y=Φ(z) (3)z→y=Φ(z) (3)

其中,y表示调度中心下发的控制指令;Among them, y represents the control command issued by the dispatch center;

本公开实施例中,对于AGC系统,控制指令包括所属辖区内各个厂站的目标功率。In the embodiment of the present disclosure, for the AGC system, the control instruction includes the target power of each plant within its jurisdiction.

具体地,对于AGC系统,调度中心首先计算区域控制误差(area control error,ACE),ACE即辖区内的不平衡功率值,然后利用PI控制器得到控制指令,PI控制器中ACE的目标值设定为0(需要说明的是,PI控制器是一种非常经典的控制器,其输入包括ACE与ACE的目标值,输出为各厂站的目标功率即控制指令)。对于有多个调度中心分别控制不同区域厂站的,需要分别计算各个调度中心的控制指令。Specifically, for the AGC system, the dispatch center first calculates the area control error (ACE), which is the unbalanced power value within the jurisdiction, and then uses the PI controller to obtain the control command. The target value of the ACE in the PI controller is set to Set as 0 (it should be noted that the PI controller is a very classic controller, its input includes the target value of ACE and ACE, and the output is the target power of each plant, that is, the control command). For multiple dispatching centers that control different regional plants, the control instructions of each dispatching center need to be calculated separately.

4-3)根据设定的控制指令执行阶段映射函数,计算电网控制量;4-3) Execute the stage mapping function according to the set control instruction, and calculate the power grid control amount;

y→u=Ω(y) (4)y→u=Ω(y) (4)

其中u为电网控制量。where u is the grid control quantity.

本公开实施例中,对于AGC系统,所述电网控制量即各个厂站的目标功率(需要说明的是,控制中心输出的指令需要通过信息系统传输、指令执行才能最终反映在控制量上,正常来说指令和控制量的值差别不大,但在信息系统存在故障的情况下可能会有较大差异,这一差异通过函数Ω反应),记为

Figure BDA0003344881750000071
k∈Ng,其中
Figure BDA0003344881750000072
为k节点厂站有功出力设定值(即目标功率),Ng为发电厂站所在节点集合。In the embodiment of the present disclosure, for the AGC system, the power grid control quantity is the target power of each plant (it should be noted that the command output by the control center needs to be transmitted through the information system and the command execution can be finally reflected on the control quantity, normal In terms of the value of the command and the control value, the difference is not big, but there may be a big difference in the case of a fault in the information system. This difference is reflected by the function Ω), which is recorded as
Figure BDA0003344881750000071
k∈N g , where
Figure BDA0003344881750000072
is the set value (ie target power) of the active power output of the k-node power plant, and N g is the set of nodes where the power plant is located.

5)根据当前控制量的值(即步骤4)得到的

Figure BDA0003344881750000073
k∈Ng),进行系统频率仿真,并更新各物理量的值;其中,系统频率的单步仿真具体包括以下步骤:5) Obtained according to the value of the current control amount (ie step 4)
Figure BDA0003344881750000073
k∈N g ), carry out the system frequency simulation, and update the value of each physical quantity; wherein, the single-step simulation of the system frequency specifically includes the following steps:

5-1)根据当前系统频率、以及各节点负荷和发电机的频率动态特性以及各节点厂站有功出力设定值,计算各节点有功注入功率变化量;5-1) According to the current system frequency, the frequency dynamic characteristics of each node load and generator, and the set value of each node’s active power output, calculate the change in active power injection power of each node;

其中,将k节点的有功负荷变化量记为

Figure BDA0003344881750000074
(该变化量为与系统频率相关),将k节点的厂站有功出力变化量记为
Figure BDA0003344881750000075
(该变化量与系统频率及该节点厂站有功出力设定值相关),则k节点的有功注入功率变化量ΔPk为:Among them, the change of active load of node k is recorded as
Figure BDA0003344881750000074
(The change is related to the system frequency), and the change of the active power output of the plant at node k is recorded as
Figure BDA0003344881750000075
(The change is related to the system frequency and the set value of the active power output of the node plant), then the active injection power change ΔP k of node k is:

Figure BDA0003344881750000076
Figure BDA0003344881750000076

根据k节点的有功注入功率变化量与第iter步的k节点有功注入功率Pk(iter),更新第iter+1步的k节点的有功注入功率:According to the variation of the active injection power of node k and the active injection power P k (iter) of node k at step iter, update the active injection power of node k at iter+1 step:

Pk(iter+1)=Pk(iter)+ΔPk,k∈Nb (6)P k (iter+1)=P k (iter)+ΔP k ,k∈N b (6)

根据k节点的厂站有功出力变化量与第iter步的k节点的厂站有功出力

Figure BDA0003344881750000077
更新第iter+1步的k节点的厂站有功出力:According to the change of the active power output of the k node and the active power output of the k node in the iter step
Figure BDA0003344881750000077
Update the active power output of the k node of the iter+1 step:

Figure BDA0003344881750000078
Figure BDA0003344881750000078

需要说明的是,在每一轮迭代中,

Figure BDA0003344881750000079
Figure BDA00033448817500000710
对应的函数关系保持不变,但是其函数值随f和
Figure BDA00033448817500000711
的值变化。It should be noted that in each iteration,
Figure BDA0003344881750000079
and
Figure BDA00033448817500000710
The corresponding functional relationship remains unchanged, but its function value varies with f and
Figure BDA00033448817500000711
value changes.

5-2)根据各节点的有功注入功率变化量,利用联络线-节点注入功率灵敏度计算各联络线功率变化量。5-2) Calculate the power variation of each tie line by using the tie line-node injection power sensitivity according to the variation of the active power injection power of each node.

本公开实施例中,节点i与节点j之间的联络线功率变化量为:In the embodiment of the present disclosure, the power variation of the tie line between node i and node j is:

Figure BDA00033448817500000712
Figure BDA00033448817500000712

根据节点i与节点j之间的联络线功率变化量及第iter步的联络线功率

Figure BDA00033448817500000713
更新According to the change of tie line power between node i and node j and the tie line power of step iter
Figure BDA00033448817500000713
renew

第iter+1步的联络线功率:The power of the tie line in step iter+1:

Figure BDA00033448817500000714
Figure BDA00033448817500000714

5-3)根据各节点的有功注入功率变化量,计算电网总不平衡功率Psur的变化量ΔPsur5-3) Calculate the variation ΔP sur of the total unbalanced power P sur of the grid according to the variation of the active injection power of each node:

Figure BDA0003344881750000081
Figure BDA0003344881750000081

根据电网总不平衡功率的变化量与第iter步的电网总不平衡功率Psur(iter),更新第iter+1步的电网总不平衡功率:According to the change of the total unbalanced power of the grid and the total unbalanced power of the grid P sur (iter) at the iter step, update the total unbalanced power of the grid at the iter+1 step:

Psur(iter+1)=Psur(iter)+ΔPsur (11)P sur (iter+1)=P sur (iter)+ΔP sur (11)

5-4)计算系统频率变化量:5-4) Calculate the system frequency variation:

Figure BDA0003344881750000082
Figure BDA0003344881750000082

式中,H为系统惯量,tstep为仿真步长,Psur=Psur(iter+1)。本公开一个具体实施例中,仿真步长可以取0.1秒。In the formula, H is the inertia of the system, t step is the simulation step size, and P sur =P sur (iter+1). In a specific embodiment of the present disclosure, the simulation step size may be 0.1 seconds.

根据频率变化量与第iter步的系统频率,更新第iter+1步的系统频率:According to the frequency change and the system frequency of the iter step, update the system frequency of the iter+1 step:

f(iter+1)=f(iter)+Δf (13)f(iter+1)=f(iter)+Δf (13)

6)令迭代轮数iter=iter+1,判定:6) Let the number of iteration rounds iter=iter+1, and determine:

若迭代轮数到达预设最大迭代轮数,则终止仿真,并输出迭代过程中每一轮的系统频率、联络线功率与各厂站有功出力,以得到系统频率曲线、联络线功率曲线与各厂站有功出力曲线,供运行人员参考;否则,重新返回4)继续进行计算。本公开一个具体实施例中,仿真步长可以取0.1秒,总仿真时长取100秒,则最大迭代轮数为1000If the number of iteration rounds reaches the preset maximum number of iteration rounds, the simulation will be terminated, and the system frequency, tie-line power and active power output of each plant in each round of the iteration process will be output to obtain the system frequency curve, tie-line power curve and each station’s active output. The active power output curve of the plant station is for the operator's reference; otherwise, return to 4) to continue the calculation. In a specific embodiment of the present disclosure, the simulation step size can be 0.1 seconds, the total simulation time is 100 seconds, and the maximum number of iteration rounds is 1000

为实现上述实施例,本公开第二方面实施例提出一种电网自动发电控制系统故障仿真装置,包括:In order to realize the above embodiments, the second aspect of the present disclosure provides a fault simulation device for an automatic power generation control system of a power grid, including:

映射函数构建模块,用于设定自动电压控制系统各阶段的映射函数;The mapping function building module is used to set the mapping function of each stage of the automatic voltage control system;

控制量更新模块,用于将系统频率、联络线功率、厂站有功出力和节点有功注入量作为物理量,将厂站有功出力设定值作为控制量,根据所述物理量的当前值,通过所述映射函数更新所述控制量的当前值;The control quantity update module is used to use the system frequency, the power of the tie line, the active power output of the plant and the node as the physical quantity, and the set value of the active power output of the plant as the control quantity. According to the current value of the physical quantity, through the The mapping function updates the current value of the control quantity;

物理量更新模块,用于根据所述控制量的当前值,仿真更新所述物理量的当前值。A physical quantity updating module, configured to simulate and update the current value of the physical quantity according to the current value of the control quantity.

为实现上述实施例,本公开第三方面实施例提出一种电子设备,包括:In order to realize the above embodiments, an embodiment of the third aspect of the present disclosure provides an electronic device, including:

至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;at least one processor; and, a memory communicatively coupled to the at least one processor;

其中,所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被设置为用于执行上述一种电网自动发电控制系统故障仿真方法。Wherein, the memory stores instructions executable by the at least one processor, and the instructions are configured to execute the above-mentioned method for simulating a fault in an automatic power generation control system of a power grid.

为实现上述实施例,本公开第四方面实施例提出一种计算机可读存储介质,所述计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述一种电网自动发电控制系统故障仿真方法。In order to realize the above-mentioned embodiments, the fourth aspect of the present disclosure provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, and the computer instructions are used to make the computer execute the above-mentioned automatic power generation from a power grid Control system fault simulation method.

需要说明的是,本公开上述的计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读信号介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:电线、光缆、RF(射频)等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples of computer readable storage media may include, but are not limited to, electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Programmable read only memory (EPROM or flash memory), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present disclosure, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device . Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, electrical wire, optical fiber cable, RF (radio frequency), etc., or any suitable combination of the foregoing.

上述计算机可读介质可以是上述电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备执行上述实施例的一种电网自动发电控制系统故障仿真方法。The above-mentioned computer-readable medium may be included in the above-mentioned electronic device; or may exist alone without being assembled into the electronic device. The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, causes the electronic device to execute the method for simulating a fault in an automatic power generation control system of a power grid according to the foregoing embodiment.

可以以一种或多种程序设计语言或其组合来编写用于执行本公开的操作的计算机程序代码,上述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider through Internet connection).

在本说明书的描述中,参考术语“一个实施例”、“一些实施例”、“示例”、“具体示例”、或“一些示例”等的描述意指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本申请的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, description with reference to the terms "one embodiment," "some embodiments," "example," "specific example," or "some examples", etc., mean specific features described in connection with the embodiment or example , structure, material or feature is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine the different embodiments or examples described in this specification, as well as the features of the different embodiments or examples, without conflicting each other.

此外,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括至少一个该特征。在本申请的描述中,“多个”的含义是至少两个,例如两个,三个等,除非另有明确具体的限定。In addition, the terms "first" and "second" are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with "first", "second" may expressly or implicitly include at least one of that feature. In the description of the present application, "plurality" means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.

流程图中或在此以其他方式描述的任何过程或方法描述可以被理解为,表示包括一个或更多个用于实现特定逻辑功能或过程的步骤的可执行指令的代码的模块、片段或部分,并且本申请的优选实施方式的范围包括另外的实现,其中可以不按所示出或讨论的顺序,包括根据所涉及的功能按基本同时的方式或按相反的顺序,来执行功能,这应被本申请的实施例所属技术领域的技术人员所理解。Any description of a process or method in the flowcharts or otherwise described herein may be understood to represent a module, segment or portion of code comprising one or more executable instructions for implementing a specified logical function or step of the process , and the scope of the preferred embodiments of the present application includes alternative implementations in which the functions may be performed out of the order shown or discussed, including performing the functions substantially concurrently or in the reverse order depending upon the functions involved, which should It is understood by those skilled in the art to which the embodiments of the present application belong.

在流程图中表示或在此以其他方式描述的逻辑和/或步骤,例如,可以被认为是用于实现逻辑功能的可执行指令的定序列表,可以具体实现在任何计算机可读介质中,以供指令执行系统、装置或设备(如基于计算机的系统、包括处理器的系统或其他可以从指令执行系统、装置或设备取指令并执行指令的系统)使用,或结合这些指令执行系统、装置或设备而使用。就本说明书而言,"计算机可读介质"可以是任何可以包含、存储、通信、传播或传输程序以供指令执行系统、装置或设备或结合这些指令执行系统、装置或设备而使用的装置。计算机可读介质的更具体的示例(非穷尽性列表)包括以下:具有一个或多个布线的电连接部(电子装置),便携式计算机盘盒(磁装置),随机存取存储器(RAM),只读存储器(ROM),可擦除可编辑只读存储器(EPROM或闪速存储器),光纤装置,以及便携式光盘只读存储器(CDROM)。另外,计算机可读介质甚至可以是可在其上打印程序的纸或其他合适的介质,因为可以例如通过对纸或其他介质进行光学扫描,接着进行编辑、解译或必要时以其他合适方式进行处理来以电子方式获得程序,然后将其存储在计算机存储器中。The logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, may be embodied in any computer-readable medium, For use with, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from and execute instructions from an instruction execution system, apparatus, or apparatus) or equipment. For the purposes of this specification, a "computer-readable medium" can be any device that can contain, store, communicate, propagate, or transport the program for use by or in connection with an instruction execution system, apparatus, or apparatus. More specific examples (non-exhaustive list) of computer readable media include the following: electrical connections with one or more wiring (electronic devices), portable computer disk cartridges (magnetic devices), random access memory (RAM), Read Only Memory (ROM), Erasable Editable Read Only Memory (EPROM or Flash Memory), Fiber Optic Devices, and Portable Compact Disc Read Only Memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program may be printed, as may be done, for example, by optically scanning the paper or other medium, followed by editing, interpretation, or other suitable means as necessary process to obtain the program electronically and then store it in computer memory.

应当理解,本申请的各部分可以用硬件、软件、固件或它们的组合来实现。在上述实施方式中,多个步骤或方法可以用存储在存储器中且由合适的指令执行系统执行的软件或固件来实现。例如,如果用硬件来实现,和在另一实施方式中一样,可用本领域公知的下列技术中的任一项或他们的组合来实现:具有用于对数据信号实现逻辑功能的逻辑门电路的离散逻辑电路,具有合适的组合逻辑门电路的专用集成电路,可编程门阵列(PGA),现场可编程门阵列(FPGA)等。It should be understood that various parts of this application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one or a combination of the following techniques known in the art: Discrete logic circuits, application specific integrated circuits with suitable combinational logic gates, Programmable Gate Arrays (PGA), Field Programmable Gate Arrays (FPGA), etc.

本技术领域的普通技术人员可以理解实现上述实施例方法携带的全部或部分步骤是可以通过程序来指令相关的硬件完成,的程序可以存储于一种计算机可读存储介质中,该程序在执行时,包括方法实施例的步骤之一或其组合。Those of ordinary skill in the art can understand that all or part of the steps carried by the methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium, and the program can be executed when the program is executed. , including one or a combination of the steps of the method embodiment.

此外,在本申请各个实施例中的各功能单元可以集成在一个处理模块中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing module, or each unit may exist physically alone, or two or more units may be integrated into one module. The above-mentioned integrated modules can be implemented in the form of hardware, and can also be implemented in the form of software function modules. If the integrated modules are implemented in the form of software functional modules and sold or used as independent products, they may also be stored in a computer-readable storage medium.

上述提到的存储介质可以是只读存储器,磁盘或光盘等。尽管上面已经示出和描述了本申请的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本申请的限制,本领域的普通技术人员在本申请的范围内可以对上述实施例进行变化、修改、替换和变型。The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, and the like. Although the embodiments of the present application have been shown and described above, it should be understood that the above embodiments are exemplary and should not be construed as limitations to the present application. Embodiments are subject to variations, modifications, substitutions and variations.

Claims (10)

1. A fault simulation method for an automatic power generation control system of a power grid is characterized by comprising the following steps:
setting a mapping function of each stage of the automatic voltage control system;
taking the system frequency, the tie line power, the plant station active power output and the node active injection quantity as physical quantities, taking a plant station active power output set value as a control quantity, and updating the current value of the control quantity through the mapping function according to the current value of the physical quantity;
and updating the current value of the physical quantity according to the current value of the control quantity.
2. The method of claim 1, further comprising: when the current values of the physical quantity and the control quantity are updated once, one round of iteration is finished; and when the iteration round number reaches a set upper limit, ending the simulation, and outputting the system frequency, the tie line power and the station active power output obtained by each iteration round.
3. The method of claim 1, wherein the mapping function comprises: a measurement phase mapping function, a decision phase mapping function, and an execution phase mapping function.
4. The method according to claim 1, characterized in that the initial values of the tie line power, the plant station active power output and the node active injection amount are obtained by performing a power flow calculation under a set operation condition.
5. The method of claim 4, wherein the power flow calculation further comprises:
calculating the tie-line-node injection power sensitivity:
Figure FDA0003344881740000011
wherein,
Figure FDA0003344881740000012
the value of k column in the ith row of the node impedance matrix, the superscript n is the node impedance,
Figure FDA0003344881740000013
the superscript l is the tie-line impedance between node i and node j.
6. The method according to claim 5, wherein the updating the current value of the control quantity by the mapping function according to the current value of the physical quantity comprises:
1) calculating a virtual measurement signal according to a mapping function of a measurement stage;
x→z=E(x)
wherein, E represents a mapping function of a measurement stage, x represents a physical quantity to be measured, and the method comprises the following steps: system frequency f, power of each tie line
Figure FDA0003344881740000014
Active power output of each station
Figure FDA0003344881740000015
z represents a virtual measurement signal when each physical quantity in x reaches a dispatching center after passing through a measurement stage; n is a radical ofTFor a set of grid lines, NbAs a collection of busbars in the grid, NgThe node is a node set where the power plant station is located;
2) calculating a control instruction according to a decision stage mapping function:
z→y=Φ(z)
wherein phi represents a decision stage mapping function, and y represents a control instruction;
3) calculating a power grid control variable according to the execution stage mapping function:
y→u=Ω(y)
wherein, Ω represents an execution stage mapping function, u is a control quantity, and the control quantity u is an active output set value of each station
Figure FDA0003344881740000021
k∈Ng
7. The method according to claim 6, wherein the simulation updating the value of the current physical quantity according to the value of the current control quantity includes:
1) calculating the active injection power variation of the node according to the current system frequency and the active output set value of each station:
wherein, the active injection power variation quantity delta P of the k nodekComprises the following steps:
Figure FDA0003344881740000022
in the formula,
Figure FDA0003344881740000023
is the active load variation of the k node,
Figure FDA0003344881740000024
the station active output variation of the k node is obtained;
according to the active injection power variation of the k node and the active injection power P of the k node in the iter step of the current iterationk(iter), updating the active injection power of the k node in the iter +1 step:
Pk(iter+1)=Pk(iter)+ΔPk,k∈Nb
wherein iter is the sequence number of the current iteration;
according to the station active output variation of the k node and the station active output of the k node of the current iteration iter step
Figure FDA0003344881740000025
And updating the station active power output of the k node in the iter +1 step:
Figure FDA0003344881740000026
2) calculating the power variation of each tie line by utilizing the sensitivity of the tie line-node injection power according to the active injection power variation of the node;
wherein, the tie line power variation between the node i and the node j is:
Figure FDA0003344881740000027
according to the call wire power variable quantity between the node i and the node j and the call wire power of the current iteration iter step
Figure FDA0003344881740000028
Updating the power of the tie line in the iter +1 step:
Figure FDA0003344881740000031
3) calculating the variable quantity of the total unbalanced power of the power grid according to the variable quantity of the active injection power of the node:
Figure FDA0003344881740000032
according to the variable quantity of the total unbalanced power of the power grid and the total unbalanced power P of the power grid in the iter step of the current iterationsur(iter), updating the total unbalanced power of the power grid in the iter +1 step:
Psur(iter+1)=Psur(iter)+ΔPsur
4) calculating the system frequency variation:
Figure FDA0003344881740000033
wherein H is the system inertia, tstepFor simulation step size, Psur=Psur(iter+1);
Updating the system frequency of the iter +1 step according to the frequency variation and the system frequency of the iter step of the current iteration:
f(iter+1)=f(iter)+Δf。
8. the utility model provides a power grid automatic generation control system fault simulation device which characterized in that includes:
the mapping function construction module is used for setting mapping functions of all stages of the automatic voltage control system;
the control quantity updating module is used for taking the system frequency, the tie line power, the plant station active output and the node active injection quantity as physical quantities, taking a plant station active output set value as a control quantity, and updating the current value of the control quantity through the mapping function according to the current value of the physical quantity;
and the physical quantity updating module is used for simulating and updating the current value of the physical quantity according to the current value of the control quantity.
9. An electronic device, comprising:
at least one processor; and a memory communicatively coupled to the at least one processor;
wherein the memory stores instructions executable by the at least one processor, the instructions being arranged to perform the method of any of the preceding claims 1-7.
10. A computer-readable storage medium storing computer instructions for causing a computer to perform the method of any one of claims 1-7.
CN202111320074.XA 2021-11-09 2021-11-09 A fault simulation method and device for automatic power generation control system of power grid Active CN114156866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111320074.XA CN114156866B (en) 2021-11-09 2021-11-09 A fault simulation method and device for automatic power generation control system of power grid

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111320074.XA CN114156866B (en) 2021-11-09 2021-11-09 A fault simulation method and device for automatic power generation control system of power grid

Publications (2)

Publication Number Publication Date
CN114156866A true CN114156866A (en) 2022-03-08
CN114156866B CN114156866B (en) 2025-08-26

Family

ID=80459735

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111320074.XA Active CN114156866B (en) 2021-11-09 2021-11-09 A fault simulation method and device for automatic power generation control system of power grid

Country Status (1)

Country Link
CN (1) CN114156866B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103066620A (en) * 2012-12-24 2013-04-24 中国电力科学研究院 Design method of automatic generation control model under intermittent energy grid-connection
CN105529748A (en) * 2016-01-11 2016-04-27 中国南方电网有限责任公司 An automatic power generation control system and method suitable for power system dynamic simulation
CN105893714A (en) * 2016-05-19 2016-08-24 国网四川省电力公司电力科学研究院 Closed-loop detection and assessment method for automatic voltage control system based on large-power-grid simulation system
US20180006607A1 (en) * 2014-12-22 2018-01-04 Hyosung Corporation Method for controlling power grid frequency of multiple energy storage systems, and system therefor
CN109524979A (en) * 2018-10-16 2019-03-26 重庆大学 A kind of AC-DC interconnecting power network Continuation Power Flow Model containing VSC-MTDC
CN111817357A (en) * 2020-05-28 2020-10-23 中国电力科学研究院有限公司 AGC system control method and AGC system for frequency division control
CN113515827A (en) * 2021-04-21 2021-10-19 南方电网科学研究院有限责任公司 Dynamic simulation method and system for whole process of power system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103066620A (en) * 2012-12-24 2013-04-24 中国电力科学研究院 Design method of automatic generation control model under intermittent energy grid-connection
US20180006607A1 (en) * 2014-12-22 2018-01-04 Hyosung Corporation Method for controlling power grid frequency of multiple energy storage systems, and system therefor
CN105529748A (en) * 2016-01-11 2016-04-27 中国南方电网有限责任公司 An automatic power generation control system and method suitable for power system dynamic simulation
CN105893714A (en) * 2016-05-19 2016-08-24 国网四川省电力公司电力科学研究院 Closed-loop detection and assessment method for automatic voltage control system based on large-power-grid simulation system
CN109524979A (en) * 2018-10-16 2019-03-26 重庆大学 A kind of AC-DC interconnecting power network Continuation Power Flow Model containing VSC-MTDC
CN111817357A (en) * 2020-05-28 2020-10-23 中国电力科学研究院有限公司 AGC system control method and AGC system for frequency division control
CN113515827A (en) * 2021-04-21 2021-10-19 南方电网科学研究院有限责任公司 Dynamic simulation method and system for whole process of power system

Also Published As

Publication number Publication date
CN114156866B (en) 2025-08-26

Similar Documents

Publication Publication Date Title
KR102844719B1 (en) Methods, systems, media, and electronic devices for cable routing planning in wind farms
CN105449713B (en) Consider the intelligent Sofe Switch planing method of active power distribution network of distributed power source characteristic
CN102289223A (en) Method for AVC (Automatic Voltage Control) system to verify power network global optimal control parameters
CN114696351A (en) Dynamic optimization method and device for battery energy storage system, electronic equipment and storage medium
CN109102146A (en) Study of Risk Evaluation Analysis for Power System accelerated method based on multi-parameter linear programming
CN111079982B (en) Planning method, system, medium and electronic equipment for cable path of wind power plant
CN113962446A (en) Micro-grid group cooperative scheduling method and device, electronic equipment and storage medium
CN104732340B (en) Target plans power grid aid decision-making method when one kind is based on year
CN105449667B (en) A kind of generating and transmitting system Reliability Prediction Method
CN115940194A (en) Method and device for estimating AGC reserve capacity of new energy power system and terminal equipment
CN114156866A (en) Fault simulation method and device for automatic power generation control system of power grid
CN118970906A (en) A method and device for evaluating the current status of power grid based on access to all types of power sources
CN115330244B (en) Rapid correction method considering power grid branch fault probability change toughness index
CN108110756A (en) Consider the industrial park distribution network planning method of uncertain factor
CN118589473A (en) An optimal ratio and layout design method for grid-connecting and grid-following converters in a 100% renewable energy multi-machine system and related devices
CN114649822B (en) A two-layer capacity configuration method for hybrid energy storage in microgrid considering three states of wind and solar power
CN116470518A (en) Multi-time scale and multi-load power distribution network reliability evaluation method and device
CN110797906B (en) Method and device for determining maximum installed capacity of wind power base and storage medium
CN103198205B (en) Initial value calculation method suitable for large-scale data load flow calculation
CN119024093A (en) Power failure observable multi-objective optimization configuration method and system for measuring redundancy
CN116613730A (en) Distribution network planning method and equipment based on distributed generation configuration uncertainty
Bo et al. Optimizing Multi-Failure Repair and Recovery in New Power Systems During Extreme Disasters
Zhou et al. Outage Optimization Model Based on Bidirectional Long Short-Term Memory Network and Future State of Equipment
CN113258617A (en) AGC simulation test method, system and related device under UFC mode
Wang et al. Research on Equivalent Model of Doubly Fed Wind Farm Based on Residual Combination Neural Network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant