Two-stage robust optimization method for distributed photovoltaic access power distribution network
Through a two-stage robust optimization method, a comprehensive operating cost model of the distribution network is established to deal with the uncertainty of photovoltaic output and load, solve the voltage stability and power flow reverse problems caused by distributed photovoltaic access, and realize the distribution network Optimized operation and cost reduction.
Patent Information
- Application Number
- CN202410697155.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-31
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-05-31
AI Technical Summary
The connection of distributed photovoltaic power sources to the distribution network leads to problems such as reduced voltage stability and reverse flow of power. Existing technology is difficult to effectively deal with the impact of the randomness and uncertainty of photovoltaic power sources on the operation of the distribution network.
A two-stage robust optimization method for distribution network with distributed photovoltaic access is adopted. By establishing an optimization model with minimum comprehensive operating cost, combined with second-order cone relaxation planning and model linearization method, a box-type uncertainty set is used to describe the photovoltaic output and The uncertainty of the load is solved using the column and constraint generation algorithm and the strong dual theory, which is decomposed into main problems and sub-problems, and is solved iteratively to optimize the operation of the distribution network.
Effectively adjust uncertainty parameters, optimize the operating characteristics of the distribution network, reduce the comprehensive operating cost of the distribution network, improve voltage stability and power flow control capabilities, and adapt to the challenges of high-proportion distributed photovoltaic access.
Smart Images

Figure CN118693797A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of power system optimization control, and in particular relates to a two-stage robust optimization method for a distributed photovoltaic access distribution network. Background Art
[0002] With the access of distributed photovoltaic power sources, active distribution networks (ADN) are becoming a powerful substitute for traditional passive distribution networks. However, the increase in the penetration rate of distributed power sources has also brought about a series of problems such as reduced voltage stability and reverse flow. Photovoltaic power generation occupies an important position in renewable energy power generation. The output of photovoltaic power sources is random and uncertain. The access of a high proportion of distributed photovoltaic power sources to the distribution network is bound to bring more severe challenges to the distribution network. Therefore, based on the two-stage robust optimization model, considering the demand response of the load, the coordinated control of active and reactive power can be achieved by controlling the reactive power compensator (SVC), capacitor switching, energy storage device, on-load tap changer and other strategies. The influence of uncertainty parameters on the network loss of the distribution network is studied, which is of great significance to the study of the optimal dispatching of the distribution network operation.
[0003] Aiming at the impact of randomness and uncertainty of distributed photovoltaic output on operation, this paper proposes a two-stage robust optimization method for distribution network with distributed photovoltaic access. Summary of the invention
[0004] Aiming at the existing problems of distributed photovoltaic access to distribution network, the present invention proposes a two-stage robust optimization method for the distribution network with distributed photovoltaic access. The conservative degree of robust optimization is adjusted by changing the uncertainty parameters, and the operation characteristics of the distribution network with high proportion of distributed photovoltaic access under different uncertainty parameters are studied.
[0005] To achieve the above object, the technical solution adopted by the present invention is: a two-stage robust optimization method for a distribution network with distributed photovoltaic access, comprising the following steps:
[0006] Step 1: Taking the minimum comprehensive operating cost as the objective function, a two-stage robust optimization operation model of the distribution network under distributed photovoltaic access is established, and the calculation expressions of the objective function items such as the operating costs of energy storage, OLTC, capacitor banks, reactive power compensators, demand response compensation costs, distribution network loss costs, and distribution network power purchase costs are clarified, and model constraints such as distribution network voltage flow constraints, equipment operation constraints, and demand response constraints are taken into account;
[0007] Step 2: For the problem of discrete variables and nonlinear constraints related to OLTC and capacitor banks in the established two-stage robust optimization operation model of the distribution network, the objective function and constraints are transformed by using the second-order cone relaxation programming and model linearization method to obtain a linearized model of the original problem, which is conducive to solving the problem by applying the solver;
[0008] Step 3: Use a box-type uncertainty set to characterize the uncertainty of photovoltaic output and load, obtain a quantitative representation of the uncertain photovoltaic output and uncertain load controlled by conservative parameters, and substitute them into the optimization model processed in step 2;
[0009] Step 4: Solve the processed two-stage robust optimization model using a column and constraint generation algorithm, and decompose the model into a main problem and sub-problems;
[0010] Step 5: Based on the strong duality theory, the double-layer optimization in the sub-problem is transformed into a single-layer, and the single-layer sub-problem is linearized to facilitate the solver to solve it; the main and sub-problems are solved alternately and iteratively. First, the main problem is solved to obtain the upper bound of the model, and the solution of the main problem is passed to the sub-problem, and the sub-problem is solved to obtain the lower bound of the model. The convergence condition is judged. If it is met, the final result is output, otherwise, the new constraints are added to the main problem and the iteration continues.
[0011] 2. In the specific implementation, the implementation of step 1 includes the following steps:
[0012] A two-stage robust optimization model is established, and the objective function of the model is to minimize the comprehensive operating cost, as shown in Formula 1:
[0013] minM1=C y +C loss +C buy Formula 1
[0014] Among them, C y , C loss and C buy They represent the operating cost, network loss cost and main network electricity purchase cost respectively;
[0015] The operating cost can be expressed as formula 2:
[0016] C y =C ESS +C OLTC +C CB +C SVC +C DR Formula 2
[0017] Among them, the operating cost expressions of energy storage, OLTC, capacitor bank and reactive power compensator SVC are described by equation 3, equation 4, equation 5 and equation 6 respectively, and the expression of demand response compensation cost is shown in equation 7;
[0018]
[0019] where ρ ess is the unit operation and maintenance cost of energy storage, ρ o and ρ cbTo adjust the equivalent cost of OLTC tap position and capacitor switching position, Ω ESS and Ω CB are the sets of nodes containing energy storage and capacitor banks in the distribution network, Ω SVC and Ω DR They represent the set of reactive power compensation devices and demand response nodes in the distribution network, is the number of capacitor switching groups at node i at time t, ρ svc is the SVC unit operating cost, is the reactive power output of the SVC at node i at time t, represents the unit compensation price of demand response electricity at time t, represents the demand response power at time t;
[0020] The distribution network loss cost can be expressed as formula 8:
[0021]
[0022] where λ loss Indicates the unit network loss price, Ω b Represents a set of distribution network nodes;
[0023] The main grid electricity purchase cost can be expressed as formula 9:
[0024]
[0025] in represents the time-of-use electricity price, P t buy represents the amount of electricity purchased at time t;
[0026] The constraints of the model are as follows:
[0027] (1) Distribution network power flow constraints, as shown in Equations 10 to 15:
[0028]
[0029] Among them, P i,t and Q i,t represents the active and reactive power injection of node i at time t, P ij,t and Q ij,t is the active and reactive power flowing through branch ij at time t, and represents the active and reactive loads of node i at different times; and represents the photovoltaic active and reactive power of node i at time t, is the output of the reactive power compensator at node i at time t, represents the reactive output of the capacitor bank at node i at time t;
[0030] (2) Voltage constraint, as shown in Equation 16:
[0031] U min ≤U i,t ≤U max Formula 16
[0032] Equation 16 limits the maximum and minimum values of the node voltage, where U i,t is the voltage of node i at time t;
[0033] (3) Current constraint, as shown in Equation 17:
[0034]
[0035] Equation 17 limits the maximum and minimum values of branch current, where I ij,t is the magnitude of the current in branch ij at time t;
[0036] (4) OLTC constraints, as shown in Equations 18 to 22:
[0037]
[0038]
[0039] n ij,0 and n ij,t represents the transformation ratio at the initial moment and time t, Ω O Indicates the branch set configured for OLTC. represents the gear position at time t, It is a 0-1 variable. It takes the value 1 when the gear changes and takes the value 0 when the gear remains unchanged. is the maximum action limit of OLTC;
[0040] (5) Capacitor bank constraints, as shown in Equations 23 to 26:
[0041]
[0042] in represents the unit reactive power compensation of the capacitor. Equation 24 constrains the number of switching groups of the capacitor group at node i at time t. Do not exceed the maximum number of switching groups It is a 0-1 variable, which is 1 when the number of switching groups changes and 0 when it does not change. It is the maximum action times limit of the capacitor bank;
[0043] (6) Demand response constraint, as shown in Equation 27:
[0044]
[0045] in, It indicates the magnitude of active power demand response of node m;
[0046] (7) Energy storage system constraints, as shown in equations 28 to 31:
[0047]
[0048] and is a 0-1 variable, indicating the charge and discharge status at time t. and is the maximum charge and discharge power limit, E i,t is the amount of energy stored at time t, η ch and η dis Indicates the charge and discharge efficiency;
[0049] (8) SVC operation constraints, as shown in Equation 32:
[0050]
[0051] in, is the reactive power output of SVC at time t.
[0052] 3. The implementation of step 2 includes the following steps:
[0053] Step 2.1: Linearize the model objective function. For better solution, transform the nonlinear terms in the model and introduce variables. and As shown in formula 33-34:
[0054]
[0055] After introducing the above variables, we get the objective function shown in Equation 35:
[0056]
[0057] Then introduce the variable and The absolute value term in the objective function of the original OLTC and capacitor bank operation and After conversion, the converted expressions are obtained as shown in Equation 36 and Equation 37, and the constraints shown in Equation 38 and Equation 39 are added;
[0058]
[0059] Step 2.2: Linearize the constraints of the established two-stage robust optimization model:
[0060] (1) Power flow constraints
[0061] There are quadratic terms in the power flow constraints Equations 10 and 11, 14 and 15. The quadratic terms of voltage and current are transformed according to the replacement strategy described in Equations 33 and 34, thereby obtaining the preliminary linearized power flow constraints. The specific results are shown in Equations 40 to 43.
[0062]
[0063] Relax Equation 43 containing the quadratic term into a second-order cone constraint form as shown in Equation 44:
[0064]
[0065] The converted node voltage constraint is shown in Equation 45:
[0066]
[0067] The converted branch current constraint is shown in Equation 46:
[0068]
[0069] (2) OLTC Constraints
[0070] Introducing variables Replace the absolute value term in the original constraint The expression in equation 47 is obtained. After the square terms of voltage and current are transformed, the relationship between the transformation ratio, gear position and the voltage on both sides of the OLTC is shown in equation 48:
[0071]
[0072] In addition, auxiliary variables k and b are introduced k,t , k represents the OLTC tap location, b k,t It is a 0-1 variable. When it is equal to 1, it means that the OLTC is located at When it is equal to 0, it means it is not in files, It can be expressed by equation 49 and equation 50:
[0073]
[0074] The result after substituting into equation 48 is shown in equation 51:
[0075]
[0076] In the above formula Using variables Substitute to get the expression in Equation 52, and add the relevant constraints in Equations 53 and 54,
[0077]
[0078] (3) Capacitor operation constraints
[0079] Based on variables Absolute value terms in constraints for the original capacitor After substitution, the linearized capacitor constraints are as follows:
[0080]
[0081] 4. The implementation of step 3 includes the following steps:
[0082] In order to more accurately explain the proposed two-stage robust optimization model, we first need to transform the initial optimization model into Equation 56 and
[0083] The compact form of formula 57;
[0084]
[0085] Among them, the first stage control variable is x=[K O ,N CB ] T , including the gear position of OLTC and the number of capacitor groups switched; the second stage control variable y=[Q SVC ,P DR P ch ,P dis ,P buy ,U,I,P,Q] T , including the charging and discharging power of the energy storage BESS, the reactive compensation amount of the SVC, the voltage and current and other parameters; u represents the uncertainty parameter, and Formula 57 is a compact form of the constraint condition, wherein the constraint formula (57-1) includes Formula 20, Formula 22-24, Formula 26, Formula 36, Formula 37, Formula 47, Formula 49, Formula 50, and Formula 55, the constraint formula (57-2) includes Formula 12 and Formula 13, the constraint (57-3) includes Formula 40-42 and Formula 52-54, the constraint formula (57-4) represents Formula 44, and the constraint formula (57-5) represents Formula 27, Formula 28, Formula 31-32, and Formula 45-46;
[0086] In order to consider the impact of the uncertainty of photovoltaic output and load on the optimization model, a box-type uncertainty set of photovoltaic output and load is constructed. As shown in formula 58:
[0087]
[0088] in, is the uncertain variable size of photovoltaic output at time t, is the size of the uncertain variable of the load at time t, represents the photovoltaic output and load forecast value at time t, and Represents the maximum fluctuation of PV output and load at time t.
[0089] 5. The implementation of step 4 includes the following steps:
[0090] Step 4.1: Divide the problem into main and sub-problems. The objective function and constraints of the main problem are as follows:
[0091]
[0092] Where r = 1, 2…k, k is the number of harsh scenes identified;
[0093] Step 4.2: In the process of solving the main problem, solve the decision variable x of the first stage, and in the process of solving the specific sub-problem, solve the decision variable y of the second stage; in addition, the upper bound of the original problem will be gradually adjusted as the sub-problem is iteratively solved. The objective function and constraints of the sub-problem are as follows:
[0094]
[0095] Equation 61 and Equation 62 represent the sub-problem objective function and constraint conditions, respectively, where π1, π2, μ i , i , σ are the dual variables in the subproblem.
[0096] 6. The implementation of step 5 includes the following steps:
[0097] To achieve efficient solution of the two-stage robust optimization model, the two-layer problem is transformed;
[0098] Step 5.1: Convert the max-min double-layer problem into a single-layer max problem, and then replace the second-order cone standard form mentioned in equation 44 to obtain:
[0099]
[0100] The parameters in the brackets represent the dual variables of each formula, so the dual expressions are as follows:
[0101]
[0102] The above compact form can be written as follows,
[0103] ||ξ i ||2≤μ i Formula 71
[0104] Among them, ξi , μ i are the cone dual variables of the i-th second-order cone constraint. After dual processing, we get the following expression:
[0105]
[0106] Step 5.2: Rewrite the uncertainty set description. When the photovoltaic output is minimum and the load is maximum, the cost of operation will increase significantly, and it is close to the "worst" operation scenario. The uncertainty set is rewritten as follows:
[0107]
[0108] In short:
[0109]
[0110] in, and is a 0-1 variable. When the uncertain variable is a boundary value, it takes the value 1. PV and Γ L Take a positive integer not greater than T to describe the uncertainty and conservatism of the solution in different scenarios. Substituting equation 74 into equation 72 yields:
[0111]
[0112] Introduce auxiliary variable B u ' Transform the bilinear term in equation 76 to obtain the final objective function and constraints in equations 77 and 78,
[0113]
[0114] in π1 max is the upper bound of the dual variable. BRIEF DESCRIPTION OF THE DRAWINGS
[0115] Figure 1 The present invention is a flow chart of a two-stage robust optimization method considering load demand response. DETAILED DESCRIPTION
[0116] The present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0117] This embodiment provides a two-stage robust optimization method for a distributed photovoltaic access distribution network, taking into account load demand response, and studying the impact of different photovoltaic power output uncertain parameters on the distribution network, such as Figure 1 As shown, the following steps are included:
[0118] Step 1: Taking the minimum comprehensive operating cost as the objective function, a two-stage robust optimization operation model of the distribution network under distributed photovoltaic access is established, and the calculation expressions of the objective function items such as the operating costs of energy storage, OLTC, capacitor banks, reactive power compensators, demand response compensation costs, distribution network loss costs, and distribution network power purchase costs are clarified, and model constraints such as distribution network voltage flow constraints, equipment operation constraints, and demand response constraints are taken into account;
[0119] Step 2: For the problem of discrete variables and nonlinear constraints related to OLTC and capacitor banks in the established two-stage robust optimization operation model of the distribution network, the objective function and constraints are transformed by using the second-order cone relaxation programming and model linearization method to obtain a linearized model of the original problem, which is conducive to solving the problem by applying the solver;
[0120] Step 3: Use a box-type uncertainty set to characterize the uncertainty of photovoltaic output and load, obtain a quantitative representation of the uncertain photovoltaic output and uncertain load controlled by conservative parameters, and substitute them into the optimization model processed in step 2;
[0121] Step 4: Use the column and constraint generation algorithm to solve the processed two-stage robust optimization model, decompose the model into a main problem and sub-problems, transform the double-layer optimization in the sub-problem into a single-layer based on the strong duality theory, and linearize the single-layer sub-problem to facilitate the solver to solve;
[0122] Step 5: Solve the main problem and sub-problems alternately and iteratively. First, solve the main problem to obtain the upper bound of the model. Pass the solution of the main problem to the sub-problem, solve the sub-problem, obtain the lower bound of the model, and judge the convergence condition. If it is satisfied, output the final result. Otherwise, add the new constraints to the main problem and continue iterating.
[0123] In the specific implementation, the objective functions involved in step 1 include:
[0124] The implementation of step 1 includes the following steps:
[0125] A two-stage robust optimization model is established, and the objective function of the model is to minimize the comprehensive operating cost, as shown in Formula 1:
[0126] minM1=C y +C loss +C buy Formula 1
[0127] Among them, C y , C loss and C buy They represent the operating cost, network loss cost and main network electricity purchase cost respectively;
[0128] The operating cost can be expressed as formula 2:
[0129] C y =C ESS +C OLTC +C CB +C SVC +C DR Formula 2
[0130] Among them, the operating cost expressions of energy storage, OLTC, capacitor bank and reactive power compensator SVC are described by equation 3, equation 4, equation 5 and equation 6 respectively, and the expression of demand response compensation cost is shown in equation 7;
[0131]
[0132] where ρ ess is the unit operation and maintenance cost of energy storage, ρ o and ρ cb To adjust the equivalent cost of OLTC tap position and capacitor switching position, Ω ESS and Ω CB are the sets of nodes containing energy storage and capacitor banks in the distribution network, Ω SVC and Ω DR They represent the set of reactive power compensation devices and demand response nodes in the distribution network, is the number of capacitor switching groups at node i at time t, ρ svc is the SVC unit operating cost, is the reactive power output of the SVC at node i at time t, represents the unit compensation price of demand response electricity at time t, represents the demand response power at time t;
[0133] The distribution network loss cost can be expressed as formula 8:
[0134]
[0135] where λ loss Indicates the unit network loss price, Ω b Represents a set of distribution network nodes;
[0136] The main grid electricity purchase cost can be expressed as formula 9:
[0137]
[0138] in represents the time-of-use electricity price, P t buy represents the amount of electricity purchased at time t;
[0139] The constraints of the model are as follows:
[0140] (1) Distribution network power flow constraints, as shown in Equations 10 to 15:
[0141]
[0142] Among them, P i,t and Q i,t represents the active and reactive power injection of node i at time t, P ij,t and Q ij,t is the active and reactive power flowing through branch ij at time t, and represents the active and reactive loads of node i at different times; and represents the photovoltaic active and reactive power of node i at time t, is the output of the reactive power compensator at node i at time t, represents the reactive output of the capacitor bank at node i at time t;
[0143] (2) Voltage constraint, as shown in Equation 16:
[0144] U min ≤U i,t ≤U max Formula 16
[0145] Equation 16 limits the maximum and minimum values of the node voltage, where U i,t is the voltage of node i at time t;
[0146] (3) Current constraint, as shown in Equation 17:
[0147]
[0148] Equation 17 limits the maximum and minimum values of branch current, where I ij,t is the magnitude of the current in branch ij at time t;
[0149] (4) OLTC constraints, as shown in Equations 18 to 22:
[0150]
[0151] n ij,0 and n ij,t represents the transformation ratio at the initial moment and time t, Ω O Indicates the branch set configured for OLTC. represents the gear position at time t, It is a 0-1 variable. It takes the value 1 when the gear changes and takes the value 0 when the gear remains unchanged. is the maximum action limit of OLTC;
[0152] (5) Capacitor bank constraints, as shown in Equations 23 to 26:
[0153]
[0154] in represents the unit reactive power compensation of the capacitor. Equation 24 constrains the number of switching groups of the capacitor group at node i at time t. Do not exceed the maximum number of switching groups It is a 0-1 variable, which is 1 when the number of switching groups changes and 0 when it does not change. It is the maximum action times limit of the capacitor bank;
[0155] (6) Demand response constraint, as shown in Equation 27:
[0156]
[0157] in, It indicates the magnitude of active power demand response of node m;
[0158] (7) Energy storage system constraints, as shown in equations 28 to 31:
[0159]
[0160] and is a 0-1 variable, indicating the charge and discharge status at time t. and is the maximum charge and discharge power limit, E i,t is the amount of energy stored at time t, η ch and η dis Indicates the charge and discharge efficiency;
[0161] (8) SVC operation constraints, as shown in Equation 32:
[0162]
[0163] in, is the reactive power output of SVC at time t;
[0164] 3. The implementation of step 2 includes the following steps:
[0165] Step 2.1: Linearize the model objective function. For better solution, transform the nonlinear terms in the model and introduce variables. and As shown in formula 33-34:
[0166]
[0167] After introducing the above variables, we get the objective function shown in Equation 35:
[0168]
[0169] Then introduce the variable and The absolute value term in the objective function of the original OLTC and capacitor bank operation and After conversion, the converted expressions are obtained as shown in Equation 36 and Equation 37, and the constraints shown in Equation 38 and Equation 39 are added;
[0170]
[0171] Step 2.2: Linearize the constraints of the established two-stage robust optimization model:
[0172] (1) Power flow constraints
[0173] There are quadratic terms in the power flow constraints Equations 10 and 11, 14 and 15. The quadratic terms of voltage and current are transformed according to the replacement strategy described in Equations 33 and 34, thereby obtaining the preliminary linearized power flow constraints. The specific results are shown in Equations 40 to 43.
[0174]
[0175]
[0176] Relax Equation 43 containing the quadratic term into a second-order cone constraint form as shown in Equation 44:
[0177]
[0178] The converted node voltage constraint is shown in Equation 45:
[0179]
[0180] The converted branch current constraint is shown in Equation 46:
[0181]
[0182] (2) OLTC Constraints
[0183] Introducing variables Replace the absolute value term in the original constraint The expression in equation 47 is obtained. After the square terms of voltage and current are transformed, the relationship between the transformation ratio, gear position and the voltage on both sides of the OLTC is shown in equation 48:
[0184]
[0185] In addition, auxiliary variables k and b are introduced k,t , k represents the OLTC tap location, b k,tIt is a 0-1 variable. When it is equal to 1, it means that the OLTC is located at When it is equal to 0, it means it is not in files, It can be expressed by equation 49 and equation 50:
[0186]
[0187] The result after substituting into equation 48 is shown in equation 51:
[0188]
[0189] In the above formula Using variables Substitute to get the expression in Equation 52, and add the relevant constraints in Equations 53 and 54,
[0190]
[0191]
[0192] (3) Capacitor operation constraints
[0193] Based on variables Absolute value terms in constraints for the original capacitor After substitution, the linearized capacitor constraints are as follows:
[0194]
[0195] 4. The implementation of step 3 includes the following steps:
[0196] In order to more accurately explain the proposed two-stage robust optimization model, the initial optimization model needs to be first transformed into a compact form as shown in Equations 56 and 57;
[0197]
[0198] Among them, the first stage control variable is x=[K O ,N CB ] T , including the gear position of OLTC and the number of capacitor groups switched; the second stage control variable y=[Q SVC ,P DR P ch ,P dis ,P buy ,U,I,P,Q] T, including the charging and discharging power of the energy storage BESS, the reactive compensation amount of the SVC, the voltage and current and other parameters, u represents the uncertainty parameter, and Formula 57 is a compact form of the constraint condition, wherein the constraint formula (57-1) includes Formula 20, Formula 22-24, Formula 26, Formula 36, Formula 37, Formula 47, Formula 49, Formula 50, and Formula 55, the constraint formula (57-2) includes Formula 12 and Formula 13, the constraint (57-3) includes Formula 40-42 and Formula 52-54, the constraint formula (57-4) represents Formula 44, and the constraint formula (57-5) represents Formula 27, Formula 28, Formula 31-32, and Formula 45-46;
[0199] In order to consider the impact of the uncertainty of photovoltaic output and load on the optimization model, a box-type uncertainty set of photovoltaic output and load is constructed. As shown in formula 58:
[0200]
[0201] in, is the uncertain variable size of photovoltaic output at time t, is the size of the uncertain variable of the load at time t, represents the photovoltaic output and load forecast value at time t, and represents the maximum fluctuation of PV output and load at time t;
[0202] 5. The implementation of step 4 includes the following steps:
[0203] Step 4.1: Divide the problem into main and sub-problems. The objective function and constraints of the main problem are as follows:
[0204]
[0205] Where r = 1, 2…k, k is the number of harsh scenes identified;
[0206] Step 4.2: In the process of solving the main problem, solve the decision variable x of the first stage, and in the process of solving the specific sub-problem, solve the decision variable y of the second stage; in addition, the upper bound of the original problem will be gradually adjusted as the sub-problem is iteratively solved. The objective function and constraints of the sub-problem are as follows:
[0207]
[0208] Equation 61 and Equation 62 represent the sub-problem objective function and constraint conditions, respectively. i , i ,σ represents the dual variable in the subproblem;
[0209] 6. The implementation of step 5 includes the following steps:
[0210] To achieve efficient solution of the two-stage robust optimization model, the two-layer problem is transformed;
[0211] Step 5.1: Convert the max-min double-layer problem into a single-layer max problem, and then replace the second-order cone standard form mentioned in equation 44 to obtain:
[0212]
[0213] The parameters in the brackets represent the dual variables of each formula, so the dual expressions are as follows:
[0214]
[0215] The above compact form can be written as follows,
[0216] ||ξ i ||2≤μ i Formula 71
[0217] Among them, ξ i , μ i are the cone dual variables of the i-th second-order cone constraint. After dual processing, we get the following expression:
[0218]
[0219] Step 5.2: Rewrite the uncertainty set description. When the photovoltaic output is minimum and the load is maximum, the cost of operation will increase significantly, and it is close to the "worst" operation scenario. The uncertainty set is rewritten as follows:
[0220]
[0221] In short:
[0222]
[0223] in, and is a 0-1 variable. When the uncertain variable is a boundary value, it takes the value 1. PV and Γ L Take a positive integer not greater than T to describe the uncertainty and conservatism of the solution in different scenarios. Substituting equation 74 into equation 72 yields:
[0224]
[0225] Introduce auxiliary variable B u ' Transform the bilinear term in equation 76 to obtain the final objective function and constraints in equations 77 and 78,
[0226]
[0227]
[0228] in π1 max is the upper bound of the dual variable;
[0229] Then, the main and sub-problems are solved alternately and iteratively. The main problem is solved to obtain the upper bound of the model, and the result is passed to the sub-problem. The sub-problem is solved to obtain the lower bound of the model. This method uses the criterion to determine whether the convergence condition is met. If the condition is met, the final result is output. If the condition is not met, it is necessary to add new constraints to the main problem and continue the subsequent iterative process; until the difference between the upper bound and the lower bound UB-LB < ε, the final result is output, and the changes in distribution network loss under different PV output uncertain parameters are shown in Table 1.
[0230] Table 1 Influence of uncertainty parameters on network loss
[0231]
Claims
1. A two-stage robust optimization method for a distributed photovoltaic access distribution network, characterized in that: The following steps are involved: Step 1: Taking the minimum comprehensive operating cost as the objective function, a two-stage robust optimization operation model of the distribution network under distributed photovoltaic access is established, and the calculation expressions of the objective function items such as the operating costs of energy storage, OLTC, capacitor banks, reactive power compensators, demand response compensation costs, distribution network loss costs, and distribution network power purchase costs are clarified, and model constraints such as distribution network voltage flow constraints, equipment operation constraints, and demand response constraints are taken into account; Step 2: For the problem of discrete variables and nonlinear constraints related to OLTC and capacitor banks in the established two-stage robust optimization operation model of the distribution network, the objective function and constraints are transformed by using the second-order cone relaxation programming and model linearization method to obtain a linearized model of the original problem, which is conducive to solving the problem by applying the solver; Step 3: Use a box-type uncertainty set to characterize the uncertainty of photovoltaic output and load, obtain a quantitative representation of the uncertain photovoltaic output and uncertain load controlled by conservative parameters, and substitute them into the optimization model processed in step 2; Step 4: Solve the processed two-stage robust optimization model using a column and constraint generation algorithm, and decompose the model into a main problem and sub-problems; Step 5: Based on the strong duality theory, the double-layer optimization in the sub-problem is transformed into a single-layer, and the single-layer sub-problem is linearized to facilitate the solver to solve it, and then the main and sub-problems are solved alternately and iteratively.
2. The two-stage robust optimization method for distributed photovoltaic access distribution network according to claim 1, characterized in that: The specific method process of step 1 is: First, the objective function shown in Formula 1 is established with the minimum comprehensive operating cost: min M1=C y +C loss +C buy Formula 1 Among them, C y , C loss and C buy They represent the operating cost, network loss cost and main network electricity purchase cost respectively; The operating cost is shown in Formula 2: C y =C ESS +C OLTC +C CB +C SVC +C DR Formula 2 Among them, the operating cost expressions of energy storage, OLTC, capacitor bank and reactive power compensator SVC are described by equation 3, equation 4, equation 5 and equation 6 respectively, and the expression of demand response compensation cost is shown in equation 7; where ρ ess is the unit operation and maintenance cost of energy storage, ρ o and ρ cb To adjust the equivalent cost of OLTC tap position and capacitor switching position, Ω ESS and Ω CB are the sets of nodes containing energy storage and capacitor banks in the distribution network, Ω SVC and Ω DR They represent the set of reactive power compensation devices and demand response nodes in the distribution network, is the number of capacitor switching groups at node i at time t, ρ svc is the SVC unit operating cost, is the reactive power output of the SVC at node i at time t, represents the unit compensation price of demand response electricity at time t, represents the demand response power at time t; The distribution network loss cost can be expressed as formula 8: where λ loss Indicates the unit network loss price, Ω b Represents a set of distribution network nodes; The main grid electricity purchase cost can be expressed as formula 9: in represents the time-of-use electricity price, P t buy represents the amount of electricity purchased at time t; The constraints of the model are as follows: (1) Distribution network power flow constraints, as shown in Equations 10 to 15: Among them, P i,t and Q i,t represents the active and reactive power injection of node i at time t, P ij,t and Q ij,t is the active and reactive power flowing through branch ij at time t, and represents the active and reactive loads of node i at different times; and represents the photovoltaic active and reactive power of node i at time t, is the output of the reactive power compensator at node i at time t, represents the reactive output of the capacitor bank at node i at time t; (2) Voltage constraint, as shown in Equation 16: U min ≤U i,t ≤U max formula 16 Equation 16 limits the maximum and minimum values of the node voltage, where U i,t is the voltage of node i at time t; (3) Current constraint, as shown in Equation 17: Equation 17 limits the maximum and minimum values of branch current, where I ij,t is the magnitude of the current in branch ij at time t; (4) OLTC constraints, as shown in Equations 18 to 22: n ij,0 and n ij,t represents the transformation ratio at the initial moment and time t, Ω O Indicates the branch set configured for OLTC. represents the gear position at time t, It is a 0-1 variable. It takes the value 1 when the gear changes and takes the value 0 when the gear remains unchanged. is the maximum action limit of OLTC; (5) Capacitor bank constraints, as shown in Equations 23 to 26: in represents the unit reactive power compensation of the capacitor. Equation 24 constrains the number of switching groups of the capacitor group at node i at time t. Do not exceed the maximum number of switching groups It is a 0-1 variable, which is 1 when the number of switching groups changes and 0 when it does not change. It is the maximum action times limit of the capacitor bank; (6) Demand response constraint, as shown in Equation 27: in, It indicates the magnitude of active power demand response of node m; (7) Energy storage system constraints, as shown in equations 28 to 31: and is a 0-1 variable, indicating the charge and discharge status at time t. and is the maximum charge and discharge power limit, E i,t is the amount of energy stored at time t, η ch and η dis Indicates the charge and discharge efficiency; (8) SVC operation constraints, as shown in Equation 32: in, is the reactive power output of SVC at time t.
3. The two-stage robust optimization method for distributed photovoltaic access distribution network according to claim 1, characterized in that: The specific steps of step 2 are: Step 2.1: Linearize the model objective function. For better solution, transform the nonlinear terms in the model and introduce variables and As shown in formula 33-34: After introducing the above variables, we get the objective function shown in Equation 35: Then introduce the variable and The absolute value term in the objective function of the original OLTC and capacitor bank operation and After conversion, the converted expressions are shown in Equation 36 and Equation 37, and the constraints shown in Equation 38 and Equation 39 are added; Step 2.2: Linearize the constraints: (1) Power flow constraints There are quadratic terms in the power flow constraint equations 10-11 and 14-15. The quadratic terms of voltage and current are transformed according to the replacement strategy described in equations 33 and 34 to obtain the preliminary linearized power flow constraint conditions. The specific results are shown in equations 40 to 43. Relax Equation 43 containing the quadratic term into a second-order cone constraint form as shown in Equation 44: The converted node voltage constraint is shown in Equation 45: The converted branch current constraint is shown in Equation 46: (2) OLTC Constraints Introducing variables Replace the absolute value term in the original constraint The expression in equation 47 is obtained. After the square terms of voltage and current are transformed, the relationship between the transformation ratio, gear position and the voltage on both sides of the OLTC is shown in equation 48: In addition, auxiliary variables k and b are introduced k,t , k represents the OLTC tap location, b k,t It is a 0-1 variable. When it is equal to 1, it means that the OLTC is located at When it is equal to 0, it means it is not in files, It can be expressed by equation 49 and equation 50: The result after substituting into equation 48 is shown in equation 51: In the above formula Using variables Substitute to get the expression in Equation 52, and add the relevant constraints in Equations 53 and 54, (3) Capacitor operation constraints Based on variables Absolute value terms in constraints for the original capacitor After substitution, the linearized capacitor constraints are as follows:
4. The two-stage robust optimization method for distributed photovoltaic access distribution network according to claim 1, characterized in that: The specific process of step 3 is: First, the two-stage robust optimization model is described in a compact form, as shown in Equation 56 and Equation 57: Among them, the first stage control variable is x=[K O ,N CB ] T , including the gear position of OLTC, the number of capacitor banks switched, and the second stage control variable y = [Q SVC ,P DR P ch ,P dis ,P buy ,U,I,P,Q] T , including the charging and discharging power of the energy storage BESS, the reactive compensation amount of the SVC, the voltage and current and other parameters, u represents the uncertainty parameter, and Formula 57 is a compact form of the constraint condition, wherein the constraint formula (57-1) includes Formula 20, Formula 22-24, Formula 26, Formula 36, Formula 37, Formula 47, Formula 49, Formula 50, and Formula 55, the constraint formula (57-2) includes Formula 12 and Formula 13, the constraint (57-3) includes Formula 40-42 and Formula 52-54, the constraint formula (57-4) represents Formula 44, and the constraint formula (57-5) represents Formula 27, Formula 28, Formula 31-32, and Formula 45-46; In order to consider the impact of the uncertainty of photovoltaic output and load on the optimization model, a box-type uncertainty set of photovoltaic output and load is constructed. As shown in formula 58: in, is the uncertain variable size of photovoltaic output at time t, is the size of the uncertain variable of the load at time t, represents the photovoltaic output and load forecast value at time t, and Represents the maximum fluctuation of PV output and load at time t.
5. The two-stage robust optimization method for distributed photovoltaic access distribution network according to claim 1, characterized in that: The implementation steps of step 4 are: Step 4.1: Divide the problem into main and sub-problems. The objective function and constraints of the main problem are as follows: Where r = 1, 2…k, k is the number of harsh scenes identified; Step 4.2: In the process of solving the main problem, solve the decision variable x of the first stage, and in the process of solving the specific sub-problem, solve the decision variable y of the second stage; in addition, the upper bound of the original problem will be gradually adjusted as the sub-problem is iteratively solved. The objective function and constraints of the sub-problem are as follows: Equation 61 and Equation 62 represent the sub-problem objective function and constraint conditions, respectively, where π1, π2, μ i , i , σ are the dual variables in the subproblem.
6. The two-stage robust optimization method for distributed photovoltaic access distribution network according to claim 1, characterized in that: The implementation steps of step 5 are: Step 5.1: Convert the max-min double-layer problem into a single-layer max problem, and then replace the second-order cone standard form mentioned in equation 44 to obtain: Among them, the parameters in the brackets represent the dual variables of each formula, so the dual expression is as follows: The above compact form can be written as follows, ||ξ i ||2≤μ i Formula 71 Among them, ξ i , μ i are the cone dual variables of the i-th second-order cone constraint. After dual processing, we get the following expression: Step 5.2: Rewrite the uncertainty set description. When the photovoltaic output is minimum and the load is maximum, the cost of operation will increase significantly, and it is close to the "worst" operation scenario. The uncertainty set is rewritten as follows: In short: in, and is a 0-1 variable. When the uncertain variable is a boundary value, it takes the value 1. PV and Γ L Take a positive integer not greater than T to describe the uncertainty and conservatism of the solution in different scenarios. Substituting equation 74 into equation 72 yields: Introduce auxiliary variable B u ' Transform the bilinear term in equation 76 to obtain the final objective function and constraints in equations 77 and 78, in π1 max is the upper bound of the dual variable.
Citation Information
Patent Citations
Optimal scheduling method for power distribution network
CN110739725A
Dispersed power supply probability planning method and device for bearing capacity and network loss reconstruction
CN114595586A
Active power distribution network energy storage two-order robust planning method, device, equipment and medium
CN115062821A
Power distribution network active-reactive joint optimization method for coordinating network side resources
CN116388302A
