A decomposition method and device for active power distribution network real-time simulation model
By determining the pre-decomposed network and nodes based on the number of real-time simulators and switching devices in the real-time simulation model of active distribution networks, and combining the ITM interface for signal exchange, efficient decomposition and parallel computing of active distribution networks are realized. This solves the problems of long decomposition time and resource waste in existing technologies, and improves simulation speed and accuracy.
Patent Information
- Application Number
- CN202010316298.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-21
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2040-04-21
AI Technical Summary
The decomposition method of the active distribution network real-time simulation model in the existing technology is highly subjective, time-consuming, seriously wastes resources, and the decomposition results are inaccurate, which makes it difficult to meet the real-time simulation requirements of complex distribution networks.
The number of pre-decomposed networks and nodes are determined based on the number of real-time simulators and switching devices in the real-time simulation model of active power distribution networks. Sub-networks are assigned to each real-time simulator through interfaces, and nodes are adjusted based on average resource utilization. Voltage-type or current-type ITM interfaces are used for signal exchange to achieve parallel computing of sub-networks.
It improves the accuracy and efficiency of decomposition, shortens the decomposition time, saves resources, expands the simulation scale, and improves the real-time simulation speed of distribution networks and the electromagnetic transient simulation capabilities.
Smart Images

Figure CN111680387B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of power system simulation, in particular to a decomposition method and device of active distribution network real-time simulation model. BACKGROUND
[0002] With the promotion of the construction and reconstruction of the distribution network of State Grid Corporation of China, a large number of new devices such as distributed power supply and electric vehicles are connected to the distribution network, and the characteristics of the distribution network such as large scale, numerous nodes, complex devices and various operation modes are increasingly prominent. On the one hand, the distribution network covers various devices such as load, transformer, circuit breaker and ring network cabinet, and contains a large number of power electronic devices such as distributed power supply, energy storage element and static var compensator; on the other hand, the distribution network develops from the original single power supply radial structure and hand-in-hand connection mode to the double power supply ring network and multi-power grid connection mode, resulting in continuous expansion of the distribution network in scale, great increase in the number of nodes, and exponential increase in complexity, which puts forward higher requirements and challenges to the real-time simulation technology of complex distribution network.
[0003] The decomposition method of active distribution network real-time simulation model is one of the effective means to solve the problem of distribution network real-time simulation. Model decomposition is based on the idea of grouping, which decomposes the model of the distribution network, divides the distribution network into several sub-networks, and decomposes a state space system into two or more state space groups, each of which solves the corresponding state space matrix. By combining model decomposition and parallel computing, the decomposition model-based multi-processor parallel computing can effectively reduce the computing burden of a processor, improve the simulation scale, and realize fast simulation of complex distribution network. The existing technology generally manually decomposes the real-time simulation model of the active distribution network with large scale or a large number of power electronic devices, specifically by manually adding interfaces to realize the decomposition of the real-time simulation model of the active distribution network, which is highly subjective, time-consuming, resource-wasting and inaccurate. SUMMARY
[0004] In order to overcome the shortcomings of the prior art such as strong subjectivity, long time consumption, serious resource waste and inaccurate decomposition result, the present application provides a decomposition method of active distribution network real-time simulation model, comprising:
[0005] Determine the number of pre-decomposition networks and pre-decomposition nodes based on the number of real-time simulators and the number of switching devices in the active distribution network real-time simulation model;
[0006] Pre-decompose the active distribution network real-time simulation model based on the number of pre-decomposition networks and pre-decomposition nodes to obtain a plurality of sub-networks, and add interfaces at the pre-decomposition nodes;
[0007] The sub-network is allocated to each real-time simulator through the interface, and nodes in the sub-network are adjusted based on the average resource utilization of all real-time simulators.
[0008] The determining of the number of pre-decomposed networks and pre-decomposed nodes based on the number of real-time simulators and the number of switching devices in the active power distribution network real-time simulation model includes:
[0009] Determining the number of pre-decomposed networks based on the number of distributed generation resources and the number of real-time simulators in the active distribution network real-time simulation model;
[0010] Determine the number of system matrices of the active distribution network by the number of switch devices in the real-time simulation model of the active distribution network;
[0011] The number of distributed power sources included in each sub-network is selected based on the number of system matrices, and the pre-decomposition nodes are selected based on the number of distributed power sources and a preset decomposition principle.
[0012] The preset decomposition principles include:
[0013] The distributed power sources of adjacent nodes are divided into a sub-network;
[0014] If the distance between a node in the pre-decomposed sub-network and other nodes exceeds the preset maximum node distance, the node will be divided into other sub-networks;
[0015] The maximum node interval is set based on the topology structure of the real-time simulation model of the active power distribution network.
[0016] The adjusting the sub-network based on the average resource utilization of all real-time simulators includes:
[0017] Determine the resource utilization of each real-time simulator based on the process of solving the state space matrix of each sub-network by the real-time simulator;
[0018] Calculate the average resource utilization of all real-time simulators based on the resource utilization of each real-time simulator;
[0019] The nodes containing distributed power sources in the subnetwork corresponding to the real-time simulator's resource utilization being greater than the average resource utilization are divided into the subnetwork corresponding to the real-time simulator's resource utilization being less than the average resource utilization, so that the real-time simulator's resource utilization is as close to the average resource utilization as possible.
[0020] The average resource utilization of all real-time simulators is calculated as follows:
[0021]
[0022] Where, e avgdenotes the average resource utilization of all real-time simulators; Resource denotes the total storage space of all real-time simulators; Utilization denotes the total computing task amount of all real-time simulators, n denotes the number of real-time simulators; Uti m denotes the storage space of the mth real-time simulator; e m denotes the resource utilization of the mth real-time simulator.
[0023] The real-time simulator solving the state space matrix of each sub-network comprises the following steps:
[0024] 1) Each real-time simulator initializes the sub-network allocated by itself to obtain the initial state of each sub-network;
[0025] 2) Each real-time simulator solves the state space matrix of each sub-network based on the initial state of each sub-network to obtain the voltage signal and the current signal of each sub-network;
[0026] 3) The voltage signal and the current signal of adjacent sub-networks are exchanged based on the interface relationship and the interface type between different sub-networks;
[0027] 4) Each sub-network updates the state space matrix of itself based on the exchanged voltage signal and current signal, and returns to step 2) to continue solving until the simulation is completed.
[0028] The interface comprises a voltage-type ITM interface or a current-type ITM interface.
[0029] The initialization of each real-time simulator to the sub-network allocated by itself comprises the following steps:
[0030] If the voltage-type ITM interface is adopted, the initial value of the three-phase current of the opposite side sub-network is obtained from the opposite side sub-network, and the three-phase voltage of the current side sub-network is sent to the opposite side sub-network;
[0031] If the current-type ITM interface is adopted, the initial value of the three-phase voltage of the opposite side sub-network is obtained from the opposite side sub-network, and the three-phase current of the current side sub-network is sent to the opposite side sub-network.
[0032] Based on the same inventive concept, the application further provides a decomposition device of an active power distribution network real-time simulation model, which comprises:
[0033] A determination module is configured to determine the number of pre-decomposed networks and pre-decomposition nodes based on the number of real-time simulators and the number of switching devices in the active power distribution network real-time simulation model;
[0034] A decomposition module is configured to pre-decompose the active power distribution network real-time simulation model based on the number of pre-decomposed networks and pre-decomposition nodes to obtain a plurality of sub-networks, and install an interface at the pre-decomposition nodes.
[0035] an adjusting module configured to allocate the sub-networks to respective real-time simulators through the interface and adjust nodes in the sub-networks based on an average resource utilization of all real-time simulators.
[0036] The determining module is specifically configured to:
[0037] determine the number of pre-decomposed networks based on the number of distributed power sources and the number of real-time simulators in the real-time simulation model of the active power distribution network;
[0038] determine the number of system matrices of the active power distribution network by the number of switching devices in the real-time simulation model of the active power distribution network;
[0039] select the number of distributed power sources included in each sub-network based on the number of system matrices, and select pre-decomposition nodes based on the number of distributed power sources and a preset decomposition principle.
[0040] The preset decomposition principle includes:
[0041] distributed power sources of adjacent nodes are divided into one sub-network;
[0042] if a node in a pre-decomposed sub-network is spaced apart from other nodes by more than a preset maximum node spacing, the node is divided into other sub-networks;
[0043] The maximum node spacing is set based on the topological structure of the real-time simulation model of the active power distribution network.
[0044] The adjusting module includes:
[0045] a determining unit configured to determine resource utilization of each real-time simulator according to a process in which the real-time simulator solves state space matrices of the sub-networks;
[0046] a calculating unit configured to calculate an average resource utilization of all real-time simulators based on the resource utilization of each real-time simulator;
[0047] an adjusting unit configured to divide nodes in a sub-network corresponding to the average resource utilization into which distributed power sources are included into a sub-network corresponding to the resource utilization of the real-time simulator, so that the resource utilization of the real-time simulator is as close as possible to the average resource utilization.
[0048] The calculating unit calculates the average resource utilization of the real-time simulator according to the following formula:
[0049]
[0050] In the formula, e avgrepresents the average resource utilization of the real-time simulator; Resource represents the total storage space of all real-time simulators; Utilization represents the total computing task amount of all real-time simulators, n represents the number of real-time simulators; Uti m represents the storage space of the mth real-time simulator; e m represents the resource utilization of the mth real-time simulator.
[0051] The computing unit is specifically used for:
[0052] 1) each real-time simulator initializes the sub-network allocated by itself to obtain the initial state of each sub-network;
[0053] 2) each real-time simulator solves the state space matrix of each sub-network based on the initial state of each sub-network to obtain the voltage signal and the current signal of each sub-network;
[0054] 3) the voltage signal and the current signal of the adjacent sub-network are exchanged based on the interface relationship and the interface type between different sub-networks;
[0055] 4) each sub-network updates the state space matrix of itself based on the exchanged voltage signal and current signal, and returns to 2) to continue solving until the simulation ends.
[0056] The interface includes a voltage type ITM interface or a current type ITM interface.
[0057] The computing unit is specifically used for:
[0058] If the voltage type ITM interface is adopted, the initial value of the three-phase current of the opposite side sub-network is obtained from the opposite side sub-network, and the three-phase voltage of the self side sub-network is sent into the opposite side sub-network;
[0059] If the current type ITM interface is adopted, the initial value of the three-phase voltage of the opposite side sub-network is obtained from the opposite side sub-network, and the three-phase current of the self side sub-network is sent into the opposite side sub-network.
[0060] The technical scheme provided by the application has the following beneficial effects:
[0061] The decomposition method of the active power distribution network real-time simulation model provided by the application comprises the following steps: determining the number of pre-decomposed networks and pre-decomposed nodes based on the number of real-time simulators and the number of switching devices in the active power distribution network real-time simulation model; pre-decomposing the active power distribution network real-time simulation model based on the number of pre-decomposed networks and pre-decomposed nodes to obtain a plurality of sub-networks, and installing an interface at the pre-decomposed nodes; and distributing the sub-networks to each real-time simulator through the interface and adjusting the nodes in the sub-networks based on the average resource utilization of all real-time simulators, so that the active power distribution network real-time simulation model can be objectively decomposed, the decomposition time is greatly shortened, the average resource utilization of the real-time simulators is considered, resources are saved, the decomposition accuracy is improved by adjusting the sub-networks obtained by pre-decomposition, and the like.
[0062] The technical scheme provided by the application determines the number of node admittance matrices based on the number of switching devices in the active power distribution network real-time simulation model, intelligently decomposes the active power distribution network real-time simulation model into a plurality of sub-networks, that is, automatically decomposes one state space system into a plurality of state space groups, each state space group solves a corresponding state space matrix, and the calculation efficiency is greatly improved.
[0063] The technical scheme provided by the application corresponds each real-time simulator to one sub-network, realizes parallel calculation of a plurality of real-time simulators, can fully utilize the resource utilization of the real-time simulators, maximally improves the power distribution network real-time simulation speed, and expands the power distribution network real-time simulation scale.
[0064] The technical scheme provided by the application improves the power distribution network electromagnetic transient simulation capability, and provides technical support for operation analysis, equipment research and development, dispatching control and the like of the power distribution network. BRIEF DESCRIPTION OF DRAWINGS
[0065] Figure 1 It is a decomposition method flow chart of the active power distribution network real-time simulation model in the embodiment of the application.
[0066] Figure 2 It is a simplified topology structure diagram of the controllable voltage type inverter in the embodiment of the application.
[0067] Figure 3 It is a photovoltaic grid-connected power generation unit structure diagram in the embodiment of the application.
[0068] Figure 4 It is a multi-real-time simulator parallel simulation schematic diagram in the embodiment of the application.
[0069] Figure 5 It is a certain 10kV voltage level power distribution network structure diagram in the embodiment of the application.
[0070] Figure 6 It is a circuit structure diagram of the active power distribution network real-time simulation model in the embodiment of the application.
[0071] Figure 7 is a circuit structure diagram of the decomposed active power distribution network real-time simulation model in the embodiment of the application;
[0072] Figure 8 is a circuit structure diagram of the differentiated active power distribution network real-time simulation model in the embodiment of the application;
[0073] Figure 9 is a schematic diagram of a voltage-type ITM interface in the embodiment of the application;
[0074] Figure 10 is a schematic diagram of a current-type ITM interface in the embodiment of the application. DETAILED DESCRIPTION
[0075] The application will be further described in detail below with reference to the accompanying drawings.
[0076] Embodiment 1
[0077] The embodiment 1 of the application provides a decomposition method of an active power distribution network real-time simulation model, and a specific flowchart is shown in Figure 1 , and the specific process is as follows:
[0078] S101: determining the number of pre-decomposed networks and pre-decomposed nodes based on the number of real-time simulators and the number of switching devices in the active power distribution network real-time simulation model;
[0079] S102: pre-decomposing the active power distribution network real-time simulation model based on the number of pre-decomposed networks and pre-decomposed nodes to obtain a plurality of sub-networks, and installing an interface at the pre-decomposed nodes;
[0080] S103: distributing the sub-networks to each real-time simulator through the interface, and adjusting the nodes in the sub-networks based on the average resource utilization of all real-time simulators.
[0081] Determining the number of pre-decomposed networks and pre-decomposed nodes based on the number of real-time simulators and the number of switching devices in the active power distribution network real-time simulation model, comprising:
[0082] 1) determining the number of pre-decomposed networks based on the number of distributed power sources and the number of real-time simulators in the active power distribution network real-time simulation model;
[0083] Photovoltaic, wind turbine, fuel cell, micro gas turbine and other distributed power sources all need to be connected to the power grid through power electronic converters to solve the energy transmission problem between different voltage levels, frequencies and AC / DC systems. The transient model of the device elements containing the power electronic converter is an important factor affecting the number of pre-decomposed networks, which requires a large amount of calculation of the real-time simulator.
[0084] The embodiment 1 of the application determines the number of pre-decomposed networksFigure 2 The controllable voltage type inverter shown is taken as an example, at the same time, it is assumed that only one switching device in each phase of the controllable voltage type inverter is turned on, and S k (k=a, b, c) is the switching function of the bridge arm:
[0085]
[0086] According to Figure 2 The topology shown, the following relationship between the AC side line voltage of the inverter and the DC side voltage U dc
[0087]
[0088] In the above formula, S a , S b , S c are the apparent powers of the A, B and C phases respectively, u ab is the AB phase line voltage of the inverter AC side, u bc is the BC phase line voltage of the inverter AC side, and u ca is the AC phase line voltage of the inverter AC side.
[0089] Embodiment 1 of the present application takes the photovoltaic grid-connected power generation unit shown in Figure 3 As an example, the DC power generated by the photovoltaic array usually needs to be converted into AC power by a power electronic converter before being connected to the power grid. The photovoltaic grid-connected power generation unit is composed of a photovoltaic array, a power electronic converter, a maximum power controller and a grid-connected controller, as shown in the accompanying Figure 3 . Figure 3 In the formula, P mpp is the reference value of the output power of the photovoltaic array under the condition of 1 kW / m 2 irradiance at a certain temperature; T is the current temperature, I rr is the current irradiance, F T is the current output power coefficient, E FF is the current efficiency coefficient, P PV is the output power of the photovoltaic array, S PV is the apparent power of the photovoltaic array, P n and Q n are the active power and reactive power output by the inverter respectively.
[0090] The power electronic converter has a large number of switching devices and the switching states are coupled with each other. A large amount of pre-computation requires a large storage space and strong computing power of the real-time simulator, which brings difficulties to the real-time of the model.
[0091] The transient simulation of the distribution network is to solve a differential-algebraic equation system, and the scale of the solution is large and the speed of the solution is slow. In order to realize real-time simulation, a multi-real-time simulator simulation mechanism is adopted, as shown in the accompanyingFigure 4 As shown, Figure 4 In this paper, RTDS stands for real-time simulator. The network to be simulated is decomposed into several subnetworks, which are connected by communication lines. Each subnetwork is assigned to a real-time simulator, and the solution results of each real-time simulator are shared via the communication lines. This reduces the solution scale of large-scale and complex distribution networks and enables system-level parallel simulation.
[0092] The structure diagram of a 10kV voltage level distribution network is as shown in the attached Figure 5 As shown, Figure 5 In this example, UPOC represents a reactive power compensator. A 10kV distribution network consists of a distribution network, multiple distributed generation units (such as photovoltaic, wind power, gas turbines, and fuel cells), energy storage, and loads connected to the network. Given the large computational scale of a single distributed generation (or energy storage) unit, the distribution network and the large number of distributed generation (or energy storage) units should be decomposed for solution. When there are at least four real-time simulators, the number of pre-decomposed networks, n, is set to 4. When there are fewer than four real-time simulators, the number of pre-decomposed networks, n, is equal to the number of real-time simulators.
[0093] 2) Determine the number of system matrices of the active distribution network by the number of switching devices in the real-time simulation model of the active distribution network;
[0094] 3) The number of distributed power sources included in each sub-network is selected based on the number of system matrices, and the pre-decomposition nodes are selected based on the number of distributed power sources and the preset decomposition principle.
[0095] The degree of uniformity of decomposition and the number of decomposition nodes of the active distribution network real-time simulation model directly affect the speed of parallel computing and are important factors affecting the parallel performance of simulation. According to the pre-decomposition nodes, the active distribution network real-time simulation model is decomposed into n sub-networks.
[0096] When performing real-time simulation, the real-time simulator will pre-calculate each switch state and store the pre-calculated node admittance matrix. Figure 2 The distributed generation (energy storage) unit of the voltage source inverter shown in the figure has 6 switching devices in each unit, and the corresponding node admittance matrix has 2 6 =64.
[0097] As attached Figure 5 Taking a 10kV voltage distribution network as an example, the total number of distributed generation (energy storage) units in the active distribution network real-time simulation model is Δ=8. Without decomposing the active distribution network real-time simulation model and solving it as a state space system, we have x(t+Δt)=A k x(t)+B ku(t+Δt),k = 1,2,..., where x, u are state variable and input vector respectively, A k , B k are state matrix corresponding to the kth switching sequence. The number of node admittance matrix obtained by pre-computation will reach 2 48 , which requires a huge storage space and computing capacity of real-time simulator, which may lead to the real-time simulator unable to complete all the calculations within a step, and ultimately cannot real-time simulation of active distribution network real-time simulation model.
[0098] The active distribution network real-time simulation model is decomposed, and each sub-network contains 8 / 4 = 2 distributed generation (energy storage) units, as shown in the dashed box in Figure 5 . An active distribution network real-time simulation model is decomposed into 4 sub-networks, and 4 real-time simulators are calculated in parallel:
[0099] x1(t+Δt) = A k1 x1(t) + B k1 u1(t+Δt),k1 = 1,2,...,2 12
[0100] x2(t+Δt) = A k2 x2(t) + B k2 u2(t+Δt),k2 = 1,2,...,2 12
[0101] x3(t+Δt) = A k3 x3(t) + B k3 u3(t+Δt),k3 = 1,2,...,2 12
[0102] x4(t+Δt) = A k4 x4(t) + B k4 u4(t+Δt),k4 = 1,2,...,2 12
[0103] The 4 sub-networks are calculated on different real-time simulators, so the number of node admittance matrix obtained by pre-computation is 2 12 , which reduces the burden of real-time simulator operation, and also expands the simulation scale.
[0104] The total number of distributed generation (energy storage) units in the statistical distribution network is Δ. The active distribution network real-time simulation model is pre-decomposed according to a preset decomposition principle, and the number of distributed generation (energy storage) units contained in each sub-network is Δ / n. The preset decomposition principle includes: 1) the distributed power sources of adjacent nodes are divided into a sub-network; 2) if a node in the pre-decomposed sub-network is spaced apart from other nodes by more than a preset maximum node spacing, the node is divided into other sub-networks; and the maximum node spacing is set based on the topology structure of the active distribution network real-time simulation model.
[0105] The interface installed at the pre-decomposition node includes a voltage-type ITM interface or a current-type ITM interface. In the embodiment of the present application, the interface adopts an ideal transformer model (ITM) interface. The ITM is based on the substitution theorem, and uses a controlled voltage source and a controlled current source as a signal receiving device to receive the voltage or current signal on the opposite side of the interface, so as to realize the decomposition of the active distribution network real-time simulation model.
[0106] The embodiment of the present application pre-decomposes the active distribution network real-time simulation model as shown in Figure 6 The circuit structure diagram of the decomposed active distribution network real-time simulation model is as shown in Figure 7 The active distribution network real-time simulation model is decomposed into sub-network 1 and sub-network 2 at the dashed line. Based on the substitution theorem, the controlled current source in sub-network 1 is equivalent to sub-network 2, and the current of the controlled current source is equal to the measured line current i of sub-network 2; the controlled voltage source in sub-network 2 is equivalent to sub-network 1, and the voltage of the controlled voltage source is equal to the measured interface voltage u of sub-network 1. The ITM only needs 2 variables of the sub-network: (1) the interface voltage u of sub-network 1, which is used as the control signal input of the controlled voltage source in sub-network 2; and (2) the line current i of sub-network 2, which is used as the control signal input of the controlled current source in sub-network 1. Since the controlled current source cannot be directly connected in series with the inductive element, and the controlled voltage source cannot be directly connected in parallel with the capacitive element, differential processing is required.
[0107] The differential equation of the inductive volt-ampere characteristic can be obtained by using the implicit trapezoidal integration method as follows: wherein, Similarly, the differential equation of the capacitive volt-ampere characteristic can be obtained as follows: wherein, The ITM interface after differential processing is as shown in Figure 8 According to the different types of interfaces, the ITM interface is divided into a voltage-type ITM interface (as shown in Figure 9 and a current-type ITM interface (as shown in Figure 10 E l (t) and E2(t) are the Thevenin equivalent voltages of sub-network 1 and sub-network 2, respectively, and Zl , Z2 are the Thevenin equivalent impedances of subnetwork 1 and subnetwork 2, respectively. For a voltage-type ITM interface, the interface voltage u1 of subnetwork 1 is transmitted to the control end of the controlled voltage source of subnetwork 2 after a step delay, and the interface current i2 of subnetwork 2 is directly transmitted to the control end of the controlled current source of subnetwork 1; for a current-type ITM interface, the interface voltage u2 of subnetwork 2 is directly transmitted to the control end of the controlled voltage source of subnetwork 1, and the interface current i1 of subnetwork 1 is transmitted to the control end of the controlled current source of subnetwork 2 after a step delay.
[0108] Adjusting the subnetworks based on the average resource utilization of all real-time simulators, including:
[0109] Determining the resource utilization of each real-time simulator according to the process of solving the state space matrix of each subnetwork by the real-time simulator;
[0110] Calculating the average resource utilization of all real-time simulators based on the resource utilization of each real-time simulator;
[0111] Dividing the nodes containing distributed power sources in the subnetwork corresponding to the resource utilization of the real-time simulator greater than the average resource utilization to the subnetwork corresponding to the resource utilization of the real-time simulator less than the average resource utilization, so that the resource utilization of the real-time simulator is as close as possible to the average resource utilization and is kept within a proper range, neither too high nor too low.
[0112] The average resource utilization of all real-time simulators is calculated as follows:
[0113]
[0114] In the formula, e avg represents the average resource utilization of the real-time simulator; Resource represents the total storage space of all real-time simulators, Utilization represents the total computing task amount of all real-time simulators, n represents the number of real-time simulators; Uti m represents the storage space of the mth real-time simulator; e m represents the resource utilization of the mth real-time simulator.
[0115] The real-time simulator solves the state space matrix of each subnetwork, including:
[0116] 1) Each real-time simulator initializes the subnetwork allocated by itself to obtain the initial state of each subnetwork;
[0117] 2) Each real-time simulator solves the state space matrix of each sub-network based on the initial state of each sub-network, to obtain voltage signals and current signals of each sub-network;
[0118] 3) Exchange voltage signals and current signals of adjacent sub-networks based on the interface relationship and interface type between different sub-networks;
[0119] 4) Each sub-network updates its state space matrix based on the exchanged voltage signals and current signals, and returns to 2) to continue solving until the simulation ends.
[0120] Each real-time simulator initializes the sub-network allocated to itself, including:
[0121] If a voltage-type ITM interface is used, obtain the initial value of the three-phase current of the opposite sub-network from the opposite sub-network, and send the three-phase voltage of the current sub-network into the opposite sub-network;
[0122] If a current-type ITM interface is used, obtain the initial value of the three-phase voltage of the opposite sub-network from the opposite sub-network, and send the three-phase current of the current sub-network into the opposite sub-network.
[0123] Embodiment 2
[0124] Based on the same inventive concept, the embodiment 2 of the present application further provides a decomposition device of an active power distribution network real-time simulation model, comprising:
[0125] A determination module is configured to determine the number of pre-decomposed networks and pre-decomposition nodes based on the number of real-time simulators and the number of switching devices in the active power distribution network real-time simulation model;
[0126] A decomposition module is configured to pre-decompose the active power distribution network real-time simulation model based on the number of pre-decomposed networks and pre-decomposition nodes to obtain a plurality of sub-networks, and install an interface at the pre-decomposition node;
[0127] An adjustment module is configured to allocate the sub-networks to each real-time simulator through the interface, and adjust the nodes in the sub-networks based on the average resource utilization of all real-time simulators.
[0128] The determination module is specifically configured to:
[0129] Determine the number of pre-decomposed networks based on the number of distributed power sources and the number of real-time simulators in the active power distribution network real-time simulation model;
[0130] Determine the number of system matrices of the active power distribution network through the number of switching devices in the active power distribution network real-time simulation model;
[0131] Select the number of distributed power sources contained in each sub-network based on the number of system matrices, and select the pre-decomposition nodes based on the number of distributed power sources and a preset decomposition principle.
[0132] The preset decomposition principle comprises:
[0133] The distributed power supply of the adjacent nodes is divided into a sub-network;
[0134] If a node in the sub-network after the preset decomposition is spaced apart from other nodes by more than a preset maximum node spacing, the node is divided into another sub-network;
[0135] The maximum node spacing is set based on a topology structure of a real-time simulation model of the active power distribution network.
[0136] The adjustment module comprises:
[0137] A determination unit configured to determine resource utilization of each real-time simulator according to a process of solving a state space matrix of each sub-network by the real-time simulator;
[0138] A calculation unit configured to calculate an average resource utilization of all real-time simulators based on the resource utilization of each real-time simulator;
[0139] An adjustment unit configured to divide a node containing a distributed power supply in a sub-network corresponding to a real-time simulator with a resource utilization greater than the average resource utilization into a sub-network corresponding to a real-time simulator with a resource utilization less than the average resource utilization, so that the resource utilization of the real-time simulator is as close as possible to the average resource utilization.
[0140] The calculation unit calculates the average resource utilization of all real-time simulators according to the following formula:
[0141]
[0142] In the formula, e avg represents the average resource utilization of all real-time simulators; Resource represents a total storage space of all real-time simulators; Utilization represents a total calculation task amount of all real-time simulators, n represents a number of real-time simulators; Uti m represents a storage space of the mth real-time simulator; e m represents a resource utilization of the mth real-time simulator.
[0143] The calculation unit is specifically configured to:
[0144] 1) Each real-time simulator initializes a sub-network allocated by itself to obtain an initial state of each sub-network;
[0145] 2) Each real-time simulator solves a state space matrix of each sub-network based on the initial state of each sub-network to obtain a voltage signal and a current signal of each sub-network;
[0146] 3) exchange the voltage and current signals of adjacent sub-networks based on the interface relationship and interface type between different sub-networks;
[0147] 4) each sub-network updates its state space matrix based on the exchanged voltage and current signals, and returns to 2) to continue solving until the simulation ends.
[0148] The interface includes a voltage type ITM interface or a current type ITM interface.
[0149] The computing unit is specifically configured to:
[0150] If the voltage type ITM interface is used, the initial value of the three-phase current of the opposite sub-network is obtained from the opposite sub-network, and the three-phase voltage of the local sub-network is sent to the opposite sub-network.
[0151] If the current type ITM interface is used, the initial value of the three-phase voltage of the opposite sub-network is obtained from the opposite sub-network, and the three-phase current of the local sub-network is sent to the opposite sub-network.
[0152] For the convenience of description, each part of the above device is described as various modules or units in function. Of course, the functions of each module or unit can be implemented in the same or multiple software or hardware in the implementation of the present application.
[0153] Those skilled in the art should understand that the embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0154] The present application is described with reference to flowcharts and / or block diagrams according to the method, device (system), and computer program product of the embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, and the combination of the flows and / or blocks in the flowcharts and / or block diagrams can be implemented by computer program instructions. These computer program instructions can be provided to a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to produce a machine, so that the instructions executed by the computer or other programmable data processing devices produce a device that implements the functions specified in the flowcharts and / or block diagrams. Figure 1 The device that implements the functions specified in one flow or multiple flows and / or blocks Figure 1 The device that implements the functions specified in one flow or multiple flows and / or blocks
[0155] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the flow Figure 1 The functions specified in the flow or flows and / or blocks Figure 1 The functions specified in the flow or flows and / or blocks
[0156] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flow Figure 1 The functions specified in the flow or flows and / or blocks Figure 1 The functions specified in the flow or flows and / or blocks
[0157] Finally, it should be noted that the above-mentioned embodiments are merely used to illustrate the technical solutions of the present application but not to limit it, and the ordinary skilled person in the art can still modify or equivalently replace the specific embodiments of the present application according to the above-mentioned embodiments, and any modification or equivalent replacement without departing from the spirit and scope of the present application shall be within the protection scope of the patent to be granted of the present application.
Claims
1. A decomposition method of an active power distribution network real-time simulation model, characterized in that, The method comprises the following steps: determining the number of pre-decomposed networks and pre-decomposed nodes based on the number of real-time simulators and the number of switching devices in the active power distribution network real-time simulation model; pre-decomposing the active power distribution network real-time simulation model based on the number of pre-decomposed networks and pre-decomposed nodes to obtain a plurality of sub-networks, and installing an interface at the pre-decomposed nodes; allocating the sub-networks to the real-time simulators through the interfaces, and adjusting the nodes in the sub-networks based on the average resource utilization of all real-time simulators; wherein the step of determining the number of pre-decomposed networks and pre-decomposed nodes based on the number of real-time simulators and the number of switching devices in the active power distribution network real-time simulation model comprises: determining the number of pre-decomposed networks based on the number of distributed power sources and the number of real-time simulators in the active power distribution network real-time simulation model; determining the number of system matrices of the active power distribution network based on the number of switching devices in the active power distribution network real-time simulation model; selecting the number of distributed power sources included in each sub-network based on the number of system matrices, and selecting the pre-decomposed nodes based on the number of distributed power sources and a preset decomposition principle; the decomposition principle comprises: the distributed power sources of adjacent nodes are divided into one sub-network; if a node in the pre-decomposed sub-network is spaced apart from other nodes by more than a preset maximum node spacing, the node is divided into other sub-networks; wherein the maximum node spacing is set based on the topological structure of the active power distribution network real-time simulation model.
2. The decomposition method of the active power distribution network real-time simulation model according to claim 1, characterized in that, the step of adjusting the nodes in the sub-networks based on the average resource utilization of all real-time simulators comprises: determining the resource utilization of each real-time simulator according to the process of solving the state space matrix of each sub-network by the real-time simulator; calculating the average resource utilization of all real-time simulators based on the resource utilization of each real-time simulator; dividing the nodes containing distributed power sources in the sub-network corresponding to the real-time simulator whose resource utilization is greater than the average resource utilization into the sub-network corresponding to the real-time simulator whose resource utilization is less than the average resource utilization, so that the resource utilization of the real-time simulator is as close as possible to the average resource utilization.
3. The decomposition method of the active power distribution network real-time simulation model according to claim 2, characterized in that, the average resource utilization of all real-time simulators is calculated according to the following formula: where e avg denotes the average resource utilization of all real-time simulators; Resource denotes the total storage space of all real-time simulators; Uti represents the total computing task amount of all real-time simulators, n represents the number of real-time simulators; Uti m Uti represents the total computing task amount of all real-time simulators, m Uti represents the total computing task amount of all real-time simulators, 4. The method of claim 2, wherein, the step of solving the state space matrix of each sub-network by the real-time simulator comprises: 1) each real-time simulator initializes the sub-network allocated to itself to obtain the initial state of each sub-network; 2) each real-time simulator solves the state space matrix of each sub-network based on the initial state of each sub-network to obtain the voltage signal and the current signal of each sub-network; 3) exchanging the voltage signal and the current signal of adjacent sub-networks based on the interface relationship and the interface type between different sub-networks; 4) each sub-network updates its own state space matrix based on the exchanged voltage signal and current signal, and returns to 2) for continuous solving until the simulation is completed.
5. The method of claim 4, wherein, the interface comprises a voltage-type ITM interface or a current-type ITM interface.
6. The method of claim 5, wherein, the step of initializing the sub-network allocated to itself by each real-time simulator comprises: if a voltage-type ITM interface is used, obtaining the initial three-phase current value of the opposite side sub-network from the opposite side sub-network, and sending the three-phase voltage of the current side sub-network into the opposite side sub-network; If the current-mode ITM interface is used, the three-phase voltage initial values of the opposite sub-network are obtained from the opposite sub-network, and the three-phase current of the local sub-network is sent to the opposite sub-network.
7. A decomposition apparatus for active power distribution network real-time simulation model, characterized in that, The method comprises the following steps: The determination module is configured to determine the number of pre-decomposed networks and pre-decomposition nodes based on the number of real-time simulators and the number of switching devices in the active power distribution network real-time simulation model. The decomposition module is configured to pre-decompose the active power distribution network real-time simulation model to obtain a plurality of sub-networks based on the number of pre-decomposed networks and pre-decomposition nodes, and install an interface at the pre-decomposition node. The adjustment module is configured to distribute the sub-networks to the respective real-time simulators through the interface, and adjust the nodes in the sub-networks based on the average resource utilization of all real-time simulators. The determination module is specifically configured to: determine the number of pre-decomposed networks based on the number of distributed power sources and the number of real-time simulators in the active power distribution network real-time simulation model; determine the number of system matrices of the active power distribution network based on the number of switching devices in the active power distribution network real-time simulation model; select the number of distributed power sources included in each sub-network based on the number of system matrices, and select the pre-decomposition nodes based on the number of distributed power sources and a preset decomposition principle. The preset decomposition principle includes: the distributed power sources of adjacent nodes are divided into one sub-network; if a node in the pre-decomposed sub-network is spaced apart from other nodes by more than a preset maximum node spacing, the node is divided into other sub-networks. The maximum node spacing is set based on the topology of the active power distribution network real-time simulation model.
8. The decomposition apparatus of the active power distribution network real-time simulation model according to claim 7, characterized in that, The adjustment module includes: a determination unit configured to determine the resource utilization of each real-time simulator according to the process of solving the state space matrix of each sub-network by the real-time simulator; a calculation unit configured to calculate the average resource utilization of all real-time simulators based on the resource utilization of each real-time simulator; an adjustment unit configured to divide the nodes containing distributed power sources in the sub-network corresponding to the real-time simulator whose resource utilization is greater than the average resource utilization to the sub-network corresponding to the real-time simulator whose resource utilization is less than the average resource utilization, so that the resource utilization of the real-time simulator is as close as possible to the average resource utilization.
9. The decomposition apparatus of the active power distribution network real-time simulation model according to claim 8, characterized in that, The calculation unit calculates the average resource utilization of the real-time simulator according to the following formula: In the formula, e avg represents the average resource utilization of the real-time simulator; Resource represents the total storage space of all real-time simulators. Uti represents the total computing task amount of all real-time simulators, n represents the number of real-time simulators; Uti m Uti represents the total computing task amount of all real-time simulators, m Uti represents the total computing task amount of all real-time simulators, 10. The apparatus of claim 8, wherein, The calculation unit is specifically configured to: 1) each real-time simulator initializes the sub-network allocated to itself to obtain the initial state of each sub-network; 2) each real-time simulator solves the state space matrix of each sub-network based on the initial state of each sub-network to obtain the voltage signal and current signal of each sub-network; 3) the voltage signal and current signal of adjacent sub-networks are exchanged based on the interface relationship and interface type between different sub-networks; 4) each sub-network updates its state space matrix based on the exchanged voltage signal and current signal, and returns to 2) for continuous solving until the simulation is completed.
11. The decomposition apparatus of the active power distribution network real-time simulation model according to claim 10, characterized in that, The interface includes a voltage-mode ITM interface or a current-mode ITM interface.
12. The apparatus for decomposition of an active power distribution grid real-time simulation model according to claim 11, wherein, The calculation unit is specifically configured to: If the voltage type ITM interface is used, the initial value of the three-phase current of the opposite sub-network is obtained from the opposite sub-network, and the three-phase voltage of the local sub-network is sent to the opposite sub-network; If the current type ITM interface is used, the initial value of the three-phase voltage of the opposite sub-network is obtained from the opposite sub-network, and the three-phase current of the local sub-network is sent to the opposite sub-network.
Citation Information
Patent Citations
Massive real-time data load simulation testing cloud platform for smart power grid, and testing method of cloud platform
CN103399496A
Automatic net-dividing method for large-scale electromagnetic transient simulation of power grid
CN106886616A