Two-stage robust district electric energy quality optimization method and system

Through two-stage robust optimization methods and systems, combined with EFOA algorithm and second-order cone optimization, the distribution network topology and switching state are optimized, and the power quality problems in the station area caused by distributed new energy access are solved, achieving the worst Optimize power quality and reduce costs in scenarios.

CN119029880AInactive Publication Date: 2024-11-26STATE GRID JIANGXI COMPREHENSIVE ENERGY SERVICE CO LTD +5

Patent Information

Application Number
CN202411514819.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-29
Publication Date
2024-11-26
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The large number of access to distributed new energy and unreasonable line design lead to problems such as large line loss, low voltage and three-phase imbalance in the station area. The existing technology lacks research on the coexistence of two switches that consider uncertainty.

Method used

A two-stage robust power quality optimization method and system is proposed. By constructing a mathematical model of coexistence between SOP and traditional switches of the distribution network, considering uncertain scenarios, and using EFOA algorithm and second-order cone optimization method to optimize the distribution network Topology and switching state to minimize network loss, voltage deviation and three-phase imbalance.

Benefits of technology

It realizes the optimization of power quality in the station area, reduces network losses, controls the three-phase voltage imbalance, reduces voltage deviation, and ensures the safety and economicality of distribution network operation. It uses the hybrid EFOA algorithm to quickly solve the mixed integer nonlinearity. Optimization problem.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119029880A_ABST
    Figure CN119029880A_ABST
Patent Text Reader

Abstract

The invention discloses a two-stage robust transformer area electric energy quality optimization method and system, and the method comprises the steps: taking the minimum network loss, three-phase voltage unbalance degree and voltage deviation as objective functions under a preset constraint condition, and constructing a transformer area voltage quality optimization mathematical model in which a power distribution network SOP and a conventional switch coexist; an uncertainty scene set is established, uncertainty scenes in the uncertainty scene set are considered, and the transformer area voltage quality optimization mathematical model is rewritten into a two-stage robust optimization model; and solving the two-stage robust optimization model based on a hybrid EFOA algorithm to obtain an optimal solution. A transformer area quality improvement method based on SOP and traditional switch joint optimization is provided, and the optimization effects of reducing network loss, controlling the three-phase voltage unbalance degree and reducing the minimum voltage deviation are achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of distribution network reconstruction, and in particular relates to a two-stage robust area power quality optimization method and system. Background Art

[0002] Distribution network reconstruction can optimize network performance by changing the state of distribution network switches while ensuring the normal operation of the distribution network. However, due to the limitations of impact current, service life and switch operation cost, the number of times traditional switches are opened and closed is limited, and the grid topology cannot be changed in real time to adjust the power flow distribution in the distribution network. SOP is a newly developed power electronic device that can continuously adjust the transmission power on the line, playing a role in controlling power flow and reactive power compensation. Since SOP has the ability to respond quickly and in real time, it can be used to finely control the power flow of the distribution network based on short-term or even real-time forecast information, which can effectively cope with the volatility of distributed power output and load, and optimize the operation of the system to the greatest extent.

[0003] However, due to the high cost of SOP, it cannot be widely used in distribution networks at present. Considering the volatility of distributed power sources connected to the distribution network and the randomness of load user behavior, the uncertainty of the model should be further considered. However, there is a lack of research on improving the voltage quality of two switches that coexist with uncertainty. Moreover, the large-scale access of distributed new energy and unreasonable line design have led to large line losses, low voltage and three-phase imbalance in the substation area. Summary of the invention

[0004] The present invention provides a two-stage robust substation power quality optimization method and system, which are used to solve the technical problems of large substation line loss, low voltage and three-phase imbalance caused by the large-scale access of distributed renewable energy and unreasonable line design.

[0005] In a first aspect, the present invention provides a two-stage robust area power quality optimization method, comprising: Under the preset constraints, the objective function is to take the network loss, three-phase voltage imbalance and voltage deviation as the minimum, and to build a mathematical model for optimizing the voltage quality in the distribution network area where the SOP and traditional switches coexist. Establish an uncertainty scenario set, and consider the uncertainty scenarios in the uncertainty scenario set to rewrite the area voltage quality optimization mathematical model into a two-stage robust optimization model, wherein the two-stage robust optimization model includes a master problem in the first stage and a slave problem in the second stage, wherein, in the first stage, all uncertainty scenarios are considered, and the two-stage robust optimization model gives the action strategy of the distribution network SOP that meets the constraints, the action strategy of the traditional switch, and minimizes the action cost of the distribution network SOP and the traditional switch. In the second stage, after determining the topological structure of the distribution network, solve the optimization problem of the second stage, obtain the network loss, three-phase voltage imbalance and voltage deviation of the distribution network under the worst scenario, and add the worst scenario to the constraints of the first stage; For the master problem, the EFOA algorithm is used to change the switch state to generate a topology structure, which is transmitted to the slave problem for optimization. For the slave problem, the second-order cone optimization method is used to solve it based on the given distribution network topology. The master problem and the slave problem are iteratively calculated, and the optimal solution is obtained when the set convergence conditions are met.

[0006] In a second aspect, the present invention provides a two-stage robust area power quality optimization system, comprising: A construction module is configured to construct a voltage quality optimization mathematical model for the distribution network area where the SOP and traditional switches coexist, taking the network loss, three-phase voltage imbalance and voltage deviation as the minimum objective function under preset constraints; A conversion module is configured to establish an uncertainty scenario set, and consider the uncertainty scenarios in the uncertainty scenario set to rewrite the area voltage quality optimization mathematical model into a two-stage robust optimization model, wherein the two-stage robust optimization model includes a master problem in the first stage and a slave problem in the second stage, wherein, in the first stage, all uncertainty scenarios are considered, and the two-stage robust optimization model gives an action strategy of the distribution network SOP that satisfies the constraint conditions, an action strategy of the traditional switch, and minimizes the action cost of the distribution network SOP and the traditional switch, and in the second stage, after determining the distribution network topology, solves the optimization problem of the second stage, obtains the network loss, three-phase voltage imbalance and voltage deviation of the distribution network under the worst scenario, and adds the worst scenario to the constraint conditions of the first stage; The solution module is configured to generate a topology structure by changing the switch state through the EFOA algorithm for the main problem, and transmit it to the slave problem for optimization. For the slave problem, it is solved by the second-order cone optimization method based on the given distribution network topology. The main problem and the slave problem are iteratively calculated, and the optimal solution is obtained when the set convergence conditions are met.

[0007] In a third aspect, an electronic device is provided, comprising: at least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can perform the steps of the two-stage robust substation power quality optimization method of any embodiment of the present invention.

[0008] In a fourth aspect, the present invention further provides a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor executes the steps of the two-stage robust substation power quality optimization method of any embodiment of the present invention.

[0009] The two-stage robust substation power quality optimization method and system of the present application proposes a substation quality improvement method by jointly optimizing SOP and traditional switches, achieving the optimization effect of reducing network losses, controlling three-phase voltage imbalance and minimizing voltage deviation, making the distribution network operation safer and more economical; considering the uncertainty of the distribution network, an innovative two-stage robust optimization model of SOP and traditional switch linkage is established to ensure that the substation power quality can still be optimized by changing the SOP and the action of the switch in the worst scenario, and iterative optimization is performed using a hybrid EFOA algorithm, combining the advantages of EFOA strong search and second-order cone relaxation fast convergence to achieve rapid solution of mixed integer nonlinear optimization problems. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0011] Figure 1 A flowchart of a two-stage robust power quality optimization method for an area provided by an embodiment of the present invention; Figure 2 A structural block diagram of a two-stage robust area power quality optimization system provided by an embodiment of the present invention; Figure 3 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0012] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0013] See also Figure 1 , which shows a flow chart of a two-stage robust area power quality optimization method of the present application.

[0014] like Figure 1 As shown, the two-stage robust area power quality optimization method specifically includes the following steps: Step S101, under preset constraints, taking network loss, three-phase voltage imbalance and voltage deviation as the minimum objective function, constructing a voltage quality optimization mathematical model for the distribution network SOP and the traditional switch coexistence; Step S102, establishing an uncertainty scenario set, and considering the uncertainty scenarios in the uncertainty scenario set to rewrite the substation voltage quality optimization mathematical model into a two-stage robust optimization model, wherein the two-stage robust optimization model includes a master problem in the first stage and a slave problem in the second stage, wherein, in the first stage, all uncertainty scenarios are considered, and the two-stage robust optimization model gives the action strategy of the distribution network SOP that meets the constraints, the action strategy of the traditional switch, and minimizes the action cost of the distribution network SOP and the traditional switch. In the second stage, after determining the topological structure of the distribution network, the optimization problem of the second stage is solved to obtain the network loss, three-phase voltage imbalance and voltage deviation of the distribution network under the worst scenario, and the worst scenario is added to the constraints of the first stage; Step S103, for the main problem, the switch state is changed by the EFOA algorithm to generate a topology structure, which is transmitted to the slave problem for optimization. For the slave problem, based on the given distribution network topology structure, the second-order cone optimization method is used to solve it. The main problem and the slave problem are iteratively calculated, and the optimal solution is obtained when the set convergence conditions are met.

[0015] In summary, the method of the present application uses a two-stage robust optimization model to characterize the problem of improving the power quality of the substation. In the first stage, the action strategy of the SOP and 0-1 switch in the distribution network under the worst scenario is given, and in the second stage, the power quality optimization objective function value under the worst scenario is obtained. In terms of solution, the main problem of the robust optimization model is the joint optimization problem of traditional switches considering time coupling, which is a typical mixed integer nonlinear optimization problem and is difficult to solve. The Electric Fish Optimization Algorithm (EFOA) is a meta-heuristic algorithm inspired by the use of electric field positioning and electric signal exchange behavior in the process of electric fish predation in nature. Imitating the characteristics of electric fish using active electric field positioning and passive electric field positioning to perceive the surrounding environment, EFOA uses global search in the early stage of solution, and gradually replaces global search with local optimization in the later stage, which can effectively obtain the global optimal solution and avoid falling into the situation of local optimal solution. For the solution of the corresponding model from the problem, the second-order cone relaxation method can be used to convert the nonlinear programming model into an easy-to-solve linear programming model to achieve rapid convergence. At the same time, the cone transformation introduced by the method is naturally established, which can ensure the optimality of the solution. In summary, the present invention uses the hybrid EFOA algorithm for iterative optimization, and realizes the rapid solution of mixed integer nonlinear optimization problems by combining the advantages of EFOA strong search and second-order cone relaxation fast convergence.

[0016] In a specific embodiment, in order to solve the problems of large line loss, low voltage and three-phase imbalance in the area caused by the large number of accesses to distributed new energy and unreasonable line design, the present invention integrates the advantages of SOP continuous regulation of active and reactive output and the economy of intelligent soft switches, comprehensively considers the uncertainty of the distribution network, and proposes a two-stage robust area power quality optimization method for two switches. The present invention first takes network loss, three-phase voltage imbalance and voltage deviation as the minimum objective function, and establishes a mathematical model for optimizing the voltage quality of the area where SOP and traditional switches coexist. Secondly, the establishment of uncertainty sets and robust models is carried out, and they are converted into a two-stage robust optimization model that is easy to solve step by step: in the first stage, considering all uncertainty scenarios, the model gives the distribution network SOP and the action strategy of the traditional switch that meet the constraints of the distribution network topology, flow, etc., to minimize the action cost of the two switches; in the second stage, the model gives the optimization problem of this stage after determining the distribution network topology, and obtains the network loss, three-phase voltage imbalance and voltage deviation of the distribution network under the worst scenario, and adds the worst scenario to the constraints of the previous stage. Finally, the hybrid EFOA algorithm is used to solve the two-stage robust optimization model. For the master problem, the EFOA is used to change the switch state to generate a topology structure, which is transmitted to the slave problem for optimization; for the slave problem, the second-order cone optimization method is used to solve it based on the given topology structure. The master and slave problems are iteratively calculated, and when the set convergence conditions are met, the algorithm obtains the optimal solution. Specifically: Step 1: Mathematical model for optimizing voltage quality in distribution network areas where SOP and traditional switches coexist.

[0017] The present invention takes network loss, three-phase voltage unbalance and voltage deviation as the minimum objective function, and allocates weights according to importance: , (1) , (2) , (3) , (4) , (5) In the formula, is the overall objective function, , , , They are The weight coefficient of the total objective function, The weight coefficient of the total objective function, The weight coefficient of the total objective function and The weight coefficient of the total objective function, , , , They are the objective function of line loss, the objective function of voltage deviation, the objective function of node voltage three-phase imbalance, and the objective function of switch operation cost. For the moment Branch Road On Phase active power, is the rated voltage, is the number of nodes, For the moment node No. Phase voltage, For the moment node The A-phase voltage, For the moment node The B-phase voltage of the For the moment node The C-th phase voltage, is the operating cost of the traditional switch, For 24 hours a day, For the moment Connecting Nodes and nodes The on / off state of the traditional switch between For the moment Connecting Nodes and nodes The on / off state of the traditional switch between is the operating cost of the distribution network SOP, To connect to the node The active power generated by the distribution network SOP on is the set of all branches, It is the set of all nodes connected to the distribution network SOP.

[0018] To ensure the safe and reliable operation of the distribution network, the model needs to constrain the important parameters of the distribution network, including branch flow constraints of the distribution network topology, upper and lower limits of line current, upper and lower limits of node voltage, output range of distributed generation, and active and reactive output limits of SOP.

[0019] Consider the branch flow constraints of the distribution network topology: Considering the characteristics of the distribution network connectivity and radial structure, an improved DISTFLOW power flow constraint that meets the requirements of the distribution network topology is established to facilitate the subsequent solution using the second-order cone programming method: , (6) , (7) , (8) , (9) , (10) , (11) The branch power flow limitation is expressed by mathematical formula (6) to (9), where The power balance limit is mathematically expressed as Equation (10) and Equation (11).

[0020] In the formula, For the moment node No. Phase voltage, For the moment Branch Road On Phase current, For the moment Branch Road on Phase active power, For the moment Branch Road on Phase reactive power, For the moment Branch Road on Phase active power, For line of Phase resistance, For line of Phase resistance, For the moment Branch Road On Phase current, For the moment Branch Road on Phase reactive power, For line of Phase reactance, For line of Phase reactance, For the moment Connect at the node SOP issued on Phase active power, For the moment Connect at the node The distributed power generation on Phase active power, For the moment node of Phase active load, For the moment Connect at the node SOP issued on Phase reactive power, For the moment Connect at the node The distributed power generation on Phase reactive power, For the moment node of Phase reactive load, For the moment Connecting Nodes and nodes The on / off state of the traditional switch between For the node All connected nodes, For the moment Branch Road On Phase voltage; The expressions for the upper and lower limits of node voltage are: , (12) In the formula, For Node No. The lower limit of the phase voltage value, For Node No. The upper limit of the phase voltage value; The expressions for the upper and lower limits of line current are: , (13) In the formula, For line on The lower limit of the phase current value, For line on Upper limit of phase current value; The expression of the output range of distributed power generation is: , (14) , (15) In the formula, is the lower limit of the active power output of distributed generation, is the upper limit of the active output of distributed generation, is the lower limit of the reactive power output of distributed generation, It is the upper limit of reactive power output of distributed generation; The expression of the SOP capacity power limit of the distribution network is: , (16) , (17) , (18) In the formula, For the moment The active power generated by the distribution network SOP at node j is, For the moment At the node The active power generated by the distribution network SOP on For the moment At the node The reactive power generated by the distribution network SOP on For the moment The reactive power generated by the distribution network SOP at node j is, For the moment Connect at the node The SOP on Phase capacity, For the moment Connect at the node On Phase capacity.

[0021] Step 2: Modeling the two-stage robust optimization problem considering distribution network uncertainty.

[0022] Considering the uncertainty of distribution network load and distributed power sources, the present invention innovatively uses a two-stage robust optimization model to characterize the problem of improving power quality in the distribution area, and provides the action strategy of traditional switches and distribution network SOP in the distribution network under the worst scenario. In the first stage, considering all uncertainty scenarios, the model provides the distribution network SOP and the action strategy of traditional switches that meet the constraints of distribution network topology, flow, etc., so as to minimize the action cost of the two switches; in the second stage, the model solves the optimization problem of this stage after determining the distribution network topology, obtains the worst scenario, and adds it to the constraints of the previous stage.

[0023] (1) Description of uncertainty scenario set and optimization problem: Before establishing the two-stage robust optimization model, an uncertainty scenario set is first established. The present invention uses a box-type uncertainty set to describe the output of distributed power sources: , (19) , (20) In the formula, is the column vector of distributed generation output, It is the collection of all distributed generation outputs in the distribution network. is the upper limit of the output of distributed power generation, is the lower limit of distributed power output, For the The output of a distributed generation at time T; The generated uncertainty sets are independent of each other in each dimension, discretely distributed, and form a rectangular area. Next, considering the uncertainty scenario, the model established in step 1 is rewritten into a robust optimization model, and a distribution network reconstruction strategy is given to achieve the optimal power quality in the substation under the worst scenario.

[0024] , (twenty one) ,(twenty two) ,(twenty three) ,(twenty four) , (25) In the formula, , are constants, represents the decision variables of SOP and traditional switches in the distribution network, The value of , represents the weighted sum of distribution network loss, three-phase voltage unbalance and voltage deviation; are the remaining continuous variables in this optimization problem, It is the collection of all distributed generation outputs in the distribution network. It is a collection of action strategies of SOP and traditional switches in distribution network; Among them, formula (22) indicates that there is no island in the distribution network, formula (23) represents the linear constraint in the model of step 1, formula (24) represents the equality constraint in the model, and formula (25) represents the cone constraint in the model, which is obtained by the following second-order cone transformation.

[0025] Substitution variables , , Substituting into the equation, the constraints are linearized; and the constraints that do not satisfy convexity are transformed into a second-order cone, and equations (6)-(9) are transformed into: , (26) , (27) , (28) , (29) In the formula, , , are replacement variables, , , ; Formula (12) and formula (13) are transformed into: , (30) , (31) In the formula, , Substitute variables for The minimum and maximum values ​​of , Substitute variables for and The minimum and maximum values ​​of The capacity constraints of the distribution network SOP (17) and (18) are transformed into: , (32) , (33) (2) Transformation of the two-stage robust optimization model Because the above problem cannot be solved directly, we transform it into a two-stage robust optimization model consisting of a master problem and a slave problem. The master model is a decision problem of discrete variables, while the slave model is a decision problem of continuous variables. The transformed model is in a form that is easy to solve using the hybrid EFOA algorithm.

[0026] a. Description of the main problem In the first stage, considering all uncertainty scenarios, the model gives the distribution network SOP and the action strategy of traditional switches that meet the constraints of distribution network topology, power flow, etc., to minimize the action costs of the two switches.

[0027] , (34) , (35) , (36) , (37) , (38) Where z is the number of uncertain scenarios, is the operation cost of traditional switches and distribution network SOP in the distribution network, is a finite number of uncertainty scenarios in the uncertainty set obtained by enumeration, are the finite number of variables from the problem model solved in the corresponding scenario, is the mathematical representation of the set of continuous variables remaining in this optimization problem; b. From the description of the problem The optimization goal of the second stage model is to find the worst scenario and obtain the network loss, three-phase voltage imbalance and voltage deviation of the distribution network under this scenario. At the same time, the worst scenario is returned to the main problem as a constraint of equations (29) and (30).

[0028] , (39) , (40) , (41) , (42) In the formula, is the state quantity of the traditional switch and the distribution network SOP in the distribution network given in the first stage, is the objective function of the problem, For the worst scenario, is a finite number of variables from the problem model solved in the worst scenario, is the transpose symbol, , , are all constants; Since the above two-layer optimization model cannot be solved directly, the present invention introduces Lagrange multipliers and converts it into a dual form for calculation.

[0029] , (43) , (44) , (45) , (46) In the formula, , , are dual vectors, , , , are all Lagrange multipliers; Step 3: Solving the two-stage robust optimization problem based on hybrid EFOA.

[0030] The Electric Fish Optimization Algorithm (EFOA) is a metaheuristic algorithm inspired by the use of electric field positioning and electric signal communication in the process of electric fish hunting in nature. Due to poor eyesight, electric fish need to perceive the surrounding environment through active and passive electric field positioning. This feature can be used to meet the balance between EFOA's global search and local optimization. By adopting a global search in the early stage of the solution and gradually replacing the global search with local optimization in the later stage, the global optimal solution can be effectively obtained to avoid falling into the situation of local optimal solution. EFOA has only two parameters that need to be adjusted and has low sensitivity to parameter changes. In addition, it has a simple structure, is easy to simulate and implement, has stable performance, and is suitable for solving complex problems. The description of the EFOA algorithm is as follows: Topology initialization and generation: Generate an initial feasible topology at the beginning of the algorithm, and change the state of only one traditional switch at each moment in each iteration. , corresponding to the individual position in the algorithm; Enter Round iteration; Calculate individual frequency: In solving the minimization problem, the individual fish Discharge frequency and fitness Inversely proportional, represents the iteration round, and Respectively represent During the round iteration, at time Number The fitness and discharge frequency of individuals, calculate the discharge frequency and fitness The expression is: , (47) , (48) , (49) In the formula, is the minimum value of the discharge frequency of individual electric fish, is the maximum value of the individual discharge frequency of electric fish, is the minimum fitness of electric fish individuals, is the maximum individual fitness of electric fish; Calculate individual amplitudes: In the EFOA algorithm, the amplitude determines the effective range of the local search and the probability of being perceived in the global search. Assume that Indicates the weight of the amplitude at the previous moment in the calculation of the amplitude at the next moment, and Respectively represent Round and During round iteration, Number The amplitude obtained when the switch of the switch changes while the other switch states remain unchanged is calculated. The number of round iterations is The amplitude of the individual and The number of round iterations is The amplitude of the individual , the expression is: , (50) , (51) , (52) Global search strategy: Randomly generate the frequency threshold of the individual. When the individual frequency is lower than the threshold, the individual will be passively positioned by the electric field. Perceived individual Probability , the expression is: , (53) , (54) , (55) In the formula, For individuals To individual The distance For the The number of round iterations is The magnitude of the individual, For individuals To individual The distance For individuals location information, For individuals location information, For individuals location information, is the collection of all individuals using active electric field positioning; Update individual location information, assuming represents the reference individual, then the updated location information The expression is: , (56) , (57) In the formula, For randomly selected individuals nearby individuals, For reference individuals location information, For the The number of round iterations is The magnitude of the individual, is a constant, is the total number of individuals; Check whether the topology generated after updating the switch status satisfies the connectivity and radial constraints. If not, update the switch status again. Update frequency and amplitude: After obtaining the switch state, solve the main problem to obtain the objective function value, and then update the corresponding amplitude and frequency; if the frequency and amplitude after the switch state is updated perform better, replace the previous search result with the new switch state, otherwise search again; Enter Round iteration.

[0031] Convergence and termination conditions: As the iterations proceed, the distance between individual electric fish gradually decreases, which causes the algorithm to shift from global search to local search until it terminates when changing the switch state cannot optimize the objective function value.

[0032] In the master problem model, EFOA generates a topology by changing the switch state and transmits it to the slave problem for optimization; based on the given topology, the slave problem solves the second-order cone optimization problem, obtains the worst scenario, and adds it to the constraints of the previous stage. The master-slave problem iteratively calculates, and when the set convergence conditions are met, the algorithm obtains the optimal solution. The two-stage robust optimization solution process based on hybrid EFOA is described in Table 1: Table 1 , In summary, the method of this embodiment has the following beneficial effects: 1. The present invention innovatively proposes a method for improving the quality of substations by jointly optimizing SOP and traditional switches, which achieves the optimization effects of reducing network losses, controlling three-phase voltage imbalance and minimizing voltage deviation, making the distribution network operation safer and more economical.

[0033] 2. The present invention takes into account the uncertainty of the distribution network and innovatively establishes a two-stage robust optimization model that links SOP and traditional switches to ensure that the power quality of the substation can still be optimized by changing the SOP and the action of the switch in the worst scenario.

[0034] 3. The present invention adopts the EFOA algorithm to solve the main problem in the first stage, making full use of its strong search capability to effectively decouple the constrained integer variables and continuous variables, avoiding the results from falling into the local optimal solution while greatly improving the solution and iteration rate, and providing the action strategy of SOP and traditional switches to optimize the switch action cost.

[0035] 4. The present invention proposes an EFOA hybrid optimization algorithm, which uses EFOA to solve the master problem and cone optimization method to solve the slave problem. The algorithm makes up for the shortcomings of the slow iteration speed of the metaheuristic algorithm and the shortcomings of the constraints and relaxation of the mixed integer second-order cone programming method that affect the solution accuracy. The master and slave problems are interactively iterated to achieve accurate and fast solutions to the two-stage robust optimization problem.

[0036] See also Figure 2 , which shows a structural block diagram of a two-stage robust area power quality optimization system of the present application.

[0037] like Figure 2 As shown, the two-stage robust substation power quality optimization system 200 includes a construction module 210 , a conversion module 220 and a solution module 230 .

[0038] Among them, the construction module 210 is configured to construct a voltage quality optimization mathematical model for the distribution network SOP and the traditional switch coexistence with the network loss, three-phase voltage imbalance and voltage deviation minimization as the objective function under the preset constraints; The conversion module 220 is configured to establish an uncertainty scenario set, and consider the uncertainty scenarios in the uncertainty scenario set to rewrite the area voltage quality optimization mathematical model into a two-stage robust optimization model, wherein the two-stage robust optimization model includes a master problem in the first stage and a slave problem in the second stage, wherein, in the first stage, all uncertainty scenarios are considered, and the two-stage robust optimization model gives the action strategy of the distribution network SOP that meets the constraint conditions, the action strategy of the traditional switch, and minimizes the action cost of the distribution network SOP and the traditional switch. In the second stage, after determining the topology of the distribution network, the optimization problem of the second stage is solved to obtain the network loss, three-phase voltage imbalance and voltage deviation of the distribution network under the worst scenario, and the worst scenario is added to the constraint conditions of the first stage; The solution module 230 is configured to generate a topology structure by changing the switch state through the EFOA algorithm for the main problem, and transmit it to the slave problem for optimization. For the slave problem, the second-order cone optimization method is used to solve it based on the given distribution network topology. The main problem and the slave problem are iteratively calculated, and the optimal solution is obtained when the set convergence conditions are met.

[0039] It should be understood that Figure 2 Modules and references documented in Figure 1 Therefore, the operations and features described above for the method and the corresponding technical effects are also applicable to Figure 2 The modules in it will not be described in detail here.

[0040] In some other embodiments, the embodiments of the present invention further provide a computer-readable storage medium having a computer program stored thereon, wherein when the program instructions are executed by a processor, the processor executes the two-stage robust substation power quality optimization method in any of the above method embodiments; As an implementation mode, the computer-readable storage medium of the present invention stores computer-executable instructions, and the computer-executable instructions are configured as follows: Under the preset constraints, the objective function is to take the network loss, three-phase voltage imbalance and voltage deviation as the minimum, and to build a mathematical model for optimizing the voltage quality in the distribution network area where the SOP and traditional switches coexist. Establish an uncertainty scenario set, and consider the uncertainty scenarios in the uncertainty scenario set to rewrite the area voltage quality optimization mathematical model into a two-stage robust optimization model, wherein the two-stage robust optimization model includes a master problem in the first stage and a slave problem in the second stage, wherein, in the first stage, all uncertainty scenarios are considered, and the two-stage robust optimization model gives the action strategy of the distribution network SOP that meets the constraints, the action strategy of the traditional switch, and minimizes the action cost of the distribution network SOP and the traditional switch. In the second stage, after determining the topological structure of the distribution network, solve the optimization problem of the second stage, obtain the network loss, three-phase voltage imbalance and voltage deviation of the distribution network under the worst scenario, and add the worst scenario to the constraints of the first stage; For the master problem, the EFOA algorithm is used to change the switch state to generate a topology structure, which is transmitted to the slave problem for optimization. For the slave problem, the second-order cone optimization method is used to solve it based on the given distribution network topology. The master problem and the slave problem are iteratively calculated, and the optimal solution is obtained when the set convergence conditions are met.

[0041] The computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created according to the use of the two-stage robust power quality optimization system, etc. In addition, the computer-readable storage medium may include a high-speed random access memory, and may also include a memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage device. In some embodiments, the computer-readable storage medium may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the two-stage robust power quality optimization system via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0042] Figure 3 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 3 As shown, the device includes: a processor 310 and a memory 320. The electronic device may also include: an input device 330 and an output device 340. The processor 310, the memory 320, the input device 330 and the output device 340 may be connected via a bus or other means. Figure 3In the example, the connection through the bus is taken as an example. The memory 320 is the above-mentioned computer-readable storage medium. The processor 310 executes various functional applications and data processing of the server by running the non-volatile software programs, instructions and modules stored in the memory 320, that is, the two-stage robust power quality optimization method of the above-mentioned method embodiment is realized. The input device 330 can receive input digital or character information, and generate key signal input related to user settings and function control of the two-stage robust power quality optimization system. The output device 340 may include a display device such as a display screen.

[0043] The electronic device can execute the method provided by the embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the method provided by the embodiment of the present invention.

[0044] As an implementation mode, the electronic device is applied to a two-stage robust power quality optimization system for a substation, and is used for a client, and includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can: Under the preset constraints, the objective function is to take the network loss, three-phase voltage imbalance and voltage deviation as the minimum, and to build a mathematical model for optimizing the voltage quality in the distribution network area where the SOP and traditional switches coexist. Establish an uncertainty scenario set, and consider the uncertainty scenarios in the uncertainty scenario set to rewrite the area voltage quality optimization mathematical model into a two-stage robust optimization model, wherein the two-stage robust optimization model includes a master problem in the first stage and a slave problem in the second stage, wherein, in the first stage, all uncertainty scenarios are considered, and the two-stage robust optimization model gives the action strategy of the distribution network SOP that meets the constraints, the action strategy of the traditional switch, and minimizes the action cost of the distribution network SOP and the traditional switch. In the second stage, after determining the topological structure of the distribution network, solve the optimization problem of the second stage, obtain the network loss, three-phase voltage imbalance and voltage deviation of the distribution network under the worst scenario, and add the worst scenario to the constraints of the first stage; For the master problem, the EFOA algorithm is used to change the switch state to generate a topology structure, which is transmitted to the slave problem for optimization. For the slave problem, the second-order cone optimization method is used to solve it based on the given distribution network topology. The master problem and the slave problem are iteratively calculated, and the optimal solution is obtained when the set convergence conditions are met.

[0045] Through the description of the above implementation modes, those skilled in the art can clearly understand that each implementation mode can be implemented by means of software plus a necessary general hardware platform, or of course by hardware. Based on such an understanding, the above technical solution can essentially or in other words be embodied in the form of a software product that contributes to the prior art. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods of each embodiment or some parts of the embodiment.

[0046] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A two-stage robust area power quality optimization method, characterized in that: include: Under the preset constraints, the objective function is to take the network loss, three-phase voltage imbalance and voltage deviation as the minimum, and to build a mathematical model for optimizing the voltage quality in the distribution network area where the SOP and traditional switches coexist. Establish an uncertainty scenario set, and consider the uncertainty scenarios in the uncertainty scenario set to rewrite the area voltage quality optimization mathematical model into a two-stage robust optimization model, wherein the two-stage robust optimization model includes a master problem in the first stage and a slave problem in the second stage, wherein, in the first stage, all uncertainty scenarios are considered, and the two-stage robust optimization model gives the action strategy of the distribution network SOP that meets the constraints, the action strategy of the traditional switch, and minimizes the action cost of the distribution network SOP and the traditional switch. In the second stage, after determining the topological structure of the distribution network, solve the optimization problem of the second stage, obtain the network loss, three-phase voltage imbalance and voltage deviation of the distribution network under the worst scenario, and add the worst scenario to the constraints of the first stage; For the master problem, the EFOA algorithm is used to change the switch state to generate a topology structure, which is transmitted to the slave problem for optimization. For the slave problem, the second-order cone optimization method is used to solve it based on the given distribution network topology. The master problem and the slave problem are iteratively calculated, and the optimal solution is obtained when the set convergence conditions are met.

2. A two-stage robust area power quality optimization method according to claim 1, characterized in that: The expression of the objective function is: , , , , , In the formula, is the overall objective function, , , , They are The weight coefficient of the total objective function, The weight coefficient of the total objective function, The weight coefficient of the total objective function and The weight coefficient of the total objective function, , , , They are the objective function of line loss, the objective function of voltage deviation, the objective function of node voltage three-phase imbalance, and the objective function of switch operation cost. For the moment Branch Road On Phase active power, is the rated voltage, is the number of nodes, For the moment node No. Phase voltage, For the moment node The A-phase voltage, For the moment node The B-th phase voltage, For the moment node The C-th phase voltage, is the operating cost of the traditional switch, For 24 hours a day, For the moment Connecting Nodes and nodes The on / off state of the traditional switch between For the moment Connecting Nodes and nodes The on / off state of the traditional switch between is the operating cost of the distribution network SOP, To connect to the node The active power generated by the distribution network SOP on is the set of all branches, It is the set of all nodes connected to the distribution network SOP.

3. A two-stage robust area power quality optimization method according to claim 1, characterized in that: The constraints include branch flow constraints, node voltage upper and lower limits, line current upper and lower limits, distributed power output range, and distribution network SOP capacity power limit considering the distribution network topology; The expression of the branch power flow constraint considering the distribution network topology is: , , , , , , In the formula, For the moment node No. Phase voltage, For the moment Branch Road On Phase current, For the moment Branch Road on Phase active power, For the moment Branch Road on Phase reactive power, For the moment Branch Road on Phase active power, For line of Phase resistance, For line of Phase resistance, For the moment Branch Road On Phase current, For the moment Branch Road on Phase reactive power, For line of Phase reactance, For line of Phase reactance, For the moment Connect at the node SOP issued on Phase active power, For the moment Connect at the node The distributed power generation on Phase active power, For the moment node of Phase active load, For the moment Connect at the node SOP issued on Phase reactive power, For the moment Connect at the node The distributed power generation on Phase reactive power, For the moment node of Phase reactive load, For the moment Connecting Nodes and nodes The on / off state of the traditional switch between For the node All connected nodes, For the moment Branch Road On Phase voltage; The expressions of the upper and lower limits of the node voltage are: , In the formula, For Node No. The lower limit of the phase voltage value, For Node No. The upper limit of the phase voltage value; The expressions of the upper and lower limits of the line current are: , In the formula, For line on The lower limit of the phase current value, For line on Upper limit of phase current value; The expression of the output range of the distributed power source is: , , In the formula, is the lower limit of the active power output of distributed generation, is the upper limit of the active output of distributed generation, is the lower limit of the reactive power output of distributed generation, It is the upper limit of reactive power output of distributed generation; The expression of the distribution network SOP capacity power limit is: , , , In the formula, For the moment The active power generated by the distribution network SOP at node j is, For the moment At the node The active power generated by the distribution network SOP on For the moment At the node The reactive power generated by the distribution network SOP on For the moment The reactive power generated by the distribution network SOP at node j is, For the moment Connect at the node The SOP on Phase capacity, For the moment Connect at the node On Phase capacity.

4. A two-stage robust area power quality optimization method according to claim 1, characterized in that: For the master problem, the switch state is changed by the EFOA algorithm to generate a topology structure, which is transmitted to the slave problem for optimization. For the slave problem, the second-order cone optimization method is used to solve the given distribution network topology structure. The master problem and the slave problem are iteratively calculated. When the set convergence conditions are met, the optimal solution includes: Topology initialization and generation: Generate an initial feasible topology at the beginning of the algorithm, and change the state of only one traditional switch at each moment in each iteration. , corresponding to the individual position in the algorithm; Enter Round iteration; Calculate individual frequency: In solving the minimization problem, the individual fish Discharge frequency and fitness Inversely proportional, represents the iteration round, and Respectively represent During the round iteration, at time Number The fitness and discharge frequency of individuals, calculate the discharge frequency and fitness The expression is: , , , In the formula, is the minimum value of the discharge frequency of individual electric fish, is the maximum value of the individual discharge frequency of electric fish, is the minimum fitness of electric fish individuals, is the maximum value of the individual fitness of electric fish, T is 24h a day; Calculate individual amplitudes: In the EFOA algorithm, the amplitude determines the effective range of the local search and the probability of being perceived in the global search. Assume that Indicates the weight of the amplitude at the previous moment in the calculation of the amplitude at the next moment, and Respectively represent Round and During round iteration, Number The amplitude obtained when the switch of the switch changes while the other switch states remain unchanged is calculated. The number of round iterations is The amplitude of the individual and The number of round iterations is The amplitude of the individual The expression is: , , , Global search strategy: Randomly generate the frequency threshold of the individual. When the individual frequency is lower than the threshold, the individual will be passively positioned by the electric field. Perceived individual Probability , the expression is: , , , In the formula, For individuals To individual The distance For the The number of round iterations is The magnitude of the individual, For individuals To individual The distance For individuals location information, For individuals location information, For individuals location information, is the collection of all individuals using active electric field positioning; Update individual location information, assuming represents the reference individual, then the updated location information The expression is: , , In the formula, For randomly selected individuals nearby individuals, For reference individuals location information, For the The number of round iterations is The magnitude of the individual, is a constant, is the total number of individuals; Check whether the topology generated after updating the switch status satisfies the connectivity and radial constraints. If not, update the switch status again. Update frequency and amplitude: After obtaining the switch state, solve the main problem to obtain the objective function value, and then update the corresponding amplitude and frequency; if the frequency and amplitude after the switch state is updated perform better, replace the previous search result with the new switch state, otherwise search again; Enter Round iteration; Convergence and termination conditions: As the iterations proceed, the distance between individual electric fish gradually decreases, which causes the algorithm to shift from global search to local search until it terminates when changing the switch state cannot optimize the objective function value.

5. A two-stage robust area power quality optimization system, characterized in that: include: A construction module is configured to construct a voltage quality optimization mathematical model for the distribution network area where the SOP and traditional switches coexist, taking the network loss, three-phase voltage imbalance and voltage deviation as the minimum objective function under preset constraints; A conversion module is configured to establish an uncertainty scenario set, and consider the uncertainty scenarios in the uncertainty scenario set to rewrite the area voltage quality optimization mathematical model into a two-stage robust optimization model, wherein the two-stage robust optimization model includes a master problem in the first stage and a slave problem in the second stage, wherein, in the first stage, all uncertainty scenarios are considered, and the two-stage robust optimization model gives an action strategy of the distribution network SOP that satisfies the constraint conditions, an action strategy of the traditional switch, and minimizes the action cost of the distribution network SOP and the traditional switch, and in the second stage, after determining the distribution network topology, solves the optimization problem of the second stage, obtains the network loss, three-phase voltage imbalance and voltage deviation of the distribution network under the worst scenario, and adds the worst scenario to the constraint conditions of the first stage; The solution module is configured to generate a topology structure by changing the switch state through the EFOA algorithm for the main problem, and transmit it to the slave problem for optimization. For the slave problem, it is solved by the second-order cone optimization method based on the given distribution network topology. The main problem and the slave problem are iteratively calculated, and the optimal solution is obtained when the set convergence conditions are met.

6. An electronic device, characterized in that: include: At least one processor, and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method described in any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Three-phase imbalanced power distribution network robust dynamic reconfiguration method taking uncertain budget into consideration

    CN108599154A

  • Power distribution network line loss reduction method, device and readable storage medium

    CN111598350A

  • Distributed robust operation method and system for flexible power distribution network

    CN115733166A

  • Distributed robust reactive voltage optimization method considering new energy spatial correlation

    CN117200244A

  • Active power distribution network comprehensive optimization method based on multi-target bare eagle search algorithm

    CN117439203A

Cited By

  • Power distribution network reconstruction method and device, terminal equipment and storage medium

    CN119787306A

  • Power distribution network adjusting method and device and power distribution network

    CN121618507A