Power distribution network flexible soft switch locating and sizing method and system based on hybrid second-order cone programming

Through the flexible soft switch site selection and capacity setting method based on hybrid second-order cone planning, the problem of insufficient flexibility in traditional distribution networks under new energy access and complex grid structures is solved, and the economy and power supply of the distribution network are optimized. Reliability achieves coordination and complementarity of system equipment.

CN118886633APending Publication Date: 2024-11-01GUIZHOU POWER GRID CO LTD
View PDF 0 Cites 7 Cited by

Patent Information

Application Number
CN202410789793.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-11-01

AI Technical Summary

Technical Problem

When traditional distribution networks cope with the extensive access to new energy and the operation of complex grid structures, they lack flexibility and limited regulatory means, making it difficult to meet the diversified and complex needs of modern power systems.

Method used

Using a flexible soft switch site selection and capacity determination method based on hybrid second-order cone planning, a planning model with the minimum daily comprehensive operating cost is established by obtaining data from the interconnected flexible power distribution system, and using the improved sparrow algorithm and second-order cone planning to solve it. , optimize the site selection and capacity setting of flexible soft switches, and consider the operation, reactive power, capacity, current and voltage constraints of flexible soft switches.

Benefits of technology

It realizes the reduction of main network output costs, operating losses and energy storage charging and discharge losses while ensuring power supply reliability, and selects the optimal flexible soft switch configuration solution, which improves the economics of the distribution network and the coordination and complementary capabilities of the system and equipment. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118886633A_ABST
    Figure CN118886633A_ABST
Patent Text Reader

Abstract

The invention discloses a hybrid second-order cone programming-based power distribution network flexible soft switch locating and sizing method and system. The method comprises the following steps of: obtaining data of an interconnected flexible power distribution system; based on interconnected flexible power distribution system data and interconnected flexible power distribution system constraints, taking the minimum daily comprehensive operation cost as an objective function, and establishing a flexible power distribution network flexible soft switch locating and sizing planning model; an improved sparrow algorithm and second-order cone programming are combined to solve and optimize the flexible soft switch locating and sizing planning model of the flexible power distribution network, and a flexible soft switch locating and sizing scheme is obtained; and calculating a target function corresponding to the flexible soft switch addressing and sizing scheme, and obtaining an optimal flexible soft switch addressing and sizing scheme. According to the method, the economical efficiency of different flexible soft switch configuration schemes is measured more accurately, so that the optimal flexible soft switch optimal configuration scheme is selected, flexible power distribution network operation planning comprehensively considering power supply reliability and economical efficiency is realized, and coordination and complementation among equipment of the system are realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of distribution network optimization, and in particular to a method and system for selecting a site and determining the capacity of flexible soft switches in a distribution network based on hybrid second-order cone programming. Background Art

[0002] With the rapid advancement of new power systems, the power interaction between source, grid, load and storage equipment has become increasingly close, bringing unprecedented challenges to traditional distribution networks. Faced with the increasingly complex grid structure operation requirements, the "closed-loop design, open-loop operation" mode of traditional distribution networks has shown signs of being unable to cope with the situation. This mode mainly relies on the unidirectional energy flow of the AC power grid, but its inherent structural mode lacks sufficient flexibility and has limited control means, making it difficult to meet the diversified and complex needs of modern power systems.

[0003] At the same time, the rapid development of new energy generation technology has made it normal for a higher proportion of distributed generation (DG) to be connected to the grid. The widespread access of DG does help reduce system power transmission losses and reduce environmental pollution, but its own volatility and randomness also bring complexity to the power distribution of the power grid, and put forward higher requirements for system power supply quality, network congestion and safe operation of equipment. Summary of the invention

[0004] The purpose of this section is to summarize some aspects of embodiments of the present invention and briefly introduce some preferred embodiments. Some simplifications or omissions may be made in this section and the specification abstract and the invention title of this application to avoid blurring the purpose of this section, the specification abstract and the invention title, and such simplifications or omissions cannot be used to limit the scope of the present invention.

[0005] In view of the above existing problems, the present invention is proposed. Therefore, the present invention provides a distribution network flexible soft switch site selection and capacity determination method based on hybrid second-order cone programming to solve the problems of insufficient flexibility, limited control means and economic optimization faced by traditional distribution networks in coping with the widespread access of new energy and the operation of complex grid structures.

[0006] In order to solve the above technical problems, the present invention provides the following technical solutions:

[0007] In a first aspect, the present invention provides a method for selecting and sizing flexible soft switches in a distribution network based on hybrid second-order cone programming, comprising:

[0008] Obtaining interconnected flexible distribution system data;

[0009] Based on the interconnected flexible distribution system data and interconnected flexible distribution system constraints, a flexible soft switch site selection and capacity planning model for the flexible distribution network is established with the minimum daily comprehensive operating cost as the objective function;

[0010] The improved sparrow algorithm is combined with the second-order cone programming to solve and optimize the flexible soft switch location and capacity planning model of the flexible distribution network to obtain the flexible soft switch location and capacity plan;

[0011] Calculate the objective function corresponding to the flexible soft switch site selection and capacity determination plan to obtain the optimal flexible soft switch site selection and capacity determination plan.

[0012] As an optimal scheme for the method of site selection and sizing of flexible soft switches in distribution networks based on hybrid second-order cone programming described in the present invention, the constraints of the interconnected flexible distribution system include flexible soft switch operation constraints, flexible soft switch reactive constraints, flexible soft switch capacity constraints, flow constraints, system voltage constraints, branch capacity constraints and energy storage equipment constraints.

[0013] As a preferred solution of the method for selecting and sizing the flexible soft switch of the distribution network based on hybrid second-order cone programming described in the present invention, the objective function includes:

[0014] The daily comprehensive operating cost includes the main grid output cost, operating loss cost and energy storage charging and discharging loss cost;

[0015] The main grid output cost, operation loss cost and energy storage charging and discharging loss cost are expressed as:

[0016]

[0017] Among them, C pg is the main network output cost, C loss is the operating loss cost, C ESS is the energy storage charging and discharging loss cost, C gt represents the real-time electricity price of the distribution network, P gt Indicates the real-time power purchase of the system, C e is the system network loss compensation coefficient, C sop is the unit price of the flexible soft switch operating cost, N bus is the number of system network nodes, c(i) is the initial node set with node i as the initial node, P loss,i,t is the transmission power loss of the flexible soft switch port i at time t, I ij is the current flowing between the lines at nodes i and j, C ess represents the energy storage equipment cost coefficient, ψ ess Represents the installation location set of energy storage devices in the system, Represents the charging and discharging power of the energy storage device at node i at time t.

[0018] As a preferred solution of the method for site selection and sizing of flexible soft switches in distribution network based on hybrid second-order cone programming described in the present invention, wherein: using the improved sparrow algorithm to solve the flexible soft switch site selection and sizing planning model of the flexible distribution network includes:

[0019] Initializing the parameters of the sparrow algorithm, determining the initial access position of the flexible soft switch, using the initial access position of the flexible soft switch as the decision variable of the improved sparrow algorithm and encoding it, and randomly generating a flexible soft switch site selection and capacity determination plan;

[0020] The flexible soft switch connection ports are not repeated and the flexible soft switch ports cannot be connected to the head-end node of the distribution network;

[0021] The Levy flight strategy is introduced in the iterative solution process of the sparrow algorithm, and the Levy flight term is added to the update of the flexible soft switch site selection and sizing scheme with a better objective function value, thereby increasing interference to the flexible soft switch site selection and sizing scheme.

[0022] As a preferred solution of the method for site selection and capacity determination of flexible soft switches in distribution network based on hybrid second-order cone programming described in the present invention, wherein: using second-order cone programming to optimize the site selection and capacity determination planning model of flexible soft switches in flexible distribution network includes:

[0023] The flexible soft switch operation constraint, flexible soft switch reactive constraint, flexible soft switch capacity constraint and power flow constraint are converted into a second-order cone optimization model through linearization and second-order cone relaxation, and then the second-order cone optimization model is solved using the SOCP algorithm.

[0024] As a preferred solution of the method for selecting the site and determining the capacity of flexible soft switches in a distribution network based on hybrid second-order cone programming described in the present invention, it also includes:

[0025] The second-order cone optimization model is solved by SOCP algorithm as follows:

[0026]

[0027] ∑ i:i→j (P ij -R ij I′ ij )-P j =∑ l:j→l P jl

[0028] ∑ i:i→j (Q ij -X ij I′ ij )-Q j =∑ l:j→l Q jl

[0029]

[0030] Among them, P i link , and Respectively represent the active power and reactive power output of ports i and j, i——>j means that node i is the upstream node of node j, U i and U j is the voltage between node i and node j, P ij , Q ij is the active and reactive power flowing from node i to node j, P j and Q j is the active and reactive power of the net load at node j, represents the converter capacity of different ports of the flexible soft switch, R ij and X ij is the resistance and reactance of the line between nodes i and j, P jl With Q jl represents the active power and reactive power flowing from node j to node l, I ij Indicates the current flowing through the line between node i and node j, I i ' j 、u i I ij and U i The square term of .

[0031] As a preferred solution of the method for site selection and sizing of flexible soft switches in distribution networks based on hybrid second-order cone programming described in the present invention, wherein: calculating the objective function corresponding to the site selection and sizing scheme of the flexible soft switch includes:

[0032] The objective function value corresponding to the flexible soft switch site selection and capacity determination scheme is used as the fitness function value of the improved sparrow algorithm;

[0033] If the fitness function value reaches a set threshold or the number of iterations reaches a maximum number of iterations of the improved sparrow algorithm, the optimal flexible soft switch site selection and capacity determination scheme is output.

[0034] In a second aspect, the present invention provides a system for selecting and sizing flexible soft switches in a distribution network based on hybrid second-order cone programming, comprising:

[0035] A data acquisition module, used to acquire interconnected flexible distribution system data;

[0036] A model building module is used to establish a flexible soft switch site selection and capacity planning model for a flexible distribution network based on the interconnected flexible distribution system data and the interconnected flexible distribution system constraints and taking the minimum daily comprehensive operating cost as the objective function;

[0037] A model solving module is used to solve and optimize the flexible soft switch location and capacity planning model of the flexible distribution network by combining the improved sparrow algorithm with the second-order cone programming to obtain a flexible soft switch location and capacity planning plan;

[0038] The optimal solution acquisition module is used to calculate the objective function corresponding to the flexible soft switch site selection and capacity determination plan to obtain the optimal flexible soft switch site selection and capacity determination plan.

[0039] In a third aspect, the present invention provides a computing device, comprising:

[0040] Memory and processor;

[0041] The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions. When the computer executable instructions are executed by the processor, the steps of the distribution network flexible soft switch site selection and capacity determination method based on hybrid second-order cone programming are implemented.

[0042] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the method for site selection and sizing of flexible soft switches in a distribution network based on hybrid second-order cone programming.

[0043] Compared with the prior art, the invention has the following beneficial effects: the invention takes the normal power supply operation of the flexible distribution network as a prerequisite, takes economic efficiency as an indicator, considers the site selection and capacity determination of the flexible soft switch of the flexible distribution network, establishes the minimum comprehensive cost of the main network output cost, operation loss cost, energy storage charging and discharging loss cost, etc. as the objective function, and more accurately measures the economy of different flexible soft switch configuration schemes, thereby selecting the optimal flexible soft switch optimization configuration scheme, realizing the flexible distribution network operation planning that comprehensively considers power supply reliability and economy, and realizing the coordination and complementarity between the various devices in the system. At the same time, the method of the invention has a simple calculation process and has high engineering practical value. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required for describing the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative labor. Among them:

[0045] Figure 1 It is a schematic diagram of the overall process of a method for selecting a location and determining the capacity of a flexible soft switch in a distribution network based on hybrid second-order cone programming according to an embodiment of the present invention;

[0046] Figure 2 A schematic diagram of the flow chart of an improved sparrow algorithm and a second-order cone method for a method for selecting and sizing a flexible soft switch in a distribution network based on hybrid second-order cone programming according to an embodiment of the present invention;

[0047] Figure 3A schematic diagram of system load and distributed power output of a distribution network flexible soft switch location and capacity determination method based on hybrid second-order cone programming according to an embodiment of the present invention;

[0048] Figure 4 A schematic diagram of power purchase by different methods of the method for selecting and sizing the flexible soft switch in a distribution network based on hybrid second-order cone programming according to an embodiment of the present invention;

[0049] Figure 5 It is a schematic diagram of active power transmission of flexible soft switches under the improved sparrow algorithm of the method for selecting the location and sizing the flexible soft switches of the distribution network based on the hybrid second-order cone programming according to one embodiment of the present invention and the second-order cone programming method;

[0050] Figure 6 A schematic diagram of reactive power transmission of flexible soft switches under a hybrid second-order cone programming method and a sparrow algorithm of a distribution network flexible soft switch site selection and capacity determination method based on a hybrid second-order cone programming according to an embodiment of the present invention;

[0051] Figure 7 The diagram is a schematic diagram of the interconnection of an optimized IEEE33 example system of a distribution network flexible soft switch site selection and sizing method based on hybrid second-order cone programming described in an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are described in detail below in conjunction with the drawings of the specification. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative work should fall within the scope of protection of the present invention.

[0053] In the following description, many specific details are set forth to facilitate a full understanding of the present invention, but the present invention may also be implemented in other ways different from those described herein, and those skilled in the art may make similar generalizations without violating the connotation of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.

[0054] Secondly, the term "one embodiment" or "embodiment" as used herein refers to a specific feature, structure, or characteristic that may be included in at least one implementation of the present invention. The term "in one embodiment" that appears in different places in this specification does not necessarily refer to the same embodiment, nor does it refer to a separate or selective embodiment that is mutually exclusive with other embodiments.

[0055] The present invention is described in detail with reference to schematic diagrams. When describing the embodiments of the present invention, for the sake of convenience, the cross-sectional diagrams showing the device structure will not be partially enlarged according to the general scale, and the schematic diagrams are only examples, which should not limit the scope of protection of the present invention. In addition, in actual production, the three-dimensional dimensions of length, width and depth should be included.

[0056] At the same time, in the description of the present invention, it should be noted that the orientations or positional relationships indicated by the terms "upper, lower, inner and outer" are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the system or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first, second or third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0057] In the present invention, unless otherwise clearly specified and limited, the terms "install, connect, connect" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integral connection; it can also be a mechanical connection, an electrical connection or a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0058] Example 1

[0059] Reference Figure 1-2 , which is an embodiment of the present invention, provides a method for selecting and sizing flexible soft switches in a distribution network based on hybrid second-order cone programming, comprising:

[0060] S100: Obtaining interconnected flexible distribution system data;

[0061] It should be noted that the interconnected flexible distribution system data includes the system network connection topology, simulated distributed power generation 24h output data, system node 24h load data, energy storage configuration data, etc.

[0062] Specifically, the original interconnected flexible distribution system data is obtained using data acquisition equipment. These data cover key information such as system network connection topology, 24-hour output data of distributed power sources, 24-hour load data of system nodes, and energy storage configuration data. Afterwards, data preprocessing is performed to ensure the accuracy and availability of the data.

[0063] The data preprocessing process includes data cleaning, which is used to deal with missing values ​​and outliers to ensure the integrity and consistency of the data; data integration, which integrates data from different sources into a unified data set and performs data standardization to eliminate the dimensional differences between different variables; the original interconnected flexible distribution system data is preprocessed to obtain the interconnected flexible distribution system data;

[0064] Taking the time series data and network topology data in the interconnected flexible distribution system data as an example, the time series data can be preprocessed using technologies such as sliding window analysis and time series prediction; the network topology data can be extracted through network topology analysis to extract key network structure and connection information.

[0065] S102: Based on the interconnected flexible distribution system data and the interconnected flexible distribution system constraints, a flexible soft switch site selection and capacity planning model for the flexible distribution network is established with the minimum daily comprehensive operating cost as the objective function;

[0066] Preferably, the interconnected flexible distribution system constraints include flexible soft switch operation constraints, flexible soft switch reactive power constraints, flexible soft switch capacity constraints, power flow constraints, system voltage constraints, branch capacity constraints and energy storage device constraints;

[0067] Specifically, ① the flexible soft switch operation constraint is expressed as:

[0068]

[0069] in, Respectively represent the port, output active power and reactive power, P i link ,loss , P j link,loss They represent the transmission loss of different ports of the flexible soft switch, They represent the corresponding loss coefficients of the ports respectively;

[0070] ② The reactive power constraint of flexible soft switch is expressed as:

[0071]

[0072] in, They represent the upper and lower limits of reactive power transmitted by different ports of the flexible soft switch respectively;

[0073] ③Flexible soft switch capacity constraint

[0074]

[0075] in, Respectively represent the port, output active power and reactive power, Indicates the converter capacity of different ports of the flexible soft switch;

[0076] ④ The power flow constraint is expressed as:

[0077] The power flow constraint is expressed by the DistFlow branch power flow model.

[0078] ∑ i:i→j (P ij -R ij I ij 2 )-P j =∑ l:j→l P jl

[0079] ∑ i:i→j (Q ij -X ij I ij 2 )-Q j =∑ l:j→l Q jl

[0080]

[0081] P j =P load,j -P g,j -P PV,j -P wind,j +P sop,j +P ess

[0082] Q j =Q load,j -Q g,j -Q svc,j -Q CB,j +Q sop

[0083]

[0084] Among them, I ij Indicates the current flowing through the line between node i and node j, P jl With Q jl represents the active power and reactive power flowing from node j to node l, P g,j With Q g,j They represent the active and reactive output of the generator at node j, P SOP,j With Q SOP,j They represent the active and reactive power transmitted by the flexible soft switch port at node j, P ess represents the active output of energy storage at node j, Q svc,j With Q CB,j They represent the continuous and discrete reactive power compensation output at node j, respectively. i→j means node i is the upstream node of node j. Ui and U j is the voltage between node i and node j, P ij With Q ij is the active and reactive power flowing from node i to node j, P j With Q i is the active and reactive power of the net load at node j, R ij With X ij is the resistance and reactance of the line between nodes i and j, P load,j With Q load,j is the active and reactive power of the load at node j, P wind,j is the active power of the wind power unit at node j, P PV,j is the active power of the PV unit at node j;

[0085] ⑤System voltage constraints

[0086]

[0087] Among them, U i,max with I i,min Indicates the upper and lower limits of the node's allowed voltage;

[0088] ⑥ Branch capacity constraints

[0089]

[0090] in, Indicates the current limit allowed to flow through the branch;

[0091] ⑦ Energy storage equipment constraints

[0092]

[0093]

[0094] Among them, μ ch,i,t , μ dis,i,t is a variable from 0 to 1, indicating that the energy storage device is in the charging or discharging state, η ch , η dis Indicates the charging and discharging efficiency of energy storage equipment, Indicates the working charge and discharge power limit of the energy storage device. Indicates the maximum and minimum storage capacity of the energy storage device, P ch,i,t With P dis,i,t They represent the energy storage charging power and discharging power at node i at time t, and It means that the initial energy storage capacity is equal to the final energy storage capacity. and They represent the energy storage capacity at time t and the energy storage capacity at the next moment respectively;

[0095] Preferably, the daily comprehensive operating cost includes the main grid output cost, the operating loss cost and the energy storage charging and discharging loss cost;

[0096] The main grid output cost, operation loss cost and energy storage charging and discharging loss cost are expressed as:

[0097]

[0098] Among them, C pg is the main network output cost, C loss is the operating loss cost, C ESs is the energy storage charging and discharging loss cost, C gt represents the real-time electricity price of the distribution network, P gt Indicates the real-time power purchase of the system, C e is the system network loss compensation coefficient, C sop is the unit price of the flexible soft switch operating cost, N bus is the number of system network nodes, c(i) is the initial node set with node i as the initial node, P loss,i,t is the transmission power loss of the flexible soft switch port i at time t, I ij is the current flowing between the lines at nodes i and j, C ess represents the energy storage equipment cost coefficient, ψ ess Represents the installation location set of energy storage devices in the system, represents the charging and discharging power of the energy storage device at node i at time t;

[0099] Specifically, the present invention takes the guarantee of the normal power supply and operation of the flexible distribution network as the premise, takes the economy as the indicator, considers the site selection and capacity determination of the flexible soft switch of the flexible distribution network, establishes the minimum comprehensive cost of the main network output cost, operation loss cost, and energy storage charging and discharging loss cost as the objective function, and more accurately measures the economy of different flexible soft switch configuration schemes, thereby selecting the optimal flexible soft switch optimization configuration scheme, realizing the flexible distribution network operation planning that comprehensively considers the power supply reliability and economy, and realizing the coordination and complementarity between the various devices in the system. The objective function of minimizing the comprehensive operation cost in the entire flexible soft switch optimization configuration mainly includes three parts:

[0100] C min =min(C pg +C loss +C ESS )

[0101] Among them, the main grid output cost, operation loss cost and energy storage charging and discharging loss cost;

[0102] In another possible implementation, the objective function may also include environmental costs, maintenance costs, and failure costs, etc. The construction of the objective function is not static and can be added or modified according to actual conditions. By reasonably selecting and adjusting cost items and their weights, it can be ensured that the objective function is more in line with the actual conditions and business needs of the flexible distribution network, thereby realizing a flexible distribution network operation plan that comprehensively considers power supply reliability and economy.

[0103] S104: using the improved sparrow algorithm combined with the second-order cone programming to solve and optimize the flexible soft switch site selection and capacity planning model of the flexible distribution network, and obtain the flexible soft switch site selection and capacity planning plan;

[0104] Preferably, the sparrow algorithm parameters are initialized to determine the initial access position of the flexible soft switch, the initial access position of the flexible soft switch is used as a decision variable of the improved sparrow algorithm and encoded, and a flexible soft switch site selection and capacity determination scheme is randomly generated;

[0105] Specifically, the encoding method of the initial access position of the flexible soft switch includes binary encoding, integer encoding, real number encoding and mixed encoding, etc.;

[0106] Taking binary coding as an example, for the site selection coding, assuming that there are N possible access points in the distribution network, an integer array of length N can be used to represent the site selection of the flexible soft switch; each element in the array represents the access status of the corresponding position, for example, 0 represents no access, and 1 represents access; for example, for 5 possible access points, the site selection code [1,0,1,0,1] represents accessing the flexible soft switch at the 1st, 3rd, and 5th access points;

[0107] Taking integer coding as an example, for fixed capacity coding, for each connected flexible soft switch, its capacity needs to be determined. An integer array can be used to represent the capacity of each access point. The length of the array is the same as the number of 1s in the location code. For example, if the location code is [1,0,1,0,1], and the capacities of the three access points are 50kVA, 100kVA, and 75kVA respectively, the fixed capacity code can be [50,75,100].

[0108] Preferably, the flexible soft switch connection ports are not repeated and the flexible soft switch ports cannot be connected to the head-end node of the distribution network;

[0109] Preferably, the Levy flight strategy is introduced in the iterative solution process of the sparrow algorithm, and the Levy flight term is added to the update of the flexible soft switch site selection and sizing scheme with a better objective function value, so as to increase interference to the flexible soft switch site selection and sizing scheme;

[0110] It should be noted that in the sparrow algorithm, for the location and capacity problem of flexible soft switches, the population is divided into three different roles: discoverers, followers and sentinels. Among them, discoverers specifically refer to those flexible soft switch location and capacity solutions with better current objective function values. In each iteration of the sparrow algorithm, discoverers explore the search space to find flexible soft switch location and capacity solutions with better objective function values. These discoverers usually represent potential optimal solutions in the search process. Their position updates are more extensive and random, aiming to cover a larger search range in order to find better solutions.

[0111] Specifically, in the sparrow evolutionary algorithm, a Levy flight strategy is added to the discoverer position update. Levy flight is a random search method that obeys the Levy distribution. It is a walking method that alternates short-distance search and occasional long-distance walking. Levy flight makes the change of individual position more flexible and the search range larger, which can prevent the algorithm from falling into a stagnant state, thereby promoting the discoverer to have good global searchability.

[0112] As the sparrow algorithm iterates, the discoverer will continue to move in the search space to find a better solution for the location and capacity of the flexible soft switch. Once a better solution is found, it will be regarded as a new discoverer and continue to participate in the search process. In this way, the algorithm can gradually approach the optimal solution and eventually find a flexible soft switch location and capacity solution that meets the requirements.

[0113] Specifically, the position update of the discoverer introduced by levy flight is expressed as:

[0114]

[0115] in, represents the position of the i-th sparrow in the t-th generation in the d-th dimension, f g represents the optimal fitness of the current population, α represents a random number between [0,1], T represents the maximum number of iterations, L represents a unit vector, Γ represents a random number that obeys a standard normal distribution, L F represents the flight function, R2 represents the warning value, ST represents the safety value, γ represents the flight scale, β represents the flight coefficient of 1.5, μ and v represent normal distribution random numbers respectively.

[0116] Preferably, the flexible soft switch operation constraint, the flexible soft switch reactive constraint, the flexible soft switch capacity constraint and the power flow constraint are converted into a second-order cone optimization model through linearization and second-order cone relaxation, and then the second-order cone optimization model is solved by using the SOCP algorithm;

[0117] Preferably, the SOCP algorithm is used to solve the second-order cone optimization model as follows:

[0118]

[0119] ∑ i:i→j (P ij -R ij I′ ij )-P j =Σ l:j→l P jl

[0120] Σ i:i→j (Q ij -X ij I′ ij )-Q j =∑ l:j→l Q jl

[0121]

[0122] Among them, P i link , and Respectively represent the active power and reactive power output of ports i and j, i——>j means that node i is the upstream node of node j, U i and U j is the voltage between node i and node j, P ij , Q ij is the active and reactive power flowing from node i to node j, P j and Q j is the active and reactive power of the net load at node j, represents the converter capacity of different ports of the flexible soft switch, R ij and X ij is the resistance and reactance of the line between nodes i and j, P jL With Q jl represents the active power and reactive power flowing from node j to node l, I ij Indicates the current flowing through the line between node i and node j, I′ ij 、u i I ij and U i The square term of ;

[0123] Preferably, the branch current constraint and the node voltage constraint are also changed accordingly to:

[0124]

[0125] Among them, U i,max with U i,min Indicates the upper and lower limits of the node’s allowed voltage. Indicates the current limit allowed to flow through the branch;

[0126] Specifically, when optimizing the location and capacity of the flexible soft switch, in order to improve the solution efficiency and accuracy, the operation constraints, reactive power constraints, capacity constraints and power flow constraints of the flexible soft switch are preferably converted into a second-order cone optimization model through linearization and second-order cone relaxation;

[0127] This transformation process aims to simplify the originally complex nonlinear constraints into a more tractable convex optimization problem, so that it can be efficiently solved using the second-order cone programming (SOCP) algorithm. Specifically, the power flow equations of the flexible soft switch and the distribution network are first linearized, and the nonlinear constraints are transformed into the form of SOCP problems using the second-order cone relaxation technique. The squared terms of power, node voltage, branch current and other key variables are introduced into the flexible soft switch site selection and sizing planning model of the flexible distribution network in an appropriate manner to ensure that the model can accurately reflect the physical characteristics and constraints of the system.

[0128] It should be noted that the SOCP algorithm is used to solve the transformed second-order cone optimization model. This algorithm has the advantage of handling convex optimization problems and can improve the solution speed and efficiency while ensuring the global optimal solution. Through the SOCP algorithm, various constraints including flexible soft-switching converter capacity limitations, node voltage constraints, branch current constraints, etc. are effectively handled to obtain optimization results that meet system requirements.

[0129] S106: Calculate the objective function corresponding to the flexible soft switch site selection and capacity determination scheme to obtain the optimal flexible soft switch site selection and capacity determination scheme;

[0130] Preferably, the objective function value corresponding to the flexible soft switch site selection and capacity determination scheme is used as the fitness function value of the improved sparrow algorithm;

[0131] Preferably, if the fitness function value reaches a set threshold or the number of iterations reaches the maximum number of iterations of the improved sparrow algorithm, the optimal flexible soft switch location and capacity determination scheme is output;

[0132] It should be noted that in practical applications, when calculating the site selection and sizing scheme of flexible soft switches, it is necessary to set an appropriate fitness function threshold and number of iterations. The threshold is set according to the nature of the problem, computing resources and accuracy requirements, while the number of iterations takes into account the complexity of the problem and the convergence speed. Through continuous experiments and adjustments, the optimal settings are found to efficiently obtain the most optimal site selection and sizing scheme.

[0133] The above is a schematic scheme of a method for site selection and sizing of a flexible soft switch for a distribution network based on hybrid second-order cone programming in this embodiment. It should be noted that the technical scheme of the system for site selection and sizing of a flexible soft switch for a distribution network based on hybrid second-order cone programming and the technical scheme of the method for site selection and sizing of a flexible soft switch for a distribution network based on hybrid second-order cone programming belong to the same concept. For details not described in detail in the technical scheme of the system for site selection and sizing of a flexible soft switch for a distribution network based on hybrid second-order cone programming in this embodiment, please refer to the description of the technical scheme of the method for site selection and sizing of a flexible soft switch for a distribution network based on hybrid second-order cone programming.

[0134] In this embodiment, the distribution network flexible soft switch location and capacity determination system based on hybrid second-order cone programming includes:

[0135] A data acquisition module, used to acquire interconnected flexible distribution system data;

[0136] A model building module is used to establish a flexible soft switch site selection and capacity planning model for a flexible distribution network based on the interconnected flexible distribution system data and interconnected flexible distribution system constraints and taking the minimum daily comprehensive operating cost as the objective function;

[0137] The model solving module is used to solve and optimize the flexible soft switch location and capacity planning model of the flexible distribution network by combining the improved sparrow algorithm with the second-order cone programming to obtain the flexible soft switch location and capacity planning plan;

[0138] The optimal solution acquisition module is used to calculate the objective function corresponding to the flexible soft switch site selection and capacity determination plan, and obtain the optimal flexible soft switch site selection and capacity determination plan.

[0139] This embodiment further provides a computing device, which is applicable to the case of selecting a location and determining a capacity of a flexible soft switch in a distribution network based on a hybrid second-order cone programming, and includes:

[0140] Memory and processor; the memory is used to store computer executable instructions, and the processor is used to execute computer executable instructions to implement the distribution network flexible soft switch site selection and capacity determination method based on hybrid second-order cone programming as proposed in the above embodiment.

[0141] This embodiment also provides a storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for site selection and sizing of flexible soft switches in a distribution network based on hybrid second-order cone programming as proposed in the above embodiment.

[0142] The storage medium proposed in this embodiment and the method for implementing the site selection and sizing of flexible soft switches in a distribution network based on hybrid second-order cone programming proposed in the above embodiment belong to the same inventive concept. For technical details not described in detail in this embodiment, please refer to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0143] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ReadOnly, Memory, ROM), random access memory (Random Acc storage device Memory, RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform the methods of various embodiments of the present invention.

[0144] Example 2

[0145] Reference Figure 3-7 Table 1-3 is an embodiment of the present invention, which provides a method for site selection and sizing of flexible soft switches in distribution networks based on hybrid second-order cone programming. In order to verify its beneficial effects, comparison results of several schemes are provided.

[0146] For the embodiment of the present invention, the IEEE33 system network voltage level is set to 12.66 kV, the total active load is 3.715 MW, and the total reactive load is 2.3 Mvar;

[0147] Photovoltaic power generation systems are connected at nodes 12 and 25, and wind power generation systems are connected at nodes 14 and 29. Energy storage devices with different capacities are connected to nodes 18 (with an upper capacity limit of 1.8MW and a lower capacity limit of 0.18MW) and 33 (with an upper capacity limit of 1.0MW and a lower capacity limit of 0.1MW) respectively. At the same time, continuous reactive power compensation devices SVC and discrete reactive power compensation devices CB are configured at nodes 6, 16 and 32 according to system operation requirements.

[0148] The system time-of-use electricity price setting is shown in Table 1, where the loss coefficient of the flexible soft switch is 0.02, its operating unit price is set to 400 yuan / (MW·h), the energy storage charging and discharging efficiency is 0.9, and its operating unit price is 400 yuan / (MW·h);

[0149] Table 1 Daily power purchase price list of distribution network

[0150]

[0151] As shown in Table 1, Table 1 lists in detail the daily power purchase price of the power distribution network, and distinguishes according to time periods (peak, normal and valley), which reflects the real-time dynamics and flexibility of the power market; this time-of-use electricity price mechanism provides economic incentives for the optimized operation of the energy storage equipment and reactive power compensation equipment in the present invention, which helps to reduce system costs and improve overall energy efficiency;

[0152] In order to fully verify the effectiveness and practicability of the present invention in improving energy utilization efficiency and reducing system costs, relevant data are collected, as shown in Table 2 and Table 3;

[0153] Table 2 Results of flexible soft switch site selection, capacity determination and system cost optimization

[0154]

[0155]

[0156] Table 3 Operation loss of flexible distribution network

[0157]

[0158] Table 2 compares the results of flexible soft switch site selection and sizing and comprehensive costs under the three strategies of system non-interconnection, sparrow algorithm and improved sparrow algorithm. It can be seen from the table that by introducing flexible soft switches and optimizing their site selection and sizing, the improved sparrow algorithm strategy can significantly reduce the comprehensive cost compared with the system non-interconnection and sparrow algorithm strategies under the same number of iterations. This shows that the improved sparrow algorithm strategy not only improves the economy of the system, but also demonstrates the innovation and effectiveness of the present invention in strategy optimization.

[0159] Table 3 further shows the operating losses in three scenarios: system not interconnected, sparrow algorithm and improved sparrow algorithm. By comparing system loss, flexible soft switch loss and comprehensive loss, it can be seen that the improved sparrow algorithm strategy performs best in reducing system loss. This proves that the present invention can effectively reduce the operating loss of the distribution network and improve energy utilization efficiency by introducing flexible soft switches and optimization strategies.

[0160] In order to intuitively demonstrate the effects and advantages of the present invention, the test results are visualized, such as Figure 3-7 As shown, these charts cover many aspects, from distributed generation output, load changes to purchased power under optimized operation strategies and power transmission of flexible soft switches.

[0161] Figure 3The load data of each node in the IEEE33 node system within 24 hours and the output of distributed power sources (such as photovoltaic and wind power) are displayed. Figure X clearly reflects the supply and demand status of the system in different time periods, providing basic data for the optimized operation of the present invention. By reasonably scheduling the output of distributed power sources, the present invention can more effectively meet the load demand and reduce dependence on traditional power grids.

[0162] Figure 4 It represents the typical daily purchased power of the example system under the optimized operation of the IEEE33 node system with different strategies;

[0163] Strategy 1: The system operates without flexible soft switch interconnection;

[0164] Strategy 2: The system uses the original sparrow optimization algorithm to optimize the location and capacity of the flexible soft switch;

[0165] Strategy 3: The system optimizes the location and capacity of the flexible soft switch by using the improved sparrow optimization algorithm;

[0166] Figure 4 It is obvious that the system's purchased electricity power is reduced when the system is optimized by combining the improved sparrow optimization algorithm with the second-order cone programming. This shows that the optimization strategy of the present invention can significantly improve the economy of the system and reduce operating costs.

[0167] Figure 5 Indicates the active power transmission of the system running flexible soft switch. When the DG output is greater than the system load (such as 12:00-14:00), the excess can only be discarded or partially charged into the energy storage device, resulting in power waste. After the flexible soft switch is interconnected, the power is transmitted from the side close to the DG (node ​​8 in strategy 3) to the end far from the DG (node ​​33 in strategy 3) through the flexible soft switch.

[0168] Figure 6 The data performance of two different nodes (8 nodes in strategy 3 and 33 nodes in strategy 3) at different time intervals (10h, 15h, 20h, 30h) is shown. The initial value of 8 nodes in strategy 3 is 0.02, while the initial value of 33 nodes in strategy 3 is 0.015. Through the form of a bar chart, you can clearly see the data change trends of these two nodes at different time points.

[0169] The optimized results are as follows Figure 7 As shown, in summary, the present invention not only improves the operating efficiency and economic benefits of the power system, but also makes important contributions to the intelligentization and sustainable development of the power system.

[0170] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit the present invention. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.

Claims

1. A method for selecting and sizing flexible soft switches in distribution networks based on hybrid second-order cone programming, characterized in that: include: Obtaining interconnected flexible distribution system data; Based on the interconnected flexible distribution system data and interconnected flexible distribution system constraints, a flexible soft switch site selection and capacity planning model for the flexible distribution network is established with the minimum daily comprehensive operating cost as the objective function; The improved sparrow algorithm is combined with the second-order cone programming to solve and optimize the flexible soft switch location and capacity planning model of the flexible distribution network to obtain the flexible soft switch location and capacity plan; Calculate the objective function corresponding to the flexible soft switch site selection and capacity determination plan to obtain the optimal flexible soft switch site selection and capacity determination plan.

2. The method for selecting and sizing flexible soft switches in distribution networks based on hybrid second-order cone programming according to claim 1, characterized in that: The interconnected flexible distribution system constraints include flexible soft switch operation constraints, flexible soft switch reactive power constraints, flexible soft switch capacity constraints, power flow constraints, system voltage constraints, branch capacity constraints and energy storage equipment constraints.

3. The method for selecting and sizing flexible soft switches in a distribution network based on hybrid second-order cone programming according to claim 1 or 2, characterized in that: The objective function includes, The daily comprehensive operating cost includes the main grid output cost, operating loss cost and energy storage charging and discharging loss cost; The main grid output cost, operation loss cost and energy storage charging and discharging loss cost are expressed as: Among them, C pg is the main network output cost, C loss is the operating loss cost, C ESS is the energy storage charging and discharging loss cost, C gt represents the real-time electricity price of the distribution network, P gt Indicates the real-time power purchase of the system, C e is the system network loss compensation coefficient, C sop is the unit price of the flexible soft switch operating cost, N bus is the number of system network nodes, c(i) is the initial node set with node i as the initial node, P loss,i,t is the transmission power loss of the flexible soft switch port i at time t, I ij is the current flowing between the lines at nodes i and j, C ess represents the energy storage equipment cost coefficient, ψ ess Represents the installation location set of energy storage devices in the system, Represents the charging and discharging power of the energy storage device at node i at time t.

4. The method for selecting and sizing flexible soft switches in distribution network based on hybrid second-order cone programming according to claim 3, characterized in that: The improved sparrow algorithm is used to solve the flexible soft switch location and capacity planning model of the flexible distribution network, including: Initializing the parameters of the sparrow algorithm, determining the initial access position of the flexible soft switch, using the initial access position of the flexible soft switch as the decision variable of the improved sparrow algorithm and encoding it, and randomly generating a flexible soft switch site selection and capacity determination plan; The flexible soft switch connection ports are not repeated and the flexible soft switch ports cannot be connected to the head-end node of the distribution network; The Levy flight strategy is introduced in the iterative solution process of the sparrow algorithm, and the Levy flight term is added to the update of the flexible soft switch site selection and sizing scheme with a better objective function value, thereby increasing interference to the flexible soft switch site selection and sizing scheme.

5. The method for selecting and sizing the flexible soft switches in a distribution network based on hybrid second-order cone programming according to claim 4, characterized in that: The flexible soft switch location and capacity planning model of the flexible distribution network optimized by second-order cone programming includes: The flexible soft switch operation constraint, flexible soft switch reactive constraint, flexible soft switch capacity constraint and power flow constraint are converted into a second-order cone optimization model through linearization and second-order cone relaxation, and then the second-order cone optimization model is solved using the SOCP algorithm.

6. The method for selecting the location and sizing of flexible soft switches in a distribution network based on hybrid second-order cone programming according to claim 5, characterized in that: Also includes, The second-order cone optimization model is solved by SOCP algorithm as follows: ∑ i:i→j (P ij -R ij I’ ij )-P j =∑ l:j→l P jl ∑ i:i→j (Q ij -X ij I’ ij )-Q j =∑ l:j→l Q jl Among them, P i link , and Respectively represent the active power and reactive power output of ports i and j, i——>j means that node i is the upstream node of node j, U i and U j is the voltage between node i and node j, P ij , Q ij is the active and reactive power flowing from node i to node j, P j and Q j is the active and reactive power of the net load at node j, represents the converter capacity of different ports of the flexible soft switch, R ij and X ij is the resistance and reactance of the line between nodes i and j, P jl With Q jl represents the active power and reactive power flowing from node j to node l, I ij Indicates the current flowing through the line between node i and node j, I' ij 、u i I ij and U i The square term of .

7. The method for selecting the location and sizing of flexible soft switches in a distribution network based on hybrid second-order cone programming according to claim 4 or 6, characterized in that: The objective function corresponding to the flexible soft switch site selection and capacity determination scheme is calculated as follows: The objective function value corresponding to the flexible soft switch site selection and capacity determination scheme is used as the fitness function value of the improved sparrow algorithm; If the fitness function value reaches a set threshold or the number of iterations reaches a maximum number of iterations of the improved sparrow algorithm, the optimal flexible soft switch site selection and capacity determination scheme is output.

8. A system for flexible soft switch location and capacity determination in distribution network based on hybrid second-order cone programming, characterized in that: include, A data acquisition module, used to acquire interconnected flexible distribution system data; A model building module is used to establish a flexible soft switch site selection and capacity planning model for a flexible distribution network based on the interconnected flexible distribution system data and the interconnected flexible distribution system constraints and taking the minimum daily comprehensive operating cost as the objective function; A model solving module is used to solve and optimize the flexible soft switch location and capacity planning model of the flexible distribution network by combining the improved sparrow algorithm with the second-order cone programming to obtain a flexible soft switch location and capacity planning plan; The optimal solution acquisition module is used to calculate the objective function corresponding to the flexible soft switch site selection and capacity determination plan to obtain the optimal flexible soft switch site selection and capacity determination plan.

9. An electronic device, comprising: Memory and processor; The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the computer-executable instructions are executed by the processor, the steps of the method for site selection and sizing of flexible soft switches in a distribution network based on hybrid second-order cone programming are implemented as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the steps of the method for site selection and sizing of flexible soft switches in a distribution network based on hybrid second-order cone programming as described in any one of claims 1 to 7.

Citation Information

Cited By

  • Commutation equipment locating and sizing planning management system and method based on Internet of Things

    CN119648001A

  • Electronic flexible soft switch interface location selection and capacity configuration method and device

    CN120127646A

  • Energy storage type intelligent soft switch double-layer optimization site selection method based on improved whale algorithm and second-order cone programming cooperation

    CN121749274A

  • Method and system for locating and sizing interconnection device of flexible power distribution network

    CN121981581A

  • Locating and sizing method and system for medium-voltage flexible interconnection switch in power distribution network

    CN122154200A