Optimization construction method and optimization construction device for multi-type circuit switch

By constructing an optimized construction method for multiple types of circuit switches, the high cost problem caused by a single configuration of distribution network switches is solved. By introducing uncertainty variables and converting into a mixed integer model, intelligent soft switches and contact switches in the distribution network are realized. Coordinated configuration optimizes system operation and reduces costs.

CN118586164APending Publication Date: 2024-09-03GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 6 Cited by

Patent Information

Application Number
CN202410632286.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-20
Publication Date
2024-09-03

Smart Images

  • Figure CN118586164A
    Figure CN118586164A
Patent Text Reader

Abstract

The invention provides an optimization construction method and an optimization construction device for a multi-type circuit switch, and the method comprises the steps: determining an original configuration model corresponding to the multi-type circuit switch according to a condition parameter, carrying out the optimization of an initial objective function and an initial constraint condition, introducing an uncertainty variable, obtaining an optimization objective function and an optimization constraint condition, and carrying out the optimization of the optimization objective function and the optimization constraint condition. Updating the original configuration model according to the optimization objective function and the optimization constraint condition to obtain a distribution robust optimization model; performing linear equivalent conversion on constraint conditions in the distributed robust optimization model to obtain target constraint conditions, thereby updating the distributed robust optimization model to obtain a mixed integer joint configuration model; and solving the mixed integer joint configuration model to obtain a configuration scheme, and constructing and configuring the multi-type circuit switches according to the configuration scheme. According to the invention, the problem in the prior art that the total cost of planning and configuration is relatively high due to the fact that single configuration is carried out on the power distribution network switches and cooperative configuration of the multi-type switches is not considered is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of distribution network switch configuration, and in particular to an optimization construction method, an optimization construction device, a computer-readable storage medium and a computer program product for multiple types of circuit switches. Background Art

[0002] Although the large-scale distributed generation (DG) access to the distribution network has effectively improved the utilization rate of renewable energy, its volatility, intermittency, low controllability and other problems have brought huge challenges to the safe and reliable operation of the distribution network. In addition, the types of loads and various elements in the distribution system have increased, the source-load interaction has become more in-depth, and resources such as demand response and grid-side energy storage have enhanced the dispatching capacity of the distribution network. In this context, the intelligent soft switch (soft open point, SOP) is connected to the distribution system as a power electronic device. It can coordinate with the tie switch to change the traditional operation mode of the system and realize the continuous regulation of the power flow between feeders. It is of great significance to promote the consumption of new energy, improve the system operation level, and promote the realization of the dual carbon goals.

[0003] In response to the problem, scholars have conducted research on the planning methods of intelligent soft switches. Some scholars have built a planning model for SOP with the research goals of load balancing, network loss reduction and voltage quality improvement, and achieved the optimal configuration of SOP; considering the uncertainty of the output and energy consumption of distributed power sources and loads, some scholars have used interval optimization, typical day scenario construction and robust optimization to deal with the impact of source-load uncertainty on planning problems; and some scholars have established a joint planning model of SOP, DG and energy storage to reduce the risk of over-limit caused by excessive DG penetration.

[0004] Through the analysis of the above research, it can be found that the current planning problem of intelligent soft switches is mainly based on the separate planning of SOP or the joint planning of DG and grid-side energy storage. The configuration problem of joint switches in the current development stage of distribution networks is not considered. In some scenarios, joint switches can replace SOP and their planning costs are lower. In addition, the current research on source-load uncertainty is mostly based on stochastic optimization (SO) and robust optimization (RO). The former increases the computational complexity, and the latter leads to the conservatism of the solution. Summary of the invention

[0005] The main purpose of the present application is to provide an optimization construction method, an optimization construction device, a computer-readable storage medium and a computer program product for multiple types of circuit switches, so as to at least solve the problem in the prior art that a single configuration of distribution network switches is performed without considering the coordinated configuration of multiple types of switches, resulting in a high total planning configuration cost.

[0006] In order to achieve the purpose, according to one aspect of the present application, a method for optimizing the construction of multi-type circuit switches is provided, comprising:

[0007] Determine the original configuration model corresponding to the multi-type circuit switch according to the condition parameters, the condition parameters are the parameters of the initial objective function and the initial constraint conditions in the original configuration model, and the multi-type circuit switch includes at least an intelligent soft switch and a contact switch; optimize the initial objective function and the initial constraint conditions to introduce uncertainty variables, obtain the optimization objective function and the optimization constraint conditions, and update the original configuration model according to the optimization objective function and the optimization constraint conditions to obtain a distributed robust optimization model, the optimization constraint conditions include uncertainty constraints and deterministic constraints, and the uncertainty constraints are the optimization constraints that exist in the uncertainty variables in the constraint conditions; perform linear equivalent transformation on the constraints in the distributed robust optimization model to obtain target constraints, and update the distributed robust optimization model according to the target constraints and the objective function to obtain a mixed integer joint configuration model, the objective function is a function after processing the optimization objective function; solve the mixed integer joint configuration model to obtain a configuration scheme, and construct and configure the multi-type circuit switches according to the configuration scheme to achieve coordinated work between the multi-type circuit switches.

[0008] Optionally, determining original configuration models corresponding to multiple types of circuit switches according to condition parameters includes:

[0009] The initial objective function is determined by the minimum value of the comprehensive cost, and the comprehensive cost is the total cost of the total target investment cost of the distribution network and the simulated operation cost, including at least the target investment cost of the tie switch, the operation cost of the tie switch, the electricity sales revenue and the electricity purchase cost; the initial constraint conditions are determined according to the operation planning data, and the operation planning data at least include the operating active power loss of each of the multi-type circuit switches, the flow data of each transmission line in the distribution network, and the received photovoltaic output and transferable load power demand of each transmission node, and the initial constraint conditions include at least power balance constraints, wind and solar abandonment constraints, demand response constraints, flow constraints and intelligent soft switch operation constraints; the original configuration model is determined according to the initial objective function and the initial constraints. Optionally, the initial objective function and the initial constraints are optimized and uncertainty variables are introduced to obtain an optimized objective function and optimized constraints, including: optimizing the initial objective function according to the minimum value of a deterministic set and the maximum value of an uncertainty set based on a Wasserstein distance method to obtain the optimized objective function, the deterministic set is a set of data consisting of deterministic variables in the comprehensive cost, and the uncertainty set is a set of data consisting of uncertain variables in the comprehensive cost; optimizing the power balance constraints, the wind and solar power abandonment constraints, and the demand response constraints in the initial constraints based on the Wasserstein distance method and introducing the uncertain variables to obtain modified constraints; obtaining source-load actual output energy consumption constraints and fuzzy set constraints; generating the uncertainty constraints according to the source-load actual output energy consumption constraints, the fuzzy set constraints, and the modified constraints; generating the optimized constraints according to the uncertainty constraints and the deterministic constraints, and the deterministic constraints are the remaining initial constraints in the initial constraints without introducing the uncertainty variables. Optionally, the constraints in the distributionally robust optimization model are linearly equivalently transformed to obtain target constraints, including: using a convex relaxation method to transform the nonlinear constraints in the distributionally robust optimization model into second-order cone constraints to obtain corresponding linear constraints, wherein the nonlinear constraints include the flow constraints and the intelligent soft switch operation constraints; performing an equivalent transformation on the fuzzy set constraints to obtain equivalent fuzzy set constraints; generating the target constraints based on the linear constraints, the equivalent fuzzy set constraints and other constraints in the distributionally robust optimization model, wherein the other constraints are the constraints other than the nonlinear constraints and the fuzzy set constraints.

[0010] Optionally, after performing a linear equivalent transformation on the constraints in the distributed robust optimization model to obtain the target constraints, the method further includes: adjusting and updating the target constraints and the optimization objective function according to set function rules, wherein the set function rules are rules for organizing function expressions into a fixed form.

[0011] Optionally, before updating the distributed robust optimization model according to the objective constraints and the objective function to obtain the mixed integer joint configuration model, the method also includes: using the Lagrange dual method to convert the maximum value problem in the optimization objective function into a first minimum value problem, the maximum value problem is a problem that uses the maximum value of the uncertainty set as a solution target, and the first minimum value problem is a problem that uses the minimum value of the uncertainty set as a solution target; merging the first minimum value problem with the second minimum value problem to obtain the objective function, and the second minimum value problem is a problem that uses the minimum value of the deterministic set as a solution target.

[0012] Optionally, solving the mixed integer joint configuration model to obtain a configuration scheme includes: using a solver to solve the mixed integer joint configuration model and outputting solution data, wherein the solution data at least includes switch states corresponding to the multi-type circuit switches, operation data of the distribution network and source-load output energy data; screening the solution data according to the planning of the distribution network to obtain configuration data; and generating the configuration scheme according to the configuration data.

[0013] According to another aspect of the present application, an optimization construction device for multiple types of circuit switches is provided, the device comprising: a determination unit, which determines an original configuration model corresponding to the multiple types of circuit switches according to conditional parameters, the conditional parameters being parameters of an initial objective function and initial constraints in the original configuration model, the multiple types of circuit switches comprising at least an intelligent soft switch and a tie switch; a first updating unit, which optimizes the initial objective function and the initial constraints by introducing uncertainty variables to obtain an optimization objective function and optimization constraints, and updates the original configuration model according to the optimization objective function and the optimization constraints to obtain a distributed robust optimization model, the optimization constraints comprising uncertainty variables. Qualitative constraints and deterministic constraints, the uncertainty constraints are the optimization constraints that exist in the uncertainty variables; a second updating unit, which performs linear equivalent transformation on the constraints in the distributed robust optimization model to obtain target constraints, and updates the distributed robust optimization model according to the target constraints and the objective function to obtain a mixed integer joint configuration model, wherein the objective function is a function after processing the optimization objective function; a solving unit, which solves the mixed integer joint configuration model to obtain a configuration scheme, and constructs and configures the multiple types of circuit switches according to the configuration scheme to achieve coordinated work between the multiple types of circuit switches. According to another aspect of the present application, a computer-readable storage medium is provided, the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described.

[0014] According to another aspect of the present application, a computer program product is provided, comprising computer instructions, which implement any one of the methods described above when executed by a processor.

[0015] By applying the technical solution of the present application, in the optimization construction method of multiple types of circuit switches, first, the original configuration model corresponding to the multiple types of circuit switches is determined according to the condition parameters, the above-mentioned condition parameters are the parameters of the initial objective function and the initial constraint conditions in the above-mentioned original configuration model, and the above-mentioned multiple types of circuit switches at least include intelligent soft switches and tie switches; then, the above-mentioned initial objective function and the above-mentioned initial constraint conditions are optimized to introduce uncertainty variables to obtain the optimization objective function and the optimization constraint conditions, and the above-mentioned original configuration model is updated according to the above-mentioned optimization objective function and the above-mentioned optimization constraint conditions to obtain a distributed robust optimization model, and the above-mentioned optimization constraint conditions include uncertainty constraint conditions. The above uncertainty constraints are the above optimization constraints with the above uncertainty variables within the constraints; then, the constraints in the above distributed robust optimization model are linearly equivalently transformed to obtain the target constraints, and the above distributed robust optimization model is updated according to the above target constraints and the objective function to obtain a mixed integer joint configuration model, and the above objective function is a function after processing the above optimization objective function; finally, the above mixed integer joint configuration model is solved to obtain a configuration scheme, and the above multi-type circuit switches are constructed and configured according to the above configuration scheme to achieve coordinated work between the above multi-type circuit switches. This application constructs an initial planning model, namely the original configuration model, by considering issues such as distribution network expansion planning, network reconstruction, network storage regulation and demand response. In order to study the operational uncertainty of power users and distributed power sources, the uncertainty variables introduced into the original configuration model are updated to obtain a distributed robust optimization model. However, the distributed robust optimization model is a nonlinear model, which is difficult to solve and needs to be rewritten. Therefore, the constraints and objective functions in the distributed robust optimization model are processed and adjusted, and the distributed robust optimization model is converted into a mixed integer joint configuration model. Then, the existing solver is used to solve the mixed integer joint configuration model to obtain a configuration scheme, so as to configure the intelligent soft switches and interconnecting switches in multiple types of circuit switches according to the configuration scheme to coordinate the work. A method for collaborative configuration of multiple types of interconnecting switches considering random fluctuations in source and load is implemented, which optimizes the system operation level and reduces the total cost of planning configuration. This application solves the problem in the prior art that the distribution network switches are configured in a single manner without considering the collaborative configuration of multiple types of switches, resulting in a high total cost of planning configuration. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 A hardware structure block diagram of a mobile terminal for executing an optimization construction method for multiple types of circuit switches provided in an embodiment of the present application is shown;

[0017] Figure 2 A schematic flow chart of an optimization construction method for multiple types of circuit switches provided according to an embodiment of the present application is shown;

[0018] Figure 3 A diagram showing a solution process of a distributed robust optimization model provided according to an embodiment of the present application is shown;

[0019] Figure 4 A schematic diagram of a solution result of a mixed integer joint configuration model provided according to an embodiment of the present application is shown;

[0020] Figure 5 A schematic flow chart of a method for optimizing the construction of multiple types of circuit switches provided in accordance with an embodiment of the present application is shown;

[0021] Figure 6 A structural block diagram of an optimization construction device for multiple types of circuit switches provided according to an embodiment of the present application is shown.

[0022] The accompanying drawings include the following reference numerals:

[0023] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION

[0024] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims and drawings of the present application are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] For the convenience of description, some nouns or terms involved in the embodiments of the present application are explained below:

[0028] Smart soft switch: also known as smart flexible switch (Soft Open Point, referred to as SOP) is a power electronic device that can replace the traditional tie switch, access between the distribution network feeders, and realize the flexible interconnection of the distribution system.

[0029] As introduced in the background technology, the current planning problem of intelligent soft switches in the prior art is mainly based on the separate planning of SOP or the joint planning of DG and grid-side energy storage, without considering the configuration problem of joint switches in the current development stage of the distribution network. In some scenarios, joint switches can replace SOP and have lower planning costs. In order to solve the problem of high total planning and configuration costs due to a single configuration of distribution network switches without considering the coordinated configuration of multiple types of switches, the embodiments of the present application provide an optimization construction method, an optimization construction device, a computer-readable storage medium and a computer program product for multiple types of circuit switches.

[0030] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0031] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 1 is a hardware structure block diagram of a mobile terminal of an optimization construction method of multiple types of circuit switches according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.

[0032] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the display method of device information in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the implementation method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the mobile terminal via a network. Examples of networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. A specific example of a network may include a wireless network provided by a communication provider of a mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0033] In this embodiment, a method for optimizing the construction of multiple types of circuit switches running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0034] Figure 2 1 is a flow chart of an optimization construction method of multiple types of circuit switches according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0035] Step S201, determining the original configuration model corresponding to the multi-type circuit switch according to the condition parameters, the condition parameters are the parameters of the initial objective function and the initial constraint conditions in the original configuration model, and the multi-type circuit switch includes at least an intelligent soft switch and a tie switch.

[0036] Specifically, issues such as distribution network expansion planning, network reconstruction, grid storage regulation and demand response are considered, and a deterministic planning model, namely the original configuration model, is constructed with the minimum equivalent annual comprehensive cost during the planning period as the initial objective function and various constraints. The comprehensive cost includes the target investment cost and the simulated operation cost.

[0037] Step S202, optimize the initial objective function and initial constraints to introduce uncertain variables, obtain the optimized objective function and optimized constraints, and update the original configuration model according to the optimized objective function and optimized constraints to obtain a distributed robust optimization model. The optimized constraints include uncertain constraints and deterministic constraints. The uncertain constraints are optimization constraints with uncertain variables within the constraints.

[0038] Specifically, the operational uncertainty of power users and distributed power sources is studied, and the original configuration model is transformed, that is, the initial objective function and initial constraints are optimized by introducing uncertainty variables. Finally, a distributed robust optimization model based on Wasserstein distance is obtained. Uncertain variables are uncontrollable variables that change at any time during planning and operation.

[0039] Step S203, perform linear equivalent transformation on the constraints in the distributed robust optimization model to obtain target constraints, and update the distributed robust optimization model according to the target constraints and the objective function to obtain a mixed integer joint configuration model, where the objective function is a function obtained by processing the optimization objective function.

[0040] Specifically, the distributionally robust optimization model is a nonlinear model, which is difficult to solve and needs to be rewritten. The nonlinear constraints in the distributionally robust optimization model are rewritten into linear constraints, and some constraints are equivalently transformed to transform the distributionally robust optimization model into a mixed integer joint configuration model.

[0041] Step S204, solving the mixed integer joint configuration model to obtain a configuration scheme, and constructing and configuring the multiple types of circuit switches according to the configuration scheme to achieve coordinated work between the multiple types of circuit switches.

[0042] Specifically, to solve the mixed integer joint configuration model, mature commercial software can be used to achieve the overall solution and obtain a configuration plan, which can be configured according to the opening and closing states of multiple types of circuit switches. The configuration plan can also include the states and corresponding configurations of other equipment in the distribution network. The ultimate goal is to mobilize the regulatory capabilities of different resources to achieve coordinated configuration of multiple types of interconnecting switches taking into account random fluctuations in sources and loads, optimize the system operation level and reduce the total cost of planning and configuration.

[0043] In this embodiment, by considering issues such as distribution network expansion planning, network reconstruction, network storage regulation and demand response, an initial planning model, namely the original configuration model, is constructed. In order to study the operational uncertainty of power users and distributed power sources, uncertainty variables are introduced into the original configuration model and then the original configuration model is updated to obtain a distributed robust optimization model. The distributed robust optimization model is a nonlinear model, which is difficult to solve and needs to be rewritten. Therefore, the constraints and objective functions in the distributed robust optimization model are processed and adjusted, and the distributed robust optimization model is converted into a mixed integer joint configuration model. Then, the existing solver is used to solve the mixed integer joint configuration model to obtain a configuration scheme, so as to configure the intelligent soft switches and interconnecting switches in multiple types of circuit switches according to the configuration scheme to coordinate the work. A method for collaborative configuration of multiple types of interconnecting switches considering random fluctuations in source and load is implemented, which optimizes the system operation level and reduces the total cost of planning configuration. The present application solves the problem in the prior art that the distribution network switches are configured in a single manner without considering the collaborative configuration of multiple types of switches, resulting in a high total cost of planning configuration.

[0044] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the optimization construction method of multiple types of circuit switches of the present application will be described in detail below in combination with specific embodiments.

[0045] In order to comprehensively consider the influence of different resources and improve the collaborative working efficiency of multiple types of circuit switches, in an optional implementation, step S201 includes:

[0046] Step S2011, determining the initial objective function with the minimum value of the comprehensive cost, the comprehensive cost is the total cost of the total target investment cost and the simulated operation cost of the distribution network, including at least the target investment cost of the tie switch, the operation cost of the tie switch, the electricity sales income and the electricity purchase cost;

[0047] Step S2012, determining initial constraints according to the operation planning data, the operation planning data at least including the operation active power loss of each multi-type circuit switch, the power flow data of each transmission line in the distribution network, and the received photovoltaic output and transferable load power demand of each transmission node, and the initial constraints at least including power balance constraints, wind and solar power abandonment constraints, demand response constraints, power flow constraints and intelligent soft switch operation constraints;

[0048] Step S2013, determining the original configuration model according to the initial objective function and the initial constraint conditions.

[0049] In the embodiment, the objective function is to minimize the annual comprehensive cost (i.e., comprehensive cost) of equivalent value within the planning period, and the expression of the initial objective function is: Where C is the comprehensive cost, including the target investment cost of the intelligent soft switch Target investment cost of tie switch Target cost of line expansion Operation and maintenance costs of intelligent soft switches Operation cost of tie switch Energy storage operation and maintenance costs Demand response cost C DR , loss cost C loss , the cost of purchasing electricity from the upper power grid (i.e. the cost of purchasing electricity) C buy and electricity sales revenue C sell The mathematical expressions of various costs are as follows: The target investment cost of intelligent soft switch Among them, τ x represents the annual value coefficient of equipment x, r is the discount rate, b is the service life of equipment x, and x is the equipment type, including intelligent soft switch (SOP), tie switch and line, which correspond to τ sop , τ switch , τ line ,Ψ SOP represents the candidate set of SOP construction locations, represents the SOP capacity between access line nodes ij, c SOP Indicates the unit capacity construction cost of SOP. Target investment cost of tie switch Among them, Switch represents the candidate set of tie switch construction locations, c switch represents the construction cost of a single tie switch, It is a 0-1 variable. If it is 1, it means there is a tie switch between nodes ij. Target cost of line expansion Among them, line represents the candidate set of line construction locations, c line represents the construction cost per unit length of line, It is a 0-1 variable. If it is 1, it means that there is a connected line between nodes ij. The target line length of the expansion plan is L ij . Operation and maintenance costs of intelligent soft switches Among them, λ sop is the annual operation and maintenance cost coefficient of SOP. Among them, λ switch is the annual operation and maintenance cost coefficient of the tie switch, Indicates the on / off state of the tie switch between nodes ij at time t, 0 means open and 1 means closed. Energy storage operation and maintenance cost Among them, ess Indicates the access location of the energy storage, set and are the energy storage capacity, charging power and discharging power of node i at time t, respectively. are the loss coefficients during energy storage charging and discharging, represents the operating cost per unit capacity of energy storage, Indicates the operating cost per unit of power of energy storage. Demand response cost is the demand response reduction amount of the load connected to node i at time t, Ψ load is the set of load access locations, c DR Demand response incentive unit price. Loss cost in, represents the square of the current between branches ij at time t, r ij represents the resistance between branches ij at time t, Ψ b represents a branch set, It represents the power loss of the SOP port connected to node i at time t. in, represents the load power demand of node i at time t, represents the output of the photovoltaic power connected to node i at time t, represents the reduction of the photovoltaic power connected to node i at time t, Ψ node represents a node set, c buy Indicates the unit price of electricity purchased from the upper power grid. Among them, c sell This is the unit price for selling electricity to users. The meanings of the other parameters involved are the same as those of the other fees in the comprehensive fees, and will not be repeated here.

[0050] The initial constraints of the original configuration model are considered from many aspects to obtain multiple constraints, including ① line new construction status constraints: For 0-1 variables If it is 1, it means that the line between nodes ij is expanded, otherwise it is not expanded. The candidate position set for line expansion is Ψ line ;②SOP installation location and capacity constraints: in, is a non-negative integer variable, indicating the number of SOP units installed between nodes ij. is the maximum number of SOP units installed, is the unit SOP capacity, the total SOP capacity For unit SOP capacity Times; ③Constraints on the installation position of the contact switch: ij∈Ψ switch , used for 0-1 variables A constraint is imposed. If it is 1, it means that a tie switch is built between nodes ij, otherwise it is not built. The candidate location set for tie switch construction is Ψ switch ④ Network topology constraints: The first constraint means that the lines, tie switches and SOPs are not built repeatedly, and the second constraint is β ij,t It is a 0-1 variable, indicating the connection relationship between the parent node and the child node. It takes 1 when node i is the parent node of node j, otherwise it takes 0. and They represent the on / off status of the line between nodes ij at time t. When it is equal to 1, it means it is connected, and when it is equal to 0, it means it is disconnected. The meaning of the third and fourth constraints is that the substation has no parent node, and the other nodes have only one parent node. sta is the substation node set; ⑤ flow constraints: Among them, P ij,t and Q ij,t are the active power and reactive power on branch ij at time t, I′ ki,t is the square of the current in branch ki at time t, V i,t is the square of the voltage of node i at time t, κ(i) and ρ(i) represent the child node set and parent node set of node i respectively; ⑥ Power balance constraint: in, and is the injected active power and injected reactive power of node i at time t, and are the active power and reactive power injected into the substation respectively; ⑦ Consider the voltage drop constraint of network reconstruction: Where M is an infinite number. If the network reconstruction causes the original line to be disconnected, the voltage drop between the two nodes will be greater than or equal to negative infinity and less than or equal to positive infinity. It is an arbitrary number. Otherwise, the voltage drop meets the conventional voltage constraint. ij is the resistance of branch ij, x ij is the reactance value of branch ij;⑧Node voltage constraint condition: i∈Ψ node ,in, and are the minimum and maximum voltage of node i respectively; ⑨ Branch current constraint conditions: in, is the maximum current of branch ij. The branch current constraint means that if the branch is connected, the current satisfies the normal constraint, otherwise the current is 0; ⑩ SOP operation constraint: in and They represent the active power flowing into SOP from node i and node j at time t respectively. If they are negative, they represent the outflow active power. represents the power loss caused by the flow of SOP from node i to or from node i at time t, and They represent the reactive power flowing into SOP from node i and node j at time t. If they are negative, they represent the outflow reactive power. sop is the loss coefficient of SOP, represents the capacity of the SOP accessed between nodes i and j; Energy storage operation constraints: in, and are the maximum charging power and the maximum discharging power of the energy storage, respectively. and They are the battery loss coefficient, charging loss coefficient and discharging loss coefficient of energy storage, is the upper limit of energy storage capacity; Network reconstruction constraints: in, and They represent the on / off status of the line between nodes ij at time t. When it is equal to 1, it means it is connected, and when it is equal to 0, it means it is disconnected. node and N sta are the number of nodes and substations, respectively; Tie switch operation times constraints: in, The maximum number of times the tie switch operates within a cycle. In order to reduce the switching loss caused by multiple reconstructions, the number of times the tie switch operates needs to be limited. Wind and solar curtailment constraints: in, The maximum reduction ratio for new energy is represents the output of the photovoltaic power connected to node i at time t and represents the reduction amount of photovoltaic connected to node i at time t; Demand response constraints: in, is the transferable load power demand of node i at time t, is the load power demand that can be reduced at node i at time t, is the load that can be transferred to node i at time t, is the demand response amount that node i can reduce load at time t, η dr is the demand response contract ratio. The original configuration model is generated according to the initial objective function and initial constraints. The original configuration model is as follows Figure 3The deterministic multi-type interconnecting switch collaborative planning model shown in the figure has constraints including planning-related constraints and operation-related constraints. The planning-related constraints include new line status constraints, SOP installation location and capacity constraints, interconnecting switch installation location constraints and network topology constraints. The operation-related constraints include power flow constraints, power balance constraints, voltage drop constraints considering network reconstruction, node voltage constraints, branch current constraints, SOP operation constraints, energy storage operation constraints, network reconstruction constraints, interconnecting switch action times constraints, wind and solar power abandonment constraints and demand response constraints.

[0051] In order to optimize the system operation level by considering the uncertainty of source and load, in an optional implementation, step S202 includes:

[0052] Step S2021, optimizing the initial objective function according to the minimum value of the deterministic set and the maximum value of the uncertainty set based on the Wasserstein distance method to obtain an optimized objective function, wherein the deterministic set is a set of data consisting of deterministic variables in the comprehensive cost, and the uncertainty set is a set of data consisting of uncertain variables in the comprehensive cost;

[0053] Step S2022, based on the Wasserstein distance method, the power balance constraint condition, the wind and solar power abandonment constraint condition and the demand response constraint condition in the initial constraint condition are optimized by introducing uncertain variables to obtain modified constraint conditions;

[0054] Step S2023, obtaining the actual output energy consumption constraint conditions and fuzzy set constraint conditions of the source and load;

[0055] Step S2024, generating uncertainty constraints according to the actual output energy constraints of the source and load, the fuzzy set constraints and the modified constraints;

[0056] Step S2025, generating optimization constraints according to the uncertainty constraints and the deterministic constraints, wherein the deterministic constraints are the remaining initial constraints without introducing uncertainty variables in the initial constraints.

[0057] In the embodiment, the uncertainty of power users and distributed power sources is studied based on the wasserstein distance to construct a distributed robust optimization model taking uncertainty into account, and the initial objective function is optimized to introduce uncertainty variables to obtain an objective function taking uncertainty into account, that is, an optimization objective function. The specific expression of the optimization objective function is: Y represents the set of deterministic variables such as the planned location and capacity of the SOP, the planned location of the tie switch, etc. The deterministic variables include the target investment cost of the intelligent soft switch Target investment cost of tie switch Target cost of line expansion Operation and maintenance costs of intelligent soft switches Operation cost of tie switch Energy storage operation and maintenance costs Demand response cost C DR , loss cost C loss , B is the set of deviations between the actual distribution of the energy consumption of the source load connected to each node and the reference distribution, which is an uncertainty variable. The uncertainty variable includes the cost of purchasing electricity from the upper power grid (i.e., the cost of purchasing electricity) C buy and electricity sales revenue C sell Since the initial objective function is optimized by using the Wasserstein distance, the introduction of uncertain variables leads to the existence of uncertain variables in the optimization objective function. buy and electricity sales revenue C sell The specific expression of has changed as follows in, and are the real value of the load energy consumption and the real value of the distributed generation output of node i at time t. There are only some uncertain variables in the constraints, namely, the uncertainty constraints. Therefore, it is only necessary to rewrite the uncertainty constraints and add fuzzy set constraints and the real output energy consumption constraints of the source and load. The specific expression of the real output energy consumption constraints of the source and load is: in, and is the actual output energy coefficient of the source load at time t when sample l is used as the reference, is the distributed generation output coefficient of the source load at time t when sample l is used as the reference, is the load energy coefficient of the source load at time t when sample l is used as the reference, is the actual distributed power output of the source load at node i at time t when sample l is used as the reference, is the actual load energy consumption at node i when sample l is used as reference, It represents the deviation of the load energy consumption coefficient at time t and the reference coefficient. represents the deviation between the output coefficient of the distributed generation at time t and the reference coefficient; the fuzzy set constraint condition is in, for The Dirac function of for The Dirac function of and is the output energy coefficient of the source load at time t when sample l is used as the reference, is the historical observation data, and d w(·) indicates the wasserstein distance, ξ dg , load To follow the true distribution and The set of random variables, Denotes dξ dg and The joint probability distribution of Denotes dξ load and The joint probability distribution of Represents the reference distribution Centered on ε dg is the wasserstein sphere with radius Similarly; Γ dg To support All value spaces of Γ load To support All value spaces of . The uncertainty constraints are optimized. The uncertainty constraints include power balance constraints, wind and solar curtailment constraints, and demand response constraints. The mathematical expression of the power balance constraint after optimization is: The mathematical expression after optimization of wind and solar curtailment constraint conditions is: The mathematical expression after optimization of demand response constraints is: The modified constraints are obtained according to the optimized mathematical expressions of power balance constraints, wind and solar power abandonment constraints and demand response constraints. Finally, the uncertainty constraints are generated according to the actual output energy constraints of sources and loads, fuzzy set constraints and modified constraints. The uncertainty constraints and deterministic constraints constitute the final optimization constraints.

[0058] In order to improve the solution efficiency, in an optional implementation manner, step S203 includes:

[0059] Step S2031, using a convex relaxation method to convert the nonlinear constraints in the distributed robust optimization model into second-order cone constraints to obtain corresponding linear constraints, where the nonlinear constraints include power flow constraints and intelligent soft switch operation constraints;

[0060] Step S2032, performing equivalent transformation on the fuzzy set constraint conditions to obtain equivalent fuzzy set constraint conditions;

[0061] Step S2033, generating target constraints according to linear constraints, equivalent fuzzy set constraints and other constraints in the distributional robust optimization model, where the other constraints are constraints other than nonlinear constraints and fuzzy set constraints.

[0062] In the embodiment, since the distributed robust optimization model is a nonlinear model, it is difficult to solve and needs to be rewritten. First, the nonlinear constraints in the distributed robust optimization model are converted into second-order cone constraints using the convex relaxation method, and the fuzzy set constraints are equivalently transformed. The nonlinear constraints are rewritten into second-order cone constraints using the convex relaxation method. The original constraints of the power flow constraints are After convex relaxation, it can be rewritten as ||[2P ij,t 2Q ij,t I′ ij,t -V i,t ] T ||2≤I′ ij,t +V i,t , the original constraints of the intelligent soft switch operation constraints are After convex relaxation, it can be rewritten as The second-order cone constraints obtained by rewriting the power flow constraints and intelligent soft switch operation constraints through convex relaxation are linear constraints. The equivalent fuzzy set constraints after equivalent transformation are: Finally, the target constraints are generated according to the linear constraints, equivalent fuzzy set constraints and other constraints in the distributional robust optimization model.

[0063] In order to make the function expression clearer and improve the efficiency and accuracy of the solution, in an optional implementation manner, after step S203, the method further includes:

[0064] Step S301, adjusting and updating the target constraint conditions and the optimization target function according to the set function rule, wherein the set function rule is a rule for arranging the function expression into a fixed form.

[0065] In the embodiment, there are objective functions and constraints related to uncertain variables in the mixed integer joint configuration model, which need to be organized into the form of setting rules before duality, such as Among them, F is the price coefficient matrix of the objective function in the mixed integer joint configuration model, x is the variable to be decided, J1 and G1 are the first coefficient matrices of equality constraints and inequality constraints, these two matrices are multiplied with the variable to be decided x and do not contain the uncertainty variables of DG and load, J2 and G2 are the second coefficient matrices of equality constraints and inequality constraints, these two matrices are multiplied with the variable to be decided x and contain the uncertainty variables of DG and load, J3 and G3 are the constant term matrices of equality constraints and inequality constraints, π l,t , μ l,t and χ t are the Lagrange dual multipliers of equality constraints, inequality constraints and Wasserstein's fuzzy set constraints respectively.

[0066] The objective function for the mixed integer joint configuration model is as follows after being rearranged:

[0067]

[0068] C1 represents the cost that is not related to the uncertainty variables. The constraints related to the uncertainty variables include equivalent fuzzy set constraints, source-load real output energy constraints, power balance constraints, wind and solar curtailment constraints, and demand response constraints. The remaining constraints do not need to be organized in the form of set rules. After the constraints containing uncertainty variables are organized in the form of set rules, they are as follows:

[0069] In order to simplify the problem and improve the stability of the solution, in an optional implementation manner, before step S203, the method further includes:

[0070] Step S401, using the Lagrange dual method to transform the maximum value problem in the optimization objective function into the first minimum value problem, the maximum value problem is a problem that uses the maximum value of the uncertainty set as the solution target, and the first minimum value problem is a problem that uses the minimum value of the uncertainty set as the solution target;

[0071] Step S401, combining the first minimum value problem and the second minimum value problem to obtain an objective function, wherein the second minimum value problem is a problem for solving a target by taking the minimum value of a deterministic set as a solution.

[0072] In the embodiment, the Lagrange dual method is used to transform the max problem (i.e., the maximum value problem) representing the worst case into a min problem (i.e., the first minimum value problem), and merge it with the outer min problem (i.e., the second minimum problem). After dualization and merging, the optimization objective function becomes the following form:

[0073]

[0074] The transformation derivation process is as follows:

[0075]

[0076] It should be noted that after the optimization objective function is transformed, since the transformed distributionally robust optimization model contains bilinear terms, the McCormick relaxation method is used to rewrite the bilinear terms in the distributionally robust optimization model to update the distributionally robust optimization model to a linear model, namely, the mixed integer joint configuration model. The conversion formula of the McCormick relaxation method is as follows: Among them, for the bilinear term zy, a new variable w is added to replace the original zy, and constraints are added to constrain the value range of w.

[0077] In order to fully mobilize various types of adjustable resources in the power distribution system, in an optional implementation, step S204 includes:

[0078] Step S2041, using a solver to solve the mixed integer joint configuration model, and outputting solution data, the solution data at least including switch states corresponding to multiple types of circuit switches, operation data of the distribution network, and source-load output energy data;

[0079] Step S2042, filtering the solution data according to the planning of the distribution network to obtain configuration data;

[0080] Step S2043: Generate a configuration plan according to the configuration data.

[0081] In the embodiment, the CPLEX solver is used to solve the problem, and the collaborative planning results of multiple types of circuit switches can be obtained as follows: Figure 4 As shown in the figure, the data is screened according to the collaborative planning results and the simulation operation at this time, and the uncertainty of source and load and line expansion planning are considered to obtain a collaborative configuration scheme of multiple types of tie switches. According to the actual configuration scheme, various types of adjustable resources of the distribution system can be fully mobilized to realize the collaborative planning of SOP and tie switches and the expansion planning of lines, reduce planning costs, and improve the operation level of the system. Of course, including but not limited to CPLEX solver.

[0082] This embodiment relates to a specific optimization construction method of multiple types of circuit switches, such as Figure 5 As shown, the following steps are included:

[0083] Step S1: Taking the minimum value of the equivalent annual comprehensive cost during the construction period as the objective function, and the constraints in the planning process and the simulation operation process, namely, the planning-related constraints and the operation-related constraints, a deterministic multi-type circuit switch collaborative configuration model, namely, the original configuration model, is established according to the objective function and the constraints;

[0084] Step S2: Study the operational uncertainty of power users and distributed generation, also known as source-load uncertainty, optimize the original configuration model, and construct a distributed robust optimization model based on Wasserstein distance;

[0085] Step S3: linearly transform the nonlinear constraints in the distributed robust optimization model into second-order cone constraints, and perform equivalent constraints on the Wasserstein fuzzy set constraints in the distributed robust optimization model. Since some parameters of the Wasserstein fuzzy set constraints are difficult to solve, equivalent transformation is performed to facilitate the solution.

[0086] Step S4: performing dual merging processing on the objective function in the distributed robust optimization model to obtain a processed objective function;

[0087] Step S5: There are still bilinear terms in the distributed robust optimization model. The McCormick relaxation method is used to process the bilinear terms. Finally, the processed distributed robust optimization model is updated to a mixed integer second-order cone configuration model, namely, a mixed integer joint configuration model. The mixed integer joint configuration model can be solved by a solver.

[0088] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0089] The embodiment of the present application also provides an optimized construction device for multiple types of circuit switches. It should be noted that the optimized construction device for multiple types of circuit switches in the embodiment of the present application can be used to execute the optimized construction method for multiple types of circuit switches provided in the embodiment of the present application. The device is used to implement the embodiments and preferred implementations, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0090] The following is an introduction to the optimization construction device of multiple types of circuit switches provided in the embodiments of the present application.

[0091] Figure 6 is a structural block diagram of an optimization construction device for multiple types of circuit switches according to an embodiment of the present application. Figure 6 As shown, the device comprises:

[0092] The determination unit 10 is used to determine the original configuration model corresponding to the multi-type circuit switch according to the condition parameters, the condition parameters are the parameters of the initial objective function and the initial constraint conditions in the original configuration model, and the multi-type circuit switch includes at least an intelligent soft switch and a tie switch.

[0093] Specifically, issues such as distribution network expansion planning, network reconstruction, grid storage regulation and demand response are considered, and a deterministic planning model, namely the original configuration model, is constructed with the minimum equivalent annual comprehensive cost during the planning period as the initial objective function and various constraints. The comprehensive cost includes the target investment cost and the simulated operation cost.

[0094] The first updating unit 20 is used to optimize the initial objective function and the initial constraints and introduce uncertain variables to obtain the optimized objective function and the optimized constraints, and update the original configuration model according to the optimized objective function and the optimized constraints to obtain a distributed robust optimization model. The optimized constraints include uncertain constraints and deterministic constraints. The uncertain constraints are optimization constraints with uncertain variables within the constraints.

[0095] Specifically, the operational uncertainty of power users and distributed power sources is studied, and the original configuration model is transformed, that is, the initial objective function and initial constraints are optimized by introducing uncertainty variables. Finally, a distributed robust optimization model based on Wasserstein distance is obtained. Uncertain variables are uncontrollable variables that change at any time during planning and operation.

[0096] The second updating unit 30 is used to perform linear equivalent transformation on the constraints in the distributed robust optimization model to obtain target constraints, and to update the distributed robust optimization model according to the target constraints and the objective function to obtain a mixed integer joint configuration model, wherein the objective function is a function obtained by processing the optimization objective function.

[0097] Specifically, the distributionally robust optimization model is a nonlinear model, which is difficult to solve and needs to be rewritten. The nonlinear constraints in the distributionally robust optimization model are rewritten into linear constraints, and some constraints are equivalently transformed to transform the distributionally robust optimization model into a mixed integer joint configuration model.

[0098] The solving unit 40 is used to solve the mixed integer joint configuration model to obtain a configuration scheme, and to construct and configure multiple types of circuit switches according to the configuration scheme to achieve coordinated work between the multiple types of circuit switches.

[0099] Specifically, to solve the mixed integer joint configuration model, mature commercial software can be used to achieve the overall solution and obtain a configuration plan, which can be configured according to the opening and closing states of multiple types of circuit switches. The configuration plan can also include the states and corresponding configurations of other equipment in the distribution network. The ultimate goal is to mobilize the regulatory capabilities of different resources to achieve coordinated configuration of multiple types of interconnecting switches taking into account random fluctuations in sources and loads, optimize the system operation level and reduce the total cost of planning and configuration.

[0100] In this embodiment, by considering issues such as distribution network expansion planning, network reconstruction, network storage regulation and demand response, an initial planning model, namely the original configuration model, is constructed. In order to study the operational uncertainty of power users and distributed power sources, uncertainty variables are introduced into the original configuration model and then the original configuration model is updated to obtain a distributed robust optimization model. The distributed robust optimization model is a nonlinear model, which is difficult to solve and needs to be rewritten. Therefore, the constraints and objective functions in the distributed robust optimization model are processed and adjusted, and the distributed robust optimization model is converted into a mixed integer joint configuration model. Then, the existing solver is used to solve the mixed integer joint configuration model to obtain a configuration scheme, so as to configure the intelligent soft switches and interconnecting switches in multiple types of circuit switches according to the configuration scheme to coordinate the work. A method for collaborative configuration of multiple types of interconnecting switches considering random fluctuations in source and load is implemented, which optimizes the system operation level and reduces the total cost of planning configuration. The present application solves the problem in the prior art that the distribution network switches are configured in a single manner without considering the collaborative configuration of multiple types of switches, resulting in a high total cost of planning configuration.

[0101] In order to comprehensively consider the influence of different resources and improve the collaborative working efficiency of multiple types of circuit switches, in an optional implementation manner, the determining unit includes:

[0102] The first determination module determines the initial objective function by the minimum value of the comprehensive cost, where the comprehensive cost is the total target investment cost of the distribution network and the total cost of the simulated operation cost, including at least the target investment cost of the tie switch, the operation cost of the tie switch, the electricity sales income and the electricity purchase cost;

[0103] The second determination module determines the initial constraints according to the operation planning data, the operation planning data at least includes the operation active power loss of each multi-type circuit switch, the power flow data of each transmission line in the distribution network, and the received photovoltaic output and transferable load power demand of each transmission node, and the initial constraints at least include power balance constraints, wind and solar abandonment constraints, demand response constraints, power flow constraints and intelligent soft switch operation constraints;

[0104] The third determination module determines the original configuration model according to the initial objective function and the initial constraint conditions.

[0105] In the embodiment, the objective function is to minimize the annual comprehensive cost (i.e., comprehensive cost) of equivalent value within the planning period, and the expression of the initial objective function is: Where C is the comprehensive cost, including the target investment cost of the intelligent soft switch Target investment cost of tie switch Target cost of line expansion Operation and maintenance costs of intelligent soft switches Operation cost of tie switch Energy storage operation and maintenance costs Demand response cost C DR , loss cost C loss , the cost of purchasing electricity from the upper power grid (i.e. the cost of purchasing electricity) C buy and electricity sales revenue C sell The mathematical expressions of various costs are as follows: The target investment cost of intelligent soft switch Among them, τ x represents the annual value coefficient of equipment x, r is the discount rate, b is the service life of equipment x, and x is the equipment type, including intelligent soft switch (SOP), tie switch and line, which correspond to τ sop , τ switch , τ line ,Ψ SOP represents the candidate set of SOP construction locations, represents the SOP capacity between access line nodes ij, c SOP Indicates the unit capacity construction cost of SOP. Target investment cost of tie switch Among them, Switch represents the candidate set of tie switch construction locations, c switch represents the construction cost of a single tie switch, It is a 0-1 variable. If it is 1, it means there is a tie switch between nodes ij. Target cost of line expansion Among them, line represents the candidate set of line construction locations, c line represents the construction cost per unit length of line, It is a 0-1 variable. If it is 1, it means that there is a connected line between nodes ij. The target line length of the expansion plan is L ij . Operation and maintenance costs of intelligent soft switches Among them, λ sop is the annual operation and maintenance cost coefficient of SOP. Among them, λ switch is the annual operation and maintenance cost coefficient of the tie switch, Indicates the on / off state of the tie switch between nodes ij at time t, 0 means open and 1 means closed. Energy storage operation and maintenance cost Among them, ess Indicates the access location of the energy storage, set and are the energy storage capacity, charging power and discharging power of node i at time t, respectively. are the loss coefficients during energy storage charging and discharging, represents the operating cost per unit capacity of energy storage, Indicates the operating cost per unit of power of energy storage. Demand response cost is the demand response reduction amount of the load connected to node i at time t, Ψ load is the set of load access locations, c DR Demand response incentive unit price. Loss cost in, represents the square of the current between branches ij at time t, r ij represents the resistance between branches ij at time t, Ψ b represents a branch set, It represents the power loss of the SOP port connected to node i at time t. in, represents the load power demand of node i at time t, represents the output of the photovoltaic power connected to node i at time t, represents the reduction of the photovoltaic power connected to node i at time t, Ψ node represents a node set, c buy Indicates the unit price of electricity purchased from the upper power grid. Among them, c sell This is the unit price for selling electricity to users. The meanings of the other parameters involved are the same as those of the other fees in the comprehensive fees, and will not be repeated here.

[0106] The initial constraints of the original configuration model are considered from many aspects to obtain multiple constraints, including ① line new construction status constraints: For 0-1 variables If it is 1, it means that the line between nodes ij is expanded, otherwise it is not expanded. The candidate position set for line expansion is Ψ line ;②SOP installation location and capacity constraints: in, is a non-negative integer variable, indicating the number of SOP units installed between nodes ij. is the maximum number of SOP units installed, is the unit SOP capacity, the total SOP capacity For unit SOP capacity Times; ③Constraints on the installation position of the contact switch: ij∈Ψ switch , used for 0-1 variables A constraint is imposed. If it is 1, it means that a tie switch is built between nodes ij, otherwise it is not built. The candidate location set for tie switch construction is Ψ switch ④ Network topology constraints: The first constraint means that the lines, tie switches and SOPs are not built repeatedly, and the second constraint is β ij,tIt is a 0-1 variable, indicating the connection relationship between the parent node and the child node. It takes 1 when node i is the parent node of node j, otherwise it takes 0. and They represent the on / off status of the line between nodes ij at time t. When it is equal to 1, it means it is connected, and when it is equal to 0, it means it is disconnected. The meaning of the third and fourth constraints is that the substation has no parent node, and the other nodes have only one parent node. sta is the substation node set; ⑤ flow constraints: Among them, P ij,t and Q iij,t are the active power and reactive power on branch ij at time t, I′ ki,t is the square of the current in branch ki at time t, V i,t is the square of the voltage of node i at time t, κ(i) and ρ(i) represent the child node set and parent node set of node i respectively; ⑥ Power balance constraint: in, and is the injected active power and injected reactive power of node i at time t, and are the active power and reactive power injected into the substation respectively; ⑦ Consider the voltage drop constraint of network reconstruction: Where M is an infinite number. If the network reconstruction causes the original line to be disconnected, the voltage drop between the two nodes will be greater than or equal to negative infinity and less than or equal to positive infinity. It is an arbitrary number. Otherwise, the voltage drop meets the conventional voltage constraint. ij is the resistance of branch ij, x ij is the reactance value of branch ij;⑧Node voltage constraint condition: i∈Ψ node ,in, and are the minimum and maximum voltage of node i respectively; ⑨ Branch current constraint conditions: in, is the maximum current of branch ij. The branch current constraint means that if the branch is connected, the current satisfies the normal constraint, otherwise the current is 0; ⑩ SOP operation constraint: in, and They represent the active power flowing into SOP from node i and node j at time t respectively. If they are negative, they represent the outflow active power. represents the power loss caused by the flow of SOP from node i to or from node i at time t, and They represent the reactive power flowing into SOP from node i and node j at time t. If they are negative, they represent the outflow reactive power. sop is the loss coefficient of SOP, represents the capacity of the SOP accessed between nodes i and j; Energy storage operation constraints: in, and are the maximum charging power and the maximum discharging power of the energy storage, respectively. and They are the battery loss coefficient, charging loss coefficient and discharging loss coefficient of energy storage, is the upper limit of energy storage capacity; Network reconstruction constraints: in, and They represent the on / off status of the line between nodes ij at time t. When it is equal to 1, it means it is connected, and when it is equal to 0, it means it is disconnected. node and N sta are the number of nodes and substations, respectively; Tie switch operation times constraints: in, The maximum number of times the tie switch operates within a cycle. In order to reduce the switching loss caused by multiple reconstructions, the number of times the tie switch operates needs to be limited. Wind and solar curtailment constraints: in, The maximum reduction ratio for new energy is represents the output of the photovoltaic power connected to node i at time t and represents the reduction amount of photovoltaic connected to node i at time t; Demand response constraints: in, is the transferable load power demand of node i at time t, is the load power demand that can be reduced at node i at time t, is the load that can be transferred to node i at time t, is the demand response amount that node i can reduce load at time t, η dr is the demand response contract ratio. The original configuration model is generated according to the initial objective function and initial constraints. The original configuration model is as follows Figure 3The deterministic multi-type interconnecting switch collaborative planning model shown in the figure has constraints including planning-related constraints and operation-related constraints. The planning-related constraints include new line status constraints, SOP installation location and capacity constraints, interconnecting switch installation location constraints and network topology constraints. The operation-related constraints include power flow constraints, power balance constraints, voltage drop constraints considering network reconstruction, node voltage constraints, branch current constraints, SOP operation constraints, energy storage operation constraints, network reconstruction constraints, interconnecting switch action times constraints, wind and solar power abandonment constraints and demand response constraints.

[0107] In order to optimize the system operation level by considering the uncertainty of source and load, in an optional implementation manner, the first updating unit includes:

[0108] The first optimization module optimizes the initial objective function based on the Wasserstein distance method according to the minimum value of the deterministic set and the maximum value of the uncertainty set to obtain the optimized objective function. The deterministic set is a set of data consisting of deterministic variables in the comprehensive cost, and the uncertainty set is a set of data consisting of uncertain variables in the comprehensive cost.

[0109] The second optimization module optimizes the power balance constraints, wind and solar curtailment constraints, and demand response constraints in the initial constraints based on the Wasserstein distance method, introduces uncertain variables, and obtains modified constraints.

[0110] An acquisition module is used to obtain the actual output energy constraints and fuzzy set constraints of the source and load;

[0111] The first generation module generates optimization uncertainty constraints based on the actual output energy constraints of the source and load, the fuzzy set constraints and the correction constraints;

[0112] The second generation module generates optimization constraints according to the uncertainty constraints and the deterministic constraints, wherein the deterministic constraints are the remaining initial constraints without introducing uncertainty variables in the initial constraints.

[0113] In the embodiment, the uncertainty of power users and distributed power sources is studied based on the wasserstein distance to construct a distributed robust optimization model taking uncertainty into account, and the initial objective function is optimized to introduce uncertainty variables to obtain an objective function taking uncertainty into account, that is, an optimization objective function. The specific expression of the optimization objective function is: Y represents the set of deterministic variables such as the planned location and capacity of the SOP, the planned location of the tie switch, etc. The deterministic variables include the target investment cost of the intelligent soft switch Target investment cost of tie switch Target cost of line expansion Operation and maintenance costs of intelligent soft switches Operation cost of tie switch Energy storage operation and maintenance costs Demand response cost C DR , loss cost C loss , B is the set of deviations between the actual distribution of the energy consumption of the source load connected to each node and the reference distribution, which is an uncertain variable. The uncertain variable includes the cost of purchasing electricity from the upper power grid (i.e., the cost of purchasing electricity) C buy and electricity sales revenue C sell Since the initial objective function is optimized by using the Wasserstein distance, the uncertainty variable is introduced, which leads to the existence of uncertainty variables in the optimization objective function. buy and electricity sales revenue C sell The specific expression of has changed as follows in, and are the real value of the load energy consumption and the real value of the distributed generation output of node i at time t. There are only some uncertain variables in the constraints, namely, the uncertainty constraints. Therefore, it is only necessary to rewrite the uncertainty constraints and add fuzzy set constraints and the real output energy consumption constraints of the source and load. The specific expression of the real output energy consumption constraints of the source and load is: in, and is the actual output energy coefficient of the source load at time t when sample l is used as the reference, is the distributed generation output coefficient of the source load at time t when sample l is used as the reference, is the load energy coefficient of the source load at time t when sample l is used as the reference, is the actual distributed power output of the source load at node i at time t when sample l is used as the reference, is the actual load energy consumption at node i when sample l is used as reference, It represents the deviation of the load energy consumption coefficient at time t and the reference coefficient. represents the deviation between the output coefficient of the distributed generation at time t and the reference coefficient; the fuzzy set constraint condition is in, for The Dirac function of for The Dirac function of and is the output energy coefficient of the source load at time t when sample l is used as the reference, is the historical observation data, and d w(·) indicates the wasserstein distance, ξ dg , load To follow the true distribution and The set of random variables, Denotes dξ dg and The joint probability distribution of Denotes dξ load and The joint probability distribution of Represents the reference distribution Centered on ε dg is the wasserstein sphere with radius Similarly; Γ dg To support All value spaces of Γ load To support All value spaces of . The uncertainty constraints are optimized. The uncertainty constraints include power balance constraints, wind and solar curtailment constraints, and demand response constraints. The mathematical expression of the power balance constraint after optimization is: The mathematical expression after optimization of wind and solar curtailment constraint conditions is: The mathematical expression after optimization of demand response constraints is: The modified constraints are obtained according to the optimized mathematical expressions of power balance constraints, wind and solar power abandonment constraints and demand response constraints. Finally, the uncertainty constraints are generated according to the actual output energy constraints of sources and loads, fuzzy set constraints and modified constraints. The uncertainty constraints and deterministic constraints constitute the final optimization constraints.

[0114] In order to improve the solution efficiency, in an optional implementation manner, the second updating unit includes:

[0115] The first conversion module uses a convex relaxation method to convert the nonlinear constraints in the distributed robust optimization model into second-order cone constraints to obtain the corresponding linear constraints. The nonlinear constraints include power flow constraints and intelligent soft switch operation constraints.

[0116] The second transformation module performs equivalent transformation on the fuzzy set constraint conditions to obtain equivalent fuzzy set constraint conditions;

[0117] The third generation module generates target constraints according to linear constraints, equivalent fuzzy set constraints and other constraints in the distributed robust optimization model, where the other constraints are constraints other than nonlinear constraints and fuzzy set constraints.

[0118] In the embodiment, since the distributed robust optimization model is a nonlinear model, it is difficult to solve and needs to be rewritten. First, the nonlinear constraints in the distributed robust optimization model are converted into second-order cone constraints using the convex relaxation method, and the fuzzy set constraints are equivalently transformed. The nonlinear constraints are rewritten into second-order cone constraints using the convex relaxation method. The original constraints of the power flow constraints are After convex relaxation, it can be rewritten as ||[2P ij,t 2Q ij,t I′ ij,t -V i,t ] T ||2≤I′ ij,t +V i,t , the original constraints of the intelligent soft switch operation constraints are After convex relaxation, it can be rewritten as The second-order cone constraints obtained by rewriting the power flow constraints and intelligent soft switch operation constraints through convex relaxation are linear constraints. The equivalent fuzzy set constraints after equivalent transformation are: Finally, the target constraints are generated according to the linear constraints, equivalent fuzzy set constraints and other constraints in the distributional robust optimization model.

[0119] In order to make the function expression clearer and improve the efficiency and accuracy of the solution, in an optional implementation manner, the device further includes:

[0120] The adjustment unit is used to perform linear equivalent transformation on the constraints in the bisection robust optimization model, and after obtaining the target constraints, adjust and update the target constraints and the optimization objective function according to the set function rules, and the set function rules are rules for organizing the function expressions into a fixed form.

[0121] In the embodiment, there are objective functions and constraints related to uncertain variables in the mixed integer joint configuration model, which need to be organized into the form of setting rules before duality, such as Among them, F is the price coefficient matrix of the objective function in the mixed integer joint configuration model, x is the variable to be decided, J1 and G1 are the first coefficient matrices of equality constraints and inequality constraints, these two matrices are multiplied with the variable to be decided x and do not contain the uncertainty variables of DG and load, J2 and G2 are the second coefficient matrices of equality constraints and inequality constraints, these two matrices are multiplied with the variable to be decided x and contain the uncertainty variables of DG and load, J3 and G3 are the constant term matrices of equality constraints and inequality constraints, π l,t , μ l,t and χ tare the Lagrange dual multipliers for equality constraints, inequality constraints, and Wasserstein's fuzzy set constraints. The objective function for the mixed integer joint configuration model is as follows after being sorted:

[0122]

[0123] C1 represents the cost that is not related to the uncertainty variables. The constraints related to the uncertainty variables include equivalent fuzzy set constraints, source-load real output energy constraints, power balance constraints, wind and solar curtailment constraints, and demand response constraints. The remaining constraints do not need to be organized in the form of set rules. After the constraints containing uncertainty variables are organized in the form of set rules, they are as follows:

[0124] In order to simplify the problem and improve the stability of the solution, in an optional implementation manner, the device further includes:

[0125] A conversion unit is used to convert the maximum value problem in the optimization objective function into the first minimum value problem by using the Lagrange dual method before updating the distributed robust optimization model according to the objective constraint and the objective function to obtain the mixed integer joint configuration model. The maximum value problem is a problem that uses the maximum value of the uncertainty set as the solution target, and the first minimum value problem is a problem that uses the minimum value of the uncertainty set as the solution target;

[0126] The merging unit is used to merge the first minimum problem with the second minimum problem to obtain an objective function. The second minimum problem is a problem that takes the minimum value of a deterministic set as a solution target.

[0127] In the embodiment, the Lagrangian dual method is used to transform the max problem (i.e., the maximum value problem) representing the worst case into a min problem (i.e., the first minimum value problem), and merge it with the outer min problem (i.e., the second minimum value problem), wherein the outer min problem represents the economic optimal problem, the worst max problem is that various serious problems will occur in the presence of uncertain variables, and the min problem represents minimizing the threat of serious problems in the presence of uncertain variables. The min problem (i.e., the first minimum value problem) is merged with the outer min problem (i.e., the second minimum value problem) to ensure that the bad problems are avoided in the presence of uncertain variables and that the economic optimality is achieved. After dualization and merging, the optimization objective function becomes the following form:

[0128]

[0129] The transformation derivation process is as follows:

[0130]

[0131] It should be noted that after the optimization objective function is transformed, since the transformed distributionally robust optimization model contains bilinear terms, the McCormick relaxation method is used to rewrite the bilinear terms in the distributionally robust optimization model to update the distributionally robust optimization model to a linear model, namely, the mixed integer joint configuration model. The conversion formula of the McCormick relaxation method is as follows: Among them, for the bilinear term zy, a new variable w is added to replace the original zy, and constraints are added to constrain the value range of w.

[0132] In order to fully mobilize various types of adjustable resources in the power distribution system, in an optional implementation, the solving unit includes:

[0133] An output module, using a solver to solve the mixed integer joint configuration model, and outputting solution data, wherein the solution data at least includes switch states corresponding to multiple types of circuit switches, operation data of the distribution network, and source-load output energy consumption data;

[0134] The screening module screens the solution data according to the planning of the distribution network to obtain the configuration data;

[0135] The fourth generating module generates a configuration scheme according to the configuration data.

[0136] In the embodiment, the CPLEX solver is used to solve the problem, and the collaborative planning results of multiple types of circuit switches can be obtained as follows: Figure 4 As shown in the figure, the data is screened according to the collaborative planning results and the simulation operation at this time, and the uncertainty of source and load and line expansion planning are considered to obtain a collaborative configuration scheme of multiple types of tie switches. According to the actual configuration scheme, various types of adjustable resources of the distribution system can be fully mobilized to realize the collaborative planning of SOP and tie switches and the expansion planning of lines, reduce planning costs, and improve the operation level of the system. Of course, including but not limited to CPLEX solver.

[0137] The optimization construction device of multiple types of circuit switches includes a processor and a memory, wherein the determination unit, the first update unit, the second update unit and the solution unit are stored in the memory as program units, and the processor executes the program units stored in the memory to realize the corresponding functions. The modules are all located in the same processor; or, the modules are located in different processors in any combination.

[0138] The processor includes a kernel, which retrieves the corresponding program unit from the memory. One or more kernels can be set, and the kernel parameters can be adjusted to solve the problem that the existing technology only configures the distribution network switches in a single way without considering the coordinated configuration of multiple types of switches, resulting in a high total cost of planning and configuration.

[0139] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0140] An embodiment of the present invention provides a computer-readable storage medium, which includes a stored program, wherein when the program is executed, a device where the computer-readable storage medium is located is controlled to execute an optimization construction method for multiple types of circuit switches.

[0141] An embodiment of the present invention provides a processor, which is used to run a program, wherein the program executes an optimization construction method for multiple types of circuit switches when the program is running.

[0142] An embodiment of the present invention provides an optimization construction system for multiple types of circuit switches. The optimization construction system for multiple types of circuit switches includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, at least an optimization construction method for multiple types of circuit switches is implemented.

[0143] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes at least the steps of performing an optimization construction method for multiple types of circuit switches.

[0144] Obviously, those skilled in the art should understand that each module or each step of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0145] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0146] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0147] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0148] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0149] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0150] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0151] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0152] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0153] From the above description, it can be seen that the embodiments of the present application achieve the following technical effects:

[0154] 1) The optimization construction method of multiple types of circuit switches of the present application constructs an initial planning model, namely, the original configuration model, by considering issues such as distribution network expansion planning, network reconstruction, network storage regulation and demand response. In order to study the operational uncertainty of power users and distributed power sources, uncertainty variables are introduced into the original configuration model and then the original configuration model is updated to obtain a distributed robust optimization model. The distributed robust optimization model is a nonlinear model, which is difficult to solve and needs to be rewritten. Therefore, the constraints and objective functions in the distributed robust optimization model are processed and adjusted, and the distributed robust optimization model is converted into a mixed integer joint configuration model. Then, the existing solver is used to solve the mixed integer joint configuration model to obtain a configuration scheme, so as to configure the intelligent soft switches and interconnecting switches in multiple types of circuit switches according to the configuration scheme to coordinate the work. A method for collaborative configuration of multiple types of interconnecting switches considering random fluctuations in source and load is implemented, which optimizes the system operation level and reduces the total cost of planning configuration. The present application solves the problem in the prior art that the distribution network switch is configured in a single manner without considering the collaborative configuration of multiple types of switches, resulting in a high total cost of planning configuration.

[0155] 2) The optimization construction device of the multi-type circuit switch of the present application constructs an initial planning model, namely, the original configuration model, by considering issues such as distribution network expansion planning, network reconstruction, network storage regulation and demand response. In order to study the operational uncertainty of power users and distributed power sources, uncertainty variables are introduced into the original configuration model and then the original configuration model is updated to obtain a distributed robust optimization model. The distributed robust optimization model is a nonlinear model, which is difficult to solve and needs to be rewritten. Therefore, the constraints and objective functions in the distributed robust optimization model are processed and adjusted, and the distributed robust optimization model is converted into a mixed integer joint configuration model. Then, the existing solver is used to solve the mixed integer joint configuration model to obtain a configuration scheme, so as to configure the intelligent soft switches and interconnecting switches in the multi-type circuit switches according to the configuration scheme to coordinate the work. A method for collaborative configuration of multi-type interconnecting switches considering random fluctuations in source and load is implemented, which optimizes the system operation level and reduces the total cost of planning configuration. The present application solves the problem in the prior art that the distribution network switch is configured in a single manner without considering the collaborative configuration of multiple types of switches, resulting in a high total cost of planning configuration.

[0156] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. An optimization construction method for multi-type circuit switches, It is characterized in that include: Determine an original configuration model corresponding to the multi-type circuit switch according to condition parameters, wherein the condition parameters are parameters of an initial objective function and an initial constraint condition in the original configuration model, and the multi-type circuit switch includes at least an intelligent soft switch and a tie switch; The initial objective function and the initial constraint conditions are optimized to introduce uncertain variables, to obtain an optimized objective function and optimized constraint conditions, and the original configuration model is updated according to the optimized objective function and the optimized constraint conditions to obtain a distributed robust optimization model, wherein the optimized constraint conditions include uncertain constraint conditions and deterministic constraint conditions, and the uncertain constraint conditions are the optimized constraint conditions within the uncertain variables within the constraint conditions; Performing a linear equivalent transformation on the constraints in the distributed robust optimization model to obtain target constraints, and updating the distributed robust optimization model according to the target constraints and the objective function to obtain a mixed integer joint configuration model, wherein the objective function is a function obtained by processing the optimization objective function; The mixed integer joint configuration model is solved to obtain a configuration scheme, and the multi-type circuit switches are constructed and configured according to the configuration scheme to achieve coordinated work between the multi-type circuit switches.

2. The method according to claim 1, It is characterized in that Determine the original configuration model corresponding to the multi-type circuit switches according to the condition parameters, including: The initial objective function is determined by the minimum value of the comprehensive cost, wherein the comprehensive cost is the total target investment cost of the distribution network and the total cost of the simulated operation cost, including at least the target investment cost of the tie switch, the operation cost of the tie switch, the electricity sales income and the electricity purchase cost; Determine the initial constraint conditions according to the operation planning data, wherein the operation planning data at least includes the operation active power loss of each of the multi-type circuit switches, the power flow data of each transmission line in the distribution network, and the received photovoltaic output and transferable load power demand of each transmission node, and the initial constraint conditions at least include power balance constraint conditions, wind and solar abandonment constraint conditions, demand response constraint conditions, power flow constraint conditions and intelligent soft switch operation constraint conditions; The original configuration model is determined according to the initial objective function and the initial constraint conditions.

3. The method according to claim 2, It is characterized in that The initial objective function and the initial constraint conditions are optimized to introduce uncertain variables, and an optimized objective function and optimized constraint conditions are obtained, including: The initial objective function is optimized based on the Wasserstein distance method according to the minimum value of the deterministic set and the maximum value of the uncertainty set to obtain the optimized objective function, wherein the deterministic set is a set of data consisting of deterministic variables in the comprehensive cost, and the uncertainty set is a set of data consisting of uncertain variables in the comprehensive cost; Based on the Wasserstein distance method, the power balance constraint condition, the wind and solar power abandonment constraint condition and the demand response constraint condition in the initial constraint condition are optimized and introduced into the uncertainty variable to obtain a modified constraint condition; Obtain the real output energy constraints and fuzzy set constraints of the source and load; Generate the uncertainty constraint condition according to the source load actual output energy constraint condition, the fuzzy set constraint condition and the modified constraint condition; The optimization constraint condition is generated according to the uncertainty constraint condition and the deterministic constraint condition, wherein the deterministic constraint condition is the remaining initial constraint condition in which the uncertainty variable is not introduced.

4. The method according to claim 3, It is characterized in that The constraints in the distributed robust optimization model are transformed into linear equivalents to obtain target constraints, including: The nonlinear constraints in the distributed robust optimization model are converted into second-order cone constraints by using a convex relaxation method to obtain corresponding linear constraints, wherein the nonlinear constraints include the power flow constraints and the intelligent soft switch operation constraints; Performing equivalent transformation on the fuzzy set constraint condition to obtain an equivalent fuzzy set constraint condition; The target constraint is generated according to the linear constraint, the equivalent fuzzy set constraint and other constraints in the distributional robust optimization model, wherein the other constraint is the constraint other than the nonlinear constraint and the fuzzy set constraint.

5. The method according to claim 1, It is characterized in that After performing a linear equivalent transformation on the constraint conditions in the distributed robust optimization model to obtain the target constraint conditions, the method further includes: The objective constraint condition and the optimization objective function are adjusted and updated according to the set function rule, and the set function rule is a rule for arranging the function expression into a fixed form.

6. The method according to claim 3, It is characterized in that Before updating the distributed robust optimization model according to the objective constraint and the objective function to obtain the mixed integer joint configuration model, the method further includes: The maximum value problem in the optimization objective function is converted into a first minimum value problem by using the Lagrangian dual method, wherein the maximum value problem is a problem that takes the maximum value of the uncertainty set as a solution target, and the first minimum value problem is a problem that takes the minimum value of the uncertainty set as a solution target; The first minimum value problem and the second minimum value problem are combined to obtain the objective function, wherein the second minimum value problem is a problem that takes the minimum value of the deterministic set as a solution target.

7. The method according to claim 1, It is characterized in that The mixed integer joint configuration model is solved to obtain a configuration scheme, including: Solving the mixed integer joint configuration model using a solver and outputting solution data, wherein the solution data at least includes switch states corresponding to the multi-type circuit switches, operation data of the distribution network, and source-load output energy data; The solution data is screened according to the plan of the distribution network to obtain configuration data; The configuration scheme is generated according to the configuration data.

8. An optimized construction device for multiple types of circuit switches, It is characterized in that The device comprises: A determination unit, which determines an original configuration model corresponding to a multi-type circuit switch according to condition parameters, wherein the condition parameters are parameters of an initial objective function and an initial constraint condition in the original configuration model, and the multi-type circuit switch includes at least an intelligent soft switch and a tie switch; A first updating unit is used to optimize the initial objective function and the initial constraint conditions to introduce uncertainty variables, obtain an optimization objective function and optimization constraints, and update the original configuration model according to the optimization objective function and the optimization constraints to obtain a distributed robust optimization model, wherein the optimization constraints include uncertainty constraints and deterministic constraints, and the uncertainty constraints are the optimization constraints that contain the uncertainty variables within the constraint conditions; A second updating unit is used to perform a linear equivalent transformation on the constraint conditions in the distributed robust optimization model to obtain a target constraint condition, and to update the distributed robust optimization model according to the target constraint condition and an objective function to obtain a mixed integer joint configuration model, wherein the objective function is a function obtained by processing the optimization objective function; A solving unit is used to solve the mixed integer joint configuration model to obtain a configuration scheme, and to construct and configure the multiple types of circuit switches according to the configuration scheme to achieve coordinated work between the multiple types of circuit switches.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 7.

10. A computer program product comprising computer instructions, It is characterized in that When the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.

Citation Information

Cited By

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

    CN119029880A

  • Soft switch access configuration method and device, terminal equipment and storage medium

    CN119171523A

  • A soft switch access configuration method, device, terminal equipment and storage medium

    CN119171523B

  • Method and device for optimizing layout of fire extinguishing detection device in battery

    CN119475672A

  • Method and device for optimizing the layout of fire extinguishing detection device in battery

    CN119475672B