Reactive power optimization control method for coupling system of renewable energy and thermal power generation
By using particle swarm optimization to optimize reactive and active power output in a renewable energy and thermal power coupling system, the problems of grid voltage fluctuation and increased grid loss were solved, resulting in more stable grid voltage and lower grid loss.
Patent Information
- Application Number
- CN202111619744.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-27
- Publication Date
- 2025-11-07
- Estimated Expiration
- 2041-12-27
AI Technical Summary
In systems where renewable energy and thermal power are coupled, the randomness and uncertainty of renewable energy lead to increased grid voltage fluctuations and grid losses, resulting in poor performance of existing reactive power optimization control.
A pre-defined particle swarm optimization algorithm is used to determine the target access nodes and control nodes for renewable energy. By randomly generating target particle swarms, reactive power and active power output values are optimized. Global node voltage deviation function and global network loss function are used to optimize control, ensuring that node voltage is within a preset range, thereby achieving reactive power optimization.
While ensuring that the node voltage does not exceed the limit, it improves the stability of the power grid voltage, reduces network losses, and enhances the reactive power optimization effect.
Smart Images

Figure CN114447940B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power distribution, in particular to a reactive power optimization control method and device for a renewable energy and thermal power coupling system, a storage medium and a computer device. BACKGROUND
[0002] The renewable energy and thermal power coupling system has become a hot research trend at home and abroad. Due to the randomness and uncertainty of renewable energy sources such as wind power and photovoltaic power, the output fluctuation of renewable energy will cause voltage fluctuation of the coupling system composed of renewable energy and thermal power units, resulting in unstable grid voltage, increased network loss, and even voltage out-of-limit in serious cases.
[0003] Since the inverter of the distributed renewable energy generation device can absorb or emit reactive power and has a certain reactive power regulation capability, the current power distribution technology field usually uses the reactive power regulation capability of the inverter for reactive power optimization. However, this reactive power optimization control method has poor optimization effect. SUMMARY
[0004] Therefore, the present application provides a reactive power optimization control method and device for a renewable energy and thermal power coupling system, a storage medium and a computer device, which can ensure that the output value of the renewable energy makes the node voltage of each node of the coupling system not exceed the limit, and make the grid voltage more stable and the network loss smaller, thereby improving the effect of reactive power optimization.
[0005] According to one aspect of the present application, a reactive power optimization control method for a renewable energy and thermal power coupling system is provided, comprising:
[0006] determining a target access node of the renewable energy from the coupling system, and determining a target control node from the coupling system according to the target access node, wherein the coupling system comprises a plurality of nodes;
[0007] randomly generating a first target particle swarm corresponding to the renewable energy based on a preset particle swarm algorithm, determining a first target speed and a first target position corresponding to any first target particle in each iteration, and determining a first node voltage corresponding to the target control node based on the first target position, wherein the first target position comprises a first reactive power output value and / or a first active power output value of the renewable energy;
[0008] when the first node voltage belongs to a preset voltage interval, determining a first particle individual optimal solution corresponding to the any first target particle after this iteration according to a first target function, and determining a first global optimal solution after this iteration based on the first particle individual optimal solution, wherein the first target function comprises a global node voltage deviation function and a global network loss function;
[0009] When the number of iterations reaches a first preset number threshold, a first target global optimal solution is obtained, and when a second node voltage corresponding to any other node in the coupling system except the target control node under the first target global optimal solution belongs to the preset voltage interval, the first target global optimal solution is taken as a reactive power optimization control value of the renewable energy in the coupling system.
[0010] Optionally, the target control node is determined from the coupling system according to the target access node, and specifically includes:
[0011] An initial reactive power output value and / or an initial active power output value of the renewable energy are determined, and initial node voltages corresponding to each node in the coupling system are determined based on the initial reactive power output value and / or the initial active power output value;
[0012] According to the initial node voltages, the node corresponding to the initial node voltage with the largest deviation from the preset voltage interval is taken as the target control node.
[0013] Optionally, after the target access node of the renewable energy is determined from the coupling system, the method further includes:
[0014] Based on a plurality of preset power factors, the node voltage of each node corresponding to each preset power factor is determined respectively, and a global node voltage deviation is determined based on the node voltages.
[0015] The preset power factor with the smallest global node voltage deviation is taken as a target power factor of the renewable energy.
[0016] Optionally, after the first target global optimal solution is obtained when the number of iterations reaches the first preset number threshold, the method further includes:
[0017] When the second node voltage corresponding to any other node in the coupling system except the target control node under the first target global optimal solution does not belong to the preset voltage interval, a second target particle swarm corresponding to the renewable energy is randomly generated based on the preset particle swarm algorithm, a second target speed and a second target position corresponding to each iteration of any second target particle are determined, and third node voltages corresponding to each node in the coupling system are determined based on the second target position, wherein the second target position includes a second reactive power output value and / or a second active power output value of the renewable energy.
[0018] determining, according to a second objective function, a second particle individual optimal solution corresponding to any second target particle after this iteration, and determining a second global optimal solution after this iteration based on the second particle individual optimal solution, wherein the second objective function comprises the global network loss function;
[0019] when the number of iterations reaches a second preset number threshold, obtaining a second target global optimal solution, and taking the second target global optimal solution as the reactive power optimization control value of the renewable energy in the coupled system.
[0020] Optionally, after the first target particle swarm corresponding to the renewable energy is randomly generated based on the preset particle swarm algorithm, the method further comprises:
[0021] assigning a first speed and a first position to each first target particle, wherein the first position comprises a first reactive power output value and / or a first active power output value of the renewable energy;
[0022] after the first speed and the first position are assigned to each first target particle, the method further comprises:
[0023] obtaining the first target speed corresponding to any first target particle based on the first speed of the first target particle and a preset speed update formula, and obtaining the first target position corresponding to the first target particle based on the first target speed and a preset position update formula.
[0024] Optionally, after the target control node corresponding first node voltage is determined, the method further comprises:
[0025] when the first node voltage does not belong to the preset voltage interval, obtaining an updated first target speed based on the preset speed update formula and the first target speed, and obtaining an updated first target position based on the preset position update formula and the updated first target speed.
[0026] Optionally, the first objective function further comprises a first weight and a second weight; and the determination of the first particle individual optimal solution corresponding to any first target particle after this iteration according to the first objective function specifically comprises:
[0027] determining a first weight value and a second weight value of the first objective function, determining a first objective function value corresponding to any first target particle according to the global node voltage deviation function, the global network loss function, the first weight value and the second weight value;
[0028] repeating the changing of the first weight value and the second weight value of the first objective function according to a preset step size, and determining a second objective function value corresponding to the first weight value and the second weight value of the any first target particle respectively;
[0029] determining a minimum objective function value based on the first objective function value and at least one second objective function value, and determining the first particle individual optimal solution corresponding to the any first target particle after the current iteration according to the minimum objective function value.
[0030] According to another aspect of the present application, a reactive power optimization control device of a renewable energy and thermal power coupling system is provided, comprising:
[0031] a node determination module configured to determine a target access node of the renewable energy from the coupling system, and determine a target control node from the coupling system according to the target access node, wherein the coupling system comprises a plurality of nodes;
[0032] a voltage determination module configured to randomly generate a first target particle swarm corresponding to the renewable energy based on a preset particle swarm algorithm, determine a first target speed and a first target position corresponding to each iteration of any first target particle, and determine a first node voltage corresponding to the target control node based on the first target position, wherein the first target position comprises a first reactive power output value and / or a first active power output value of the renewable energy;
[0033] an optimal solution determination module configured to determine a first particle individual optimal solution corresponding to the any first target particle after the current iteration according to a first objective function when the first node voltage belongs to a preset voltage interval, and determine a first global optimal solution after the current iteration based on the first particle individual optimal solution, wherein the first objective function comprises a global node voltage deviation function and a global network loss function;
[0034] a control value determination module configured to obtain a first target global optimal solution when the number of iterations reaches a first preset number threshold, and take the first target global optimal solution as a reactive power optimization control value of the renewable energy in the coupling system when a second node voltage corresponding to other nodes in the coupling system except the target control node under the first target global optimal solution belongs to the preset voltage interval.
[0035] Optionally, the node determination module is specifically configured to:
[0036] determine an initial reactive power output value and / or an initial active power output value of the renewable energy source, and determine initial node voltages corresponding to each of the nodes in the coupled system based on the initial reactive power output value and / or the initial active power output value; and determine, according to the initial node voltages, the node corresponding to the initial node voltage having the largest deviation from the preset voltage interval as the target control node.
[0037] Optionally, the apparatus further comprises:
[0038] a voltage deviation determination module configured to, after determining the target access node of the renewable energy source from the coupled system, determine node voltages of each of the nodes corresponding to a plurality of preset power factors respectively based on the plurality of preset power factors, and determine a global node voltage deviation based on the node voltages.
[0039] a power factor determination module configured to determine, as a target power factor of the renewable energy source, the preset power factor having the smallest global node voltage deviation.
[0040] Optionally, the voltage determination module is further configured to, after obtaining the first target global optimal solution when the number of iterations reaches a first preset number threshold, and when the second node voltage corresponding to any of the other nodes in the coupled system except the target control node under the first target global optimal solution does not belong to the preset voltage interval, randomly generate, based on the preset particle swarm algorithm, a second target particle swarm corresponding to the renewable energy source, determine a second target speed and a second target position corresponding to each iteration of any of the second target particles, and determine third node voltages corresponding to each of the nodes in the coupled system based on the second target position, wherein the second target position includes a second reactive power output value and / or a second active power output value of the renewable energy source.
[0041] the optimal solution determination module is further configured to, when the third node voltages all belong to the preset voltage interval, determine, according to a second target function, a second particle individual optimal solution corresponding to any of the second target particles after the iteration, and determine a second global optimal solution after the iteration based on the second particle individual optimal solution, wherein the second target function includes the global network loss function.
[0042] the control value determination module is further configured to, when the number of iterations reaches a second preset number threshold, obtain a second target global optimal solution, and determine, as a reactive power optimization control value of the renewable energy source in the coupled system, the second target global optimal solution.
[0043] Optionally, the apparatus further comprises:
[0044] an assignment module, configured to assign a first speed and a first position to each of the first target particles after the first target particle swarm corresponding to the renewable energy is randomly generated based on the preset particle swarm algorithm, wherein the first position comprises a first reactive power output value and / or a first active power output value of the renewable energy;
[0045] The device further comprises:
[0046] an updating module, configured to, after the first speed and the first position are assigned to each of the first target particles, obtain the first target speed corresponding to any of the first target particles based on the first speed of the any of the first target particles and a preset speed updating formula, and obtain the first target position corresponding to the any of the first target particles based on the first target speed and a preset position updating formula.
[0047] Optionally, the updating module is further configured to:
[0048] after the first node voltage corresponding to the target control node is determined, when the first node voltage does not belong to the preset voltage interval, obtain an updated first target speed based on the preset speed updating formula and the first target speed, and obtain an updated first target position based on the preset position updating formula and the updated first target speed.
[0049] Optionally, the first target function further comprises a first weight and a second weight; and the optimal solution determination module is specifically configured to:
[0050] determine a first weight value and a second weight value of the first target function, determine a first target function value corresponding to the any of the first target particles according to the global node voltage deviation function, the global network loss function, the first weight value and the second weight value, repeatedly change the first weight value and the second weight value of the first target function according to a preset step size, respectively determine a second target function value corresponding to the any of the first target particles and the first weight value and the second weight value, determine a minimum target function value based on the first target function value and at least one of the second target function values, and determine the first particle individual optimal solution corresponding to the any of the first target particles after this iteration according to the minimum target function value.
[0051] According to still another aspect of the present application, a storage medium having a computer program stored thereon is provided, the program being executed by a processor to implement the reactive power optimization control method of the renewable energy and thermal power coupling system.
[0052] According to another aspect of the present application, a computer device is provided, which comprises a storage medium, a processor, and a computer program stored in the storage medium and capable of running on the processor, and the processor implements the reactive power optimization control method of the renewable energy and thermal power coupling system when executing the program.
[0053] By the technical scheme, the application provides a reactive power optimization control method and device of a renewable energy and thermal power coupling system, a storage medium and a computer device. The coupling system can include multiple nodes, and each node can access a renewable energy unit. A target access node can be determined from the nodes, and then a target control node can be determined from the multiple nodes of the coupling system after the renewable energy accesses the target access node. When the renewable energy accesses the target access node of the coupling system, a first target particle swarm corresponding to the renewable energy can be randomly generated by using a preset particle swarm algorithm, and the first target particle swarm can include a preset number of first target particles. After each iteration, each first target particle can correspond to two parameters, that is, a first target speed and a first target position. Here, the first target position corresponding to each first target particle can represent a first reactive power output value and / or a first active power output value of the renewable energy. After the reactive power output value and / or the active power output value of the first target particle is determined, a first node voltage corresponding to the control node in the coupling system can be further determined. When the first node voltage of the target control node is within a preset voltage interval, it indicates that the first node voltage of the target control node is not out of limit. At this time, the first particle individual optimal solution corresponding to each first target particle after this iteration can be determined according to the first target function, that is, the first target position with the minimum first target function value in multiple iterations is found as the first particle individual optimal solution of the first target particle. The first global optimal solution after this iteration can also be determined according to the first particle individual optimal solution corresponding to each first target particle. Here, the first target function can include two parts, one part is a global node voltage deviation function, and the other part is a global network loss function. When the iteration update times of the first target speed and the first target position of each first target particle exceed a first preset number threshold, it indicates that the first target global optimal solution obtained at this time has good optimization effect. At this time, if the second node voltage corresponding to other nodes in the coupling system except the target control node is within the preset voltage interval, it indicates that the node voltage corresponding to each node in the coupling system is not out of limit, and then the first target global optimal solution can be taken as the optimization control value of the renewable energy in the coupling system to control the reactive power output value and / or the active power output value of the renewable energy. In the application, the first target global optimal solution corresponding to the first target function is determined by using the preset particle swarm algorithm, and the node voltage corresponding to each node in the coupling system is not out of limit, so that the first target global optimal solution is taken as the optimization control value of the renewable energy. The power grid voltage is more stable, the network loss is smaller, and the effect of reactive power optimization is improved.
[0054] The above description is only a summary of the technical solutions of the present application. In order to make the technical means of the present application more clearly understood and implemented according to the content of the description, and in order to make the above and other purposes, characteristics and advantages of the present application more obvious and easy to understand, the following specific embodiments of the present application are described. BRIEF DESCRIPTION OF DRAWINGS
[0055] The drawings described herein are used to provide further understanding of the present application, and form a part of the present application. The schematic embodiments of the present application and the description thereof are used to explain the present application, and do not constitute an improper limitation on the present application. In the drawings:
[0056] Figure 1 A flowchart of a reactive power optimization control method of a renewable energy and thermal power coupling system provided by an embodiment of the present application is shown;
[0057] Figure 2 A flowchart of another reactive power optimization control method of a renewable energy and thermal power coupling system provided by an embodiment of the present application is shown;
[0058] Figure 3 A structure diagram of a reactive power optimization control device of a renewable energy and thermal power coupling system provided by an embodiment of the present application is shown. DETAILED DESCRIPTION
[0059] In the following, the present application will be described in detail with reference to the drawings and in combination with the embodiments. It should be noted that the embodiments in the present application and the features in the embodiments can be combined with each other without conflict.
[0060] Embodiment 1
[0061] In the present embodiment, a reactive power optimization control method of a renewable energy and thermal power coupling system is provided, as shown in Figure 1 The method comprises the following steps:
[0062] Step 101: determining a target access node of a renewable energy from a coupling system, and determining a target control node from the coupling system according to the target access node, wherein the coupling system comprises a plurality of nodes;
[0063] The renewable energy and thermal power generation coupling system reactive power optimization control method provided by the embodiments of the present application can be applied to the client side or the server side. First, a renewable energy and thermal power generation coupling system model can be established. The model includes a basic model composed of a doubly-fed wind turbine, a photovoltaic power source, a thermal power unit, an inverter, a grid-side converter, a machine-side converter, and a transformer. The coupling system can include multiple nodes, and each node can access a renewable energy unit. A target access node can be determined from the nodes, and then the node voltage corresponding to each node can be determined after the renewable energy accesses the target access node, and then the target control node can be determined from the multiple nodes of the coupling system according to the node voltage.
[0064] In step 102, a first target particle group corresponding to the renewable energy is randomly generated based on a preset particle swarm algorithm, a first target speed and a first target position corresponding to each iteration of any first target particle are determined, and a first node voltage corresponding to the target control node is determined based on the first target position, wherein the first target position includes a first reactive power output value and / or a first active power output value of the renewable energy.
[0065] In this embodiment, when the renewable energy accesses the target access node of the coupling system, a first target particle group corresponding to the renewable energy can be randomly generated by using a preset particle swarm algorithm, and the first target particle group can include a preset number of first target particles. Each first target particle can correspond to two parameters, namely a first target speed and a first target position, after each iteration. Here, the first target position corresponding to each first target particle can represent the first reactive power output value and / or the first active power output value of the renewable energy. After the reactive power output value and / or the active power output value of the first target particle is determined, the first node voltage corresponding to the target control node of the coupling system can be further determined.
[0066] In step 103, when the first node voltage belongs to a preset voltage interval, a first particle individual optimal solution corresponding to the any first target particle after this iteration is determined according to a first target function, and a first global optimal solution after this iteration is determined based on the first particle individual optimal solution, wherein the first target function includes a global node voltage deviation function and a global network loss function.
[0067] In this embodiment, when the first node voltage of the target control node is in the preset voltage interval, it is indicated that the first node voltage of the target control node does not exceed the limit. Here, the first node voltage can be a voltage unit, and the corresponding preset voltage interval can also be a voltage unit, and specifically can be [0.95, 1.05]. At this time, the first particle individual optimal solution corresponding to each first target particle after this iteration can be determined according to the first target function, that is, the first target position with the minimum first target function value of the first target particle in multiple iterations is found as the first particle individual optimal solution. The first global optimal solution after this iteration can also be determined according to the first particle individual optimal solution corresponding to all first target particles. Here, the first target function can include two parts, one part is a global node voltage deviation function, and the other part is a global network loss function. The first target function can be specifically obtained by weighted addition of the global node voltage deviation function and the global network loss function, and the purpose is to minimize the sum of the node voltage deviation and the network loss of each node of the coupled system.
[0068] Step 104, when the number of iterations reaches the first preset number threshold, the first target global optimal solution is obtained, and when the second node voltage corresponding to the other nodes in the coupled system except the target control node under the first target global optimal solution belongs to the preset voltage interval, the first target global optimal solution is taken as the reactive power optimization control value of the renewable energy in the coupled system.
[0069] In this embodiment, when the number of iteration updates of the first target speed and the first target position of each first target particle exceeds the first preset number threshold, the first target global optimal solution can be obtained at this time, and the first target global optimal solution obtained at this time has good optimization effect. If the second node voltage corresponding to the other nodes in the coupled system except the target control node belongs to the preset voltage interval at this time, it is indicated that the node voltage corresponding to each node in the coupled system does not exceed the limit, and then the first target global optimal solution can be taken as the optimization control value of the renewable energy in the coupled system to control the reactive power output value and / or the active power output value of the renewable energy.
[0070] By applying the technical solution of the embodiment, the coupling system can include multiple nodes, each of which can access a renewable energy unit. A target access node can be determined from the nodes, and then a target control node can be determined from the multiple nodes of the coupling system after the renewable energy accesses the target access node. When the renewable energy accesses the target access node of the coupling system, a first target particle swarm corresponding to the renewable energy can be randomly generated by using a preset particle swarm algorithm, and the first target particle swarm can include a preset number of first target particles. After each iteration, each first target particle can correspond to two parameters, which are a first target speed and a first target position. Here, the first target position corresponding to each first target particle can represent a first reactive power output value and / or a first active power output value of the renewable energy. After the reactive power output value and / or the active power output value of the first target particle is determined, the first node voltage corresponding to the control node in the coupling system can be further determined. When the first node voltage of the target control node is within a preset voltage interval, it means that the first node voltage of the target control node is not out of limit. At this time, the first particle individual optimal solution corresponding to each first target particle after this iteration can be determined according to the first target function, that is, the first target position with the minimum first target function value in multiple iterations of the first target particle is found as the first particle individual optimal solution. The first global optimal solution after this iteration can also be determined according to the first particle individual optimal solution corresponding to each first target particle. Here, the first target function can include two parts, one part is a global node voltage deviation function, and the other part is a global network loss function. When the number of iteration updates of the first target speed and the first target position of each first target particle exceeds a first preset number threshold, it means that the first target global optimal solution obtained at this time has good optimization effect. At this time, if the second node voltage corresponding to the nodes other than the target control node in the coupling system is within the preset voltage interval, it means that the node voltage corresponding to each node in the coupling system is not out of limit, and then the first target global optimal solution can be used as the optimization control value of the renewable energy of the coupling system to control the reactive power output value and / or the active power output value of the renewable energy. In the embodiment, the first target global optimal solution corresponding to the first target function is determined by using the preset particle swarm algorithm, and the first target global optimal solution is used as the optimization control value of the renewable energy on the basis that the node voltage corresponding to each node in the coupling system is not out of limit, which can make the grid voltage more stable and the network loss smaller on the basis of ensuring that the output value of the renewable energy does not make the node voltage of each node in the coupling system out of limit, and is beneficial to improving the effect of reactive power optimization.
[0071] Embodiment 2
[0072] Further, as a refinement and extension of the above embodiment, in order to fully describe the specific implementation process of the embodiment, another renewable energy and thermal power coupling system reactive power optimization control method is provided, as shown in Figure 2 The method comprises the following steps:
[0073] Step 201, determining the target access node of the renewable energy from the coupling system, determining the node voltage of each node corresponding to each preset power factor based on a plurality of preset power factors, and determining the global node voltage deviation based on the node voltage; taking the preset power factor with the minimum global node voltage deviation as the target power factor of the renewable energy;
[0074] In this embodiment, a plurality of preset power factors of the renewable energy can be set in advance. First, the target access node of the renewable energy can be determined from a plurality of nodes of the coupling system, and then the preset power factor with the minimum coupling system node voltage deviation can be found from a plurality of preset power factors as the target power factor according to the target access node of the renewable energy. Specifically, the node voltage of each node in the coupling system corresponding to each preset power factor of the renewable energy can be calculated respectively, and then the node voltage deviation of each node can be determined according to the node voltage of each node, the global node voltage deviation can be obtained by adding the node voltage deviation of each node, and finally the preset power factor with the minimum global node voltage deviation can be taken as the target power factor for subsequent control of the output value of the renewable energy.
[0075] Step 202, determining the initial reactive power output value and / or initial active power output value of the renewable energy, and determining the initial node voltage corresponding to each node in the coupling system based on the initial reactive power output value and / or initial active power output value; according to the initial node voltage, taking the node corresponding to the initial node voltage with the maximum voltage deviation from the preset voltage interval as the target control node;
[0076] In this embodiment, after determining the target power factor of the renewable energy, an initial reactive power output value and / or initial active power output value can be determined for the renewable energy accessing the target access node, and the node voltage corresponding to each node in the coupling system can be determined according to the initial reactive power output value and / or initial active power output value, and the voltage deviation value of each node voltage from the preset voltage interval can be further calculated, and then the node corresponding to the node voltage with the maximum voltage deviation value can be taken as the target control node in the coupling system.
[0077] In step 203, a first target particle swarm corresponding to the renewable energy is randomly generated based on a preset particle swarm algorithm, a first target speed and a first target position corresponding to any first target particle in each iteration are determined, and a first node voltage corresponding to the target control node is determined based on the first target position, wherein the first target position includes a first reactive power output value and / or a first active power output value of the renewable energy.
[0078] In this embodiment, when the renewable energy is connected to the target connection node of the coupling system, a first target particle swarm corresponding to the renewable energy can be randomly generated by using a preset particle swarm algorithm, and the first target particle swarm can include a preset number of first target particles. After each iteration, each first target particle can correspond to two parameters, i.e., a first target speed and a first target position. Here, the first target position corresponding to each first target particle can represent a first reactive power output value and / or a first active power output value of the renewable energy. After the reactive power output value and / or the active power output value of the first target particle are determined, a first node voltage corresponding to the target control node in the coupling system can be further determined.
[0079] In step 204, when the first node voltage belongs to a preset voltage interval, a first particle individual optimal solution corresponding to any first target particle after this iteration is determined according to a first target function, and a first global optimal solution after this iteration is determined based on the first particle individual optimal solution, wherein the first target function includes a global node voltage deviation function and a global network loss function.
[0080] In this embodiment, when the first node voltage of the target control node is within the preset voltage interval, it indicates that the first node voltage of the target control node does not exceed the limit. Here, the first node voltage can be a voltage per unit value, and the corresponding preset voltage interval can also be a voltage per unit value. At this time, the first particle individual optimal solution corresponding to each first target particle after this iteration can be determined according to the first target function, i.e., the first target position with the minimum first target function value in multiple iterations of this first target particle is found as the first particle individual optimal solution. The first global optimal solution after this iteration can also be determined according to the first particle individual optimal solution corresponding to all first target particles. Here, the first target function can include two parts, i.e., a global node voltage deviation function and a global network loss function. The first target function can be obtained by weighted addition of the global node voltage deviation function and the global network loss function, and the purpose is to minimize the sum of the node voltage deviation and the network loss of each node in the coupling system.
[0081] Step 205, when the number of iterations reaches a first preset number threshold, a first target global optimal solution is obtained, when the second node voltage corresponding to any other node in the coupling system except the target control node under the first target global optimal solution does not belong to the preset voltage interval, a second target particle swarm corresponding to the renewable energy is randomly generated based on the preset particle swarm algorithm, the second target speed and the second target position corresponding to any second target particle in each iteration are determined, and the third node voltage corresponding to each node in the coupling system is determined based on the second target position, wherein the second target position includes the second reactive power output value and / or the second active power output value of the renewable energy;
[0082] In this embodiment, when the number of times of iterative updating of the first target speed and the first target position of each first target particle exceeds the first preset number threshold, it is indicated that the first target global optimal solution obtained at this time has good optimization effect. At this time, if the second node voltage corresponding to any node in the coupling system except the target control node does not belong to the preset voltage interval, it is indicated that when the renewable energy outputs the active power output value and / or the reactive power output value according to the first target global optimal solution, there is a node voltage out-of-limit node in the coupling system, and the control value of the renewable energy can be re-determined. Specifically, first, the second target particle swarm corresponding to the renewable energy is randomly generated by the preset particle swarm algorithm, and the second target particle swarm can include a plurality of second target particles. After each iteration, each second target particle can correspond to two parameters, namely the second target speed and the second target position. Here, the second target position corresponding to each second target particle can represent the second active power output value and / or the second reactive power output value of the renewable energy. After the reactive power output value and / or the active power output value of the second target particle is determined, the third node voltage corresponding to the control node in the coupling system can be further determined.
[0083] Step 206, when the third node voltage belongs to the preset voltage interval, the second particle individual optimal solution corresponding to any second target particle after this iteration is determined according to the second target function, and the second global optimal solution after this iteration is determined based on the second particle individual optimal solution, wherein the second target function includes the global loss function;
[0084] In this embodiment, when the third node voltage of each node in the coupling system is all in the preset voltage interval, it indicates that the third node voltage corresponding to each node in the coupling system does not exceed the limit. Here, the third node voltage can be a voltage unit, and the corresponding preset voltage interval can be [0.95, 1.05]. At this time, the second particle individual optimal solution corresponding to each second target particle after this iteration can be determined according to the second objective function, that is, the second target position with the minimum second objective function value of the second target particle in multiple iterations is found as the second particle individual optimal solution. The second global optimal solution after this iteration can also be determined according to the second particle individual optimal solution corresponding to each second target particle. Here, the second objective function can include a global network loss function, and the purpose is to minimize the network loss of the coupling system.
[0085] In step 207, when the number of iterations reaches the second preset number threshold, the second target global optimal solution is obtained, and the second target global optimal solution is taken as the reactive power optimization control value of the renewable energy in the coupling system.
[0086] In this embodiment, when the number of times of iterative updating of the second target speed and the second target position of each second target particle exceeds the second preset number threshold, the second global optimal solution obtained by the last iteration can be taken as the second target global optimal solution, which indicates that the second target global optimal solution obtained at this time has good optimization effect. The second target global optimal solution can be taken as the optimization control value of the renewable energy in the coupling system to control the reactive power output value and / or the active power output value of the renewable energy, and the second target global optimal solution at this time can necessarily make the node voltage of each node in the coupling system not exceed the limit.
[0087] In the embodiment of the present application, optionally, after the step 203 of "randomly generating the first target particle group corresponding to the renewable energy based on the preset particle swarm algorithm", the method further includes: assigning a first speed and a first position to each first target particle, wherein the first position includes the first reactive power output value and / or the first active power output value of the renewable energy; after assigning the first speed and the first position to each first target particle, the method further includes: obtaining the first target speed corresponding to any first target particle based on the first speed of the any first target particle and a preset speed update formula, and obtaining the first target position corresponding to the any first target particle based on the first target speed and a preset position update formula.
[0088] In this embodiment, when the first target particle swarm corresponding to the renewable energy is randomly generated by the preset particle swarm algorithm, each first target particle in the first target particle swarm can be assigned with a first speed and a first position. Here, the first reactive power output value and / or the first active power output value of the renewable energy can be obtained from the first position of each first target particle. Then, when the speed and position of the first target particle are iteratively updated, the first target speed corresponding to the first target particle can be obtained by the first speed, the first position and the preset speed update formula corresponding to the first target particle, and the first target speed is obtained after the first speed is updated. Then, the first target position corresponding to each first target particle can be determined based on the first target speed and the preset position update formula, and the first target position is obtained after the first position is updated.
[0089] In the embodiments of the present application, after the step of determining the first node voltage corresponding to the target control node in step 203, the method further comprises: when the first node voltage does not belong to the preset voltage interval, obtaining the updated first target speed based on the preset speed update formula and the first target speed, and obtaining the updated first target position based on the preset position update formula and the updated first target speed.
[0090] In this embodiment, after determining the first node voltage of the target control node, if the first node voltage is not in the preset voltage interval, it means that the first target position of the first target particle obtained in this iteration makes the first node voltage of the target control node out of limit, and then the first target position obtained in this iteration no longer participates in the update of the first particle individual optimal solution and the first global optimal solution, and directly proceeds to the next iteration. Specifically, the first target speed of this iteration can be calculated by the preset speed update formula and the first target speed and the first target position obtained in the last iteration, and then the updated first target position can be obtained by the preset position update formula and the first target speed obtained in this iteration.
[0091] In the embodiment of the present application, optionally, the "determining the first particle individual optimal solution corresponding to the any first target particle after the iteration according to the first target function" in step 204 specifically comprises: determining the first weight value and the second weight value of the first target function, determining the first target function value corresponding to the any first target particle according to the global node voltage deviation function, the global network loss function, the first weight value and the second weight value; repeatedly changing the first weight value and the second weight value of the first target function according to a preset step, respectively determining the second target function value corresponding to the any first target particle and the first weight value and the second weight value; determining the minimum target function value based on the first target function value and at least one second target function value, and determining the first particle individual optimal solution corresponding to the any first target particle after the iteration according to the minimum target function value.
[0092] In this embodiment, the first target function further comprises a first weight and a second weight; specifically, the first target function can be composed of the first weight, the second weight, the global node voltage deviation function and the global network loss function. The weight values corresponding to the first weight and the second weight can be changed constantly. First, the first weight value and the second weight value corresponding to the first target function are determined, the first target function value of the first target position corresponding to each first target particle can be determined according to the determined first weight value, second weight value, global node voltage deviation function and global network loss function, then the first weight value and the second weight value are changed according to a preset step, new first weight value and new second weight value are obtained, and the second target function value is correspondingly obtained, until the first weight value and the second weight value are changed completely, finally the first target function value and one or more second target function values are obtained, then the minimum target function value is determined from the first target function value and one or more second target function values, the minimum target function value is compared with the target function value corresponding to the first particle individual optimal solution obtained after the last iteration, when the minimum target function value is less than the target function value corresponding to the first particle individual optimal solution obtained after the last iteration, the first target position corresponding to the minimum target function is used as the first particle individual optimal solution of the first target particle after the iteration, otherwise, the first particle individual optimal solution remains unchanged. For example, the first weight and the second weight can be α1 and α2 respectively, the step of α1 and α2 can be 0.1, and there are 0≤α1≤1, 0≤α2≤1, α1+α2=1, the global node voltage deviation function can be The global network loss function can be The first objective function can be F = α1·F1 + α2·F2. Thus, the first and second weights can change 10 times, from the first time α1 = 1, α2 = 0, the second time α1 = 0.9, α2 = 0.1, ... up to the tenth time α1 = 0, α2 = 1. N is the number of nodes in the coupled system, U... N U is the node voltage rating. i P represents the voltage at each node. j and Q j These represent the total active power loss and total reactive power loss of the coupled system for renewable energy systems such as wind power, respectively. L and Q L These refer to the active power loss and reactive power loss on the power grid side, respectively. This application's embodiments, by determining the weights of the first objective function multiple times, can make the individual optimal solution for each first objective particle more accurate.
[0093] Example 3
[0094] Furthermore, as Figure 1 In specific implementation of the method, this application provides a reactive power optimization control device for a renewable energy and thermal power generation coupling system, such as... Figure 3 As shown, the device includes:
[0095] A node determination module is used to determine a target access node for renewable energy from a coupled system, and to determine a target control node from the coupled system based on the target access node, wherein the coupled system includes multiple nodes;
[0096] The voltage determination module is used to randomly generate a first target particle swarm corresponding to the renewable energy based on a preset particle swarm algorithm, determine the first target velocity and first target position corresponding to each iteration of any first target particle, and determine the first node voltage corresponding to the target control node based on the first target position, wherein the first target position includes the first reactive power output value and / or the first active power output value of the renewable energy.
[0097] The optimal solution determination module is used to determine the first particle individual optimal solution corresponding to any first target particle after this iteration based on the first objective function when the first node voltage belongs to a preset voltage range, and to determine the first global optimal solution after this iteration based on the first particle individual optimal solution. The first objective function includes a global node voltage deviation function and a global network loss function.
[0098] The control value determination module is configured to obtain a first target global optimal solution when the number of iterations reaches a first preset number threshold, and take the first target global optimal solution as the reactive power optimization control value of the renewable energy source in the coupled system when a second node voltage corresponding to any other node in the coupled system except the target control node under the first target global optimal solution belongs to the preset voltage interval.
[0099] Optionally, the node determination module is specifically configured to:
[0100] determine an initial reactive power output value and / or an initial active power output value of the renewable energy source, and determine an initial node voltage corresponding to each node in the coupled system based on the initial reactive power output value and / or the initial active power output value; and determine the node corresponding to the initial node voltage having the largest deviation from the preset voltage interval as the target control node according to the initial node voltage.
[0101] Optionally, the device further comprises:
[0102] The voltage deviation determination module is configured to determine the node voltage of each node corresponding to each preset power factor based on a plurality of preset power factors after the target access node of the renewable energy source is determined from the coupled system, and determine a global node voltage deviation based on the node voltage.
[0103] The power factor determination module is configured to take the preset power factor with the smallest global node voltage deviation as the target power factor of the renewable energy source.
[0104] Optionally, the voltage determination module is further configured to, after the first target global optimal solution is obtained when the number of iterations reaches the first preset number threshold, determine a second target particle swarm corresponding to the renewable energy source based on the preset particle swarm algorithm when the second node voltage corresponding to any other node in the coupled system except the target control node under the first target global optimal solution does not belong to the preset voltage interval, determine a second target speed and a second target position corresponding to each iteration of any second target particle based on the second target particle swarm, and determine a third node voltage corresponding to each node in the coupled system based on the second target position, wherein the second target position includes a second reactive power output value and / or a second active power output value of the renewable energy source.
[0105] The optimal solution determination module is further configured to, when the third node voltages all belong to the preset voltage interval, determine a second particle individual optimal solution corresponding to any second target particle after the current iteration according to a second target function, and determine a second global optimal solution after the current iteration based on the second particle individual optimal solution, where the second target function includes the global network loss function.
[0106] The control value determination module is further configured to, when the number of iterations reaches a second preset number threshold, obtain a second target global optimal solution, and take the second target global optimal solution as the reactive power optimization control value of the renewable energy in the coupled system.
[0107] Optionally, the apparatus further includes:
[0108] The assignment module is configured to, after the first target particle swarm corresponding to the renewable energy is randomly generated based on the preset particle swarm algorithm, assign a first speed and a first position to each first target particle, where the first position includes a first reactive power output value and / or a first active power output value of the renewable energy.
[0109] The apparatus further includes:
[0110] The updating module is configured to, after the first speed and the first position are assigned to each first target particle, obtain the first target speed corresponding to any first target particle based on the first speed of the first target particle and a preset speed updating formula, and obtain the first target position corresponding to the first target particle based on the first target speed and a preset position updating formula.
[0111] Optionally, the updating module is further configured to:
[0112] After the first node voltage corresponding to the target control node is determined, when the first node voltage does not belong to the preset voltage interval, the updated first target speed is obtained based on the preset speed updating formula and the first target speed, and the updated first target position is obtained based on the preset position updating formula and the updated first target speed.
[0113] Optionally, the first target function further includes a first weight and a second weight; and the optimal solution determination module is specifically configured to:
[0114] determining a first weight value and a second weight value of the first objective function, determining a first objective function value corresponding to the any first target particle according to the global node voltage deviation function, the global network loss function, the first weight value and the second weight value, repeating the changing of the first weight value and the second weight value of the first objective function according to a preset step size, respectively determining a second objective function value corresponding to the any first target particle and the first weight value and the second weight value, determining a minimum objective function value based on the first objective function value and at least one second objective function value, and determining the first particle individual optimal solution corresponding to the any first target particle after this iteration according to the minimum objective function value.
[0115] It should be noted that other corresponding descriptions of the various functional units involved in the renewable energy and thermal power generation coupling system reactive power optimization control device provided by the embodiments of the present application can be referred to the corresponding descriptions in the method, which will not be repeated here. Figures 1 to 2 The corresponding descriptions in the method, which will not be repeated here.
[0116] Embodiment 4
[0117] Based on the above method as shown in Figures 1 to 2 , correspondingly, the embodiments of the present application also provide a storage medium having a computer program stored thereon, which is executed by a processor to realize the renewable energy and thermal power generation coupling system reactive power optimization control method as shown in Figures 1 to 2 .
[0118] Based on such understanding, the technical solutions of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a U disk, a mobile hard disk, etc.) and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various implementation scenarios of the present application.
[0119] Embodiment 5
[0120] Based on the above method as shown in Figures 1 to 2 , and Figure 3 the virtual device embodiment, in order to achieve the above purpose, the embodiments of the present application also provide a computer device, which can be a personal computer, a server, a network device, etc., the computer device includes a storage medium and a processor; the storage medium is used to store a computer program; the processor is used to execute the computer program to realize the renewable energy and thermal power generation coupling system reactive power optimization control method as shown in Figures 1 to 2 .
[0121] Optionally, the computer device can further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, and the like. The user interface can include a display screen, an input unit such as a keyboard, and the like. Optionally, the user interface can further include a USB interface, a card reader interface, and the like. The network interface can optionally include a standard wired interface, a wireless interface (such as a Bluetooth interface, a WI-FI interface), and the like.
[0122] Those skilled in the art can understand that the computer device structure provided by the embodiment does not constitute a limitation on the computer device, and can include more or fewer components, or combine certain components, or different component arrangements.
[0123] The storage medium can further include an operating system and a network communication module. The operating system is a program for managing and saving computer device hardware and software resources, and supports the running of information processing programs and other software and / or programs. The network communication module is used to realize communication between the components in the storage medium, and communication with other hardware and software in the entity device.
[0124] Through the description of the above embodiments, those skilled in the art can clearly understand that the application can be realized by means of software and necessary general hardware platforms, or by hardware. The coupling system can include multiple nodes, and each node can access a renewable energy unit. A target access node can be determined from the nodes, and then a target control node can be determined from the multiple nodes of the coupling system after the renewable energy accesses the target access node. When the renewable energy accesses the target access node of the coupling system, a first target particle swarm corresponding to the renewable energy can be randomly generated by using a preset particle swarm algorithm, and the first target particle swarm can include a preset number of first target particles. After each iteration, each first target particle can correspond to two parameters, which are a first target speed and a first target position. Here, the first target position corresponding to each first target particle can represent a first reactive power output value and / or a first active power output value of the renewable energy. After the reactive power output value and / or the active power output value of the first target particle is determined, the first node voltage corresponding to the control node in the coupling system can be further determined. When the first node voltage of the target control node is within a preset voltage interval, it means that the first node voltage of the target control node is not out of limit. At this time, the first particle individual optimal solution corresponding to each first target particle after this iteration can be determined according to the first target function, that is, the first target position with the minimum first target function value in multiple iterations of the first target particle is found as the first particle individual optimal solution. The first global optimal solution after this iteration can also be determined according to the first particle individual optimal solution corresponding to each first target particle. Here, the first target function can include two parts, one part is a global node voltage deviation function, and the other part is a global network loss function. When the number of iteration updates of the first target speed and the first target position of each first target particle exceeds a first preset number threshold, it means that the first target global optimal solution obtained at this time has good optimization effect. At this time, if the second node voltage corresponding to the nodes other than the target control node in the coupling system is within the preset voltage interval, it means that the node voltage corresponding to each node in the coupling system is not out of limit, and then the first target global optimal solution can be taken as the optimization control value of the renewable energy in the coupling system to control the reactive power output value and / or the active power output value of the renewable energy. The embodiments of the application determine the first target global optimal solution corresponding to the first target function by using the preset particle swarm algorithm, and take the first target global optimal solution as the optimization control value of the renewable energy on the basis that the node voltage corresponding to each node in the coupling system is not out of limit, which can make the grid voltage more stable and the network loss smaller on the basis of ensuring the output value of the renewable energy, and is beneficial to improving the effect of reactive power optimization.
[0125] Those skilled in the art can understand that the modules or flows in the drawings are not necessarily the modules required by the embodiments of the present application. Those skilled in the art can understand that the modules in the apparatus in the embodiments can be distributed in the apparatus in the embodiments according to the description of the embodiments, or can be changed to be located in one or more apparatuses different from the embodiments. The modules in the above embodiments can be combined into one module, or can be further split into multiple sub-modules.
[0126] The serial number of the present application is only for description, and does not represent the advantages or disadvantages of the embodiments. The above disclosure is only some specific embodiments of the present application, but the present application is not limited thereto, and any changes that can be thought of by those skilled in the art should fall within the protection scope of the present application.
[0127] Those skilled in the art can 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.
[0128] The present application is described with reference to flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to 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 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 processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus produce a device implemented in accordance with the flowcharts and / or block diagrams. Figure 1 one or more flows and / or blocks Figure 1 an apparatus that performs the functions specified in one or more flows or blocks.
[0129] These computer program instructions can also be stored in a computer-readable memory that can direct the computer or other programmable data processing apparatus to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including instruction apparatus, which implements the flowcharts and / or block diagrams. Figure 1 one or more flows and / or blocks Figure 1 an apparatus that performs the functions specified in one or more flows or blocks.
[0130] These computer program instructions can also be loaded into 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 flowchart block or blocks. Figure 1 one or more flowcharts and / or blocks Figure 1 one or more flowcharts and / or blocks
[0131] Finally, it should be noted that the above-mentioned embodiments are merely used to illustrate the technical solutions of the present application, rather than limit the technical solutions of the present application. Although the present application has been described in detail with reference to the above-mentioned embodiments, those skilled in the art should understand that the specific embodiments of the present application can be modified or replaced equivalently without departing from the spirit and scope of the present application, and any modification or equivalent replacement without departing from the spirit and scope of the present application should be covered in the protection scope of the claims of the present application.
Claims
1. A reactive power optimization control method for a renewable energy and thermal power coupling system, characterized in that, The method comprises the following steps: determining a target access node of a renewable energy source from a coupling system, and determining a target control node from the coupling system according to the target access node, wherein the coupling system comprises a plurality of nodes; randomly generating a first target particle group corresponding to the renewable energy source based on a preset particle swarm algorithm, determining a first target speed and a first target position corresponding to any first target particle in each iteration, and determining a first node voltage corresponding to the target control node based on the first target position, wherein the first target position comprises a first reactive power output value and / or a first active power output value of the renewable energy source; when the first node voltage belongs to a preset voltage interval, determining a first particle individual optimal solution corresponding to the any first target particle after this iteration according to a first target function, and determining a first global optimal solution after this iteration based on the first particle individual optimal solution, wherein the first target function comprises a global node voltage deviation function and a global network loss function; when the number of iterations reaches a first preset number threshold, a first target global optimal solution is obtained, and when a second node voltage corresponding to any other node in the coupling system except the target control node under the first target global optimal solution belongs to the preset voltage interval, the first target global optimal solution is taken as a reactive power optimization control value of the renewable energy source in the coupling system; after the number of iterations reaches the first preset number threshold and the first target global optimal solution is obtained, when the second node voltage corresponding to any other node in the coupling system except the target control node under the first target global optimal solution does not belong to the preset voltage interval, a second target particle group corresponding to the renewable energy source is randomly generated based on a preset particle swarm algorithm, a second target speed and a second target position corresponding to any second target particle in each iteration are determined, and third node voltages corresponding to each node in the coupling system are determined based on the second target position, wherein the second target position comprises a second reactive power output value and / or a second active power output value of the renewable energy source; when the third node voltages all belong to the preset voltage interval, a second particle individual optimal solution corresponding to the any second target particle after this iteration is determined according to a second target function, and a second global optimal solution after this iteration is determined based on the second particle individual optimal solution, wherein the second target function comprises the global network loss function; when the number of iterations reaches a second preset number threshold, a second target global optimal solution is obtained, and the second target global optimal solution is taken as the reactive power optimization control value of the renewable energy source in the coupling system.
2. The method of claim 1, wherein, The method further comprises: determining the initial node voltage of each node corresponding to each preset power factor, and determining the global node voltage deviation based on the node voltage; and taking the preset power factor with the minimum global node voltage deviation as the target power factor of the renewable energy source.
3. The method of claim 1, wherein, The method further comprises: assigning a first speed and a first position to each first target particle, wherein the first position comprises the first reactive power output value and / or the first active power output value of the renewable energy source; and based on the first speed of any first target particle and a preset speed update formula, obtaining the first target speed corresponding to the any first target particle, and based on the first target speed and a preset position update formula, obtaining the first target position corresponding to the any first target particle.
4. The method of claim 1, wherein, The method further comprises: when the first node voltage does not belong to the preset voltage interval, obtaining an updated first target speed based on a preset speed update formula and the first target speed, and obtaining an updated first target position based on a preset position update formula and the updated first target speed.
5. The method of claim 1, wherein, When the first node voltage of the target control node is within the preset voltage interval, the first node voltage of the target control node does not exceed the limit; the first node voltage is a voltage per unit, and the corresponding preset voltage interval is a voltage per unit, specifically [0.95, 1.05]; according to the first target function, the first particle individual optimal solution corresponding to each first target particle after this iteration is determined, that is, the first target position with the minimum first target function value of the first target particle in multiple iterations is found as the first particle individual optimal solution; the first global optimal solution after this iteration can also be determined according to the first particle individual optimal solution corresponding to all first target particles; the first target function comprises two parts: a global node voltage deviation function and a global network loss function, and the first target function is obtained by weighted addition of the global node voltage deviation function and the global network loss function, the purpose being to minimize the sum of the node voltage deviation and the network loss of each node of the coupled system.
6. The method of claim 1, wherein, 7. The method of claim 1, wherein, The first target function further comprises a first weight and a second weight; and the first particle individual optimal solution corresponding to the any first target particle after the iteration is determined according to the first target function, specifically comprising: The first weight value and the second weight value of the first target function are determined, and the first target function value corresponding to the any first target particle is determined according to the global node voltage deviation function, the global network loss function, the first weight value and the second weight value; The first weight value and the second weight value of the first target function are changed according to the preset step length, and the second target function value corresponding to the any first target particle and the first weight value and the second weight value is determined respectively; Based on the first target function value and at least one second target function value, the minimum target function value is determined, and the first particle individual optimal solution corresponding to the any first target particle after the iteration is determined according to the minimum target function value.
8. The method of claim 7, wherein, The first target function further comprises a first weight and a second weight, wherein the first target function is composed of the first weight, the second weight, the global node voltage deviation function and the global network loss function; the weight values corresponding to the first weight and the second weight are constantly changing; first, the first weight value and the second weight value corresponding to the first target function are determined, the first target function value of the first target position corresponding to each first target particle is determined according to the determined first weight value, the second weight value, the global node voltage deviation function and the global network loss function, the first weight value and the second weight value are changed according to the preset step length, the new first weight value and the new second weight value are obtained, and the second target function value is obtained correspondingly, until the first weight value and the second weight value are changed completely, finally the first target function value and one or more second target function values are obtained; determining a minimum objective function value from the first objective function value and the one or more second objective function values, comparing the minimum objective function value with an objective function value corresponding to the first particle individual optimal solution of the first target particle obtained after the last iteration, and using a first target position corresponding to the minimum objective function value as the first particle individual optimal solution of the first target particle after the current iteration when the minimum objective function value is less than the objective function value corresponding to the first particle individual optimal solution of the first target particle obtained after the last iteration, otherwise, the first particle individual optimal solution remains unchanged; when the first weight and the second weight are α1 and α2 respectively, the step length of α1 and α2 is 0.1, and there exist 0≤α1≤1, 0≤α2≤1, and α1+α2=1, the global node voltage deviation function is The global network loss function is The first objective function is F=α1·F1+α2·F2, the number of changes of the first weight and the second weight is 10, from the first time α1=1, α2=0, the second time α1=0.9, α2=0.1 to the tenth time α1=0, α2=1; N is the number of nodes in the coupled system, U N is the rated value of the node voltage, U i is the voltage of each node, P j and Q j are the total active network loss and the total reactive network loss of the renewable energy system such as a wind power system connected to the coupled system, P L and Q L are the active network loss and the reactive network loss of the grid side, and the weight of the first objective function is determined for multiple times, so that the first particle individual optimal solution corresponding to each first target particle is more accurate.
9. A reactive power optimization control device for a renewable energy and thermal power coupling system, characterized in that, Comprise: The node determination module is used for determining the target access node of the renewable energy from the coupling system, and determining the target control node from the coupling system according to the target access node, wherein the coupling system comprises a plurality of nodes; The voltage determination module is configured to generate a first target particle swarm corresponding to the renewable energy source randomly based on a preset particle swarm algorithm, determine a first target speed and a first target position corresponding to any first target particle in each iteration, and determine a first node voltage corresponding to the target control node based on the first target position, where the first target position includes a first reactive power output value and / or a first active power output value of the renewable energy source; the voltage determination module is further configured to, after obtaining a first target global optimal solution when the number of iterations reaches a first preset number threshold, determine a second target particle swarm corresponding to the renewable energy source randomly based on the preset particle swarm algorithm when a second node voltage corresponding to any node other than the target control node in the coupled system under the first target global optimal solution does not belong to a preset voltage interval, determine a second target speed and a second target position corresponding to any second target particle in each iteration, and determine third node voltages corresponding to the nodes in the coupled system based on the second target position, where the second target position includes a second reactive power output value and / or a second active power output value of the renewable energy source. The optimal solution determination module is configured to, when the first node voltage belongs to the preset voltage interval, determine a first particle individual optimal solution corresponding to the any first target particle after the iteration according to a first target function, and determine a first global optimal solution after the iteration based on the first particle individual optimal solution, where the first target function includes a global node voltage deviation function and a global network loss function; the optimal solution determination module is further configured to, when the third node voltages all belong to the preset voltage interval, determine a second particle individual optimal solution corresponding to the any second target particle after the iteration according to a second target function, and determine a second global optimal solution after the iteration based on the second particle individual optimal solution, where the second target function includes the global network loss function. The control value determination module is configured to, when the number of iterations reaches the first preset number threshold, obtain the first target global optimal solution, and when the second node voltage corresponding to any node other than the target control node in the coupled system under the first target global optimal solution belongs to the preset voltage interval, take the first target global optimal solution as a reactive power optimization control value of the renewable energy source in the coupled system; the control value determination module is further configured to, when the number of iterations reaches a second preset number threshold, obtain a second target global optimal solution, and take the second target global optimal solution as the reactive power optimization control value of the renewable energy source in the coupled system.
10. The reactive power optimization control device of a renewable energy and thermal power coupling system according to claim 9, characterized in that, The node determination module is specifically configured to determine an initial reactive power output value and / or an initial active power output value of the renewable energy source, and determine initial node voltages corresponding to the nodes in the coupled system based on the initial reactive power output value and / or the initial active power output value. The initial node voltage deviating most from the preset voltage interval is determined as the target control node according to the initial node voltages.
11. The reactive power optimization control device of a renewable energy and thermal power coupling system according to claim 9, characterized in that, The optimal solution determination module is specifically configured to determine a first weight value and a second weight value of the first objective function, and determine a first objective function value corresponding to any first target particle according to the global node voltage deviation function, the global network loss function, the first weight value, and the second weight value. The first weight value and the second weight value of the first objective function are repeatedly changed according to the preset step size, and a second objective function value corresponding to any first target particle and the first weight value and the second weight value is determined. Based on the first objective function value and at least one second objective function value, a minimum objective function value is determined, and a first particle individual optimal solution corresponding to any first target particle after this iteration is determined according to the minimum objective function value.
12. The reactive power optimization control device of a renewable energy and thermal power coupling system according to claim 9, characterized in that, Further comprising: A voltage deviation determination module is configured to determine the node voltage of each node corresponding to each preset power factor based on a plurality of preset power factors after determining the target access node of the renewable energy from the coupling system, and determine the global node voltage deviation based on the node voltage. A power factor determination module is configured to take the preset power factor with the minimum global node voltage deviation as the target power factor of the renewable energy. An assignment module is configured to randomly generate a first target particle group corresponding to the renewable energy based on a preset particle swarm algorithm, and assign a first speed and a first position to each first target particle, wherein the first position includes a first reactive power output value and / or a first active power output value of the renewable energy. An update module is configured to obtain the first target speed corresponding to any first target particle based on the first speed of the first target particle and a preset speed update formula, and obtain the first target position corresponding to the first target particle based on the first target speed and a preset position update formula after assigning the first speed and the first position to each first target particle. The update module is further configured to obtain an updated first target speed based on the preset speed update formula and the first target speed, and obtain an updated first target position based on the preset position update formula and the updated first target speed after determining the first node voltage corresponding to the target control node, when the first node voltage does not belong to the preset voltage interval.
13. A storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to implement the steps of the renewable energy and thermal power coupling system reactive power optimization control method in any one of claims 1 to 8.
14. A computer device comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the renewable energy and thermal power coupling system reactive power optimization control method in any one of claims 1 to 8.
Citation Information
Patent Citations
Multi-target reactive power optimization method based on efficiency coefficient linear weighting method
CN104915533A
Reactive voltage control method and system for scattered wind power
CN107204634A
Optimization operation method of dispersed wind farms based on variable power factors
CN109904877A
Reactive power optimization method and device for wind power plant and wind power plant
CN110518644A