Method and device for constructing electromagnetic transient simulation framework and model of power system

By constructing a power distribution interconnection and local coupling simulation architecture under inter-node communication and synchronization time constraints, it solves the problem that existing technology cannot adapt to million-level electrical node simulation calculations, realizes a multi-level real-time simulation architecture, and satisfies complex power systems. simulation needs.

CN116882162BActive Publication Date: 2024-10-11ELECTRIC POWER RES INST CHINA SOUTHERN POWER GRID CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310829512.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-06
Publication Date
2024-10-11
Estimated Expiration
2043-07-06

AI Technical Summary

Technical Problem

The existing power system electromagnetic transient simulation system cannot adapt to the simulation calculation needs of millions of electrical nodes, resulting in the inability of the simulation architecture to operate effectively.

Method used

By constructing a power distribution interconnection simulation architecture and a local coupling simulation architecture under the constraints of inter-node communication time and synchronization time, and integrating them, a multi-level real-time simulation architecture is formed to adapt to the simulation needs of millions of electrical nodes.

Benefits of technology

It realizes the simultaneous simulation operation of millions of electrical nodes, improves the scale and efficiency of simulation nodes, and meets the simulation needs of complex power systems.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116882162B_ABST
    Figure CN116882162B_ABST
Patent Text Reader

Abstract

The present application discloses a method and related device for constructing an electromagnetic transient simulation architecture and model of an electric power system. The method includes: under the constraints of inter-node communication time and inter-node synchronization time, using simulation device groups as simulation nodes, constructing a distributed interconnected simulation architecture for each simulation device group, constructing a local coupled simulation architecture based on the communication parameters and calculation parameters of the simulation device group, fusing the distributed interconnected simulation architecture and the local coupled simulation architecture to obtain an electromagnetic transient simulation architecture, and establishing an electromagnetic transient simulation model corresponding to a preset power scenario on the electromagnetic transient simulation architecture. It can be seen that by combining the global distributed interconnected simulation architecture with the local local coupled simulation structure, a multi-level real-time simulation architecture can be obtained. On this basis, the electromagnetic transient simulation model obtained by combining the modeling of the power scenario can increase the scale of simulation nodes by orders of magnitude, thereby meeting the needs of simultaneous simulation operation of millions of electrical nodes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of real-time simulation, and more specifically, to a method and device for constructing an electromagnetic transient simulation structure and model of an electric power system. Background Art

[0002] With the continuous increase in electricity demand, the power system is also developing rapidly. More power electronic equipment has been born to enrich the power system and make it more complex. Therefore, it is necessary to simulate the power system before it is put into operation. Power system simulation is an effective means to understand the characteristics of the power system, support power system research, planning, operation, production, equipment manufacturing, and ensure the safe and reliable operation of the power system.

[0003] With the rapid development of new power systems, a large number of new energy sites and power electronic equipment are connected to the grid at multiple voltage levels, and multiple DC systems are fed into the grid. In addition, the grid operates in a mixed AC / DC mode, which causes the scale of electrical nodes required to be simulated in the simulation system to increase sharply from thousands to tens of thousands or even millions. As a result, the existing electromagnetic transient simulation system cannot adapt to the needs of large-scale power system simulation calculations.

[0004] How to establish an electromagnetic transient simulation architecture for power systems that can accommodate millions of electrical nodes is an issue that requires attention. Summary of the invention

[0005] In view of the above problems, the present application is proposed to provide a method and device for constructing an electromagnetic transient simulation structure and model of an electric power system to accommodate simultaneous simulation operation of millions of electrical nodes.

[0006] In order to achieve the above objectives, the specific plan is proposed as follows:

[0007] A method for constructing an electromagnetic transient simulation framework for a power system includes:

[0008] Under the constraints of inter-node communication time and inter-node synchronization time, each simulation device group is used as a simulation node, and a power distribution interconnection simulation architecture is constructed for each simulation device group;

[0009] The inter-node communication time constraint is:

[0010]

[0011] Among them, T cha-r is the data interaction time between any two simulation nodes in the power distribution interconnection simulation architecture, T com-r is the communication time allowed between any two simulation device groups, n is the total number of simulation nodes in the power distribution interconnection simulation architecture, k is the upper limit of the simulation node interaction in the power distribution interconnection simulation architecture, i, j, j1…jk are different simulation nodes, t i-j is the data interaction time between simulation node i and simulation node j;

[0012] The inter-node synchronization time constraint is:

[0013]

[0014] Among them, T syn-r is the inter-node clock deviation of each simulation node in the power distribution interconnection simulation architecture, T syn is the synchronization time allowed between any two simulation device groups, v is the total number of CPUs in a simulation node, m is the number of cores in a CPU in a simulation node, p and q are different CPUs, x and y are different cores, t i_p_x,j_q_y is the clock deviation between the xth core in the pth CPU of simulation node i and the yth core in the qth CPU of simulation node j;

[0015] Based on the communication parameters of each simulation device group, a local coupled power simulation architecture is constructed;

[0016] The power distribution interconnection simulation architecture and the power local coupling simulation architecture are integrated to obtain the power system electromagnetic transient simulation architecture.

[0017] Optionally, constructing a power local coupling simulation architecture based on communication parameters of each simulation device group includes:

[0018] Under the single-node communication time constraint, a power local coupling simulation architecture is constructed based on the communication parameters of each simulation device group. The single-node communication time constraint is:

[0019]

[0020] Among them, x, y1…y s For each different core in a simulation node, t p-x,q-z is the data interaction time between the xth core in the pth CPU and the zth core in the qth CPU in the simulation node, t p-x,y is the data interaction time between the xth core and the yth core of the pth CPU in the simulation node, T com-C is the permissible value of the inter-CPU core communication time within a single simulation device group, T com-Cc It is the allowed value of the inter-core communication time within a single CPU in a single simulation device group.

[0021] Optionally, under the single-node communication time constraint, based on the communication parameters of each simulation device group, constructing a power local coupling simulation architecture includes:

[0022] Under the single-node communication time constraint and task calculation time constraint, a power local coupling simulation architecture is constructed based on the communication parameters of each simulation device group. The task calculation time constraint is:

[0023]

[0024] Among them, t p-x-power is the time that the xth core in the pth CPU in each simulation node uses to calculate the electrical task, t p-x-control is the time that the xth core in the pth CPU in the simulation node uses to calculate the control task, T cal The time allowance is calculated for the tasks of the simulation device group corresponding to the simulation node.

[0025] Optionally, the power scenario is an AC / DC hybrid power grid operation scenario;

[0026] On the power system electromagnetic transient simulation framework, a power system electromagnetic transient simulation model corresponding to a preset power scenario is established, including:

[0027] Based on the communication structure of each simulation node in the power system electromagnetic transient simulation architecture, calculating the data communication time of the simulation node;

[0028] Determining a clock synchronization time of the electric power system electromagnetic transient simulation architecture, a system jitter time of the electric power system electromagnetic transient simulation architecture, and a calculation jitter time of the electric power system electromagnetic transient simulation architecture;

[0029] Determine a system simulation time minimization constraint according to the data communication time of each simulation node, the clock synchronization time, the system jitter time, and the calculation jitter time;

[0030] Under the constraint of minimizing the system simulation time, an electric power system electromagnetic transient simulation model corresponding to the AC / DC hybrid power grid operation scenario is established.

[0031] Optionally, based on the communication structure of each simulation node in the power system electromagnetic transient simulation architecture, calculating the data communication time of the simulation node includes:

[0032] Calculate the first time that each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture is used to calculate the electrical task;

[0033] Calculate the second time for each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture to calculate the control task;

[0034] For each simulation node in the power system electromagnetic transient simulation architecture, calculating a third time for the simulation node to perform data interaction with a simulation node directly associated with the simulation node;

[0035] Calculating a fourth time for each CPU of each simulation node to perform data interaction with other CPUs of the simulation node in the power system electromagnetic transient simulation architecture;

[0036] Calculating a fifth time for each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture to perform data interaction with other cores in the CPU;

[0037] The first time, the second time, the third time, the fourth time and the fifth time of each node are summarized to obtain the data communication time of the node.

[0038] Optionally, determining the system simulation time minimization constraint according to the data communication time of each simulation node, the clock synchronization time, the system jitter time, and the calculation jitter time includes:

[0039] Determine the system simulation time constraint using the following formula:

[0040]

[0041] Among them, mint sim Minimize the system simulation time constraint, is the first time that the xth core of the pth CPU in the ith simulation node is used to calculate the electrical task, is the second time that the xth core of the pth CPU in the ith simulation node is used to calculate the control task, is the third time that the ith simulation node interacts with the simulation node directly associated with the simulation node i. is the fourth time for the p-th CPU of the i-th simulation node to interact with other CPUs of the i-th simulation node. is the fifth time that the x-th core of the p-th CPU of the i-th simulation node interacts with other cores of the p-th CPU of the i-th simulation node, is the system jitter time, is the clock synchronization time, is the calculated jitter time, and g is a preset simulation deviation allowable value.

[0042] A method for constructing a power system electromagnetic transient simulation model is applied to the power system electromagnetic transient simulation architecture as described above, and the method includes:

[0043] On the power system electromagnetic transient simulation framework, a power system electromagnetic transient simulation model corresponding to a preset power scenario is established.

[0044] Optionally, the power scenario is a multi-DC feed-in grid scenario where the number of DCs is greater than a preset DC number threshold, each simulation device group is a device in a flexible DC power transmission system, and the flexible DC power transmission system further includes a plurality of system components;

[0045] On the power system electromagnetic transient simulation framework, a power system electromagnetic transient simulation model corresponding to a preset power scenario is established, including:

[0046] Based on several system components of the flexible direct current power transmission system, a frequency domain initial model of a controller simulating the flexible direct current power transmission system is established, wherein the frequency domain initial model includes a filter factor and a harmonic internal impedance factor;

[0047] Establishing a first electromagnetic transient time-domain model of a filter in the flexible direct current power transmission system, and establishing a second electromagnetic transient time-domain model of the harmonic internal impedance of an alternating current power grid into which the flexible direct current power transmission system is incorporated;

[0048] The frequency domain initial model is converted by using the first electromagnetic transient time domain model and the second electromagnetic transient time domain model to obtain a high-frequency harmonic suppression time domain universal model that eliminates the filter factor and the harmonic internal impedance factor;

[0049] The high-frequency harmonic suppression time-domain universal model is integrated into the power system electromagnetic transient simulation architecture to obtain a power system electromagnetic transient simulation model corresponding to the multi-DC feed-in power grid scenario.

[0050] Optionally, based on several system components of the flexible direct current power transmission system, a frequency domain initial model of a controller simulating the flexible direct current power transmission system is established, including:

[0051] The following first function is used to establish an initial frequency domain model of the controller for simulating the flexible direct current transmission system:

[0052]

[0053] Among them, Y(s) is the frequency domain output variable of the controller of the flexible direct current transmission system, T0 is a preset time delay constant, L is the flexible direct current equivalent inductance in the flexible direct current transmission system, s is a Laplace operator, Z(s) is the harmonic internal impedance factor of the harmonic internal impedance of the alternating current power grid to which the flexible direct current transmission system is connected, K(s) is the filter factor of the filter in the flexible direct current transmission system, and X(s) is the frequency domain input variable of the controller.

[0054] Optionally, the frequency domain initial model is converted through the first electromagnetic transient time domain model and the second electromagnetic transient time domain model to obtain a high-frequency harmonic suppression time domain universal model that eliminates the filter factor and the harmonic internal impedance factor, including:

[0055] When the frequency domain initial model is a frequency domain initial model established using the first function, the frequency domain initial model is converted through the first electromagnetic transient time domain model and the second electromagnetic transient time domain model to obtain a high-frequency harmonic suppression time domain general model:

[0056]

[0057] Among them, t x is the time variable, Y(t x ) is the time domain output variable of the controller in the general time domain model for high-frequency harmonic suppression, X(t x ) is the time domain input variable of the controller in the general time domain model for high-frequency harmonic suppression, Δt x is the time variation.

[0058] Optionally, the power scenario is a high-proportion new energy access scenario in which the access ratio of new energy power generation units accessing the power system is greater than a preset access ratio threshold, the new energy power generation unit includes a plurality of new energy power generation components, and the power system includes various simulation device groups;

[0059] On the power system electromagnetic transient simulation framework, a power system electromagnetic transient simulation model corresponding to a preset power scenario is established, including:

[0060] For each new energy power generation component connected to the power system, construct an accompanying circuit model of the new energy power generation component;

[0061] Based on the accompanying circuit models of each renewable energy power generation component and the topological connection relationship between the accompanying circuit models of each renewable energy power generation component, a node admittance primitive matrix is ​​constructed;

[0062] Based on each element in the node admittance original matrix, construct a node voltage simulation model;

[0063] Performing equivalent circuit conversion on the node voltage simulation model to obtain a new energy access simulation model;

[0064] The new energy access simulation model is integrated into the electric power system electromagnetic transient simulation architecture to obtain an electric power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario.

[0065] Optionally, the node admittance original matrix is ​​constructed based on the accompanying circuit models of each renewable energy power generation component and the topological connection relationship between the accompanying circuit models of each renewable energy power generation component, including:

[0066] Determine the total serial number of the new energy power generation component corresponding to each of the accompanying circuit models in the new energy power generation unit according to the topological connection relationship between the accompanying circuit models of the various new energy power generation components;

[0067] Under the total sequence number of each companion circuit model, based on the companion circuit model of each renewable energy power generation component, the node admittance original matrix is ​​constructed as:

[0068]

[0069] in, Each element of the accompanying circuit model of the new energy power generation component with a total serial number of m of the new energy power generation unit.

[0070] Optionally, constructing a node voltage simulation model based on each element in the node admittance original matrix includes:

[0071] Determining independent directly associated elements, independent indirectly communicated elements, interactively directly associated elements, and interactively indirectly communicated elements in the node admittance original matrix;

[0072] A node voltage simulation model is constructed based on each independent directly associated element, each independent indirectly communicating element, each interactively directly associated element and each interactively indirectly communicating element.

[0073] Optionally, determining the independent directly associated elements, the independent indirectly communicated elements, the interactively directly associated elements, and the interactively indirectly communicated elements in the original node admittance matrix includes:

[0074] Determine, in each new energy generation component, a node that has no current interaction with a target element in the power system and outside the new energy generation unit as an independent node;

[0075] Determine the nodes in each new energy power generation component that have current interaction with the target element as interaction nodes;

[0076] In the node admittance original matrix, the elements corresponding to the independent nodes directly connected to the target element are determined as independent directly associated elements;

[0077] In the node admittance original matrix, elements corresponding to independent nodes that communicate indirectly with the target element are determined as independent indirect communication elements;

[0078] In the node admittance original matrix, the elements corresponding to the interactive nodes directly connected to the target element are determined as interactive directly associated elements;

[0079] In the node admittance original matrix, the elements corresponding to the interactive nodes that communicate indirectly with the target element are determined as interactive indirect communication elements.

[0080] Optionally, constructing a node voltage simulation model based on each element in the node admittance original matrix includes:

[0081] Use the following node voltage formula group to build a node voltage simulation model:

[0082]

[0083] Among them, N=N1+N2 is the dimension of the original node admittance matrix, N1 is the total number of interactive nodes of the new energy power generation unit, and N2 is the total number of independent nodes of the new energy power generation unit. are all currents input from the external circuit of the new energy power generation unit to the new energy power generation unit, is the equivalent current source of the N1th interactive node in the new energy power generation unit, is the equivalent current source of the N2th independent node in the new energy power generation unit, is the voltage of the N1th interaction node in the new energy power generation unit, is the voltage of the N2th independent node in the new energy power generation unit, are all interactive directly associated elements in the original node admittance matrix, are all independent directly associated elements in the original matrix of node admittance, are all interactive indirect communication elements in the original node admittance matrix, They are all independent indirect communication elements in the original node admittance matrix.

[0084] Optionally, performing equivalent circuit conversion on the node voltage simulation model to obtain a new energy access simulation model includes:

[0085] When the node voltage simulation model is constructed by the node voltage formula group, the node voltage simulation model is converted into an equivalent circuit to obtain a new energy access simulation model:

[0086]

[0087] in, is the node admittance matrix of the new energy power generation unit, is the node admittance matrix formed by each interaction node, is the node admittance matrix composed of each interactive indirect communication element, is the inverse matrix of the node admittance matrix composed of each independent directly associated element, is the inverse matrix of the node admittance matrix composed of each independent indirect communication element, is the current source matrix of the new energy power generation unit, is the current source matrix composed of the equivalent current sources of each interaction node, The current source matrix is ​​composed of the equivalent current sources of each independent node. is the voltage matrix composed of the voltages of each independent node, It is the voltage matrix composed of the voltages of each interaction node.

[0088] Optionally, the method further includes:

[0089] The following formula is used to calculate the system solution reduction of the power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario:

[0090] f=d*[(r*N) 3 -max(r*N1 3 ,r*N2 3 )]

[0091] Among them, d is the preset unit order matrix inversion calculation amount, and r is the number of new energy power generation units solved by a single CPU in a single simulation node in the electric power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario.

[0092] A device for constructing an electromagnetic transient simulation framework for a power system, comprising:

[0093] A distributed interconnection architecture construction unit is used to construct a power distribution interconnection simulation architecture for each simulation device group, taking each simulation device group as a simulation node under the constraints of inter-node communication time and inter-node synchronization time;

[0094] The inter-node communication time constraint is:

[0095]

[0096] Among them, T cha-r is the data interaction time between any two simulation nodes in the power distribution interconnection simulation architecture, T com-r is the communication time allowed between any two simulation device groups, n is the total number of simulation nodes in the power distribution interconnection simulation architecture, k is the upper limit of the simulation node interaction in the power distribution interconnection simulation architecture, i, j, j1…j k are different simulation nodes, ti-j is the data interaction time between simulation node i and simulation node j;

[0097] The inter-node synchronization time constraint is:

[0098]

[0099] Among them, T syn-r is the inter-node clock deviation of each simulation node in the power distribution interconnection simulation architecture, T syn is the synchronization time allowed between any two simulation device groups, v is the total number of CPUs in a simulation node, m is the number of cores in a CPU in a simulation node, p and q are different CPUs, x and y are different cores, t i_p_x,j_q_y is the clock deviation between the xth core in the pth CPU of simulation node i and the yth core in the qth CPU of simulation node j;

[0100] A local coupling architecture building unit, used to build a power local coupling simulation architecture based on communication parameters of each simulation device group;

[0101] The architecture fusion unit is used to fuse the power distribution interconnection simulation architecture and the power local coupling simulation architecture to obtain the power system electromagnetic transient simulation architecture.

[0102] Optionally, the local coupling architecture construction unit includes:

[0103] The single-node communication time constraint unit is used to construct a power local coupling simulation architecture based on the communication parameters of each simulation device group under the single-node communication time constraint, and the single-node communication time constraint is:

[0104]

[0105] Among them, x, y1…y s For each different core in a simulation node, t p-x,q-z is the data interaction time between the xth core in the pth CPU and the zth core in the qth CPU in the simulation node, t p-x,y is the data interaction time between the xth core and the yth core of the pth CPU in the simulation node, T com-C is the permissible value of the inter-CPU core communication time within a single simulation device group, T com-Cc It is the allowed value of the inter-core communication time within a single CPU in a single simulation device group.

[0106] Optionally, the single-node communication time constraint unit includes:

[0107] The task calculation time constraint unit is used to construct a power local coupling simulation architecture based on the communication parameters of each simulation device group under the single-node communication time constraint and the task calculation time constraint, and the task calculation time constraint is:

[0108]

[0109] Among them, t p-x-power is the time that the xth core in the pth CPU in each simulation node uses to calculate the electrical task, t p-x-control is the time that the xth core in the pth CPU in the simulation node uses to calculate the control task, T cal The time allowance is calculated for the tasks of the simulation device group corresponding to the simulation node.

[0110] A device for constructing an electromagnetic transient simulation model of a power system is applied to the electromagnetic transient simulation architecture of the power system as described above, and the device includes:

[0111] The simulation model creation unit is used to establish an electric power system electromagnetic transient simulation model corresponding to a preset power scenario on the electric power system electromagnetic transient simulation architecture.

[0112] Optionally, the power scenario is an AC / DC hybrid power grid operation scenario;

[0113] The simulation model creation unit comprises:

[0114] A data communication time calculation unit, used to calculate the data communication time of each simulation node based on the communication structure of the simulation node in the power system electromagnetic transient simulation architecture;

[0115] An architecture delay determination unit, used to determine a clock synchronization time of the electric power system electromagnetic transient simulation architecture, a system jitter time of the electric power system electromagnetic transient simulation architecture, and a calculation jitter time of the electric power system electromagnetic transient simulation architecture;

[0116] A time minimization constraint determination unit, configured to determine a system simulation time minimization constraint according to the data communication time of each simulation node, the clock synchronization time, the system jitter time, and the calculation jitter time;

[0117] The time constraint model building unit is used to build an electric power system electromagnetic transient simulation model corresponding to the AC / DC hybrid power grid operation scenario under the constraint of minimizing the system simulation time.

[0118] Optionally, the data communication time calculation unit includes:

[0119] A first time calculation unit, used for calculating a first time for each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture to calculate an electrical task;

[0120] A second time calculation unit, used for calculating a second time for each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture to calculate a control task;

[0121] A third time calculation unit, configured to calculate, for each simulation node in the power system electromagnetic transient simulation architecture, a third time for the simulation node to perform data interaction with a simulation node directly associated with the simulation node;

[0122] A fourth time calculation unit, used for calculating a fourth time for each CPU of each simulation node to perform data interaction with other CPUs of the simulation node in the power system electromagnetic transient simulation architecture;

[0123] A fifth time calculation unit, used for calculating a fifth time for each core of each CPU of each simulation node to perform data interaction with other cores in the CPU in the power system electromagnetic transient simulation architecture;

[0124] The time summarizing unit is used to summarize the first time, the second time, the third time, the fourth time and the fifth time of each node to obtain the data communication time of the node.

[0125] Optionally, the minimization time constraint determination unit includes:

[0126] The minimization time constraint determination subunit is used to determine the system simulation time constraint using the following formula:

[0127]

[0128] Among them, mint sim Minimize the system simulation time constraint, is the first time that the xth core of the pth CPU in the ith simulation node is used to calculate the electrical task, is the second time that the xth core of the pth CPU in the ith simulation node is used to calculate the control task, is the third time that the ith simulation node interacts with the simulation node directly associated with the simulation node i. is the fourth time for the p-th CPU of the i-th simulation node to interact with other CPUs of the i-th simulation node. is the fifth time that the x-th core of the p-th CPU of the i-th simulation node interacts with other cores of the p-th CPU of the i-th simulation node, is the system jitter time, is the clock synchronization time, is the calculated jitter time, and g is a preset simulation deviation allowable value.

[0129] Optionally, the power scenario is a multi-DC feed-in grid scenario where the number of DCs is greater than a preset DC number threshold, each simulation device group is a device in a flexible DC power transmission system, and the flexible DC power transmission system further includes a plurality of system components;

[0130] The simulation model creation unit comprises:

[0131] A frequency domain initial model building unit, used to build a frequency domain initial model of a controller simulating the flexible direct current power transmission system based on a number of system components of the flexible direct current power transmission system, wherein the frequency domain initial model includes a filter factor and a harmonic internal impedance factor;

[0132] A time domain model building unit, used to build a first electromagnetic transient time domain model of a filter in the flexible DC power transmission system, and to build a second electromagnetic transient time domain model of a harmonic internal impedance of an AC power grid into which the flexible DC power transmission system is incorporated;

[0133] A model conversion unit, configured to convert the frequency domain initial model through the first electromagnetic transient time domain model and the second electromagnetic transient time domain model to obtain a high-frequency harmonic suppression time domain universal model that eliminates the filter factor and the harmonic internal impedance factor;

[0134] The multi-DC feed-in model establishment unit is used to integrate the high-frequency harmonic suppression time domain general model into the power system electromagnetic transient simulation architecture to obtain a power system electromagnetic transient simulation model corresponding to the multi-DC feed-in power grid scenario.

[0135] Optionally, the frequency domain initial model building unit includes:

[0136] The frequency domain initial model establishment subunit is used to establish a frequency domain initial model of the controller for simulating the flexible direct current transmission system using the following first function:

[0137]

[0138] Among them, Y(s) is the frequency domain output variable of the controller of the flexible direct current transmission system, T0 is a preset time delay constant, L is the flexible direct current equivalent inductance in the flexible direct current transmission system, s is a Laplace operator, Z(s) is the harmonic internal impedance factor of the harmonic internal impedance of the alternating current power grid to which the flexible direct current transmission system is connected, K(s) is the filter factor of the filter in the flexible direct current transmission system, and X(s) is the frequency domain input variable of the controller.

[0139] Optionally, the model conversion unit includes:

[0140] A model conversion subunit is used for converting the frequency domain initial model through the first electromagnetic transient time domain model and the second electromagnetic transient time domain model when the frequency domain initial model is the frequency domain initial model established by using the first function, so as to obtain a high-frequency harmonic suppression time domain general model as follows:

[0141]

[0142] Among them, t x is the time variable, Y(t x ) is the time domain output variable of the controller in the general time domain model for high-frequency harmonic suppression, X(t x ) is the time domain input variable of the controller in the general time domain model for high-frequency harmonic suppression, Δt x is the time variation.

[0143] Optionally, the power scenario is a high-proportion new energy access scenario in which the access ratio of new energy power generation units accessing the power system is greater than a preset access ratio threshold, the new energy power generation unit includes a plurality of new energy power generation components, and the power system includes various simulation device groups;

[0144] The simulation model creation unit comprises:

[0145] An accompanying circuit model building unit, for building an accompanying circuit model of each new energy power generation component connected to the power system;

[0146] An admittance primitive matrix construction unit is used to construct a node admittance primitive matrix based on the accompanying circuit models of each renewable energy power generation component and the topological connection relationship between the accompanying circuit models of each renewable energy power generation component;

[0147] A node voltage simulation model construction unit, used to construct a node voltage simulation model based on each element in the node admittance original matrix;

[0148] An equivalent circuit conversion unit, used for performing equivalent circuit conversion on the node voltage simulation model to obtain a new energy access simulation model;

[0149] The new energy access simulation model construction unit is used to integrate the new energy access simulation model into the power system electromagnetic transient simulation architecture to obtain a power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario.

[0150] Optionally, the admittance original matrix construction unit includes:

[0151] The first admittance primitive matrix construction subunit is used to determine the total serial number of the new energy power generation component corresponding to each of the accompanying circuit models in the new energy power generation unit according to the topological connection relationship between the accompanying circuit models of the various new energy power generation components;

[0152] The second admittance original matrix construction subunit is used to construct a node admittance original matrix based on the accompanying circuit model of each renewable energy power generation component under the total sequence number of each accompanying circuit model as follows:

[0153]

[0154] in, Each element of the accompanying circuit model of the new energy power generation component with a total serial number of m of the new energy power generation unit.

[0155] Optionally, the node voltage simulation model construction unit includes:

[0156] An element class determination unit, used to determine independent direct association elements, independent indirect communication elements, interactive direct association elements and interactive indirect communication elements in the node admittance original matrix;

[0157] The element voltage simulation model construction unit is used to construct a node voltage simulation model based on each independent directly associated element, each independent indirectly communicating element, each interactively directly associated element and each interactively indirectly communicating element.

[0158] Optionally, the element class determination unit includes:

[0159] An independent node determination unit, used for determining, in each new energy power generation component, a node that has no current interaction with a target element in the power system and outside the new energy power generation unit as an independent node;

[0160] An interaction node determination unit, used for determining nodes in each new energy power generation component that have current interaction with the target element as interaction nodes;

[0161] An independent directly associated element determination unit, used for determining, in the node admittance original matrix, elements corresponding to independent nodes directly connected to the target element as independent directly associated elements;

[0162] An independent indirect communication element determination unit, configured to determine, in the node admittance original matrix, an element corresponding to an independent node that indirectly communicates with the target element as an independent indirect communication element;

[0163] An interactive directly associated element determination unit, used for determining, in the node admittance original matrix, an element corresponding to an interactive node directly connected to the target element as an interactive directly associated element;

[0164] The interactive indirect communication element determination unit is used to determine, in the node admittance original matrix, an element corresponding to an interactive node that indirectly communicates with the target element as an interactive indirect communication element.

[0165] Optionally, the node voltage simulation model construction unit includes:

[0166] The node voltage simulation model construction subunit is used to construct a node voltage simulation model using the following node voltage formula group:

[0167]

[0168] Among them, N=N1+N2 is the dimension of the original node admittance matrix, N1 is the total number of interactive nodes of the new energy power generation unit, and N2 is the total number of independent nodes of the new energy power generation unit. are all currents input from the external circuit of the new energy power generation unit to the new energy power generation unit, is the equivalent current source of the N1th interactive node in the new energy power generation unit, is the equivalent current source of the N2th independent node in the new energy power generation unit, is the voltage of the N1th interaction node in the new energy power generation unit, is the voltage of the N2th independent node in the new energy power generation unit, are all interactive directly associated elements in the original node admittance matrix, are all independent directly associated elements in the original matrix of node admittance, are all interactive indirect communication elements in the original node admittance matrix, They are all independent indirect communication elements in the original node admittance matrix.

[0169] Optionally, the equivalent circuit conversion unit includes:

[0170] The new energy access simulation model conversion unit is used to perform equivalent circuit conversion on the node voltage simulation model when the node voltage simulation model is constructed by the node voltage formula group, so as to obtain the new energy access simulation model as follows:

[0171]

[0172] in, is the node admittance matrix of the new energy power generation unit, is the node admittance matrix formed by each interaction node, is the node admittance matrix composed of each interactive indirect communication element, is the inverse matrix of the node admittance matrix composed of each independent directly associated element, is the inverse matrix of the node admittance matrix composed of each independent indirect communication element, is the current source matrix of the new energy power generation unit, is the current source matrix composed of the equivalent current sources of each interaction node, The current source matrix is ​​composed of the equivalent current sources of each independent node. is the voltage matrix composed of the voltages of each independent node, It is the voltage matrix composed of the voltages of each interaction node.

[0173] Optionally, the device further comprises:

[0174] The solution reduction calculation unit is used to calculate the system solution reduction of the power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario using the following formula:

[0175] f=d*[(r*N) 3 -max(r*N1 3 ,r*N2 3 )]

[0176] Among them, d is the preset unit order matrix inversion calculation amount, and r is the number of new energy power generation units solved by a single CPU in a single simulation node in the electric power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario.

[0177] By means of the above technical solution, the present application constructs a power distribution interconnection simulation architecture for each simulation device group under the constraints of inter-node communication time and inter-node synchronization time, takes each simulation device group as a simulation node, constructs a power local coupling simulation architecture based on the communication parameters of each simulation device group, and integrates the power distribution interconnection simulation architecture and the power local coupling simulation architecture to obtain a power system electromagnetic transient simulation architecture. It can be seen that by combining the global power distribution interconnection simulation architecture with the local power local coupling simulation structure, a multi-level real-time simulation architecture can be obtained, which can increase the scale of simulation nodes by orders of magnitude, thereby meeting the needs of simultaneous simulation operation of millions of electrical nodes. BRIEF DESCRIPTION OF THE DRAWINGS

[0178] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0179] Figure 1 A schematic diagram of a process for constructing an electromagnetic transient simulation architecture for a power system provided in an embodiment of the present application;

[0180] Figure 2 A schematic diagram of a process for constructing an electromagnetic transient simulation model of an electric power system based on an AC / DC hybrid power grid operation scenario provided in an embodiment of the present application;

[0181] Figure 3 A schematic diagram of a process for constructing an electromagnetic transient simulation model of an electric power system based on a multi-DC feed-in grid scenario provided in an embodiment of the present application;

[0182] Figure 4 A schematic diagram of a process for constructing an electromagnetic transient simulation model of an electric power system based on a high proportion of new energy access scenario provided in an embodiment of the present application;

[0183] Figure 5 A schematic diagram of the structure of a device for constructing an electromagnetic transient simulation architecture for a power system provided in an embodiment of the present application. DETAILED DESCRIPTION

[0184] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0185] The present application solution can be implemented based on a terminal with data processing capabilities, which can be a computer, server, cloud, etc.

[0186] Next, combine Figure 1 The method for constructing the power system electromagnetic transient simulation architecture of the present application may include the following steps:

[0187] Step S110: Under the constraints of inter-node communication time and inter-node synchronization time, each simulation device group is used as a simulation node, and a power distribution interconnection simulation architecture is constructed for each simulation device group.

[0188] Specifically, the inter-node communication time constraint is:

[0189]

[0190] Among them, T cha-r It can represent the data interaction time between any two simulation nodes in the power distribution interconnection simulation architecture, T com-r can represent the allowed communication time between any two simulation device groups, n can represent the total number of simulation nodes in the power distribution interconnection simulation architecture, k can represent the upper limit of the interaction of simulation nodes in the power distribution interconnection simulation architecture, i, j, j1…j k Can represent different simulation nodes, t i-j It can represent the data interaction time between simulation node i and simulation node j.

[0191] It can be understood that any group of simulation nodes (two simulation nodes) in the power distribution interconnection simulation architecture may have communication interaction, and the communication interaction between each group of simulation nodes can be carried out in parallel. Then the inter-node communication time of the power distribution interconnection simulation architecture is the data interaction time between the two simulation nodes with the longest communication interaction time.

[0192] The synchronization time constraints between nodes are:

[0193]

[0194] Among them, T syn-r It can represent the clock deviation between each simulation node of the power distribution interconnection simulation architecture, T syn can represent the synchronization time allowed between any two simulation device groups, v can represent the total number of CPUs in a simulation node, m can represent the number of cores in a CPU in a simulation node, p and q can represent different CPUs, x and y can represent different cores, t i_p_x,j_q_y It can represent the clock deviation between the x-th core in the p-th CPU of the simulation node i and the y-th core in the q-th CPU of the simulation node j.

[0195] It can be understood that any group of simulation nodes (two simulation nodes) that communicate and interact in the power distribution interconnection simulation architecture mainly communicate and interact between the cores in the CPU, and there is a clock deviation between the two cores. Therefore, the clock deviation between nodes in the power distribution interconnection simulation architecture is the clock deviation value between the two cores with the longest clock deviation.

[0196] Step S120: construct a power local coupling simulation architecture based on the communication parameters of each simulation device group.

[0197] Specifically, the power local coupling simulation architecture may represent the communication topology parameters constructed for each simulation device group in each simulation device group.

[0198] Step S130, integrating the power distribution interconnection simulation architecture and the power local coupling simulation architecture to obtain the power system electromagnetic transient simulation architecture.

[0199] Specifically, the power distribution interconnection simulation architecture and the power local coupling simulation architecture together constitute a multi-level real-time simulation architecture, so the power system electromagnetic transient simulation architecture has multiple levels.

[0200] The method for constructing the electromagnetic transient simulation architecture of the power system provided in this embodiment is to construct a power distribution interconnection simulation architecture for each simulation device group under the constraints of inter-node communication time and inter-node synchronization time, and to construct a power local coupling simulation architecture based on the communication parameters of each simulation device group, and to integrate the power distribution interconnection simulation architecture and the power local coupling simulation architecture to obtain the electromagnetic transient simulation architecture of the power system. It can be seen that by combining the global power distribution interconnection simulation architecture with the local power local coupling simulation structure, a multi-level real-time simulation architecture can be obtained, thereby increasing the scale of simulation nodes by orders of magnitude, thereby meeting the needs of simultaneous simulation operation of millions of electrical nodes.

[0201] In some embodiments of the present application, the process of constructing a power local coupling simulation architecture based on the communication parameters of each simulation device group in step S120 is introduced, and the process may include:

[0202] Under the single-node communication time constraint, a power local coupling simulation architecture is constructed based on the communication parameters of each simulation device group.

[0203] Specifically, the single-node communication time constraint is:

[0204]

[0205] Among them, x, y1…y s It can represent different cores in each simulation node, t p-x,q-z It can represent the data interaction time between the xth core in the pth CPU and the zth core in the qth CPU in the simulation node, t p-x,y It can represent the data interaction time between the xth core and the yth core of the pth CPU in the simulation node, T com-C It can represent the allowed value of the inter-CPU communication time within a single simulation device group, T com-Cc It can represent the allowed value of inter-core communication time within a single CPU within a single simulation device group.

[0206] It can be understood that the communication within a node is mainly the intra-core communication within the CPU and the inter-core communication between CPUs. Therefore, the CPU core communication time in the single-node communication time is the longest intra-core communication time among the intra-core communication times in each single CPU, and the inter-core communication time between CPUs in the single-node communication time is the longest inter-core communication time among the inter-core communication times of different CPUs.

[0207] On this basis, each simulation node of the power local coupling simulation architecture can also be constrained by the task calculation time. Based on this, under the single-node communication time constraint, based on the communication parameters of each simulation device group, the process of constructing the power local coupling simulation architecture can also be specifically as follows:

[0208] Under the constraints of single-node communication time and task calculation time, a power local coupling simulation architecture is constructed based on the communication parameters of each simulation device group.

[0209] Specifically, the task calculation time constraint is:

[0210]

[0211] Among them, t p-x-power It can be expressed as the time that the xth core in the pth CPU in each simulation node is used to calculate the electrical task, t p-x-control It can represent the time that the xth core in the pth CPU in the simulation node is used to calculate the control task, T cal It can represent the allowed value of task calculation time of the simulation device group corresponding to the simulation node.

[0212] It can be understood that the tasks solved by each simulation node include the tasks of the electrical part and the tasks of the control part, so the task calculation time of each simulation node can be the maximum value of the sum of the time used by the core in the CPU to calculate the electrical task and the time used to calculate the control task.

[0213] The method for constructing the electromagnetic transient simulation architecture of the power system provided in this embodiment enables each simulation node in the power local coupling simulation architecture to operate within the limits of the allowed value of the inter-core communication time across CPUs, the allowed value of the inter-core communication time within a single CPU, and the allowed value of the task calculation time by setting single-node communication time constraints and task calculation time constraints, and can coordinate millions of simulation nodes for real-time simulation.

[0214] Next, a method for constructing an electromagnetic transient simulation model of an electric power system is introduced. The method can be based on the electromagnetic transient simulation architecture of an electric power system mentioned in the above embodiment. The construction process of the electromagnetic transient simulation model of an electric power system of the present application can include:

[0215] Based on the power system electromagnetic transient simulation architecture, a power system electromagnetic transient simulation model corresponding to the preset power scenario is established.

[0216] Specifically, the power system electromagnetic transient simulation model can be based on the power system electromagnetic transient simulation architecture. The preset power scenario can represent the power events applicable to the power system electromagnetic transient simulation model, such as AC / DC hybrid complex power grid operation events, high-proportion new energy access to the power grid events, and multi-DC system feed-in events.

[0217] In some embodiments of the present application, the electromagnetic transient simulation model of the power system mentioned in the above embodiments can be applicable to the power scenario of the AC / DC hybrid power grid operation scenario. Then, when the preset power scenario is the AC / DC hybrid power grid operation scenario, the above step S140, on the power system electromagnetic transient simulation architecture, the process of establishing the electromagnetic transient simulation model of the power system corresponding to the preset power scenario is introduced, such as Figure 2 As shown, the process may include:

[0218] Step S1411: Calculate the data communication time of each simulation node based on the communication structure of the simulation node in the power system electromagnetic transient simulation architecture.

[0219] Specifically, the data communication time of each simulation node may include the time when the core of the CPU in the simulation node is used for computing tasks, the time when the simulation node is interacting with associated simulation nodes, the time when the CPU of the simulation node is interacting with the CPUs of other simulation nodes, and the time when data is interacting between the cores of the CPU in the simulation node.

[0220] Step S1412: determine the clock synchronization time of the power system electromagnetic transient simulation framework, the system jitter time of the power system electromagnetic transient simulation framework, and the calculation jitter time of the power system electromagnetic transient simulation framework.

[0221] Specifically, the clock synchronization time of the power system electromagnetic transient simulation architecture can represent the clock synchronization time of the system composed of each simulation equipment group, the system jitter time of the power system electromagnetic transient simulation architecture can represent the jitter time of the system composed of each simulation equipment group, and the calculation jitter time of the power system electromagnetic transient simulation architecture can represent the jitter time of the system composed of each simulation equipment group during calculation tasks.

[0222] Step S1413: Determine the system simulation time minimization constraint according to the data communication time, clock synchronization time, system jitter time and calculation jitter time of each simulation node.

[0223] It can be understood that for each core of each simulation node in the power system electromagnetic transient simulation architecture, its computing resources are fully utilized to make the resource utilization of each core of each simulation node in the power system electromagnetic transient simulation architecture as close as possible, thereby minimizing the computing time required for the simulation task. At the same time, the total system time can be divided into inter-core communication time, inter-CPU communication time, communication time between different simulation nodes, and the clock synchronization time of the simulation system, operating system jitter time, and computing jitter time, and the minimum system simulation time for global matching of simulation tasks and simulation resources is obtained comprehensively.

[0224] Step S1414: Under the constraint of minimizing the system simulation time, establish a power system electromagnetic transient simulation model corresponding to the AC / DC hybrid power grid operation scenario.

[0225] It can be understood that the electromagnetic transient simulation model of the power system corresponding to the AC / DC hybrid power grid operation scenario can meet the various restrictions in the system simulation time minimization constraint.

[0226] The method for constructing an electromagnetic transient simulation model of an electric power system provided in this embodiment establishes a system simulation time minimization constraint by calculating the data communication time of each simulation node, as well as the clock synchronization time, system jitter time and calculation jitter time of the overall electromagnetic transient simulation architecture of the electric power system, so that the electromagnetic transient simulation model of the electric power system established under the constraint can comprehensively obtain the minimum simulation time for global matching of simulation tasks and simulation resources, thereby improving the simulation capability in the AC / DC hybrid power grid operation scenario.

[0227] In some embodiments of the present application, the process of calculating the data communication time of each simulation node in the above step S1411 based on the communication structure of each simulation node in the power system electromagnetic transient simulation architecture is introduced, and the process may include:

[0228] S1. Calculate the first time that each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture is used to calculate the electrical task.

[0229] S2. Calculate the second time that each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture is used to calculate the control task.

[0230] S3. For each simulation node in the power system electromagnetic transient simulation architecture, calculate the third time for the simulation node to interact with the simulation node directly associated with the simulation node.

[0231] S4. Calculate the fourth time for each CPU of each simulation node to perform data interaction with other CPUs of the simulation node in the electromagnetic transient simulation architecture of the power system.

[0232] S5. Calculate the fifth time for each core of each CPU of each simulation node to perform data interaction with other cores in the CPU in the power system electromagnetic transient simulation architecture.

[0233] S6. Summarize the first time, the second time, the third time, the fourth time and the fifth time of each node to obtain the data communication time of the node.

[0234] On this basis, the process of determining the system simulation time minimization constraint according to the data communication time, clock synchronization time, system jitter time and calculation jitter time of each simulation node in step S1413 is introduced. The process may include:

[0235] Determine the system simulation time constraint using the following formula:

[0236]

[0237] Among them, mint sim It can express the system simulation time minimization constraint, It can represent the first time that the xth core of the pth CPU in the ith simulation node is used to calculate the electrical task, It can represent the second time that the xth core of the pth CPU in the ith simulation node is used to calculate the control task. It can represent the third time when the ith simulation node interacts with the simulation node directly associated with the simulation node i. It can represent the fourth time when the p-th CPU of the i-th simulation node interacts with other CPUs of the i-th simulation node. It can represent the fifth time that the xth core of the pth CPU of the i-th simulation node interacts with other cores of the pth CPU of the i-th simulation node. To represent the system jitter time, Can indicate clock synchronization time, It can represent the calculated jitter time, and g is the preset simulation deviation allowable value.

[0238] It can be understood that since there is no intersection between the core computing electrical tasks of the CPU of each simulation node, its computing control tasks, the data interaction between the simulation node and its associated simulation node, the data interaction between the CPU of the simulation node and other CPUs, and the data interaction between cores in the CPU, these events have no intersection, so the first time, the second time, the third time, the fourth time and the fifth time can be added directly.

[0239] In some embodiments of the present application, the electromagnetic transient simulation model of the power system mentioned in the above embodiments can be applicable to a multi-DC feeding grid scenario in which the number of DCs is greater than a preset DC number threshold. Then, when the preset power scenario is this type of multi-DC feeding grid scenario, each simulation device group can be a device in a flexible DC transmission system, and the flexible DC transmission system can also include a number of system components, which can specifically be a controller, a flexible DC equivalent inductor, a harmonic internal impedance, and a filter.

[0240] On this basis, the process of establishing a power system electromagnetic transient simulation model corresponding to a preset power scenario on the power system electromagnetic transient simulation framework in the above step S140 is introduced. Figure 3 As shown, the process may include:

[0241] Step S1421: Based on several system components of the flexible direct current power transmission system, an initial frequency domain model of a controller simulating the flexible direct current power transmission system is established.

[0242] The frequency domain initial model may include filter factors and harmonic internal impedance factors.

[0243] Step S1422: establishing a first electromagnetic transient time-domain model of the filter in the flexible DC power transmission system, and establishing a second electromagnetic transient time-domain model of the harmonic internal impedance of the AC power grid to which the flexible DC power transmission system is integrated.

[0244] Step S1423: converting the frequency domain initial model through the first electromagnetic transient time domain model and the second electromagnetic transient time domain model to obtain a high-frequency harmonic suppression time domain universal model that eliminates the filter factor and the harmonic internal impedance factor.

[0245] Among them, the first electromagnetic transient time domain model and the second electromagnetic transient time domain model can be used to first simplify the frequency domain initial model to obtain a frequency domain simplified model, then perform an inverse Laplace transform on the frequency domain simplified model to obtain a time domain simplified model, and finally use the trapezoidal rule to generalize the time domain simplified model to obtain a high-frequency harmonic suppression time domain general model.

[0246] It can be understood that since the initial model in the frequency domain includes the filter factor and the harmonic internal impedance factor, and the first electromagnetic transient time domain model is established based on the filter, and the second electromagnetic transient time domain model is established based on the harmonic internal impedance of the incorporated AC power grid, after simplifying the initial model in the frequency domain using the first electromagnetic transient time domain model and the second electromagnetic transient time domain model, the filter factor and the harmonic internal impedance factor can be eliminated.

[0247] Step S1424: integrating the high-frequency harmonic suppression time domain universal model into the power system electromagnetic transient simulation framework to obtain a power system electromagnetic transient simulation model corresponding to a multi-DC feed-in grid scenario.

[0248] The method for constructing the electromagnetic transient simulation model of the power system provided in this embodiment uses the filter time domain model and the harmonic internal impedance time domain model to convert the frequency domain initial model of the controller of the flexible DC transmission system, so that the established electromagnetic transient simulation model of the power system can suppress high-frequency harmonics without affecting the dynamic characteristics of the system, thereby being suitable for the operation scenario of the AC / DC hybrid power grid.

[0249] In some embodiments of the present application, the process of establishing a frequency domain initial model of a controller for simulating a flexible DC power transmission system based on several system components of the flexible DC power transmission system in step S1421 is introduced. The process may include:

[0250] The frequency domain initial model of the controller for simulating the flexible DC transmission system is established using the following first function:

[0251]

[0252] Among them, Y(s) is the frequency domain output variable of the controller of the flexible DC transmission system, T0 is the preset time delay constant, L is the flexible DC equivalent inductance in the flexible DC transmission system, s is the Laplace operator, Z(s) is the harmonic internal impedance factor of the harmonic internal impedance of the AC power grid connected to the flexible DC transmission system, K(s) is the filter factor of the filter in the flexible DC transmission system, and X(s) is the frequency domain input variable of the controller.

[0253] On this basis, the process of converting the frequency domain initial model through the first electromagnetic transient time domain model and the second electromagnetic transient time domain model in step S1423 to obtain a high-frequency harmonic suppression time domain general model that eliminates the filter factor and the harmonic internal impedance factor is introduced. The process may include:

[0254] When the frequency domain initial model is the frequency domain initial model established by using the first function, the frequency domain initial model is converted by using the first electromagnetic transient time domain model and the second electromagnetic transient time domain model, and the high-frequency harmonic suppression time domain general model is obtained as follows:

[0255]

[0256] Among them, t x is the time variable, Y(t x ) is the time domain output variable of the controller in the general time domain model for high-frequency harmonic suppression, X(t x ) is the time domain input variable of the controller in the general time domain model for high-frequency harmonic suppression, Δtx is the time variation.

[0257] Specifically, after the frequency domain initial model is simplified by the first electromagnetic transient time domain model and the second electromagnetic transient time domain model, the frequency domain simplified model is obtained as follows:

[0258]

[0259] Specifically, the simplified frequency domain model has eliminated the filter factor and the harmonic internal impedance factor.

[0260] Furthermore, the simplified frequency domain model is subjected to inverse Laplace transform to obtain the simplified time domain model:

[0261]

[0262] Furthermore, the simplified time domain model is generalized to obtain the general time domain model for high-frequency harmonic suppression:

[0263]

[0264] In some embodiments of the present application, the electromagnetic transient simulation model of the power system mentioned in the above embodiments can be applicable to a high-proportion new energy access scenario in which the access ratio of new energy power generation units connected to the power system is greater than a preset access ratio threshold. Then, when the preset power scenario is this high-proportion new energy access scenario, the new energy power generation unit may include several new energy power generation components, wherein the power system may include various simulation equipment groups.

[0265] Specifically, the new energy power generation unit may be a wind turbine or a photovoltaic power generation unit.

[0266] On this basis, the process of establishing a power system electromagnetic transient simulation model corresponding to a preset power scenario on the power system electromagnetic transient simulation framework in the above step S140 is introduced. Figure 4 As shown, the process may include:

[0267] Step S1431: for each new energy power generation component connected to the power system, construct an accompanying circuit model of the new energy power generation component.

[0268] Step S1432: construct a node admittance original matrix based on the accompanying circuit models of each renewable energy power generation component and the topological connection relationship between the accompanying circuit models of each renewable energy power generation component.

[0269] Step S1433: construct a node voltage simulation model based on each element in the original node admittance matrix.

[0270] Among them, each element in the original matrix of node admittance can be divided into four categories according to whether there is current interaction and whether there is direct communication interaction. These four types of elements can be combined to obtain the transfer matrix in the node voltage simulation model.

[0271] Step S1434: convert the node voltage simulation model into an equivalent circuit to obtain a new energy access simulation model.

[0272] Specifically, the node voltage simulation model can be integrated into the form of a Norton equivalent circuit to obtain a new energy access simulation model.

[0273] Step S1435: Integrate the new energy access simulation model into the power system electromagnetic transient simulation framework to obtain a power system electromagnetic transient simulation model corresponding to a high proportion of new energy access scenario.

[0274] It can be understood that integrating the new energy access simulation model into the power system electromagnetic transient simulation architecture enables the power system electromagnetic transient simulation model to be suitable for simulation operation on millions of simulation nodes while also being suitable for scenarios where large-scale new energy is accessed.

[0275] In some embodiments of the present application, the process of constructing a node voltage simulation model based on each element in the node admittance original matrix in S1433 is introduced, and the process may include:

[0276] S1. According to the topological connection relationship between the accompanying circuit models of each new energy power generation component, determine the total serial number of the new energy power generation component corresponding to each accompanying circuit model in the new energy power generation unit.

[0277] It can be understood that the nodes of each companion circuit model can be arranged according to the total sequence number corresponding to the companion circuit model in the process of constructing the node admittance original matrix.

[0278] S2. Under the total serial number of each accompanying circuit model, based on the accompanying circuit model of each renewable energy power generation component, the node admittance original matrix is ​​constructed as follows:

[0279]

[0280] in, Each element of the accompanying circuit model of the new energy power generation component with a total serial number of m for the new energy power generation unit.

[0281] It can be understood that the dimension of the node admittance original matrix A is N-order, specifically:

[0282] In some embodiments of the present application, the process of constructing a node voltage simulation model based on each element in the node admittance original matrix in step S1433 is introduced, and the process may include:

[0283] S1. Determine the independent directly associated elements, independent indirectly communicated elements, interactive directly associated elements and interactive indirect communicated elements in the original node admittance matrix.

[0284] Specifically, the process of determining the independent directly associated elements, the independent indirectly communicated elements, the interactive directly associated elements, and the interactive indirectly communicated elements in the original node admittance matrix may include:

[0285] S11. Determine, in each renewable energy power generation component, nodes that have no current interaction with target elements in the power system and outside the renewable energy power generation unit as independent nodes.

[0286] S12. Determine the nodes in each new energy power generation component that have current interaction with the target element as interaction nodes.

[0287] S13. In the original node admittance matrix, the elements corresponding to the independent nodes directly connected to the target element are determined as independent directly associated elements.

[0288] S14. In the original node admittance matrix, the elements corresponding to the independent nodes that communicate indirectly with the target element are determined as independent indirect communication elements.

[0289] S15. In the original node admittance matrix, the elements corresponding to the interactive nodes directly connected to the target element are determined as interactive directly associated elements.

[0290] S16. In the original node admittance matrix, the elements corresponding to the interactive nodes that communicate indirectly with the target element are determined as interactive indirect communication elements.

[0291] S2. Construct a node voltage simulation model based on each independent directly associated element, each independent indirectly communicating element, each interactively directly associated element, and each interactively indirectly communicating element.

[0292] Specifically, based on each independent directly associated element, each independent indirectly communicating element, each interactively directly associated element, and each interactively indirectly communicating element, the process of constructing a node voltage simulation model may include:

[0293] Use the following node voltage formula group to build a node voltage simulation model:

[0294]

[0295] Among them, N = N1 + N2, N can represent the dimension of the original matrix of node admittance, N1 can represent the total number of interactive nodes of the new energy power generation unit, and N2 can represent the total number of independent nodes of the new energy power generation unit. Both can represent the current input from the external circuit of the new energy power generation unit to the new energy power generation unit, It can represent the equivalent current source of the N1th interaction node in the new energy power generation unit, It can represent the equivalent current source of the N2th independent node in the new energy power generation unit. It can represent the voltage of the N1th interaction node in the renewable energy power generation unit. It can represent the voltage of the N2th independent node in the new energy power generation unit. It can represent the interactive directly related elements in the original matrix of node admittance, can represent the independent directly associated elements in the original matrix of node admittance, It can represent the interactive indirect communication elements in the original matrix of node admittance, It is possible to represent independent indirect communication elements in the original matrix of node admittance.

[0296] On this basis, the process of performing equivalent circuit conversion on the node voltage simulation model in step S1434 to obtain a new energy access simulation model is introduced. The process may include:

[0297] When the node voltage simulation model is constructed by the node voltage formula group, the node voltage simulation model is converted into an equivalent circuit, and the new energy access simulation model is obtained as follows:

[0298]

[0299] in, It can represent the node admittance matrix of the renewable energy power generation unit. It can represent the node admittance matrix composed of each interaction node. It can represent the node admittance matrix composed of each interactive indirect communication element. It can represent the inverse matrix of the node admittance matrix composed of each independent directly associated element, It can represent the inverse matrix of the node admittance matrix composed of each independent indirect communication element, It can represent the current source matrix of the new energy power generation unit. The current source matrix composed of the equivalent current sources of each interaction node can be represented. It can represent the current source matrix composed of the equivalent current sources of each independent node. It can represent the voltage matrix composed of the voltages of each independent node. The voltage matrix composed of the voltages of each interactive node can be represented.

[0300] Understandably, The dimension is N1, which is N2 less than the dimension of the original node admittance matrix A. Therefore, the electromagnetic transient simulation model of the power system that integrates the new energy access simulation model can reduce the amount of model solution compared to the solution method based on the original node admittance matrix A, so as to achieve efficient simulation.

[0301] Considering that the new energy access simulation model mentioned in the aforementioned embodiment is integrated into the power system electromagnetic transient simulation architecture mentioned in the aforementioned embodiment, a power system electromagnetic transient simulation model corresponding to a high proportion of new energy access scenario can be obtained, and the power system electromagnetic transient simulation model can reduce the amount of model solution. Based on this, in some embodiments of the present application, the method for constructing the power system electromagnetic transient simulation model provided may also include an introduction to the process of reducing the amount of model solution of the power system electromagnetic transient simulation model. Specifically, the process may include:

[0302] The following formula is used to calculate the reduction in system solution of the electromagnetic transient simulation model of the power system corresponding to the scenario with a high proportion of new energy access:

[0303] f=d*[(r*N) 3 -max(r*N1 3 ,r*N2 3 )]

[0304] Among them, d is the preset unit-order matrix inversion calculation amount, and r is the number of renewable energy power generation units solved by a single CPU in a single simulation node in the electromagnetic transient simulation model of the power system corresponding to the high-proportion renewable energy access scenario.

[0305] It can be understood that when using the electric power system electromagnetic transient simulation model corresponding to the scenario with a high proportion of new energy access for simulation, compared with the simulation based on the node admittance original matrix A mentioned in the aforementioned embodiment, the system solution amount can be reduced to f, so that the electric power system electromagnetic transient simulation model corresponding to the scenario with a high proportion of new energy access can be efficiently simulated, and the computational scale and efficiency of the electric power system electromagnetic transient simulation model are improved, which can better adapt to the simulation requirements of millions of simulation nodes.

[0306] The following describes a construction device for implementing an electromagnetic transient simulation architecture for an electric power system provided in an embodiment of the present application. The construction device for implementing an electromagnetic transient simulation architecture for an electric power system described below and the construction method for implementing an electromagnetic transient simulation architecture for an electric power system described above can be referenced to each other.

[0307] See also Figure 5 , Figure 5This is a schematic diagram of the structure of a construction device for realizing an electromagnetic transient simulation architecture of a power system disclosed in an embodiment of the present application.

[0308] like Figure 5 As shown, the device may include:

[0309] A distributed interconnection architecture construction unit 11 is used to construct a power distribution interconnection simulation architecture for each simulation device group, taking each simulation device group as a simulation node under the constraints of inter-node communication time and inter-node synchronization time;

[0310] The inter-node communication time constraint is:

[0311]

[0312] Among them, T cha-r is the data interaction time between any two simulation nodes in the power distribution interconnection simulation architecture, T com-r is the communication time allowed between any two simulation device groups, n is the total number of simulation nodes in the power distribution interconnection simulation architecture, k is the upper limit of the simulation node interaction in the power distribution interconnection simulation architecture, i, j, j1…j k are different simulation nodes, t i-j is the data interaction time between simulation node i and simulation node j;

[0313] The inter-node synchronization time constraint is:

[0314]

[0315] Among them, T syn-r is the inter-node clock deviation of each simulation node in the power distribution interconnection simulation architecture, T syn is the synchronization time allowed between any two simulation device groups, v is the total number of CPUs in a simulation node, m is the number of cores in a CPU in a simulation node, p and q are different CPUs, x and y are different cores, t i_p_x,j_q_y is the clock deviation between the xth core in the pth CPU of simulation node i and the yth core in the qth CPU of simulation node j;

[0316] A local coupling architecture building unit 12 is used to build a power local coupling simulation architecture based on communication parameters of each simulation device group;

[0317] The architecture fusion unit 13 is used to fuse the power distribution interconnection simulation architecture and the power local coupling simulation architecture to obtain the power system electromagnetic transient simulation architecture.

[0318] Optionally, the local coupling architecture construction unit includes:

[0319] The single-node communication time constraint unit is used to construct a power local coupling simulation architecture based on the communication parameters of each simulation device group under the single-node communication time constraint, and the single-node communication time constraint is:

[0320]

[0321] Among them, x, y1…y s For each different core in a simulation node, t p-x,q-z is the data interaction time between the xth core in the pth CPU and the zth core in the qth CPU in the simulation node, t p-x,y is the data interaction time between the xth core and the yth core of the pth CPU in the simulation node, T com-C is the permissible value of the inter-CPU core communication time within a single simulation device group, T com-Cc It is the allowed value of the inter-core communication time within a single CPU in a single simulation device group.

[0322] Optionally, the single-node communication time constraint unit includes:

[0323] The task calculation time constraint unit is used to construct a power local coupling simulation architecture based on the communication parameters of each simulation device group under the single-node communication time constraint and the task calculation time constraint, and the task calculation time constraint is:

[0324]

[0325] Among them, t p-x-power is the time that the xth core in the pth CPU in each simulation node uses to calculate the electrical task, t p-x-control is the time that the xth core in the pth CPU in the simulation node uses to calculate the control task, T cal The time allowance is calculated for the tasks of the simulation device group corresponding to the simulation node.

[0326] Next, the construction device for realizing the electromagnetic transient simulation model of the power system provided in the embodiment of the present application is described. The construction device for realizing the electromagnetic transient simulation model of the power system described below and the construction method for realizing the electromagnetic transient simulation model of the power system described above can be referenced to each other.

[0327] A device for constructing an electromagnetic transient simulation model of an electric power system is applied to the above-mentioned electromagnetic transient simulation architecture of an electric power system, and the device may include:

[0328] The simulation model creation unit is used to establish an electric power system electromagnetic transient simulation model corresponding to a preset power scenario on the electric power system electromagnetic transient simulation architecture.

[0329] Optionally, the power scenario is an AC / DC hybrid power grid operation scenario;

[0330] The simulation model creation unit comprises:

[0331] A data communication time calculation unit, used to calculate the data communication time of each simulation node based on the communication structure of the simulation node in the power system electromagnetic transient simulation architecture;

[0332] An architecture delay determination unit, used to determine a clock synchronization time of the electric power system electromagnetic transient simulation architecture, a system jitter time of the electric power system electromagnetic transient simulation architecture, and a calculation jitter time of the electric power system electromagnetic transient simulation architecture;

[0333] A time minimization constraint determination unit, configured to determine a system simulation time minimization constraint according to the data communication time of each simulation node, the clock synchronization time, the system jitter time, and the calculation jitter time;

[0334] The time constraint model building unit is used to build an electric power system electromagnetic transient simulation model corresponding to the AC / DC hybrid power grid operation scenario under the constraint of minimizing the system simulation time.

[0335] Optionally, the data communication time calculation unit includes:

[0336] A first time calculation unit, used for calculating a first time for each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture to calculate an electrical task;

[0337] A second time calculation unit, used for calculating a second time for each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture to calculate a control task;

[0338] A third time calculation unit, configured to calculate, for each simulation node in the power system electromagnetic transient simulation architecture, a third time for the simulation node to perform data interaction with a simulation node directly associated with the simulation node;

[0339] A fourth time calculation unit, used for calculating a fourth time for each CPU of each simulation node to perform data interaction with other CPUs of the simulation node in the power system electromagnetic transient simulation architecture;

[0340] A fifth time calculation unit, used for calculating a fifth time for each core of each CPU of each simulation node to perform data interaction with other cores in the CPU in the power system electromagnetic transient simulation architecture;

[0341] The time summarizing unit is used to summarize the first time, the second time, the third time, the fourth time and the fifth time of each node to obtain the data communication time of the node.

[0342] Optionally, the minimization time constraint determination unit includes:

[0343] The minimization time constraint determination subunit is used to determine the system simulation time constraint using the following formula:

[0344]

[0345] Among them, mint sim Minimize the system simulation time constraint, is the first time that the xth core of the pth CPU in the ith simulation node is used to calculate the electrical task, is the second time that the xth core of the pth CPU in the ith simulation node is used to calculate the control task, is the third time that the ith simulation node interacts with the simulation node directly associated with the simulation node i. is the fourth time for the p-th CPU of the i-th simulation node to interact with other CPUs of the i-th simulation node. is the fifth time that the x-th core of the p-th CPU of the i-th simulation node interacts with other cores of the p-th CPU of the i-th simulation node, is the system jitter time, is the clock synchronization time, is the calculated jitter time, and g is a preset simulation deviation allowable value.

[0346] Optionally, the power scenario is a multi-DC feed-in grid scenario where the number of DCs is greater than a preset DC number threshold, each simulation device group is a device in a flexible DC power transmission system, and the flexible DC power transmission system further includes a plurality of system components;

[0347] The simulation model creation unit comprises:

[0348] A frequency domain initial model building unit, used to build a frequency domain initial model of a controller simulating the flexible direct current power transmission system based on a number of system components of the flexible direct current power transmission system, wherein the frequency domain initial model includes a filter factor and a harmonic internal impedance factor;

[0349] A time domain model building unit, used to build a first electromagnetic transient time domain model of a filter in the flexible DC power transmission system, and to build a second electromagnetic transient time domain model of a harmonic internal impedance of an AC power grid into which the flexible DC power transmission system is incorporated;

[0350] A model conversion unit, configured to convert the frequency domain initial model through the first electromagnetic transient time domain model and the second electromagnetic transient time domain model to obtain a high-frequency harmonic suppression time domain universal model that eliminates the filter factor and the harmonic internal impedance factor;

[0351] The multi-DC feed-in model establishment unit is used to integrate the high-frequency harmonic suppression time domain general model into the power system electromagnetic transient simulation architecture to obtain a power system electromagnetic transient simulation model corresponding to the multi-DC feed-in power grid scenario.

[0352] Optionally, the frequency domain initial model building unit includes:

[0353] The frequency domain initial model establishment subunit is used to establish a frequency domain initial model of the controller for simulating the flexible direct current transmission system using the following first function:

[0354]

[0355] Among them, Y(s) is the frequency domain output variable of the controller of the flexible direct current transmission system, T0 is a preset time delay constant, L is the flexible direct current equivalent inductance in the flexible direct current transmission system, s is a Laplace operator, Z(s) is the harmonic internal impedance factor of the harmonic internal impedance of the alternating current power grid to which the flexible direct current transmission system is connected, K(s) is the filter factor of the filter in the flexible direct current transmission system, and X(s) is the frequency domain input variable of the controller.

[0356] Optionally, the model conversion unit includes:

[0357] A model conversion subunit is used for converting the frequency domain initial model through the first electromagnetic transient time domain model and the second electromagnetic transient time domain model when the frequency domain initial model is the frequency domain initial model established by using the first function, so as to obtain a high-frequency harmonic suppression time domain general model as follows:

[0358]

[0359] Among them, t x is the time variable, Y(t x ) is the time domain output variable of the controller in the general time domain model for high-frequency harmonic suppression, X(t x ) is the time domain input variable of the controller in the general time domain model for high-frequency harmonic suppression, Δt x is the time variation.

[0360] Optionally, the power scenario is a high-proportion new energy access scenario in which the access ratio of new energy power generation units accessing the power system is greater than a preset access ratio threshold, the new energy power generation unit includes a plurality of new energy power generation components, and the power system includes various simulation device groups;

[0361] The simulation model creation unit comprises:

[0362] An accompanying circuit model building unit, for building an accompanying circuit model of each new energy power generation component connected to the power system;

[0363] An admittance primitive matrix construction unit is used to construct a node admittance primitive matrix based on the accompanying circuit models of each renewable energy power generation component and the topological connection relationship between the accompanying circuit models of each renewable energy power generation component;

[0364] A node voltage simulation model construction unit, used to construct a node voltage simulation model based on each element in the node admittance original matrix;

[0365] An equivalent circuit conversion unit, used for performing equivalent circuit conversion on the node voltage simulation model to obtain a new energy access simulation model;

[0366] The new energy access simulation model construction unit is used to integrate the new energy access simulation model into the power system electromagnetic transient simulation architecture to obtain a power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario.

[0367] Optionally, the admittance original matrix construction unit includes:

[0368] The first admittance primitive matrix construction subunit is used to determine the total serial number of the new energy power generation component corresponding to each of the accompanying circuit models in the new energy power generation unit according to the topological connection relationship between the accompanying circuit models of the various new energy power generation components;

[0369] The second admittance original matrix construction subunit is used to construct a node admittance original matrix based on the accompanying circuit model of each renewable energy power generation component under the total sequence number of each accompanying circuit model as follows:

[0370]

[0371] in, Each element of the accompanying circuit model of the new energy power generation component with a total serial number of m of the new energy power generation unit.

[0372] Optionally, the node voltage simulation model construction unit includes:

[0373] An element class determination unit, used to determine independent direct association elements, independent indirect communication elements, interactive direct association elements and interactive indirect communication elements in the node admittance original matrix;

[0374] The element voltage simulation model construction unit is used to construct a node voltage simulation model based on each independent directly associated element, each independent indirectly communicating element, each interactively directly associated element and each interactively indirectly communicating element.

[0375] Optionally, the element class determination unit includes:

[0376] An independent node determination unit, used for determining, in each new energy power generation component, a node that has no current interaction with a target element in the power system and outside the new energy power generation unit as an independent node;

[0377] An interaction node determination unit, used for determining nodes in each new energy power generation component that have current interaction with the target element as interaction nodes;

[0378] An independent directly associated element determination unit, used for determining, in the node admittance original matrix, elements corresponding to independent nodes directly connected to the target element as independent directly associated elements;

[0379] An independent indirect communication element determination unit, configured to determine, in the node admittance original matrix, an element corresponding to an independent node that indirectly communicates with the target element as an independent indirect communication element;

[0380] An interactive directly associated element determination unit, used for determining, in the node admittance original matrix, an element corresponding to an interactive node directly connected to the target element as an interactive directly associated element;

[0381] The interactive indirect communication element determination unit is used to determine, in the node admittance original matrix, an element corresponding to an interactive node that indirectly communicates with the target element as an interactive indirect communication element.

[0382] Optionally, the node voltage simulation model construction unit includes:

[0383] The node voltage simulation model construction subunit is used to construct a node voltage simulation model using the following node voltage formula group:

[0384]

[0385] Among them, N=N1+N2 is the dimension of the original node admittance matrix, N1 is the total number of interactive nodes of the new energy power generation unit, and N2 is the total number of independent nodes of the new energy power generation unit. are all currents input from the external circuit of the new energy power generation unit to the new energy power generation unit, is the equivalent current source of the N1th interactive node in the new energy power generation unit, is the equivalent current source of the N2th independent node in the new energy power generation unit, is the voltage of the N1th interaction node in the new energy power generation unit, is the voltage of the N2th independent node in the new energy power generation unit, are all interactive directly associated elements in the original node admittance matrix, are all independent directly associated elements in the original matrix of node admittance, are all interactive indirect communication elements in the original node admittance matrix, They are all independent indirect communication elements in the original node admittance matrix.

[0386] Optionally, the equivalent circuit conversion unit includes:

[0387] The new energy access simulation model conversion unit is used to perform equivalent circuit conversion on the node voltage simulation model when the node voltage simulation model is constructed by the node voltage formula group, so as to obtain the new energy access simulation model as follows:

[0388]

[0389] in, is the node admittance matrix of the new energy power generation unit, is the node admittance matrix formed by each interaction node, is the node admittance matrix composed of each interactive indirect communication element, is the inverse matrix of the node admittance matrix composed of each independent directly associated element, is the inverse matrix of the node admittance matrix composed of each independent indirect communication element, is the current source matrix of the new energy power generation unit, is the current source matrix composed of the equivalent current sources of each interaction node, The current source matrix is ​​composed of the equivalent current sources of each independent node. is the voltage matrix composed of the voltages of each independent node, It is the voltage matrix composed of the voltages of each interaction node.

[0390] Optionally, the device further comprises:

[0391] The solution reduction calculation unit is used to calculate the system solution reduction of the power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario using the following formula:

[0392] f=d*[(r*N) 3 -max(r*N1 3 ,r*N2 3 )]

[0393] Among them, d is the preset unit order matrix inversion calculation amount, and r is the number of new energy power generation units solved by a single CPU in a single simulation node in the electric power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario.

[0394] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0395] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.

[0396] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for constructing an electromagnetic transient simulation framework for a power system, characterized in that: include: Under the constraints of inter-node communication time and inter-node synchronization time, each simulation device group is used as a simulation node, and a power distribution interconnection simulation architecture is constructed for each simulation device group; The inter-node communication time constraint is: Among them, T cha-r is the data interaction time between any two simulation nodes in the power distribution interconnection simulation architecture, T com-r is the communication time allowed between any two simulation device groups, n is the total number of simulation nodes in the power distribution interconnection simulation architecture, k is the upper limit of the simulation node interaction in the power distribution interconnection simulation architecture, i, j, j1…j k are different simulation nodes, t i-j is the data interaction time between simulation node i and simulation node j; The inter-node synchronization time constraint is: Among them, T syn-r is the inter-node clock deviation of each simulation node in the power distribution interconnection simulation architecture, T syn is the synchronization time allowed between any two of the simulation device groups, v is the total number of CPUs in a simulation node, m is the number of cores in a CPU in a simulation node, p and q are different CPUs, x and y are different cores, t i_p_x,j_q_y is the clock deviation between the xth core in the pth CPU of simulation node i and the yth core in the qth CPU of simulation node j; Based on the communication parameters of each simulation device group, a local coupled power simulation architecture is constructed; The power distribution interconnection simulation architecture and the power local coupling simulation architecture are integrated to obtain a power system electromagnetic transient simulation architecture; The construction of a power local coupling simulation architecture based on the communication parameters of each simulation device group includes: Under the single-node communication time constraint, a power local coupling simulation architecture is constructed based on the communication parameters of each simulation device group. The single-node communication time constraint is: Among them, x, y1…y s For each different core in a simulation node, t p-x,q-z is the data interaction time between the xth core in the pth CPU and the zth core in the qth CPU in the simulation node, t p-x,y is the data interaction time between the xth core and the yth core of the pth CPU in the simulation node, T com-C is the permissible value of the inter-CPU core communication time within a single simulation device group, T com-Cc is the permissible value of inter-core communication time within a single CPU within a single simulation device group; The power local coupling simulation architecture is constructed based on the communication parameters of each simulation device group under the single-node communication time constraint, including: Under the single-node communication time constraint and task calculation time constraint, a power local coupling simulation architecture is constructed based on the communication parameters of each simulation device group. The task calculation time constraint is: Among them, t p-x-power is the time that the xth core in the pth CPU in each simulation node uses to calculate the electrical task, t p-x-control is the time that the xth core in the pth CPU in the simulation node uses to calculate the control task, T cal The time allowance is calculated for the tasks of the simulation device group corresponding to the simulation node.

2. A method for constructing an electromagnetic transient simulation model of a power system, characterized in that: Applied to the power system electromagnetic transient simulation architecture as claimed in claim 1, the method comprises: On the power system electromagnetic transient simulation framework, a power system electromagnetic transient simulation model corresponding to a preset power scenario is established.

3. The method according to claim 2, characterized in that The power scenario is an AC / DC hybrid power grid operation scenario; On the power system electromagnetic transient simulation framework, a power system electromagnetic transient simulation model corresponding to a preset power scenario is established, including: Based on the communication structure of each simulation node in the power system electromagnetic transient simulation architecture, calculating the data communication time of the simulation node; Determining a clock synchronization time of the electric power system electromagnetic transient simulation architecture, a system jitter time of the electric power system electromagnetic transient simulation architecture, and a calculation jitter time of the electric power system electromagnetic transient simulation architecture; Determine a system simulation time minimization constraint according to the data communication time of each simulation node, the clock synchronization time, the system jitter time, and the calculation jitter time; Under the constraint of minimizing the system simulation time, an electric power system electromagnetic transient simulation model corresponding to the AC / DC hybrid power grid operation scenario is established.

4. The method according to claim 3, characterized in that Based on the communication structure of each simulation node in the power system electromagnetic transient simulation architecture, the data communication time of the simulation node is calculated, including: Calculate the first time that each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture is used to calculate the electrical task; Calculate the second time for each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture to calculate the control task; For each simulation node in the power system electromagnetic transient simulation architecture, calculating a third time for the simulation node to perform data interaction with a simulation node directly associated with the simulation node; Calculating a fourth time for each CPU of each simulation node to perform data interaction with other CPUs of the simulation node in the power system electromagnetic transient simulation architecture; Calculating a fifth time for each core of each CPU of each simulation node in the power system electromagnetic transient simulation architecture to perform data interaction with other cores in the CPU; The first time, the second time, the third time, the fourth time and the fifth time of each node are summarized to obtain the data communication time of the node.

5. The method according to claim 4, characterized in that The determining of the system simulation time minimization constraint according to the data communication time of each simulation node, the clock synchronization time, the system jitter time and the calculation jitter time comprises: Determine the system simulation time constraint using the following formula: Among them, mint sim Minimize the system simulation time constraint, is the first time that the xth core of the pth CPU in the ith simulation node is used to calculate the electrical task, is the second time that the xth core of the pth CPU in the ith simulation node is used to calculate the control task, is the third time that the ith simulation node interacts with the simulation node directly associated with the simulation node i. is the fourth time that the p-th CPU of the i-th simulation node interacts with other CPUs of the i-th simulation node. is the fifth time that the x-th core of the p-th CPU of the i-th simulation node interacts with other cores of the p-th CPU of the i-th simulation node, is the system jitter time, is the clock synchronization time, is the calculated jitter time, and g is a preset simulation deviation allowable value.

6. The method according to claim 2, characterized in that The power scenario is a multi-DC feed-in grid scenario where the number of DCs is greater than a preset DC number threshold, each simulation device group is a device in a flexible DC power transmission system, and the flexible DC power transmission system further includes a number of system components; On the power system electromagnetic transient simulation framework, a power system electromagnetic transient simulation model corresponding to a preset power scenario is established, including: Based on several system components of the flexible direct current power transmission system, a frequency domain initial model of a controller simulating the flexible direct current power transmission system is established, wherein the frequency domain initial model includes a filter factor and a harmonic internal impedance factor; Establishing a first electromagnetic transient time-domain model of a filter in the flexible direct current power transmission system, and establishing a second electromagnetic transient time-domain model of the harmonic internal impedance of an alternating current power grid into which the flexible direct current power transmission system is incorporated; The frequency domain initial model is converted by using the first electromagnetic transient time domain model and the second electromagnetic transient time domain model to obtain a high-frequency harmonic suppression time domain universal model that eliminates the filter factor and the harmonic internal impedance factor; The high-frequency harmonic suppression time-domain universal model is integrated into the power system electromagnetic transient simulation architecture to obtain a power system electromagnetic transient simulation model corresponding to the multi-DC feed-in power grid scenario.

7. The method according to claim 6, characterized in that Based on several system components of the flexible direct current power transmission system, a frequency domain initial model of a controller for simulating the flexible direct current power transmission system is established, including: The following first function is used to establish an initial frequency domain model of the controller for simulating the flexible direct current transmission system: Among them, Y(s) is the frequency domain output variable of the controller of the flexible direct current transmission system, T0 is a preset time delay constant, L is the flexible direct current equivalent inductance in the flexible direct current transmission system, s is a Laplace operator, Z(s) is the harmonic internal impedance factor of the harmonic internal impedance of the alternating current power grid to which the flexible direct current transmission system is connected, K(s) is the filter factor of the filter in the flexible direct current transmission system, and X(s) is the frequency domain input variable of the controller.

8. The method according to claim 7, characterized in that The frequency domain initial model is converted through the first electromagnetic transient time domain model and the second electromagnetic transient time domain model to obtain a high-frequency harmonic suppression time domain universal model that eliminates the filter factor and the harmonic internal impedance factor, including: When the frequency domain initial model is a frequency domain initial model established using the first function, the frequency domain initial model is converted through the first electromagnetic transient time domain model and the second electromagnetic transient time domain model to obtain a high-frequency harmonic suppression time domain general model: Among them, t x is the time variable, Y(t x ) is the time domain output variable of the controller in the general time domain model for high-frequency harmonic suppression, X(t x ) is the time domain input variable of the controller in the general time domain model for high-frequency harmonic suppression, Δt x is the time variation.

9. The method according to claim 2, characterized in that: The power scenario is a high-ratio new energy access scenario in which the access ratio of new energy power generation units accessing the power system is greater than a preset access ratio threshold, the new energy power generation unit includes a plurality of new energy power generation components, and the power system includes various simulation device groups; On the power system electromagnetic transient simulation framework, a power system electromagnetic transient simulation model corresponding to a preset power scenario is established, including: For each new energy power generation component connected to the power system, construct an accompanying circuit model of the new energy power generation component; Based on the accompanying circuit models of each renewable energy power generation component and the topological connection relationship between the accompanying circuit models of each renewable energy power generation component, a node admittance primitive matrix is ​​constructed; Based on each element in the node admittance original matrix, construct a node voltage simulation model; Performing equivalent circuit conversion on the node voltage simulation model to obtain a new energy access simulation model; The new energy access simulation model is integrated into the electric power system electromagnetic transient simulation architecture to obtain an electric power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario.

10. The method according to claim 9, characterized in that The node admittance original matrix is ​​constructed based on the accompanying circuit models of each renewable energy power generation component and the topological connection relationship between the accompanying circuit models of each renewable energy power generation component, including: Determine the total serial number of the new energy power generation component corresponding to each of the accompanying circuit models in the new energy power generation unit according to the topological connection relationship between the accompanying circuit models of the various new energy power generation components; Under the total sequence number of each companion circuit model, based on the companion circuit model of each renewable energy power generation component, the node admittance original matrix is ​​constructed as: in, Each element of the accompanying circuit model of the new energy power generation component with a total serial number of m of the new energy power generation unit.

11. The method according to claim 9, characterized in that Based on each element in the node admittance original matrix, a node voltage simulation model is constructed, including: Determining independent directly associated elements, independent indirectly communicated elements, interactively directly associated elements, and interactively indirectly communicated elements in the node admittance original matrix; A node voltage simulation model is constructed based on each independent directly associated element, each independent indirectly communicating element, each interactively directly associated element and each interactively indirectly communicating element.

12. The method according to claim 11, characterized in that Determining the independent directly associated elements, the independent indirectly communicated elements, the interactive directly associated elements and the interactive indirectly communicated elements in the original node admittance matrix includes: Determine, in each new energy generation component, a node that has no current interaction with a target element in the power system and outside the new energy generation unit as an independent node; Determine the nodes in each new energy power generation component that have current interaction with the target element as interaction nodes; In the node admittance original matrix, the elements corresponding to the independent nodes directly connected to the target element are determined as independent directly associated elements; In the node admittance original matrix, elements corresponding to independent nodes that communicate indirectly with the target element are determined as independent indirect communication elements; In the node admittance original matrix, the elements corresponding to the interactive nodes directly connected to the target element are determined as interactive directly associated elements; In the node admittance original matrix, the elements corresponding to the interactive nodes that communicate indirectly with the target element are determined as interactive indirect communication elements.

13. The method according to claim 11, characterized in that Based on each element in the node admittance original matrix, a node voltage simulation model is constructed, including: Use the following node voltage formula group to build a node voltage simulation model: Wherein, N=N1+N2 is the dimension of the original node admittance matrix, N1 is the total number of interactive nodes of the new energy power generation unit, N2 is the total number of independent nodes of the new energy power generation unit, are all currents input from the external circuit of the new energy power generation unit to the new energy power generation unit, is the equivalent current source of the N1th interactive node in the new energy power generation unit, is the equivalent current source of the N2th independent node in the new energy power generation unit, is the voltage of the N1th interaction node in the new energy power generation unit, is the voltage of the N2th independent node in the new energy power generation unit, are all interactive directly associated elements in the original matrix of node admittance, are all independent directly associated elements in the original matrix of node admittance, are all interactive indirect communication elements in the original node admittance matrix, They are all independent indirect communication elements in the original node admittance matrix.

14. The method according to claim 13, characterized in that The node voltage simulation model is converted into an equivalent circuit to obtain a new energy access simulation model, including: When the node voltage simulation model is constructed by the node voltage formula group, the node voltage simulation model is converted into an equivalent circuit to obtain a new energy access simulation model: in, is the node admittance matrix of the new energy power generation unit, is the node admittance matrix formed by each interaction node, is the node admittance matrix composed of each interactive indirect communication element, is the inverse matrix of the node admittance matrix composed of each independent directly associated element, is the inverse matrix of the node admittance matrix composed of each independent indirect communication element, is the current source matrix of the new energy power generation unit, is the current source matrix composed of the equivalent current sources of each interaction node, The current source matrix is ​​composed of the equivalent current sources of each independent node. is the voltage matrix composed of the voltages of each independent node, It is the voltage matrix composed of the voltages of each interaction node.

15. The method according to claim 13 or 14, characterized in that Also includes: The following formula is used to calculate the system solution reduction of the power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario: f=d*[(r*N) 3 -max(r*N1 3 ,r*N2 3 )] Among them, d is the preset unit order matrix inversion calculation amount, and r is the number of new energy power generation units solved by a single CPU in a single simulation node in the electric power system electromagnetic transient simulation model corresponding to the high proportion of new energy access scenario.

16. A device for constructing an electromagnetic transient simulation framework for a power system, characterized in that: include: A distributed interconnection architecture construction unit is used to construct a power distribution interconnection simulation architecture for each simulation device group, taking each simulation device group as a simulation node under the constraints of inter-node communication time and inter-node synchronization time; The inter-node communication time constraint is: Among them, T cha-r is the data interaction time between any two simulation nodes in the power distribution interconnection simulation architecture, T com-r is the communication time allowed between any two simulation device groups, n is the total number of simulation nodes in the power distribution interconnection simulation architecture, k is the upper limit of the simulation node interaction in the power distribution interconnection simulation architecture, i, j, j1…j k are different simulation nodes, t i-j is the data interaction time between simulation node i and simulation node j; The inter-node synchronization time constraint is: Among them, T syn-r is the inter-node clock deviation of each simulation node in the power distribution interconnection simulation architecture, T syn is the synchronization time allowed between any two simulation device groups, v is the total number of CPUs in a simulation node, m is the number of cores in a CPU in a simulation node, p and q are different CPUs, x and y are different cores, t i_p_x,j_q_y is the clock deviation between the xth core in the pth CPU of simulation node i and the yth core in the qth CPU of simulation node j; A local coupling architecture building unit, used to build a power local coupling simulation architecture based on communication parameters of each simulation device group; An architecture fusion unit, used for fusing the power distribution interconnection simulation architecture and the power local coupling simulation architecture to obtain a power system electromagnetic transient simulation architecture; The local coupling architecture building unit comprises: The single-node communication time constraint unit is used to construct a power local coupling simulation architecture based on the communication parameters of each simulation device group under the single-node communication time constraint, and the single-node communication time constraint is: Among them, x, y1…y s For each different core in a simulation node, t p-x,q-z is the data interaction time between the xth core in the pth CPU and the zth core in the qth CPU in the simulation node, t p-x,y is the data interaction time between the xth core and the yth core of the pth CPU in the simulation node, T com-C is the permissible value of the inter-CPU core communication time within a single simulation device group, T com-Cc is the permissible value of inter-core communication time within a single CPU within a single simulation device group; The single-node communication time constraint unit comprises: The task calculation time constraint unit is used to construct a power local coupling simulation architecture based on the communication parameters of each simulation device group under the single-node communication time constraint and the task calculation time constraint, and the task calculation time constraint is: Among them, t p-x-power is the time that the xth core in the pth CPU in each simulation node uses to calculate the electrical task, t p-x-control is the time that the xth core in the pth CPU in the simulation node uses to calculate the control task, T cal The time allowance is calculated for the tasks of the simulation device group corresponding to the simulation node.

Citation Information

Patent Citations

  • Automatic generation method for electromagnetic transient visual simulation model of power system

    CN107664954A

  • A doubly-fed wind turbine generator electromagnetic transient equivalent modeling method and device

    CN109918733A

  • Electromagnetic transient simulation initialization method

    CN112234598A

  • Electromagnetic transient real-time simulation device and system

    CN115114227A

  • Fast model generating and solving method for security-constrained power system operation simulation

    US20170083648A1