A power distribution network real-time simulation time correction method and device
By setting up virtual power sources and calculating virtual power in the power distribution network simulation model, and using a PI regulator to correct the simulation time from the simulation model, the problem of time asynchrony between multi-machine simulations is solved, improving the flexibility of the simulation and the stability of the system.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA ELECTRIC POWER RESEARCH INSTITUTE CO LTD
- Filing Date
- 2020-11-27
- Publication Date
- 2026-07-14
AI Technical Summary
In real-time simulation of complex power distribution networks, voltage fluctuations caused by time asynchrony between multiple simulation machines affect the stability of system operation.
A virtual power source is set up in the power distribution network simulation model. The virtual power is calculated by obtaining the power supply voltage of the master simulation model and the slave simulation model. The simulation time of the slave simulation model is corrected by using a PI regulator to achieve time synchronization.
This solves the time synchronization problem between multiple simulators, improving the flexibility of simulation and the security and stability of the system.
Smart Images

Figure CN112613160B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power distribution network simulation, and specifically to a method and apparatus for real-time simulation time correction of power distribution networks. Background Technology
[0002] Real-time simulation of power distribution networks can interact with external physical devices in real time. However, as the scale of power distribution networks increases, real-time simulation of complex power distribution networks can achieve significant reduction in the order of the power distribution network by dividing the power distribution network model, saving the space capacity of the simulator, accelerating the simulation time of the simulator, and thus realizing real-time simulation of the power distribution network model.
[0003] However, when the distribution network model is segmented and simulations are performed by multiple machines, time asynchrony between these simulations can lead to errors, causing significant voltage fluctuations during system operation and affecting system stability. Therefore, it is urgent to address the time asynchrony problem between multiple machine simulations. Summary of the Invention
[0004] To address the shortcomings of existing technologies, the purpose of this invention is to provide a method and apparatus for real-time simulation time correction of power distribution networks. By correcting the simulation time between the master simulation model and the slave simulation model, the safe and stable operation of the system can be ensured.
[0005] The objective of this invention is achieved through the following technical solution:
[0006] This invention provides a real-time simulation time correction method for power distribution networks, the improvement of which is that the method includes:
[0007] In the distribution network simulation model, a virtual power source is set in the slave simulation model, and the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model are obtained when the distribution network simulation model is simulated in parallel.
[0008] The virtual power between the master simulation model and the slave simulation model is determined based on the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model.
[0009] The simulation time of the slave simulation model is corrected based on the virtual power between the master simulation model and the slave simulation model;
[0010] The main simulation model is the simulation model of the feeder section on the feeder of the distribution network that is adjacent to the section to be corrected and close to the substation connected to the feeder in the distribution network simulation model. The secondary simulation model is the simulation model of the feeder section on the feeder of the distribution network that is to be corrected in the distribution network simulation model.
[0011] Preferably, the voltage of the virtual power supply is in phase and frequency with the voltage of the main simulation model power supply.
[0012] Preferably, determining the virtual power between the master simulation model and the slave simulation model based on the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model includes:
[0013] The virtual power P between the master simulation model and the slave simulation model is determined by the following formula:
[0014]
[0015] In the above formula, U is the per-unit value of the virtual power supply voltage from the simulation model, and R V The virtual line impedance between the master simulation model and the slave simulation model, where ω is the angular velocity and L is the virtual line impedance between the master and slave simulation models. V E is the virtual circuit inductance between the master simulation model and the slave simulation model, E is the per-unit value of the power supply voltage of the master simulation model, and δ is the phase difference between the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model.
[0016] Preferably, the step of correcting the simulation time of the slave simulation model based on the virtual power between the master and slave simulation models includes:
[0017] The virtual power between the master simulation model and the slave simulation model is used as an error signal input to the PI controller to obtain the time error value between the master simulation model and the slave simulation model;
[0018] The time error between the master simulation model and the slave simulation model is added to the simulation time of the slave simulation model, and the summed time is used as the corrected simulation time of the slave simulation model.
[0019] Furthermore, the step of using the virtual power between the master simulation model and the slave simulation model as an error signal input to the PI controller to obtain the time error value between the master simulation model and the slave simulation model includes:
[0020] The time error Δt between the master simulation model and the slave simulation model is determined by the following formula:
[0021]
[0022] In the above formula, K P K is the proportionality coefficient. i p represents the integral coefficient, and p is the virtual power between the master simulation model and the slave simulation model.
[0023] Based on the same inventive concept, this invention provides a real-time simulation time correction device for power distribution networks, the improvement of which is that the device includes:
[0024] The acquisition module is used to set up virtual power sources in the slave simulation model in the distribution network simulation model, and to acquire the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model when the distribution network simulation model is simulated in parallel.
[0025] The determination module is used to determine the virtual power between the master simulation model and the slave simulation model based on the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model;
[0026] The calibration module is used to correct the simulation time of the slave simulation model based on the virtual power between the master simulation model and the slave simulation model.
[0027] The main simulation model is the simulation model of the feeder section on the feeder of the distribution network that is adjacent to the section to be corrected and close to the substation connected to the feeder in the distribution network simulation model. The secondary simulation model is the simulation model of the feeder section on the feeder of the distribution network that is to be corrected in the distribution network simulation model.
[0028] Preferably, the voltage of the virtual power supply is in phase and frequency with the voltage of the main simulation model power supply.
[0029] Preferably, the determining module is specifically used for:
[0030] The virtual power P between the master simulation model and the slave simulation model is determined by the following formula:
[0031]
[0032] In the above formula, U is the per-unit value of the virtual power supply voltage from the simulation model, and R V The virtual line impedance between the master simulation model and the slave simulation model, where ω is the angular velocity and L is the virtual line impedance between the master and slave simulation models. V E is the virtual circuit inductance between the master simulation model and the slave simulation model, E is the per-unit value of the power supply voltage of the master simulation model, and δ is the phase difference between the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model.
[0033] Preferably, the correction module includes:
[0034] The acquisition unit is used to input the virtual power between the master simulation model and the slave simulation model as an error signal into the PI regulator to obtain the time error value between the master simulation model and the slave simulation model;
[0035] The correction unit is used to add the time error value between the master simulation model and the slave simulation model to the simulation time of the slave simulation model, and use the summed time value as the corrected simulation time of the slave simulation model.
[0036] Furthermore, the acquisition unit is specifically used for:
[0037] The time error Δt between the master simulation model and the slave simulation model is determined by the following formula:
[0038]
[0039] In the above formula, KP K is the proportionality coefficient. i p represents the integral coefficient, and p is the virtual power between the master simulation model and the slave simulation model.
[0040] Compared with the closest existing technology, the present invention has the following advantages:
[0041] This invention provides a method and apparatus for real-time simulation time correction in power distribution networks. A virtual power source is set in a slave simulation model within a power distribution network simulation model. The power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model are acquired during parallel simulation. The virtual power between the master and slave simulation models is determined based on these voltages. The simulation time of the slave simulation model is then corrected based on this virtual power. This invention provides a solution for correcting the simulation time between the master and slave simulation models, resolving the time synchronization problem between multiple simulators, improving the flexibility and reusability of the simulation, and ensuring the safe and stable operation of the system. Attached Figure Description
[0042] Figure 1 This is a flowchart of a real-time simulation time correction method for power distribution networks provided by the present invention;
[0043] Figure 2 This is a segmentation diagram of the IEEE 33-node standard model in a real-time simulation time correction method for power distribution networks provided by this invention;
[0044] Figure 3 This is a current waveform diagram of the IEEE 33-node system before segmentation in a real-time simulation time correction method for power distribution networks provided by this invention.
[0045] Figure 4 This is a current waveform diagram after segmentation of the IEEE 33-node system in a real-time simulation time correction method for power distribution networks provided by this invention.
[0046] Figure 5 This invention provides a method for real-time simulation time correction of power distribution networks, which uses voltage waveforms of the master and slave simulation models when the slave simulation model's time is slower than the master simulation model's time.
[0047] Figure 6 This invention provides a method for real-time simulation time correction of power distribution networks, which shows the current waveform of the slave simulation model when the slave simulation model's time is slower than that of the master simulation model.
[0048] Figure 7 This invention provides a method for real-time simulation time correction of power distribution networks, which includes voltage waveforms of the master and slave simulation models after error correction when the slave simulation model's time is slower than the master simulation model.
[0049] Figure 8 This is a current waveform diagram of the slave simulation model after error correction when the slave simulation model time is slower than the master simulation model in a real-time simulation time correction method for power distribution networks provided by the present invention.
[0050] Figure 9 The present invention provides a method for real-time simulation time correction of power distribution networks, which includes voltage waveforms of the master simulation model and the slave simulation model when a delay error occurs in the simulation model.
[0051] Figure 10 The present invention provides a method for real-time simulation time correction of power distribution networks, which uses the current waveform of the simulation model when a delay error occurs in the simulation model.
[0052] Figure 11 The present invention provides a phase difference diagram between the master simulation model and the slave simulation model after error correction when a delay error occurs in the simulation model.
[0053] Figure 12 The present invention provides a method for time correction in real-time simulation of power distribution network, which involves error correction of the simulation model when a delay error occurs; and a current amplitude diagram of the simulation model after error correction.
[0054] Figure 13 The present invention provides an error correction block diagram for a real-time simulation time correction method for power distribution networks;
[0055] Figure 14 The present invention provides a structural diagram of a real-time simulation time correction device for power distribution networks. Detailed Implementation
[0056] The specific embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
[0057] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0058] This invention provides a real-time simulation time correction method for power distribution networks, such as... Figure 1 As shown, the method includes:
[0059] In the distribution network simulation model, a virtual power source is set in the slave simulation model, and the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model are obtained when the distribution network simulation model is simulated in parallel.
[0060] The virtual power between the master simulation model and the slave simulation model is determined based on the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model.
[0061] The simulation time of the slave simulation model is corrected based on the virtual power between the master simulation model and the slave simulation model;
[0062] The main simulation model is the simulation model of the feeder section on the feeder of the distribution network that is adjacent to the section to be corrected and close to the substation connected to the feeder in the distribution network simulation model. The secondary simulation model is the simulation model of the feeder section on the feeder of the distribution network that is to be corrected in the distribution network simulation model.
[0063] In an embodiment of the present invention, the voltage of the virtual power supply is in phase and frequency with the voltage of the main simulation model power supply.
[0064] In an embodiment of the present invention, determining the virtual power between the master simulation model and the slave simulation model based on the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model includes:
[0065] The virtual power P between the master simulation model and the slave simulation model is determined by the following formula:
[0066]
[0067] In the above formula, U is the per-unit value of the virtual power supply voltage from the simulation model, and R V The virtual line impedance between the master simulation model and the slave simulation model, where ω is the angular velocity and L is the virtual line impedance between the master and slave simulation models. V E is the virtual circuit inductance between the master simulation model and the slave simulation model, E is the per-unit value of the power supply voltage of the master simulation model, and δ is the phase difference between the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model.
[0068] In embodiments of the present invention, such as Figure 2 As shown, a model partitioning is performed between nodes 11 and 12 in the standard model of the IEEE 33-node system. The power supply voltage of the master simulation model is 120kV, and the power supply voltage of the slave simulation model is 100kV. Both have a frequency of 50Hz and an initial phase of 0. The voltages of the master and slave simulation models are normalized. Then, simulations are performed before and after the system partitioning to verify the correctness of the system partitioning method.
[0069] like Figure 3 The current waveform before system segmentation is shown below, as follows: Figure 4The current waveforms after system segmentation shown in the figure indicate that the simulation results remain unchanged before and after system segmentation. The current waveforms are consistent with those before system segmentation, and the system maintains stable operation.
[0070] If the simulation model's time is slower than the main simulation model's time, the two are no longer synchronized, i.e., U=10. 5 When sin 0.99wt, such as Figure 5 The voltage waveforms of the master simulation model and the slave simulation model are shown below. Figure 6 As shown in the current waveform of the simulation model, it can be seen that when the power supply voltage of the slave simulation model changes, the operating state of the slave simulation model gradually deviates from that of the master simulation model, and the current of the slave simulation model gradually becomes unstable, causing the system to operate unstablely. Therefore, it is necessary to perform error correction on the slave simulation model to restore the system to a stable operating state. Error correction should be performed on the power supply control signal of the slave simulation model, such as... Figure 7 The voltage waveforms of the master simulation model and slave simulation model after error correction are shown below. Figure 8 The current waveform of the simulation model after error correction shown shows that the operating state of the simulation model is consistent with that of the main simulation model. The current of the simulation model has stabilized, and the system has resumed stable operation.
[0071] If a delay error occurs in the simulation model, i.e., U = 10 5 When sin(wt+0.0025), such as Figure 9 The voltage waveforms of the master simulation model and the slave simulation model shown are as follows: Figure 10 The current waveform shown in the simulation model indicates a phase deviation between the master and slave simulation models, with the slave model exhibiting an excessively large current amplitude. Therefore, error correction is required for the slave model to restore both the master and slave models to a stable operating state. Error correction for the slave model is performed as follows: Figure 11 After error correction, the phase difference between the master simulation model and the slave simulation model is eliminated, and the voltage waveforms are basically consistent, as shown. Figure 12 The current amplitude from the simulation model after error correction is restored to the steady-state value, and the system returns to a stable operating state.
[0072] In an embodiment of the present invention, the step of correcting the simulation time of the slave simulation model based on the virtual power between the master simulation model and the slave simulation model includes:
[0073] like Figure 13 As shown, the virtual power between the master simulation model and the slave simulation model is used as an error signal input to the PI controller to obtain the time error value between the master simulation model and the slave simulation model;
[0074] The time error value Δt between the master simulation model and the slave simulation model is added to the simulation time t2 of the slave simulation model, and the sum is taken as the corrected simulation time t′2 of the slave simulation model; where Figure 13 In this context, s is a complex variable in the Laplace transform.
[0075] Specifically, the step of using the virtual power between the master simulation model and the slave simulation model as an error signal input to the PI controller to obtain the time error value between the master simulation model and the slave simulation model includes:
[0076] The time error Δt between the master simulation model and the slave simulation model is determined by the following formula:
[0077]
[0078] In the above formula, K P K is the proportionality coefficient. i p represents the integral coefficient, and p is the virtual power between the master simulation model and the slave simulation model.
[0079] Based on the same inventive concept, this invention provides a real-time simulation time correction device for power distribution networks, such as... Figure 14 As shown, the device includes:
[0080] The acquisition module is used to set up virtual power sources in the slave simulation model in the distribution network simulation model, and to acquire the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model when the distribution network simulation model is simulated in parallel.
[0081] The determination module is used to determine the virtual power between the master simulation model and the slave simulation model based on the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model;
[0082] The calibration module is used to correct the simulation time of the slave simulation model based on the virtual power between the master simulation model and the slave simulation model.
[0083] The main simulation model is the simulation model of the feeder section on the feeder of the distribution network that is adjacent to the section to be corrected and close to the substation connected to the feeder in the distribution network simulation model. The secondary simulation model is the simulation model of the feeder section on the feeder of the distribution network that is to be corrected in the distribution network simulation model.
[0084] In an embodiment of the present invention, the voltage of the virtual power supply is in phase and frequency with the voltage of the main simulation model power supply.
[0085] In embodiments of the present invention, the determining module is specifically used for:
[0086] The virtual power P between the master simulation model and the slave simulation model is determined by the following formula:
[0087]
[0088] In the above formula, U is the per-unit value of the virtual power supply voltage from the simulation model, and R V The virtual line impedance between the master simulation model and the slave simulation model, where ω is the angular velocity and L is the virtual line impedance between the master and slave simulation models. V E is the virtual circuit inductance between the master simulation model and the slave simulation model, E is the per-unit value of the power supply voltage of the master simulation model, and δ is the phase difference between the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model.
[0089] In an embodiment of the present invention, the correction module includes:
[0090] The acquisition unit is used to input the virtual power between the master simulation model and the slave simulation model as an error signal into the PI regulator to obtain the time error value between the master simulation model and the slave simulation model;
[0091] The correction unit is used to add the time error value between the master simulation model and the slave simulation model to the simulation time of the slave simulation model, and use the summed time value as the corrected simulation time of the slave simulation model.
[0092] Specifically, the acquisition unit is used for:
[0093] The time error Δt between the master simulation model and the slave simulation model is determined by the following formula:
[0094]
[0095] In the above formula, K P K is the proportionality coefficient. i p represents the integral coefficient, and p is the virtual power between the master simulation model and the slave simulation model.
[0096] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied 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.
[0097] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0098] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0099] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0100] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A real-time simulation time correction method for power distribution networks, characterized in that, The method includes: In the distribution network simulation model, a virtual power source is set in the slave simulation model, and the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model are obtained when the distribution network simulation model is simulated in parallel. The virtual power between the master simulation model and the slave simulation model is determined based on the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model. The simulation time of the slave simulation model is corrected based on the virtual power between the master simulation model and the slave simulation model; The main simulation model is the simulation model of the feeder section on the feeder of the distribution network that is adjacent to the section to be corrected and close to the substation connected to the feeder in the distribution network simulation model. The secondary simulation model is the simulation model of the feeder section on the feeder of the distribution network that is to be corrected in the distribution network simulation model. The step of determining the virtual power between the master simulation model and the slave simulation model based on the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model includes: The virtual power between the master simulation model and the slave simulation model is determined by the following formula. : In the above formula, To obtain the per-unit value of the virtual power supply voltage from the simulation model, The virtual line impedance between the master simulation model and the slave simulation model. Angular velocity, Virtual circuit inductance between the master simulation model and the slave simulation model. The per-unit value of the power supply voltage for the main simulation model. The phase difference between the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model; The step of correcting the simulation time of the slave simulation model based on the virtual power between the master and slave simulation models includes: The virtual power between the master simulation model and the slave simulation model is used as an error signal input to the PI controller to obtain the time error value between the master simulation model and the slave simulation model; The time error between the master simulation model and the slave simulation model is added to the simulation time of the slave simulation model, and the summed time is used as the corrected simulation time of the slave simulation model.
2. The method as described in claim 1, characterized in that, The voltage of the virtual power supply is in phase and frequency with the voltage of the main simulation model power supply.
3. The method as described in claim 1, characterized in that, The step of using the virtual power between the master simulation model and the slave simulation model as an error signal input to the PI controller to obtain the time error value between the master simulation model and the slave simulation model includes: The time error between the master simulation model and the slave simulation model is determined by the following formula. : In the above formula, This is the proportionality coefficient. p represents the integral coefficient, and p is the virtual power between the master simulation model and the slave simulation model.
4. A real-time simulation time correction device for power distribution networks, characterized in that, The device includes: The acquisition module is used to set up virtual power sources in the slave simulation model in the distribution network simulation model, and to acquire the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model when the distribution network simulation model is simulated in parallel. The determination module is used to determine the virtual power between the master simulation model and the slave simulation model based on the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model; The calibration module is used to correct the simulation time of the slave simulation model based on the virtual power between the master simulation model and the slave simulation model. The main simulation model is the simulation model of the feeder section on the feeder of the distribution network that is adjacent to the section to be corrected and close to the substation connected to the feeder in the distribution network simulation model. The secondary simulation model is the simulation model of the feeder section on the feeder of the distribution network that is to be corrected in the distribution network simulation model. The determining module is specifically used for: The virtual power between the master simulation model and the slave simulation model is determined by the following formula. : In the above formula, To obtain the per-unit value of the virtual power supply voltage from the simulation model, The virtual line impedance between the master simulation model and the slave simulation model. Angular velocity, Virtual circuit inductance between the master simulation model and the slave simulation model. The per-unit value of the power supply voltage for the main simulation model. The phase difference between the power supply voltage of the master simulation model and the virtual power supply voltage of the slave simulation model; The correction module includes: The acquisition unit is used to input the virtual power between the master simulation model and the slave simulation model as an error signal into the PI regulator to obtain the time error value between the master simulation model and the slave simulation model; The correction unit is used to add the time error value between the master simulation model and the slave simulation model to the simulation time of the slave simulation model, and use the summed time value as the corrected simulation time of the slave simulation model.
5. The apparatus as described in claim 4, characterized in that, The voltage of the virtual power supply is in phase and frequency with the voltage of the main simulation model power supply.
6. The apparatus as claimed in claim 4, characterized in that, The acquisition unit is specifically used for: The time error between the master simulation model and the slave simulation model is determined by the following formula. : In the above formula, This is the proportionality coefficient. p represents the integral coefficient, and p is the virtual power between the master simulation model and the slave simulation model.