A park voltage control method, device, computer equipment and storage medium
By building an opportunity constraint model, and jointly controlling the reactive and active output of photovoltaic power stations, dynamic reactive power compensation devices and battery energy storage systems, the voltage fluctuation problem caused by photovoltaic grid connection is solved and the stable operation of the park power grid is achieved.
Patent Information
- Application Number
- CN202111098129.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-18
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2041-09-18
AI Technical Summary
Large-scale photovoltaic grid connection brings challenges to the safe and stable operation of small-scale park power grids, especially the reactive loss and voltage fluctuations caused by random changes in photovoltaic output. The existing technology is difficult to effectively control, resulting in voltage exceeding the normal range, affecting the power grid. Safety and stability.
By obtaining the working parameters of the target dynamic reactive power compensation device SVC, target battery energy storage system and target photovoltaic power station, an opportunity constraint model is built, and reactive and active output is coordinated, and sent to the SVC and battery energy storage system to control the park power grid. Voltage.
In the case of photovoltaic power fluctuations, through the coordinated cooperation of the battery energy storage system and SVC, the park voltage can be effectively stabilized and the safety and stability of power grid operation are improved.
Smart Images

Figure CN113839395B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of power grid operation and dispatching, and in particular to a park voltage control method, device, computer equipment and storage medium. Background Art
[0002] At present, photovoltaic power is clean, environmentally friendly, and widely distributed, and its grid-connected capacity is growing rapidly. However, large-scale photovoltaic grid connection has brought many impacts on the safe and stable operation of the power grid (especially for small-scale park-level power grids), which are mainly reflected in the following aspects:
[0003] With the random changes in photovoltaic active output and the large changes in active output in the park area, the reactive loss and voltage of the park power grid have changed significantly. Since the park reactive voltage control adopts a periodic control method, when the photovoltaic output fluctuates rapidly and significantly, the bus voltage in the park area is at risk of exceeding the limit; secondly, when the photovoltaic output is large, the static dynamic reactive compensation device (Static Var Compensator, SVC) is controlled to suppress the rapid fluctuation of voltage, which will cause it to operate frequently or irrationally. Due to the differences in the equipment performance and control mode of the dynamic reactive compensation device itself, the reactive voltage of the park cannot be adjusted quickly, which can easily cause the park voltage to exceed the normal range, resulting in low voltage or overvoltage disconnection of the photovoltaic grid.
[0004] Existing photovoltaics all have reactive voltage control functions, and the reactive voltage support of photovoltaics to the power grid is achieved through wind turbines and dynamic reactive compensation devices. However, due to the limited reactive support capacity of photovoltaics, the voltage at the grid connection point still fluctuates greatly. Existing parks are usually equipped with large-capacity battery energy storage systems. Large-scale battery energy storage systems have a significant impact on voltage by discharging at peak loads and charging at low loads. However, when controlling the reactive power of the park voltage, the battery energy storage system has not yet considered the coordinated control between the continuous reactive resources of photovoltaics and the active power of energy storage in the park, resulting in unreasonable reactive and active output in the entire park, and large differences in the voltage operation level of the park. Summary of the invention
[0005] The embodiments of the present invention provide a park voltage control method, device, computer equipment and storage medium, which can effectively ensure the quality function of the park voltage.
[0006] In a first aspect, an embodiment of the present invention provides a park voltage control method, the method comprising:
[0007] Obtain at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station for the grid connection point voltage in the target park;
[0008] According to each of the operating parameters, determine the objective function and control constraints for controlling the grid connection point voltage in the target park, and construct a chance constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and control constraints;
[0009] According to the opportunity constraint model, respectively determining the reactive power output corresponding to the target SVC and the active power output corresponding to the target battery energy storage system;
[0010] The reactive output and the active output are respectively sent to the target SVC and the target battery energy storage system to complete the control of the grid connection point voltage in the target park.
[0011] In a second aspect, an embodiment of the present invention further provides a park voltage control device, the device comprising:
[0012] A parameter acquisition module, used to acquire at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station for the grid connection point voltage in the target park;
[0013] A model building module, used to determine the objective function and control constraints for controlling the grid connection point voltage in the target park according to each of the operating parameters, and to build an opportunity constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and the control constraints;
[0014] An output determination module, used to determine the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system according to the opportunity constraint model;
[0015] The voltage control module is used to send the reactive output and the active output to the target SVC and the target battery energy storage system respectively, so as to complete the control of the grid connection point voltage in the target park.
[0016] In a third aspect, an embodiment of the present invention further provides a computer device, the computer device comprising:
[0017] one or more processors;
[0018] A storage device for storing one or more programs;
[0019] When the one or more programs are executed by the one or more processors, the one or more processors execute the park voltage control method provided by any embodiment of the present invention.
[0020] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the campus voltage control method provided by any embodiment of the present invention.
[0021] The technical solution of the embodiment of the present invention obtains the working parameters of the grid-connected point voltage in the target park by obtaining the target SVC, the target battery energy storage system and the target photovoltaic power station; determines the objective function and control constraints for controlling the grid-connected point voltage in the target park according to the various working parameters, and constructs an opportunity constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and the control constraints; determines the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system according to the opportunity constraint model; and the technical means of sending the reactive output and the active output to the target SVC and the target battery energy storage system respectively can effectively ensure the quality function of the park voltage through the coordinated cooperation of the active output of the battery energy storage system and the reactive output of the SVC in the case of photovoltaic power fluctuations. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] Figure 1 is a flow chart of a park voltage control method in Embodiment 1 of the present invention;
[0023] Figure 2 is a flow chart of a park voltage control method in Embodiment 2 of the present invention;
[0024] Figure 3 It is a structural diagram of a park voltage control device in Embodiment 3 of the present invention;
[0025] Figure 4 It is a structural diagram of a computer device in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0027] Embodiment 1
[0028] Figure 1This is a flow chart of a park voltage control method provided in Embodiment 1 of the present invention. This embodiment is applicable to the case of controlling the voltage of the grid connection point in the park. The method can be executed by a park voltage control device, which can be implemented by software and / or hardware and can generally be integrated in a computer and all intelligent devices (for example, terminal devices or servers) that include program running functions. Specifically, the method includes the following steps:
[0029] Step 110: Obtain at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station for the grid connection point voltage in the target park.
[0030] In this embodiment, the random fluctuation of photovoltaic output is one of the important factors leading to the reactive voltage problem in the park. Therefore, when controlling the reactive voltage in the park, it is necessary to obtain the target dynamic reactive compensation device SVC, the target battery energy storage system and the target photovoltaic power station, and the working parameters of the grid connection point voltage in the target park, respectively, so as to apply the uncertainty of photovoltaic output fluctuation to the reactive control calculation of the park, thereby reducing the impact of photovoltaic output fluctuation on the grid connection point voltage.
[0031] In one implementation of the embodiment of the present invention, obtaining at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station, respectively, for the grid connection point voltage in the target park includes:
[0032] Step 111, obtaining a first sensitivity matrix of the target SVC to the grid connection point voltage, a second sensitivity matrix of the active power change corresponding to the target battery energy storage system to the grid connection point voltage, and a third sensitivity matrix of the active power output corresponding to the target photovoltaic power station to the grid connection point voltage;
[0033] Among them, the first sensitivity matrix can be recorded as C pg , the second sensitivity matrix can be recorded as C pb , the third sensitivity matrix can be recorded as C ps .
[0034] Step 112: acquiring a photovoltaic prediction deviation sequence corresponding to the target photovoltaic power station, sampling the photovoltaic prediction deviation sequence to obtain a plurality of target photovoltaic prediction deviations, and calculating a target photovoltaic prediction fluctuation amount corresponding to each target photovoltaic prediction deviation;
[0035] In this step, obtaining the photovoltaic prediction deviation sequence corresponding to the target photovoltaic power station may include: obtaining the current photovoltaic output prediction value corresponding to the target photovoltaic power station; and determining the photovoltaic prediction deviation sequence corresponding to the target photovoltaic power station based on the current photovoltaic output prediction value and the installed capacity corresponding to the target photovoltaic power station.
[0036] Among them, the photovoltaic prediction deviation sequence has a mean of 0 and a variance of σ 2 The normal distribution of 2 It can be calculated by the following formula:
[0037] σ 2 =0.2P f +0.02P r
[0038] Among them, P f is the current photovoltaic output prediction value corresponding to the target photovoltaic power station, P r is the installed capacity corresponding to the target photovoltaic power station.
[0039] In this step, after obtaining the photovoltaic prediction deviation sequence corresponding to the target photovoltaic power station, the photovoltaic prediction deviation sequence is sampled to obtain N target photovoltaic prediction deviations, which are ε 1 ,ε 2 ,…ε N . Wherein, N can be set to 1000, and the specific value is preset according to the actual situation, and this embodiment does not limit this. After obtaining multiple target photovoltaic prediction deviations, the target photovoltaic prediction fluctuation corresponding to each target photovoltaic prediction deviation can be calculated by the following formula:
[0040]
[0041] Where ΔP s i is the target photovoltaic prediction fluctuation corresponding to the i-th target photovoltaic prediction deviation.
[0042] In this step, optionally, obtaining the current photovoltaic output prediction value corresponding to the target photovoltaic power station may include: obtaining the current actual photovoltaic output corresponding to the target photovoltaic power station; determining the current photovoltaic output prediction value corresponding to the target photovoltaic power station based on the current actual photovoltaic output corresponding to the target photovoltaic power station and the current photovoltaic prediction deviation corresponding to the target photovoltaic power station.
[0043] Among them, the current photovoltaic output prediction value P corresponding to the target photovoltaic power station f It can be calculated by the following formula: w =P f +ε,P w is the current actual photovoltaic output corresponding to the target photovoltaic power station, and ε is the current photovoltaic prediction deviation corresponding to the target photovoltaic power station.
[0044] Step 113: Acquire device attribute parameters and grid index measurement parameters corresponding to the target SVC, the target battery energy storage system, and the grid connection point voltage, respectively.
[0045] In this step, the device attribute parameters may optionally include: the reactive power upper limit value corresponding to the target SVC Reactive power lower limit Q g , the lower limit of energy storage power corresponding to the target battery energy storage system P b , Energy storage power upper limit And the bus reference voltage of the grid connection point
[0046] The grid indicator measurement parameters may include: the current reactive power corresponding to the target SVC The current energy storage power corresponding to the target battery energy storage system And the current voltage V p 0 .
[0047] Step 120: Determine the objective function and control constraints for controlling the grid connection point voltage in the target park based on the operating parameters, and construct a chance constraint model for making decisions on the target SVC and the target battery energy storage system based on the objective function and control constraints.
[0048] In one implementation of the embodiment of the present invention, determining an objective function for controlling the grid connection point voltage in the target park according to the operating parameters includes:
[0049] Step 121, determining the grid connection point voltage deviation according to the device attribute parameters and grid index measurement parameters corresponding to the grid connection point voltage, the first sensitivity matrix of the target SVC to the grid connection point voltage, and the second sensitivity matrix of the active power change corresponding to the target battery energy storage system to the grid connection point voltage;
[0050] In a specific embodiment, the grid connection point voltage deviation ΔV p It can be determined by the following formula:
[0051]
[0052] Among them, V p is the current voltage at the grid connection point, is the grid-connected point reference voltage, C pg is the first sensitivity matrix of the target SVC to the grid connection point voltage, C pb is the second sensitivity matrix of the active power change corresponding to the target battery energy storage system to the grid connection point voltage, ΔQg and ΔP b are optimization variables (quantities to be determined), which respectively represent the reactive power output corresponding to the target SVC and the active power output corresponding to the target battery energy storage system.
[0053] Step 122: Determine a reactive reserve margin index according to a grid index measurement parameter corresponding to the target SVC;
[0054] In this embodiment, the target PV power station is equipped with a target SVC, and sufficient dynamic reactive reserve can give full play to its rapid voltage adjustment function. Since the capacitor cannot be frequently operated due to its own control parameter limitation, it can be included in the reactive reserve margin index. Therefore, the reactive reserve margin index ΔQ of the PV cluster area can be determined by the following formula:
[0055]
[0056] in, is the current reactive power corresponding to the target SVC, is the reactive upper limit value corresponding to the target SVC, Q g It is the reactive power lower limit value corresponding to the target SVC.
[0057] Step 123: Determine an objective function for controlling the grid connection point voltage in the target park according to the grid connection point voltage deviation, the reactive reserve margin index and a preset weight ratio.
[0058] In this step, according to step 121 and step 122, the objective function for controlling the grid connection point voltage in the target park can be obtained as follows:
[0059] min{α p ||ΔV p || 2 +α s ||ΔQ s || 2}
[0060] Among them, α p and α s are the weight coefficients corresponding to the grid connection point voltage deviation and reactive power reserve margin index, α p Can be 0.8, α s Can be 0.2. p and α s The specific value of is preset according to the actual situation, and this embodiment does not limit this.
[0061] In one implementation of the embodiment of the present invention, determining a control constraint condition for controlling the grid connection point voltage in the target park according to each of the operating parameters includes:
[0062] Step 124: determining an opportunity constraint condition for controlling the grid connection point voltage in the target park according to the grid indicator measurement parameter corresponding to the grid connection point voltage, a third sensitivity matrix of the active output corresponding to the target photovoltaic power station to the grid connection point voltage, and the installed capacity corresponding to the target photovoltaic power station;
[0063] In this embodiment, the random fluctuation of photovoltaic active output will inevitably cause photovoltaic output prediction error. If the constraint condition is directly expressed in the form of equality constraint, it will not be able to correctly reflect the error value of photovoltaic output prediction. Therefore, this patent introduces the confidence level and uses the probability ΔP w The form expresses constraints.
[0064] In this step, specifically, the opportunity constraint condition can be determined by the following formula:
[0065]
[0066] P r {V p 0 +C pg ΔQ g +C pb ΔP b +C ps ΔP s ≥ V p }>β 2
[0067] Among them, V p 0 is the current voltage at the grid connection point, is the upper limit of the grid connection point voltage, V p is the lower limit of the grid connection point voltage, C ps is the third sensitivity matrix of the active output corresponding to the target photovoltaic power station to the grid connection point voltage, P r is the probability, β 1 is the confidence level for satisfying the voltage upper limit inequality constraint, β 2 is the confidence level for satisfying the voltage upper limit inequality constraint. ΔP s is a random variable, indicating the change in photovoltaic output. 1 can be 0.95, β 2 It can be 0.95. The specific value is preset according to the actual situation, and this embodiment does not limit this.
[0068] Step 125: Determine system operation constraints for controlling the voltage of the grid connection point in the target park according to the grid indicator measurement parameters corresponding to the target SVC and the target battery energy storage system respectively.
[0069] In this step, the system operation constraints include the target SVC capacity constraint and the target battery energy storage system capacity constraint. Specifically, the system operation constraints can be determined by the following formula:
[0070]
[0071] in, is the current reactive power corresponding to the target SVC, is the reactive upper limit value corresponding to the target SVC, Q g It is the reactive power lower limit value corresponding to the target SVC. is the current energy storage power corresponding to the target battery energy storage system, P b is the lower limit of energy storage power corresponding to the target battery energy storage system, is the upper limit of the energy storage power corresponding to the target battery energy storage system.
[0072] In this step, the opportunity constraint condition and the system operation constraint condition together constitute the opportunity constraint condition for controlling the voltage of the grid connection point in the target park.
[0073] In this embodiment, after determining the objective function and control constraints, the opportunity constraint model can be obtained as follows:
[0074]
[0075]
[0076] P r {V p 0 +C pg ΔQ g +C pb ΔP b +C ps ΔP s ≥ V p }>β 2
[0077]
[0078]
[0079] Step 130: Determine the reactive power output corresponding to the target SVC and the active power output corresponding to the target battery energy storage system according to the chance constraint model.
[0080] In this embodiment, optionally, the chance constraint model can be solved by Lagrangian relaxation method, decomposition algorithm, trust region algorithm and other methods to obtain the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system.
[0081] Step 140: Send the reactive power and the active power to the target SVC and the target battery energy storage system, respectively, to complete the control of the grid connection point voltage in the target park.
[0082] The technical solution of the embodiment of the present invention obtains the working parameters of the grid-connected point voltage in the target park by obtaining the target SVC, the target battery energy storage system and the target photovoltaic power station; determines the objective function and control constraints for controlling the grid-connected point voltage in the target park according to the various working parameters, and constructs an opportunity constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and the control constraints; determines the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system according to the opportunity constraint model; and the technical means of sending the reactive output and the active output to the target SVC and the target battery energy storage system respectively can effectively ensure the quality function of the park voltage through the coordinated cooperation of the active output of the battery energy storage system and the reactive output of the SVC in the case of photovoltaic power fluctuations.
[0083] Embodiment 2
[0084] This embodiment is a further refinement of the above-mentioned embodiment 1. The explanation of terms that are the same or corresponding to those in the above-mentioned embodiment will not be repeated in this embodiment. Figure 2 This is a flow chart of a park voltage control method provided in Embodiment 2 of the present invention. In this embodiment, the technical solution of this embodiment can be combined with one or more methods in the solutions of the above embodiments. In this embodiment, Figure 2 As shown, the method provided by the embodiment of the present invention may also include:
[0085] Step 210: Obtain at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station for the grid connection point voltage in the target park.
[0086] Step 220: Determine the objective function and control constraints for controlling the grid connection point voltage in the target park based on the operating parameters, and construct a chance constraint model for making decisions on the target SVC and the target battery energy storage system based on the objective function and control constraints.
[0087] Step 230: Establish constraint expressions corresponding to each target photovoltaic prediction fluctuation according to the chance constraint model and the Lagrange multiplier method.
[0088] In this embodiment, the probability event in the chance constraint condition is not represented by a single linear inequality, but by a combination of multiple linear inequalities. For this, it can be represented as a probability event represented by an inequality through the infinite norm. For the convenience of writing and expressing these two probability constraint models in a unified way, the following notation can be introduced in this embodiment:
[0089] First, for the convenience of description, we can write x = (ΔQ g ,ΔP b ) T , and order
[0090]
[0091] G 2 (ΔQ g ,ΔP b ,ΔP s )=V p 0 +C pg ΔQ g +C pb ΔP b +C ps ΔP s - V p
[0092] Introducing auxiliary function q(ΔQ g ,ΔP b ,ΔP s ),in:
[0093] q(ΔQ g ,ΔP b ,ΔP s )=P r (G 1 (x,ΔP s )≥0,G 2 (x,ΔP s )≥0)
[0094] =E(Ι (0,∞) (G 1 (x,ΔP s ),G 2 (x,ΔP s )))
[0095] In this embodiment, 1 (0,∞) (G 1 (x,ΔP s ),G 2(x,ΔP s )) represents the indicator function, that is:
[0096] When G 1 (x,ΔP s )≥0,G 2 (x,ΔP s )≥0, Ι (0,∞) (G 1 (x,ΔP s ),G 2 (x,ΔP s ))=1;
[0097] When G 1 (x,ΔP s )≤0 or G 2 (x,ΔP s )≤0, 1 (0,∞) (G 1 (x,ΔP s ),G 2 (x,ΔP s ))=0.
[0098] Through the above formula, the opportunity constraint model can be equivalent to the following form:
[0099]
[0100] st q(ΔQ g ,ΔP b ,ΔP s )≥0.95
[0101]
[0102]
[0103] In order to overcome the shortcomings of existing algorithms, such as their dependence on distribution types and difficulty in implementation, this embodiment adopts a sample average approximation strategy recently proposed in the field of stochastic programming to transform probability constraints. Its greatest advantage is that it does not need to assume the original distribution type, but only approximates the original random distribution by extracting a group of samples, and can ensure convergence.
[0104] In this embodiment, the random variable ΔP can be s , let ΔP s i (i=1,2,…,N) is ΔP s N independent and identically distributed samples can be used to approximate its own distribution, and the average of these samples can be used to approximate the expectation of its original distribution, that is, using: To approximate q(ΔQ g ,ΔPb ,ΔP s ). Thus, for a given probability or confidence level (e.g. 0.95), the above formula can be converted into the following optimization problem:
[0105]
[0106]
[0107]
[0108]
[0109] Since q(ΔQ g ,ΔP b ,ΔP s ) contains non-smooth characteristic functions This makes the above expression difficult to process. Therefore, this embodiment can adopt mixed integer programming to transform the indicative function into a linear form by introducing auxiliary variables. Specifically, let:
[0110]
[0111] Then q(ΔQ g ,ΔP b ,ΔP s ) can be used i The linear function representation of is:
[0112] Among them, z i With ΔQ g ,ΔP b ,ΔP s and G 1 (x,ΔP s i ),G 2 (x,ΔP s i ) should satisfy the linear inequality:
[0113] G 1 (x,ΔP s i )+M(1-z i )≥0,G 1 (x,ΔP s i )≤Mz i
[0114] G 2 (x,ΔP s i )+M(1-z i )≥0,G 2(x,ΔP s i )≤Mz i
[0115] Among them, z i ∈{0,1}, M is a large positive number, which can be 9999. The specific value is preset according to the actual situation, and this embodiment does not limit this.
[0116] Since the number of random variable samples in practice is very large, the above expression is often a large-scale linear integer programming. It is difficult to find a satisfactory solution in a short time by directly using the classic branch and bound method or cutting plane method. In order to effectively solve the above problem, this embodiment will draw on the idea of the decomposition algorithm for processing large-scale linear programming and decompose the solution of the problem into a series of small-scale problems through the dual method.
[0117] Analyzing the above model, except for the probability constraint, the other constraints are not separable because they are associated with all decision variables. If it is forcibly divided into N sub-planning problems for each sample, it may lead to inconsistent optimal decisions in different situations. To overcome this difficulty, this embodiment introduces a set of constraints similar to the unexpected constraints in random programming:
[0118] in, Indicates scenario (sample) i 1 The value of the decision vector under the same conditions. This constraint requires that the decisions under any two different scenarios are the same. To reduce the number of such constraints, it can be required that for each scenario, there is a constraint to ensure that the decision under it is the same as the decision under any other scenario, so only N constraints are needed. In this embodiment, the solutions under any two adjacent scenarios are equal, that is:
[0119]
[0120] Corresponding to the scenario decision introduced above, the objective function is:
[0121]
[0122] It can be expressed as a linear combination of multiple work functions. In this embodiment, they are weighted and summed according to the probability of occurrence of each scenario, that is, let:
[0123]
[0124] Through the above-mentioned unexpected constraints, the Lagrange relaxation method can be used to scale all unexpected constraints and probabilistic constraints into the objective function by introducing Lagrange multipliers, thereby ensuring that the remaining constraints are separable relative to different sampling values. The advantage of this method is that it can approach the original large-scale and difficult to solve problems by processing a series of small-scale problems that are easier to solve, which can greatly improve the solution efficiency and obtain a solution that meets the accuracy requirements in a shorter time, namely:
[0125]
[0126] s G 1 (x i ,ΔP s i )+M(1-z i )≥0,G 1 (x i ,ΔP s i )≤Mz i i∈[1,N]
[0127] G 2 (x i ,ΔP s i )+M(1-z i )≥0,G 2 (x i ,ΔP s i )≤Mz i i∈[1,N]
[0128]
[0129]
[0130] z i ∈{0,1}
[0131] Among them, λ i,jis the Granangi multiplier. Generally speaking, the dual problem is generally a non-smooth problem, so this embodiment uses the trust region technology that is more commonly used in non-smooth optimization to determine the search step size. The idea of the trust region method is to determine the step size of the next step according to the effect of each iteration on the improvement of the objective function value. If the improvement of the previous iteration is obvious, it means that this direction is very good, then the step size is increased to achieve a faster descent; if the improvement of the previous iteration is not obvious, then the step size is reduced to avoid moving too much in a bad direction. Applied to the problem in this embodiment, the degree of improvement between the current iteration process and the previous iteration process can be observed in real time. Specifically, the total decrease in the objective function value can be used as a measure of the degree of improvement. When the difference between the target value of this iteration and the target value of the previous iteration is less than the threshold value θ, the step size is increased; when the difference is greater than θ, the step size is reduced; when the difference is between the above two situations, the step size remains unchanged.
[0132] Through the above formula, the i-th constraint expression corresponding to the i-th target photovoltaic forecast fluctuation can be established:
[0133]
[0134]
[0135]
[0136]
[0137]
[0138]
[0139] in,
[0140] ΔQ g,k i is the reactive output corresponding to the target SVC to be determined in the kth round of the i-th constraint expression;
[0141] ΔP b,k i is the active output corresponding to the target battery energy storage system to be determined in the kth round of the i-th constraint expression;
[0142] is the Lagrange multiplier of the ith constraint expression that ensures constraint consistency in round k;
[0143] According to the above expression, the dual variable is recorded as Let the original variable be It is the integer variable to be determined in the kth round of the ith constraint expression and has no actual physical meaning; It is The optimal integer variable obtained by solving the constraint expressions.
[0144] Step 240: Solve the constraint expressions corresponding to the target photovoltaic predicted fluctuations to obtain the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system.
[0145] At this step, we can set the parameter α p =0.8,α s =0.2, θ=1.5, the upper limit of the number of iteration steps K=100, η L =1.2,η U =0.6, step length s k =1, this embodiment can construct the following iterative algorithm to solve the constraint expression corresponding to each target photovoltaic prediction fluctuation amount:
[0146] Step 1: Initialize the Lagrange multiplier initialization Let k = 1;
[0147] Step 2: The i-th constraint expression corresponding to the i-th target photovoltaic forecast fluctuation is:
[0148]
[0149]
[0150]
[0151]
[0152]
[0153]
[0154] Step 3: Use the branch and bound method to solve the above expression and get Optimal solution and optimal value
[0155] Step 4: Update step size: If Then k =η L s k-1 ;if Then k =η U s k-1 ;
[0156] Step 5: Substitute into the objective function and calculate the subgradient of the corresponding dual problem:
[0157]
[0158] Step 6: Update the dual variables if If an element in is less than 0, then the element at the corresponding position is directly set to 0;
[0159] Step 7: Return to execute steps 2-6 until the i-th constraint expression converges and its optimal solution is The optimal value is
[0160] Step 8: Let i=i+1, and the optimal solutions of all N constraint expressions can be calculated in sequence:
[0161]
[0162] Step 9: Determine whether the original problem converges: If Then terminate, the current solution vector It is the optimal solution of the constraint expression, otherwise go to step 10;
[0163] Step 10: Update the parameters: Recalculate the optimal solutions of the N constraint expressions until convergence, and then execute step 11;
[0164] Step 11 The first element of is the reactive power output corresponding to the target SVC. The second element is the active output corresponding to the target battery energy storage system, that is:
[0165]
[0166] Step 250: Send the reactive power and the active power to the target SVC and the target battery energy storage system, respectively, to complete the control of the grid connection point voltage in the target park.
[0167] The technical solution of the embodiment of the present invention obtains the working parameters of the target SVC, the target battery energy storage system and the target photovoltaic power station, respectively, for the grid-connected point voltage in the target park, determines the objective function and control constraints for controlling the grid-connected point voltage in the target park according to the working parameters, and constructs an opportunity constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and the control constraints. According to the opportunity constraint model and the Lagrange multiplier method, a constraint expression corresponding to each target photovoltaic predicted fluctuation is established, and the constraint expression corresponding to each target photovoltaic predicted fluctuation is solved to obtain the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system. The reactive output and the active output are respectively sent to the target SVC and the target battery energy storage system to complete the technical means of controlling the grid-connected point voltage in the target park. Under the condition of photovoltaic power fluctuation, the quality function of the park voltage can be effectively guaranteed through the coordinated cooperation of the active output of the battery energy storage system and the reactive output of the SVC.
[0168] Embodiment 3
[0169] Figure 3 This is a structural diagram of a park voltage control device provided in Embodiment 3 of the present invention. The device includes: a parameter acquisition module 310, a model construction module 320, an output determination module 330 and a voltage control module 340.
[0170] The parameter acquisition module 310 is used to obtain at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station for the grid connection point voltage in the target park;
[0171] A model building module 320 is used to determine the objective function and control constraints for controlling the grid connection point voltage in the target park according to each of the operating parameters, and to build a chance constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and the control constraints;
[0172] An output determination module 330, for determining the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system according to the opportunity constraint model;
[0173] The voltage control module 340 is used to send the reactive output and the active output to the target SVC and the target battery energy storage system respectively, so as to complete the control of the grid connection point voltage in the target park.
[0174] The technical solution of the embodiment of the present invention obtains the working parameters of the grid-connected point voltage in the target park by obtaining the target SVC, the target battery energy storage system and the target photovoltaic power station; determines the objective function and control constraints for controlling the grid-connected point voltage in the target park according to the various working parameters, and constructs an opportunity constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and the control constraints; determines the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system according to the opportunity constraint model; and the technical means of sending the reactive output and the active output to the target SVC and the target battery energy storage system respectively can effectively ensure the quality function of the park voltage through the coordinated cooperation of the active output of the battery energy storage system and the reactive output of the SVC in the case of photovoltaic power fluctuations.
[0175] Based on the above embodiments, the parameter acquisition module 310 may include:
[0176] A sensitivity matrix acquisition unit, used to acquire a first sensitivity matrix of the target SVC to the grid-connected point voltage, a second sensitivity matrix of the active power change corresponding to the target battery energy storage system to the grid-connected point voltage, and a third sensitivity matrix of the active power output corresponding to the target photovoltaic power station to the grid-connected point voltage;
[0177] A deviation sequence acquisition unit is used to acquire a photovoltaic prediction deviation sequence corresponding to the target photovoltaic power station, sample the photovoltaic prediction deviation sequence to obtain a plurality of target photovoltaic prediction deviations, and calculate a target photovoltaic prediction fluctuation amount corresponding to each target photovoltaic prediction deviation;
[0178] An equipment parameter acquisition unit, used to acquire equipment attribute parameters and grid index measurement parameters corresponding to the target SVC, the target battery energy storage system and the grid connection point voltage respectively;
[0179] An output prediction value acquisition unit, used to acquire a current photovoltaic output prediction value corresponding to the target photovoltaic power station;
[0180] a deviation sequence determining unit, configured to determine a photovoltaic prediction deviation sequence corresponding to the target photovoltaic power station according to the current photovoltaic output prediction value and the installed capacity corresponding to the target photovoltaic power station;
[0181] A photovoltaic output acquisition unit, used to acquire the current actual photovoltaic output corresponding to the target photovoltaic power station;
[0182] The output prediction value determination unit is used to determine the current photovoltaic output prediction value corresponding to the target photovoltaic power station according to the current actual photovoltaic output corresponding to the target photovoltaic power station and the current photovoltaic prediction deviation corresponding to the target photovoltaic power station.
[0183] The model building module 320 may include:
[0184] A voltage deviation determining unit, configured to determine a grid connection point voltage deviation according to device attribute parameters and grid index measurement parameters corresponding to the grid connection point voltage, a first sensitivity matrix of the target SVC to the grid connection point voltage, and a second sensitivity matrix of the active power change corresponding to the target battery energy storage system to the grid connection point voltage;
[0185] A margin index determination unit, configured to determine a reactive reserve margin index according to a grid index measurement parameter corresponding to the target SVC;
[0186] An objective function determination unit, configured to determine an objective function for controlling the voltage of the grid connection point in the target park according to the grid connection point voltage deviation, the reactive reserve margin index and a preset weight ratio;
[0187] An opportunity constraint determination unit, configured to determine an opportunity constraint for controlling the grid connection point voltage in a target park according to a grid indicator measurement parameter corresponding to the grid connection point voltage, a third sensitivity matrix of the active output corresponding to the target photovoltaic power station to the grid connection point voltage, and an installed capacity corresponding to the target photovoltaic power station;
[0188] An operation constraint determination unit is used to determine a system operation constraint for controlling the voltage of a grid connection point in a target park according to grid indicator measurement parameters corresponding to the target SVC and the target battery energy storage system respectively.
[0189] The output determination module 330 may include:
[0190] A model expression building unit, used to build a constraint expression corresponding to each target photovoltaic prediction fluctuation amount according to the opportunity constraint model and the Lagrange multiplier method;
[0191] The expression solving unit is used to solve the constraint expressions corresponding to each target photovoltaic predicted fluctuation amount to obtain the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system.
[0192] The park voltage control device provided in the embodiment of the present invention can execute the park voltage control method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0193] Embodiment 4
[0194] Figure 4 A schematic diagram of the structure of a computer device provided in Embodiment 4 of the present invention is shown in FIG. Figure 4As shown, the computer device includes a processor 410, a memory 420, an input device 430, and an output device 440; the number of processors 410 in the computer device can be one or more. Figure 4 A processor 410 is taken as an example; the processor 410, memory 420, input device 430 and output device 440 in the computer device can be connected via a bus or other means. Figure 4 The example of the connection via bus is taken. The memory 420, as a computer-readable storage medium, can be used to store software programs, computer executable programs and modules, such as program instructions / modules corresponding to a park voltage control method in any embodiment of the present invention (for example, a parameter acquisition module 310, a model building module 320, an output determination module 330 and a voltage control module 340 in a park voltage control device). The processor 410 executes various functional applications and data processing of the computer device by running the software programs, instructions and modules stored in the memory 420, that is, implements the above-mentioned park voltage control method. That is, when the program is executed by the processor, it implements:
[0195] Obtain at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station for the grid connection point voltage in the target park;
[0196] According to each of the operating parameters, determine the objective function and control constraints for controlling the grid connection point voltage in the target park, and construct a chance constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and control constraints;
[0197] According to the opportunity constraint model, respectively determining the reactive power output corresponding to the target SVC and the active power output corresponding to the target battery energy storage system;
[0198] The reactive output and the active output are respectively sent to the target SVC and the target battery energy storage system to complete the control of the grid connection point voltage in the target park.
[0199] The memory 420 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the terminal, etc. In addition, the memory 420 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some instances, the memory 420 may further include a memory remotely arranged relative to the processor 410, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The input device 430 may be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the computer device, and may include a keyboard and a mouse, etc. The output device 440 may include a display device such as a display screen.
[0200] Embodiment 5
[0201] Embodiment 5 of the present invention further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method described in any embodiment of the present invention is implemented. Of course, a computer-readable storage medium provided in an embodiment of the present invention can perform related operations in a park voltage control method provided in any embodiment of the present invention. That is, when the program is executed by a processor, the following is implemented:
[0202] Obtain at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station for the grid connection point voltage in the target park;
[0203] According to each of the operating parameters, determine the objective function and control constraints for controlling the grid connection point voltage in the target park, and construct a chance constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and control constraints;
[0204] According to the opportunity constraint model, respectively determining the reactive power output corresponding to the target SVC and the active power output corresponding to the target battery energy storage system;
[0205] The reactive output and the active output are respectively sent to the target SVC and the target battery energy storage system to complete the control of the grid connection point voltage in the target park.
[0206] Through the above description of the implementation methods, the technicians in the relevant field can clearly understand that the present invention can be implemented by means of software and necessary general hardware, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0207] It is worth noting that in the above-mentioned embodiment of the park voltage control device, the various units and modules included are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention.
[0208] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A park voltage control method, characterized in that: include: Obtain at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station for the grid connection point voltage in the target park; According to each of the operating parameters, determine the objective function and control constraints for controlling the grid connection point voltage in the target park, and construct a chance constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and control constraints; According to the opportunity constraint model, respectively determining the reactive power output corresponding to the target SVC and the active power output corresponding to the target battery energy storage system; The reactive power output and the active power output are respectively sent to the target SVC and the target battery energy storage system to complete the control of the grid connection point voltage in the target park; The obtaining of at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station for the grid connection point voltage in the target park includes: Obtain a first sensitivity matrix of the target SVC to the grid connection point voltage, a second sensitivity matrix of the active power change corresponding to the target battery energy storage system to the grid connection point voltage, and a third sensitivity matrix of the active power output corresponding to the target photovoltaic power station to the grid connection point voltage; Acquire a photovoltaic prediction deviation sequence corresponding to the target photovoltaic power station, sample the photovoltaic prediction deviation sequence to obtain a plurality of target photovoltaic prediction deviations, and calculate a target photovoltaic prediction fluctuation amount corresponding to each target photovoltaic prediction deviation; The device attribute parameters and grid index measurement parameters corresponding to the target SVC, the target battery energy storage system and the grid connection point voltage are obtained.
2. The method according to claim 1, characterized in that According to the operating parameters, an objective function for controlling the voltage of the grid connection point in the target park is determined, including: Determine the grid connection point voltage deviation according to the device attribute parameters and grid index measurement parameters corresponding to the grid connection point voltage, the first sensitivity matrix of the target SVC to the grid connection point voltage, and the second sensitivity matrix of the active power change corresponding to the target battery energy storage system to the grid connection point voltage; Determining a reactive reserve margin index according to a power grid index measurement parameter corresponding to the target SVC; According to the grid connection point voltage deviation, the reactive power reserve margin index and a preset weight ratio, an objective function for controlling the grid connection point voltage in the target park is determined.
3. The method according to claim 1, characterized in that According to the operating parameters, a control constraint condition for controlling the voltage of the grid connection point in the target park is determined, including: Determine the opportunity constraint conditions for controlling the grid connection point voltage in the target park according to the grid indicator measurement parameters corresponding to the grid connection point voltage, the third sensitivity matrix of the active output corresponding to the target photovoltaic power station to the grid connection point voltage, and the installed capacity corresponding to the target photovoltaic power station; According to the grid indicator measurement parameters corresponding to the target SVC and the target battery energy storage system, respectively, system operation constraint conditions for controlling the grid connection point voltage in the target park are determined.
4. The method according to claim 1, characterized in that: According to the opportunity constraint model, the reactive power output corresponding to the target SVC and the active power output corresponding to the target battery energy storage system are determined respectively, including: According to the chance constraint model and the Lagrange multiplier method, a constraint expression corresponding to each target photovoltaic prediction fluctuation amount is established; The constraint expressions corresponding to each target photovoltaic predicted fluctuation are solved to obtain the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system.
5. The method according to claim 1, characterized in that: Obtaining a photovoltaic prediction deviation sequence corresponding to the target photovoltaic power station, including: Obtaining a current photovoltaic output prediction value corresponding to the target photovoltaic power station; A photovoltaic prediction deviation sequence corresponding to the target photovoltaic power station is determined according to the current photovoltaic output prediction value and the installed capacity corresponding to the target photovoltaic power station.
6. The method according to claim 5, characterized in that Obtaining a current photovoltaic output prediction value corresponding to the target photovoltaic power station, including: Obtaining the current actual photovoltaic output corresponding to the target photovoltaic power station; According to the current actual photovoltaic output corresponding to the target photovoltaic power station and the current photovoltaic prediction deviation corresponding to the target photovoltaic power station, a current photovoltaic output prediction value corresponding to the target photovoltaic power station is determined.
7. A park voltage control device, characterized in that: include: A parameter acquisition module, used to acquire at least one working parameter of the target dynamic reactive power compensation device SVC, the target battery energy storage system and the target photovoltaic power station for the grid connection point voltage in the target park; A model building module, used to determine the objective function and control constraints for controlling the grid connection point voltage in the target park according to each of the operating parameters, and to build an opportunity constraint model for making decisions on the target SVC and the target battery energy storage system according to the objective function and the control constraints; An output determination module, used to determine the reactive output corresponding to the target SVC and the active output corresponding to the target battery energy storage system according to the opportunity constraint model; A voltage control module, used to send the reactive output and the active output to the target SVC and the target battery energy storage system, respectively, to complete the control of the grid connection point voltage in the target park; The parameter acquisition module includes a sensitivity matrix acquisition unit, a deviation sequence acquisition unit, and a device parameter acquisition unit; The sensitivity matrix acquisition unit is used to acquire a first sensitivity matrix of the target SVC to the grid connection point voltage, a second sensitivity matrix of the active power change corresponding to the target battery energy storage system to the grid connection point voltage, and a third sensitivity matrix of the active power output corresponding to the target photovoltaic power station to the grid connection point voltage; The deviation sequence acquisition unit is used to acquire a photovoltaic prediction deviation sequence corresponding to the target photovoltaic power station, sample the photovoltaic prediction deviation sequence to obtain a plurality of target photovoltaic prediction deviations, and calculate a target photovoltaic prediction fluctuation amount corresponding to each target photovoltaic prediction deviation; The device parameter acquisition unit is used to acquire device attribute parameters and grid index measurement parameters corresponding to the target SVC, the target battery energy storage system and the grid connection point voltage respectively.
8. A computer device comprising: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the park voltage control method as described in any one of claims 1 to 6 is implemented when the one or more processors execute the programs.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the park voltage control method as described in any one of claims 1-6 is implemented.
