Energy storage capacity setting method for promoting renewable energy consumption

Through Gaussian hybrid model and mixed integer linear planning optimization, the problems of intermittent and volatility of renewable energy are solved, the optimal configuration of energy storage capacity is achieved, the stability of the power system and energy utilization efficiency are improved, and the operating cost is reduced. .

CN118971066AInactive Publication Date: 2024-11-15STATE GRID ANHUI ELECTRIC POWER CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411118716.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-11-15
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The intermittent and volatility of renewable energy lead to mismatch between energy supply and demand, increasing the operating risks of power systems and limiting the large-scale application of new energy.

Method used

By obtaining data on thermal power sets, renewable power supplies, energy storage equipment and loads, the Gaussian hybrid model is used to describe the actual power generation power uncertainty of renewable power, and an energy storage capacity setting model is established, combining deterministic linear constraints and uncertainty bilateral Opportunity constraints, using mixed integer linear programming optimization solution to obtain the optimal energy storage capacity configuration.

Benefits of technology

It improves the consumption capacity of renewable energy, reduces system operation costs, improves energy utilization efficiency, enhances the flexibility and stability of the power system, reduces resource consumption, and promotes the sustainable development of the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118971066A_ABST
    Figure CN118971066A_ABST
Patent Text Reader

Abstract

The invention discloses an energy storage capacity setting method for promoting renewable energy consumption, and the method comprises the steps: 1, obtaining data in a system, and calculating the maximum renewable energy power which can be consumed by the system; 2, modeling the uncertainty of the actual generated power of the renewable power supply in the system, and constructing a probability density function based on a Gaussian mixture model; 3, establishing an energy storage capacity setting model for promoting renewable energy consumption, wherein the energy storage capacity setting model comprises an objective function, a deterministic linear constraint and an uncertain bilateral opportunity constraint; 4, converting the uncertainty bilateral opportunity constraint into an equivalent form of a deterministic constraint, and constructing an equivalent deterministic model of the energy storage capacity setting model; and 5, performing optimization solution by using a mixed integer linear programming solver to obtain optimal energy storage capacity configuration. Generation and use of renewable energy sources are effectively managed through energy storage, higher flexibility and stability are provided for a power system, and therefore the problem of renewable energy source consumption is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of power system operation control, and specifically is a method for setting energy storage capacity to promote the consumption of renewable energy; Background Art

[0002] In the context of the current global energy transformation, renewable energy such as solar and wind power have become the main force driving the development of clean energy. Many countries are expanding the installed capacity of renewable energy to reduce dependence on traditional fossil fuels. With the increasing global attention and dependence on renewable energy, the large-scale consumption of new energy has also become a matter of great concern. The consumption of these new energy sources faces many challenges, one of which is their uncontrollable intermittent and volatile nature, which leads to a mismatch between energy supply and demand. This instability not only increases the operating risk of the power system, but also limits the large-scale application of new energy; Summary of the invention

[0003] The present invention aims to address the deficiencies of the above-mentioned prior art and proposes a method for setting energy storage capacity to promote the consumption of renewable energy, in order to provide greater flexibility and stability for the power system by effectively managing the time difference between the generation and use of energy, thereby solving the problem of the instability of renewable energy and obtaining the optimal energy storage capacity configuration to promote the consumption of renewable energy.

[0004] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme:

[0005] The method for setting energy storage capacity for promoting the consumption of renewable energy of the present invention is characterized in that it is applied to a system consisting of a thermal power unit, a renewable power source, an energy storage device and a load, and comprises the following steps:

[0006] Step 1: Obtain data on thermal power units, renewable power sources, energy storage equipment and loads in the system, and calculate the maximum renewable energy power that can be absorbed by the system using formula (1) based on the data of each component of the system:

[0007] (1)

[0008] In formula (1), Indicates the number of thermal power units in the system; represents the minimum power generation of the thermal power unit at the i-th node; Indicates the number of renewable power sources in the system; represents the maximum power generation of the renewable power source at the jth node in period t; Indicates the number of energy storage devices in the system; represents the maximum charging power of the energy storage device at the mth node; Indicates the number of loads in the system; represents the power consumption of the load at the nth node in time period t;

[0009] Step 2: Model the uncertainty of the actual power generation of renewable power sources in the system, and regard the actual power generation of renewable power sources at all nodes as dimensional random variable ;in, represents the actual power generation of the renewable power source at the jth node in period t; and describes the dimensional random variable The joint probability distribution of , thus using equations (1) to (3) to construct the The probability density function of is:

[0010] (2)

[0011] (3)

[0012] (4)

[0013] In formula (2) to formula (4), Indicates that during period t dimensional random variable The probability density function of Represents a random variable The value of , Respectively represent the normal distribution components and dimensions of the Gaussian mixture model; , , Respectively represent the weight coefficient, mean vector and covariance matrix of the kth normal distribution component; Represents the transpose of a matrix; represents the determinant of the kth covariance matrix;

[0014] Step 3: Based on the uncertainty of renewable energy and the characteristics of energy storage equipment, a storage capacity setting model for promoting renewable energy consumption is established, including: objective function, deterministic linear constraints and uncertain bilateral opportunity constraints;

[0015] Step 4: Based on the affine transformation invariance of the Gaussian mixture model, a one-dimensional description form of the Gaussian mixture model is constructed, and based on the cumulative distribution function of the one-dimensional description form of the Gaussian mixture model, the uncertain bilateral chance constraint is transformed into an equivalent form of the deterministic constraint;

[0016] Step 5: Use a mixed integer linear programming solver to optimize and solve the energy storage capacity setting model to obtain the optimal energy storage capacity configuration when the total operating resource consumption is minimized.

[0017] The method for setting energy storage capacity to promote renewable energy consumption according to the present invention is also characterized in that step three comprises:

[0018] Step 2.1: Use formula (5) to construct the objective function with the goal of minimizing the total resource consumption of the system:

[0019] (5)

[0020] In formula (5), Indicates the number of time periods during which the system is running; represents the power generation fuel consumption of the thermal power unit at the i-th node in period t, and is obtained by formula (6); represents the reserve capacity consumption of the thermal power unit at the i-th node in period t, and is obtained by formula (7); represents the power abandonment penalty of renewable power source at the jth node in period t, and is obtained by formula (8); represents the input resource consumption of the energy storage device at the mth node, and is obtained by equations (9) to (11); represents the operating resource consumption of the energy storage device at the mth node in period t, and is obtained by formula (12);

[0021] (6)

[0022] In formula (6), , and They represent the quadratic coefficient, linear coefficient and constant term of the power generation consumption of the thermal power unit at the i-th node respectively; represents the power generation of the thermal power unit at the i-th node in period t;

[0023] (7)

[0024] In formula (7), , They represent the upward reserve consumption coefficient and downward reserve consumption coefficient of the thermal power unit at the i-th node respectively; , They represent the upward reserve capacity and downward reserve capacity of the thermal power unit at the i-th node in period t respectively;

[0025] (8)

[0026] In formula (8), represents the power abandonment penalty coefficient of the renewable power source at the jth node; represents the potential power abandonment of renewable power at the jth node in period t;

[0027] (9)

[0028] (10)

[0029] (11)

[0030] In formula (9) to formula (11), represents the initial investment resource consumption of the energy storage equipment at the mth node; represents the maintenance resource consumption of the long-term operation of the energy storage device at the mth node; Indicates the maximum charge and discharge power allowed by the energy storage device at the mth node; represents the unit capacity resource consumption of the energy storage device at the mth node; represents the installed capacity of the energy storage device at the mth node; represents the maintenance resource consumption of the energy storage device at the mth node; represents the number of charge and discharge times of the energy storage device at the mth node;

[0031] (12)

[0032] In formula (12), represents the electricity cost in period t; represents the charge and discharge amount of the energy storage device at the jth node in time period t;

[0033] Step 2.2: Determine the deterministic linear constraints of the energy storage capacity setting model, including:

[0034] Step 2.2.1: Use formula (13) to construct the power balance constraint:

[0035] (13)

[0036] In formula (13), represents the planned power generation of renewable power at the jth node in period t; represents the charging and discharging power of the energy storage device at the mth node in time period t;

[0037] Step 2.2.2: Use equations (14) to (18) to construct the power generation output and reserve capacity constraints of thermal power units:

[0038] (14)

[0039] (15)

[0040] (16)

[0041] (17)

[0042] (18)

[0043] In formula (14) to formula (18), represents the maximum power generation of the thermal power unit at the i-th node; , They represent the maximum upward reserve capacity and the maximum downward reserve capacity reserved for the thermal power unit at the i-th node respectively; represents the maximum discharge power of the energy storage device at the mth node;

[0044] Step 2.2.3: Use equations (19) and (20) to construct the ramp constraints of the thermal power unit:

[0045] (19)

[0046] (20)

[0047] In formula (19)-formula (20), Indicated in The power generation of the thermal power unit at the i-th node in the time period; , They represent the upward climbing rate and downward climbing rate of the thermal power unit at the i-th node respectively; Indicates the time interval between adjacent time periods;

[0048] Step 2.2.4: Use equations (21) to (23) to construct the power constraint of renewable power sources:

[0049] (twenty one)

[0050] (twenty two)

[0051] (twenty three)

[0052] In formula (21) to formula (23), , They represent the minimum predicted power generation and the maximum predicted power generation of the renewable power source at the jth node in period t respectively; Indicates the renewable energy utilization rate target;

[0053] Step 2.2.5: Use equations (24) to (26) to construct the power constraints of the energy storage device:

[0054] (twenty four)

[0055] (25)

[0056] (26)

[0057] In formula (24) to formula (26), , are auxiliary binary variables representing the charging and discharging at the mth node in period t, respectively; , They represent the discharge power and charging power of the energy storage device at the mth node in time period t respectively; Indicates the minimum charging and discharging power allowed by the energy storage device at the mth node;

[0058] Step 2.2.6: Use equations (27) to (30) to construct the capacity constraints of the energy storage device:

[0059] (27)

[0060] (28)

[0061] (29)

[0062] (30)

[0063] In formula (27) to formula (30), Indicated in The initial capacity of the energy storage device at the mth node in the time period; represents the capacity of the energy storage device at the mth node in period t; , , They represent the self-discharge efficiency, charging efficiency and discharge efficiency of the energy storage device at the mth node respectively; Indicated in The capacity of the energy storage device at the mth node in the time period;

[0064] Step 2.2.7: Use equations (31) to (33) to construct the state of charge constraint of the energy storage device:

[0065] (31)

[0066] (32)

[0067] (33)

[0068] In formula (31) to formula (33), represents the state of charge of the energy storage device at the mth node in time period t; Indicated in The state of charge of the energy storage device at the mth node in the time period; , They represent the lower limit and upper limit of the state of charge of the energy storage device at the mth node respectively; Indicated in The state of charge of the energy storage device at the mth node in the time period;

[0069] Step 2.3: Determine the uncertainty bilateral opportunity constraints of the energy storage capacity setting model, including:

[0070] Step 2.3.1: Use formula (34) to construct the system backup safety constraint:

[0071] (34)

[0072] In formula (34), represents the probability that the safety constraint is established; Indicates the permissible risk level that the system reserve is sufficient to balance the fluctuations of renewable energy sources;

[0073] Step 2.3.2: Use equation (35) to construct the line transmission power constraint:

[0074] (35)

[0075] In formula (35), , Respectively indicate lines The minimum and maximum permissible values ​​of the transmission power; , , , Respectively indicate lines The power transfer distribution factor for the thermal power unit at the i-th node, the renewable power source at the j-th node, the energy storage device at the m-th node and the load at the n-th node; Indicates the permissible risk level of the transmission power of the line.

[0076] The fourth step comprises:

[0077] Step 3.1: Use equations (36) and (37) to construct Random variables of backup security constraints of the system and lines Random variables for transmission power constraints :

[0078] (36)

[0079] (37)

[0080] Step 3.2: Based on the affine transformation invariance of the Gaussian mixture model, use equations (38) to (42) to construct and The one-dimensional description form of the Gaussian mixture model is:

[0081] (38)

[0082] (39)

[0083] (40)

[0084] (41)

[0085] (42)

[0086] In formula (38) to formula (42), express A column vector whose elements are all 1; express The probability density function of Indicates line right A column vector set of power transfer distribution factors of renewable power sources at nodes; express The probability density function of

[0087] Step 3.3, according to and The cumulative distribution function of the one-dimensional description form of the Gaussian mixture model is used to obtain the deterministic constraints of system backup security and line transmission power using equations (43) to (48):

[0088] (43)

[0089] (44)

[0090] (45)

[0091] (46)

[0092] (47)

[0093] (48)

[0094] In formula (43) to formula (48), , Respectively The upper and lower quantiles of express The cumulative distribution function of , Respectively The upper and lower quantiles of express The cumulative distribution function of .

[0095] The step five comprises:

[0096] Step 5.1, according to the convexity criterion of the bilateral opportunity constraint, determine whether the bilateral opportunity constraint is a convex constraint or a non-convex constraint; if the bilateral opportunity constraint is determined to be a convex constraint, it means that the energy storage capacity setting model is a deterministic convex optimization model, and execute step 5.3; if the bilateral opportunity constraint is determined to be a non-convex constraint, the quantile interval of the bilateral opportunity constraint is updated through an iterative process until the convergence condition is met, thereby converting the energy storage capacity setting model into a constrained convex optimization model, and execute step 5.2;

[0097] Step 5.2, solving the local linearization problem of the constrained convex optimization model according to the penalty function method until the model converges to the local optimal solution, thereby transforming the constrained convex optimization model into a deterministic convex optimization model;

[0098] Step 5.3: Use a mixed integer linear programming solver to optimize and solve the deterministic convex optimization model, so as to obtain the optimal energy storage capacity configuration when the total resource consumption is minimized.

[0099] An electronic device of the present invention includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the energy storage capacity setting method, and the processor is configured to execute the program stored in the memory.

[0100] The present invention provides a computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and the computer program executes the steps of the energy storage capacity setting method when the computer program is executed by a processor.

[0101] Compared with the prior art, the present invention has the following beneficial effects:

[0102] 1. The present invention calculates the maximum renewable energy power that can be absorbed by the system by establishing a model for setting energy storage capacity and combining the data of thermal power units, renewable power sources, energy storage equipment and loads. By modeling the uncertainty of the actual power generation of renewable power sources, using the Gaussian mixture model to describe the randomness of renewable energy generation, the uncertainty constraints are converted into deterministic constraints, and the configuration of energy storage equipment is optimized. This method not only improves the absorption capacity of renewable energy and reduces the system operating costs, but also improves energy utilization efficiency and contributes to the sustainable development of the power system.

[0103] 2. The present invention constructs an energy storage capacity setting model containing deterministic linear constraints and uncertain bilateral opportunity constraints, and optimizes the equivalent deterministic model using a mixed integer linear programming solver to ensure the stability of the system under various operating conditions. The optimized energy storage capacity configuration not only improves the flexibility and stability of system operation, but also effectively balances the fluctuations and load demands in the power system, reduces overall resource consumption, and promotes the construction and efficient operation of the power system. BRIEF DESCRIPTION OF THE DRAWINGS

[0104] Figure 1 A flow chart of a method for setting energy storage capacity to promote renewable energy consumption according to the present invention;

[0105] Figure 2 The feasible scenarios determined by the unilateral and bilateral opportunity constraints of the present invention. DETAILED DESCRIPTION

[0106] In this embodiment, a method for setting energy storage capacity to promote the consumption of renewable energy is applied to a system consisting of a thermal power unit, a renewable power source and an energy storage device, such as Figure 1 As shown, the main steps of the system include:

[0107] Step 1: Obtain the data of thermal power units, renewable power sources, energy storage equipment and loads in the system, and calculate the maximum renewable energy power that can be absorbed by the system using formula (1) based on the data of each component of the hybrid power system:

[0108] (1)

[0109] In formula (1), Indicates the number of thermal power units in the system; represents the minimum power generation of the thermal power unit at the i-th node; Indicates the number of renewable power sources in the system; represents the maximum power generation of the renewable power source at the jth node in period t; Indicates the number of energy storage devices in the system; represents the maximum charging power of the energy storage device at the mth node; Indicates the number of loads in the system; Represents the power consumption of the load at the nth node in time period t.

[0110] Step 2: Model the uncertainty of the actual power generation of renewable power sources in the hybrid power system, and regard the actual power generation of renewable power sources at all nodes as dimensional random variable ;in, represents the actual power generation of the renewable power source at the jth node in period t; and describes the dimensional random variable The joint probability distribution of the Gaussian mixture model is a normal distribution, and the probability density function is a convex combination of the probability density functions of all normal distribution components. Therefore, using equations (1) to (3), we can construct The probability density function of is:

[0111] (2)

[0112] (3)

[0113] (4)

[0114] In formula (2) to formula (4), Indicates that during period t dimensional random variable The probability density function of Represents a random variable The value of , Respectively represent the normal distribution components and dimensions of the Gaussian mixture model; , , Respectively represent the weight coefficient, mean vector and covariance matrix of the kth normal distribution component; Represents the transpose of a matrix; represents the determinant of the kth covariance matrix.

[0115] Step 3: Based on the uncertainty of renewable energy and the characteristics of energy storage equipment, a storage capacity setting model to promote the consumption of renewable energy is established, including: objective function, deterministic linear constraints and uncertain bilateral opportunity constraints.

[0116] Step 3.1: Use formula (5) to construct the objective function with the goal of minimizing the total resource consumption of the system:

[0117] (5)

[0118] In formula (5), Indicates the number of time periods during which the system is running; represents the power generation fuel consumption of the thermal power unit at the i-th node in period t, and is obtained by formula (6); represents the reserve capacity consumption of the thermal power unit at the i-th node in period t, and is obtained by formula (7); represents the power abandonment penalty of renewable power source at the jth node in period t, and is obtained by formula (8); represents the input resource consumption of the energy storage device at the mth node, and is obtained by equations (9) to (11); represents the operating resource consumption of the energy storage device at the mth node in period t, and is obtained by formula (12).

[0119] (6)

[0120] In formula (6), , and They represent the quadratic coefficient, linear coefficient and constant term of the power generation consumption of the thermal power unit at the i-th node respectively; represents the power generation of the thermal power unit at the i-th node in period t; when the thermal power unit is turned on ( ), fuel consumption is related to the unit's power generation A quadratic function; when the thermal power unit is shut down ( ), fuel consumption equals 0.

[0121] (7)

[0122] In formula (7), , They represent the upward reserve consumption coefficient and downward reserve consumption coefficient of the thermal power unit at the i-th node respectively; , They respectively represent the upward reserve capacity and downward reserve capacity of the thermal power unit at the i-th node in period t.

[0123] (8)

[0124] In formula (8), represents the power abandonment penalty coefficient of the renewable power source at the jth node; It represents the potential abandoned power of renewable power source at the jth node in period t. The larger the potential abandoned power is, the greater the penalty for abandoned power is. Therefore, it is necessary to promote the consumption of renewable energy and reduce abandoned power.

[0125] (9)

[0126] (10)

[0127] (11)

[0128] In formula (9) to formula (11), represents the initial investment resource consumption of the energy storage equipment at the mth node; represents the maintenance resource consumption of the long-term operation of the energy storage device at the mth node; Indicates the maximum charge and discharge power allowed by the energy storage device at the mth node; represents the unit capacity resource consumption of the energy storage device at the mth node; represents the installed capacity of the energy storage device at the mth node; represents the maintenance resource consumption of the energy storage device at the mth node; Represents the number of charge and discharge times of the energy storage device at the mth node.

[0129] (12)

[0130] In formula (12), represents the electricity cost in period t; Represents the charge and discharge amount of the energy storage device at the jth node in time period t.

[0131] Step 3.2: Determine the deterministic linear constraints of the energy storage capacity setting model, including:

[0132] Step 3.2.1: Use formula (13) to construct the power balance constraint:

[0133] (13)

[0134] In formula (13), represents the planned power generation of renewable power at the jth node in period t; Represents the charging and discharging power of the energy storage device at the mth node in time period t.

[0135] Step 3.2.2: Use equations (14) to (18) to construct the power generation output and reserve capacity constraints of thermal power units:

[0136] (14)

[0137] (15)

[0138] (16)

[0139] (17)

[0140] (18)

[0141] In formula (14) to formula (18), represents the maximum power generation of the thermal power unit at the i-th node; , They represent the maximum upward reserve capacity and the maximum downward reserve capacity reserved for the thermal power unit at the i-th node respectively; Represents the maximum discharge power of the energy storage device at the mth node.

[0142] Step 3.2.3: Use equations (19) and (20) to construct the ramp constraints of the thermal power unit:

[0143] (19)

[0144] (20)

[0145] In formula (19)-formula (20), Indicated in The power generation of the thermal power unit at the i-th node in the time period; , They represent the upward climbing rate and downward climbing rate of the thermal power unit at the i-th node respectively; Indicates the time interval between adjacent time periods.

[0146] Step 3.2.4: Use equations (21) to (23) to construct the power constraint of renewable power sources:

[0147] (twenty one)

[0148] (twenty two)

[0149] (twenty three)

[0150] In formula (21) to formula (23), , They represent the minimum predicted power generation and the maximum predicted power generation of the renewable power source at the jth node in period t respectively; Represents the renewable energy utilization rate target.

[0151] Step 3.2.5: Use equations (24) to (26) to construct the power constraints of the energy storage device:

[0152] (twenty four)

[0153] (25)

[0154] (26)

[0155] In formula (24) to formula (26), , are auxiliary binary variables representing the charging and discharging at the mth node in period t, respectively; , They represent the discharge power and charging power of the energy storage device at the mth node in time period t respectively; Represents the minimum charging and discharging power allowed by the energy storage device at the mth node.

[0156] Step 3.2.6: Use equations (27) to (30) to construct the capacity constraints of the energy storage device:

[0157] (27)

[0158] (28)

[0159] (29)

[0160] (30)

[0161] In formula (27) to formula (30), Indicated in The initial capacity of the energy storage device at the mth node in the time period; represents the capacity of the energy storage device at the mth node in period t; , , They represent the self-discharge efficiency, charging efficiency and discharge efficiency of the energy storage device at the mth node respectively; Indicated in The capacity of the energy storage device at the mth node in the time period.

[0162] Step 3.2.7: Use equations (31) to (33) to construct the state of charge constraint of the energy storage device:

[0163] (31)

[0164] (32)

[0165] (33)

[0166] In formula (31) to formula (33), represents the state of charge of the energy storage device at the mth node in time period t; Indicated in The state of charge of the energy storage device at the mth node in the time period; , They represent the lower and upper limits of the state of charge of the energy storage device at the mth node, respectively, to ensure that the energy storage device is not overcharged or over-discharged; Indicated in The state of charge of the energy storage device at the mth node in the time period.

[0167] Step 3.3, according to Figure 2 The feasible scenario determined by the bilateral constraints shown in the figure is that the upper and lower quantiles of the bilateral opportunity constraints are more conservative than those of the unilateral opportunity constraints. The bilateral opportunity constraints meet the requirements of system safety on the configuration of backup resources and the system operating status. The bilateral opportunity constraints that determine the uncertainty of the energy storage capacity setting model include:

[0168] Step 3.3.1: Use formula (34) to construct the system backup safety constraint:

[0169] (34)

[0170] In formula (34), represents the probability that the safety constraint is established; Indicates the permissible risk level at which system reserves are sufficient to balance the fluctuations in renewable energy sources.

[0171] Step 3.3.2: Use equation (35) to construct the line transmission power constraint:

[0172] (35)

[0173] In formula (35), , Respectively indicate lines The minimum and maximum permissible values ​​of the transmission power are the contribution of the power generated by thermal power units, the contribution of the actual power generated by renewable power sources, the contribution of the power of energy storage equipment and the contribution of the load power. , , , Respectively indicate lines The power transfer distribution factors of the thermal power unit at the i-th node, the renewable power source at the j-th node, the energy storage device at the m-th node and the load at the n-th node are calculated based on the network topology and parameters; Indicates the risk level that the transmission power of the line does not exceed its permissible range.

[0174] Step 4: Based on the affine transformation invariance of the Gaussian mixture model, a one-dimensional description form of the Gaussian mixture model is constructed, and based on the cumulative distribution function of the one-dimensional description form of the Gaussian mixture model, the uncertain bilateral chance constraint is transformed into an equivalent form of the deterministic constraint.

[0175] Step 4.1: Use equations (36) and (37) to construct Random variables of backup security constraints of the system and the random variables of the line transmission power constraints :

[0176] (36)

[0177] (37)

[0178] Step 4.2: According to the affine transformation invariance of the Gaussian mixture model, the random variable and Can be expressed as a high-dimensional random variable The linear transformation of is constructed using equations (38)-(42) and The one-dimensional description form of the Gaussian mixture model is:

[0179] (38)

[0180] (39)

[0181] (40)

[0182] (41)

[0183] (42)

[0184] In formula (37) to formula (41), express A column vector whose elements are all 1; express The probability density function of Indicates line right A column vector set of power transfer distribution factors of renewable power sources at nodes; express The probability density function of .

[0185] Step 4.3: According to and The cumulative distribution function of the one-dimensional description form of the Gaussian mixture model is used to obtain the deterministic constraints of system backup security and line transmission power using equations (43) to (48):

[0186] (43)

[0187] (44)

[0188] (45)

[0189] (46)

[0190] (47)

[0191] (48)

[0192] In formula (43) to formula (48), , are auxiliary variables, representing The upper and lower quantiles of express The cumulative distribution function of , Respectively The upper and lower quantiles of express The cumulative distribution function of .

[0193] Step 5: Use a mixed integer linear programming solver to optimize and solve the equivalent deterministic model to obtain the optimal energy storage capacity configuration when the total operating resource consumption is minimized.

[0194] Step 5.1, according to the convexity criterion of the bilateral chance constraint, determine whether the bilateral chance constraint is a convex constraint or a non-convex constraint;

[0195] If the bilateral opportunity constraint is determined to be a convex constraint, it means that the energy storage capacity setting model is a deterministic convex optimization model, and step 5.3 is executed;

[0196] If the bilateral chance constraint is determined to be a non-convex constraint, the quantile interval of the bilateral chance constraint is updated through an iterative process until the convergence condition is met, thereby obtaining that the energy storage capacity setting model is a constrained convex optimization model;

[0197] Step 5.2, effectively solving the local linearization problem of the constrained convex optimization model according to the penalty function method until the model can converge to the local optimal solution, thereby transforming the constrained convex optimization model into a deterministic convex optimization model;

[0198] Step 5.3: Use a mixed integer linear programming solver to optimize and solve the deterministic convex optimization model, so as to obtain the optimal energy storage capacity configuration when the total resource consumption is minimized.

[0199] In this embodiment, an electronic device includes a memory and a processor, wherein the memory is used to store a program that supports the processor to execute the above method, and the processor is configured to execute the program stored in the memory.

[0200] In this embodiment, a computer-readable storage medium stores a computer program on the computer-readable storage medium, and the computer program executes the steps of the above method when executed by a processor.

Claims

1. A method for setting energy storage capacity to promote renewable energy consumption, It is characterized in that It is applied to a system consisting of thermal power units, renewable power sources, energy storage equipment and loads, and includes the following steps: Step 1: Obtain data on thermal power units, renewable power sources, energy storage equipment and loads in the system, and calculate the maximum renewable energy power that can be absorbed by the system using formula (1) based on the data of each component of the system: (1) In formula (1), Indicates the number of thermal power units in the system; represents the minimum power generation of the thermal power unit at the i-th node; Indicates the number of renewable power sources in the system; represents the maximum power generation of the renewable power source at the jth node in period t; Indicates the number of energy storage devices in the system; represents the maximum charging power of the energy storage device at the mth node; Indicates the number of loads in the system; represents the power consumption of the load at the nth node in time period t; Step 2: Model the uncertainty of the actual power generation of renewable power sources in the system, and regard the actual power generation of renewable power sources at all nodes as dimensional random variable ;in, represents the actual power generation of the renewable power source at the jth node in period t; and describes the dimensional random variable The joint probability distribution of , thus using equations (1) to (3) to construct the The probability density function of is: (2) (3) (4) In formula (2) to formula (4), Indicates that during period t dimensional random variable The probability density function of Represents a random variable The value of , Respectively represent the normal distribution components and dimensions of the Gaussian mixture model; , , Respectively represent the weight coefficient, mean vector and covariance matrix of the kth normal distribution component; Represents the transpose of a matrix; represents the determinant of the kth covariance matrix; Step 3: Based on the uncertainty of renewable energy and the characteristics of energy storage equipment, a storage capacity setting model for promoting renewable energy consumption is established, including: objective function, deterministic linear constraints and uncertain bilateral opportunity constraints; Step 4: Based on the affine transformation invariance of the Gaussian mixture model, a one-dimensional description form of the Gaussian mixture model is constructed, and based on the cumulative distribution function of the one-dimensional description form of the Gaussian mixture model, the uncertain bilateral chance constraint is transformed into an equivalent form of the deterministic constraint; Step 5: Use a mixed integer linear programming solver to optimize and solve the energy storage capacity setting model to obtain the optimal energy storage capacity configuration when the total operating resource consumption is minimized.

2. A method for setting energy storage capacity to promote renewable energy consumption as claimed in claim 1, It is characterized in that The step three comprises: Step 2.1: Use formula (5) to construct the objective function with the goal of minimizing the total resource consumption of the system: (5) In formula (5), Indicates the number of time periods during which the system is running; represents the power generation fuel consumption of the thermal power unit at the i-th node in period t, and is obtained by formula (6); represents the reserve capacity consumption of the thermal power unit at the i-th node in period t, and is obtained by formula (7); represents the power abandonment penalty of renewable power source at the jth node in period t, and is obtained by formula (8); represents the input resource consumption of the energy storage device at the mth node, and is obtained by equations (9) to (11); represents the operating resource consumption of the energy storage device at the mth node in period t, and is obtained by formula (12); (6) In formula (6), , and They represent the quadratic coefficient, linear coefficient and constant term of the power generation consumption of the thermal power unit at the i-th node respectively; represents the power generation of the thermal power unit at the i-th node in period t; (7) In formula (7), , They represent the upward reserve consumption coefficient and downward reserve consumption coefficient of the thermal power unit at the i-th node respectively; , They represent the upward reserve capacity and downward reserve capacity of the thermal power unit at the i-th node in period t respectively; (8) In formula (8), represents the power abandonment penalty coefficient of the renewable power source at the jth node; represents the potential power abandonment of renewable power at the jth node in period t; (9) (10) (11) In formula (9) to formula (11), represents the initial investment resource consumption of the energy storage equipment at the mth node; represents the maintenance resource consumption of the long-term operation of the energy storage device at the mth node; Indicates the maximum charge and discharge power allowed by the energy storage device at the mth node; represents the unit capacity resource consumption of the energy storage device at the mth node; represents the installed capacity of the energy storage device at the mth node; represents the maintenance resource consumption of the energy storage device at the mth node; represents the number of charge and discharge times of the energy storage device at the mth node; (12) In formula (12), represents the electricity cost in period t; represents the charge and discharge amount of the energy storage device at the jth node in time period t; Step 2.2: Determine the deterministic linear constraints of the energy storage capacity setting model, including: Step 2.2.1: Use formula (13) to construct the power balance constraint: (13) In formula (13), represents the planned power generation of renewable power at the jth node in period t; represents the charging and discharging power of the energy storage device at the mth node in time period t; Step 2.2.2: Use equations (14) to (18) to construct the power generation output and reserve capacity constraints of thermal power units: (14) (15) (16) (17) (18) In formula (14) to formula (18), represents the maximum power generation of the thermal power unit at the i-th node; , They represent the maximum upward reserve capacity and the maximum downward reserve capacity reserved for the thermal power unit at the i-th node respectively; represents the maximum discharge power of the energy storage device at the mth node; Step 2.2.3: Use equations (19) and (20) to construct the ramp constraints of the thermal power unit: (19) (20) In formula (19)-formula (20), Indicated in The power generation of the thermal power unit at the i-th node in the time period; , They represent the upward climbing rate and downward climbing rate of the thermal power unit at the i-th node respectively; Indicates the time interval between adjacent time periods; Step 2.2.4: Use equations (21) to (23) to construct the power constraint of renewable power sources: (21) (22) (23) In formula (21) to formula (23), , They represent the minimum predicted power generation and the maximum predicted power generation of the renewable power source at the jth node in period t respectively; Indicates the renewable energy utilization rate target; Step 2.2.5: Use equations (24) to (26) to construct the power constraints of the energy storage device: (24) (25) (26) In formula (24) to formula (26), , are auxiliary binary variables representing the charging and discharging at the mth node in period t, respectively; , They represent the discharge power and charging power of the energy storage device at the mth node in time period t respectively; Indicates the minimum charging and discharging power allowed by the energy storage device at the mth node; Step 2.2.6: Use equations (27) to (30) to construct the capacity constraints of the energy storage device: (27) (28) (29) (30) In formula (27) to formula (30), Indicated in The initial capacity of the energy storage device at the mth node in the time period; represents the capacity of the energy storage device at the mth node in period t; , , They represent the self-discharge efficiency, charging efficiency and discharge efficiency of the energy storage device at the mth node respectively; Indicated in The capacity of the energy storage device at the mth node in the time period; Step 2.2.7: Use equations (31) to (33) to construct the state of charge constraint of the energy storage device: (31) (32) (33) In formula (31) to formula (33), represents the state of charge of the energy storage device at the mth node in time period t; Indicated in The state of charge of the energy storage device at the mth node in the time period; , They represent the lower limit and upper limit of the state of charge of the energy storage device at the mth node respectively; Indicated in The state of charge of the energy storage device at the mth node in the time period; Step 2.3: Determine the uncertainty bilateral opportunity constraints of the energy storage capacity setting model, including: Step 2.3.1: Use formula (34) to construct the system backup safety constraint: (34) In formula (34), represents the probability that the safety constraint is established; Indicates the permissible risk level that the system reserve is sufficient to balance the fluctuations of renewable energy sources; Step 2.3.2: Use equation (35) to construct the line transmission power constraint: (35) In formula (35), , Respectively indicate lines The minimum and maximum permissible values ​​of the transmission power; , , , Respectively indicate lines The power transfer distribution factor for the thermal power unit at the i-th node, the renewable power source at the j-th node, the energy storage device at the m-th node and the load at the n-th node; Indicates the permissible risk level of the transmission power of the line.

3. A method for setting energy storage capacity to promote renewable energy consumption as claimed in claim 2, It is characterized in that The fourth step comprises: Step 3.1: Use equations (36) and (37) to construct Random variables of backup security constraints of the system and lines Random variables for transmission power constraints : (36) (37) Step 3.2: Based on the affine transformation invariance of the Gaussian mixture model, use equations (38) to (42) to construct and The one-dimensional description form of the Gaussian mixture model is: (38) (39) (40) (41) (42) In formula (38) to formula (42), express A column vector whose elements are all 1; express The probability density function of Indicates line right A column vector set of power transfer distribution factors of renewable power sources at nodes; express The probability density function of Step 3.3, according to and The cumulative distribution function of the one-dimensional description form of the Gaussian mixture model is used to obtain the deterministic constraints of system backup security and line transmission power using equations (43) to (48): (43) (44) (45) (46) (47) (48) In formula (43) to formula (48), , Respectively The upper and lower quantiles of express The cumulative distribution function of , Respectively The upper and lower quantiles of express The cumulative distribution function of .

4. A risk-controlled economic dispatch method taking into account energy storage as claimed in claim 3, It is characterized in that The step five comprises: Step 5.1, according to the convexity criterion of the bilateral opportunity constraint, determine whether the bilateral opportunity constraint is a convex constraint or a non-convex constraint; if the bilateral opportunity constraint is determined to be a convex constraint, it means that the energy storage capacity setting model is a deterministic convex optimization model, and execute step 5.3; if the bilateral opportunity constraint is determined to be a non-convex constraint, the quantile interval of the bilateral opportunity constraint is updated through an iterative process until the convergence condition is met, thereby converting the energy storage capacity setting model into a constrained convex optimization model, and execute step 5.2; Step 5.2, solving the local linearization problem of the constrained convex optimization model according to the penalty function method until the model converges to the local optimal solution, thereby transforming the constrained convex optimization model into a deterministic convex optimization model; Step 5.3: Use a mixed integer linear programming solver to optimize and solve the deterministic convex optimization model, so as to obtain the optimal energy storage capacity configuration when the total resource consumption is minimized.

5. An electronic device comprising a memory and a processor, It is characterized in that The memory is used to store a program that supports the processor to execute the energy storage capacity setting method described in any one of claims 1-4, and the processor is configured to execute the program stored in the memory.

6. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the energy storage capacity setting method described in any one of claims 1 to 4 are executed.