Hybrid energy storage capacity optimization method based on improved S-type function particle swarm optimization algorithm
By improving the S-shaped function particle swarm optimization algorithm and combining inertial weights and acceleration factors, the local extreme value problem in the capacity optimization of hybrid energy storage systems is solved, the iteration speed and accuracy are improved, the whole life cycle cost is reduced, and more efficient is achieved energy storage system configuration.
Patent Information
- Application Number
- CN202110843673.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-26
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2041-07-26
AI Technical Summary
Existing particle swarm optimization algorithms are prone to falling into local extreme values in the capacity optimization configuration of hybrid energy storage systems, resulting in slow iterative convergence and high life cycle costs.
The improved S-shaped function particle swarm optimization algorithm is used to improve the optimization capability and iteration speed of the algorithm by improving the inertia weight and acceleration factor, optimizing the capacity configuration of batteries and supercapacitors, and reducing the whole life cycle cost.
It achieves faster convergence speed and higher accuracy of the hybrid energy storage system, reduces the whole life cycle cost, and improves the economy and efficiency of the system.
Smart Images

Figure CN113555901B
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of energy storage capacity optimization, and in particular relates to a hybrid energy storage capacity optimization method based on an improved S-type function particle swarm optimization algorithm. Background Art
[0002] Wind power and photovoltaic power are representative new energy sources in recent years, with advantages such as no pollution and renewable. However, wind power and photovoltaic power are volatile and intermittent, and the output power of power generation is easily affected by weather changes. It is necessary to use energy storage technology to smooth out the output fluctuations to meet the flexibility of grid dispatch.
[0003] Traditional energy storage uses a single energy storage method of batteries. Batteries have the characteristics of high energy, flexible installation, and slow charging and discharging speed. However, the randomness of wind and solar power output will cause frequent charging and discharging of batteries, affecting their service life. Supercapacitors have the characteristics of high power density, fast response, and many cycles of charging and discharging, which are suitable for the high-frequency part of wind power fluctuations. Therefore, hybrid energy storage systems (HESS) often use power-type energy storage supercapacitors and energy-type energy storage batteries to smooth out wind and solar power output fluctuations, improve the output power capacity of energy storage, and optimize the charging and discharging process of batteries.
[0004] The optimal configuration of the capacity of hybrid energy storage systems is an important issue in the planning and design of power systems, and relevant research has been carried out at home and abroad. Regarding the optimal configuration of the capacity of hybrid energy storage systems, domestic and foreign literature has conducted research from different angles, such as smoothing the power fluctuations of renewable energy, anti-interference and stable operation of micro-grid connection, and considering the economic efficiency of hybrid energy storage systems. Some literatures propose an optimization strategy for hybrid energy storage systems to smooth the fluctuations of wind power output, compensate the high and low frequency parts of wind power output fluctuations respectively, and establish an opportunity constraint programming model based on the minimum average cost to analyze the smoothing effect and economy. Some literatures use the state of charge (SOC) of the battery, the terminal voltage and maximum power of the supercapacitor as constraints, and consider the influence of the energy control strategy at the same time, and use the improved particle swarm optimization algorithm to design the capacity and power of the battery and supercapacitor at the same time. Some literatures propose a multi-objective optimization method for composite energy storage, and use an adaptive weighted particle swarm algorithm to obtain the optimal scheduling solution. In order to improve the economic efficiency of energy storage systems, many scholars at home and abroad have carried out a lot of research on the capacity configuration of energy storage systems, and pay more and more attention to the installation, maintenance and disposal costs of energy storage devices during use, that is, the full life cycle costs. Therefore, taking the full life cycle cost of the energy storage device as the optimization goal, through algorithm improvement, reasonable configuration of the number of batteries and supercapacitors, and optimization of capacity configuration have become one of the research directions of wind-solar hybrid energy storage systems. In particular, with the goal of minimizing the full life cycle cost, a capacity optimization configuration model and algorithm research for wind-solar hybrid energy storage systems are established.
[0005] Most existing studies use the existing particle swarm algorithm (PSO) to study capacity optimization configuration problems. Although the convergence speed is fast, local extreme points are prone to appear during iteration, and it is difficult to escape the constraints of local extreme points. The optimal position in the PSO optimization algorithm is related to the particle speed. The speed limitation causes the search space of each iteration step to be a limited area, which makes the search range unable to expand to the entire feasible solution space, and cannot guarantee the search of the global optimal solution.
[0006] Improving the S-type inertia weighted particle swarm algorithm can improve the algorithm's optimization ability and avoid problems such as premature convergence in the late iteration and long time trapped in the local optimum. Summary of the invention
[0007] The technical problem to be solved by the present invention is to provide a hybrid energy storage capacity optimization method based on an improved S-type function particle swarm optimization algorithm in view of the deficiencies in the above-mentioned prior art. The particle swarm optimization algorithm is improved by improving the inertia weight of the S-type function and optimizing the acceleration factor through the inertia weight, thereby improving the optimization capability and reducing the number of optimal iterations. It can achieve faster convergence speed and accuracy in the process of battery and supercapacitor capacity configuration, and reduce the full life cycle cost of the hybrid energy storage system.
[0008] In order to achieve the above technical objectives, the technical solution adopted by the present invention is:
[0009] The hybrid energy storage capacity optimization method based on the improved S-type function particle swarm optimization algorithm includes:
[0010] Step 1: Build a full life cycle cost model;
[0011] Step 2, determine the objective function and constraints, and establish a hybrid energy storage system capacity optimization configuration model;
[0012] Step 3, improving the S-type function particle swarm optimization algorithm;
[0013] Step 4: Use the improved S-type function particle swarm optimization algorithm to solve the capacity optimization configuration model of the hybrid energy storage system.
[0014] To optimize the above technical solutions, the specific measures taken also include:
[0015] The above step 1 constructs the full life cycle cost model as follows:
[0016] L CC =C O +C P +C M +C D (1)
[0017] Among them, LCC Represents the total life cycle cost; C O Indicates the operating cost of the equipment; C P Indicates the purchase cost of the equipment; C M Indicates the maintenance cost of the equipment; C D Indicates the handling fee of the device.
[0018] In the above step 2, batteries and supercapacitors are used as hybrid energy storage devices for the wind-solar complementary system, with the goal of minimizing the cost over the entire life cycle, and with the load power shortage rate and the storage capacity of the energy storage system as constraints, a hybrid energy storage system capacity optimization configuration model is established.
[0019] The above step 2 aims to minimize the cost of its entire life cycle, and its objective function is:
[0020]
[0021] Where: C O Indicates the operating cost of the equipment; C P Indicates the purchase cost of the equipment; C M Indicates the maintenance cost of the equipment; C D Indicates the cost of handling the equipment;
[0022] f ob 、f oc Indicates the operating factor of batteries and supercapacitors; f mb 、f mc Indicates the maintenance factor of batteries and supercapacitors; N b 、N c Respectively represent the number of batteries and supercapacitors; P b , P c Represent the unit prices of batteries and supercapacitors respectively.
[0023] The constraint condition of the above step 2 with load power shortage rate as constraint is:
[0024] f LPSP ≤f LPSPmax (8)
[0025] Where: f LPSP is the load power failure rate, f LPSPmax The maximum power failure rate allowed by the load.
[0026] The constraints based on the energy storage capacity of the energy storage system are:
[0027]
[0028] E b (k) is the remaining energy storage capacity of the battery, E cis the energy storage of the supercapacitor bank; E bmin 、E bmax E is the minimum and maximum remaining energy storage capacity of the battery; cmax 、E cmin The maximum and minimum energy storage capacity of the supercapacitor bank.
[0029] The minimum energy storage E of the supercapacitor bank mentioned above bmin (unit: MWh):
[0030] E bmin =N b C b U b (1-DOD) / 10 6
[0031] Among them U b (Unit: V) indicates the rated voltage of the battery; C b (Unit: Ah) indicates rated capacity; DOD indicates maximum depth of discharge.
[0032] The maximum energy storage capacity of the supercapacitor bank is:
[0033] E cmax =0.5N c C c U 2 cmax / 3.6×10 9 (6)
[0034] The minimum energy storage capacity of the supercapacitor bank is:
[0035] E cmin =0.5N c C c U 2 cmin / 3.6×10 9 (7)
[0036] Among them U c is the terminal voltage of the supercapacitor; C c Indicates the capacitance value.
[0037] In step 2 above, the following constraints are also set:
[0038] E b (k)≤μΔE (10)
[0039] Where μ represents the proportionality coefficient, ΔE=(E w (k)+E pv (k))η c -E L (k);
[0040] E w (k), E pv (k), E L (k) are the electricity of wind energy, solar energy and load at time k; η c is the power conversion efficiency of the inverter.
[0041] In the above step 3, the S-type inertia weight function is improved, and the acceleration factor is optimized based on the inertia weight value to improve the particle swarm algorithm.
[0042] The above-mentioned S-type inertia weight function is improved, and the improved S-type inertia weight function is as follows:
[0043]
[0044] Where: ω is the weight, c represents the proportional factor, i is the current iteration number of the particle, ω start is the starting weight value for the iteration, ω end is the weight value at the later stage of iteration, and T represents the maximum number of iterations.
[0045] The above-mentioned inertia weight value-based optimization acceleration factor improves the particle swarm algorithm, specifically:
[0046] In the initial search, we choose to use acceleration factors c1 and c2, c1 is greater than c2, and as the number of iterations increases, c1 decreases relatively, while c2 increases relatively. The formula is as follows:
[0047]
[0048] Among them, rand(1) means randomly selecting data between [0,1].
[0049] The present invention has the following beneficial effects:
[0050] Taking into account the great influence of inertia weight on particle swarm optimization algorithm, the present invention combines the concave inertia weight and the S-type inertia weight function to obtain the improved S-type function inertia weight, improves the particle swarm optimization ability and the number of iterations, and reduces the full life cycle cost of the hybrid energy storage system; secondly, on the basis of the improved S-type inertia weight, considering the influence of the acceleration factor on the particle swarm optimization, a method of optimizing the acceleration factor in combination with the inertia weight is proposed, which can further reduce the overall cost of the hybrid energy storage system. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] Figure 1 This is the load power shortage rate calculation process;
[0052] Figure 2 It is a comparison of three inertia weight function curves in the embodiment;
[0053] Figure 3: is a comparison diagram of the objective function results of three different inertia weight methods in the embodiment;
[0054] Figure 4 : is a comparison chart of the number of iterations and stabilization times of three inertia weights in the embodiment;
[0055] Figure 5 : is a comparison chart of the order of the objective function results of the improved S-type inertia weight and the improved acceleration factor in the embodiment;
[0056] Figure 6 It is the optimal result curve of the objective function of the improved S-type function inertia weight method during simulation;
[0057] Figure 7 It is the worst result curve of the objective function of the improved S-type function inertia weight method during simulation;
[0058] Figure 8 It is the optimal result curve of the objective function of the improved S-type inertia weight and optimized acceleration factor method during simulation;
[0059] Fig. 9 It is the worst result curve of the objective function of the improved S-type inertia weight and optimized acceleration factor method during simulation;
[0060] Fig.10 is the wind and solar load data in the embodiment;
[0061] Fig.11 It is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0062] The embodiments of the present invention are further described in detail below in conjunction with the accompanying drawings.
[0063] The present invention firstly describes the static model of the whole life cycle cost, uses batteries and supercapacitors as hybrid energy storage devices of the wind-solar hybrid system, takes the minimum cost of the whole life cycle as the goal, and takes the power shortage rate and other operating indicators of the system as constraints to establish a hybrid energy storage system capacity optimization configuration model; secondly, by improving the S-type function and optimizing the acceleration factor, the particle swarm algorithm is improved, so that the whole life cycle cost of the capacity configuration result of the hybrid energy storage system is reduced. Finally, the simulation and solution are carried out in Matlab using the example, and the results show that the method not only reduces the whole life cycle cost of the hybrid energy storage system, but also speeds up the iteration speed of converging to the optimal solution.
[0064] like Fig.11 Specifically, the hybrid energy storage capacity optimization method based on the improved S-type function particle swarm optimization algorithm of the present invention includes:
[0065] Step 1: Build a full life cycle cost model;
[0066] Step 2, determine the objective function and constraints, and establish a hybrid energy storage system capacity optimization configuration model;
[0067] Step 3, improving the S-type function particle swarm optimization algorithm;
[0068] Step 4: Use the improved S-type function particle swarm optimization algorithm to solve the capacity optimization configuration model of the hybrid energy storage system.
[0069] In the embodiment, in step 1, a full life cycle cost model is constructed.
[0070] Life Cost Cycle CC ) refers to the sum of all costs paid during the life cycle of the equipment, including planning, manufacturing, installation, use, maintenance, and disposal.
[0071] By establishing a decomposition structure of the entire life cycle cost, L can be reasonably and accurately estimated. CC .
[0072] According to the characteristics of each stage of the life cycle, the cycle cost is gradually decomposed into basic units to form a unit cost system arranged in sequence. This process is called the Cost Breakdown Structure (CBS).
[0073] The present invention adopts a cost model that does not consider the time value of money, that is, a static cost model, and establishes L CC The estimation model is as follows:
[0074] L CC =C O +C P +C M +C D (1)
[0075] Among them, L CC Represents the total life cycle cost; C O Indicates the operating cost of the equipment; C P Indicates the purchase cost of the equipment; C M Indicates the maintenance cost of the equipment; C D Represents the disposal cost of the equipment (including residual value and scrapping costs).
[0076] Step 2, determine the objective function and constraints, and establish a hybrid energy storage system capacity optimization configuration model: use batteries and supercapacitors as hybrid energy storage devices for the wind-solar hybrid system, take the minimum cost of its entire life cycle as the goal, and take the load power shortage rate and the energy storage system storage capacity as constraints to establish a hybrid energy storage system capacity optimization configuration model;
[0077] L of hybrid energy storage device CC The cost can also be expressed as the sum of the above four costs, that is, L CC The model (i.e. the objective function) is:
[0078]
[0079] Where: f ob 、f oc Indicates the operating factor of batteries and supercapacitors; f mb 、f mc Indicates the maintenance factor of batteries and supercapacitors. In general, supercapacitors are maintenance-free. mc Set to 0; f db 、f dc Indicates the processing factor of batteries and supercapacitors; N b 、N c Respectively represent the number of batteries and supercapacitors; P b , P c Represent the unit prices of batteries and supercapacitors respectively.
[0080] The load power shortage rate is used as the power supply reliability indicator.
[0081] As an important operating indicator of the wind-solar hybrid power generation system, the load power shortage rate (Loss of Power Supply Probability, LPSP) is defined as the ratio of the load power shortage to the total load demand EL. That is:
[0082]
[0083] Let ΔE=(E w (k)+E pv (k))η c -E L (k) where E w (k), E pv (k), E L (k) are the electricity of wind energy, solar energy and load at time k; η c is the power conversion efficiency of the inverter.
[0084] Figure 1 The calculation flow chart of the load power shortage rate is as follows: When the wind-solar complementary power generation meets the load demand, that is, ΔE>0, the power shortage E LPS =0, the hybrid device is charged; when the wind-solar hybrid power generation is insufficient, that is, ΔE<0, the energy storage device discharges to supplement the power shortage of the power supply. At this time, let ΔE=-ΔE, that is:
[0085] E LPS =E L (k)-(EW (k)+E pv (k))η c (4)
[0086] Figure 1 The rated energy storage capacity of the battery is E bn (unit: MWh), the minimum remaining energy storage is E bmin (unit: MWh), that is:
[0087]
[0088] Among them U b (Unit: V) indicates the rated voltage of the battery; C b (Unit: Ah) indicates rated capacity; DOD indicates maximum depth of discharge.
[0089] In actual operation, the supercapacitor needs to work within a suitable voltage range, denoted as U cmin ~U cmax , then the maximum energy storage of the supercapacitor bank is:
[0090] E cmax =0.5N c C c U 2 cmax / 3.6×10 9 (6)
[0091] The minimum values are:
[0092] E cmin =0.5N c C c U 2 cmin / 3.6×10 9 (7)
[0093] Among them U c is the terminal voltage of the supercapacitor; C c Indicates the capacitance value. Figure 1 It can be seen that the battery can be charged and discharged at the rated value, which can reduce the number of charge and discharge times and the depth of discharge of the battery and extend the battery life.
[0094] In step 2, the power supply reliability rate and the energy storage capacity of the energy storage system are used as constraints.
[0095] (1) The power supply reliability can be characterized by the load power failure rate. The load power failure rate in the system should be kept within an acceptable range, that is:
[0096] f LPSP ≤f LPSPmax (8)
[0097] Where: f LPSPmax The maximum power failure rate allowed by the load.
[0098] (2) Energy storage capacity constraints of energy storage systems
[0099]
[0100] (3) ΔE is mainly composed of two parts, namely the basic part and the fluctuating part. The battery is mainly responsible for the basic part and must meet the following requirements:
[0101] E b (k)≤μΔE (10)
[0102] Where μ represents a proportionality coefficient.
[0103] Step 3, improve the S-type function particle swarm optimization algorithm: improve the S-type inertia weight function, optimize the acceleration factor based on the inertia weight value, improve the particle swarm algorithm, reduce the life cycle cost of the hybrid energy storage system, and accelerate the convergence speed of the system to the optimal value.
[0104] Introduction and application of standard particle swarm algorithm.
[0105] Particle Swarm Optimization (PSO) is an optimization tool based on iteration. Compared with other intelligent algorithms, its advantages are simplicity, easy implementation, good robustness, high accuracy, fast convergence, and suitable for application in engineering practice. In order to change the convergence performance of the basic particle swarm algorithm, the inertia weight ω is introduced into the speed evolution equation. This is the standard particle swarm optimization algorithm, and its speed update formula is changed to:
[0106]
[0107] in: ω represents weight; c 1 , c 2 is the acceleration factor; r 1 , r 2 Indicates that it is a random number distributed in the interval [0,1]; k, k max They are the current number of iterations and the maximum number of iterations respectively; is the particle velocity; is the current position of the particle; They represent individual extreme values and group extreme values respectively; when ω is set to decrease linearly, the approximate location of the optimal solution can be determined relatively quickly at the beginning of the search, and as ω gradually decreases, the speed of the particles will also slow down, which is beneficial for local fine search and improves the performance of the algorithm.
[0108] In step 3, the S-type function is improved, and the acceleration factor is optimized based on the weight value, which improves the particle swarm algorithm, reduces the life cycle cost of the hybrid energy storage system, and accelerates the convergence speed of the system to the optimal value.
[0109] (1) Improve the S-type inertia weight
[0110] In the particle swarm algorithm with linear decreasing inertia weight, the particle swarm algorithm is prone to converge to the local extreme value too early in the later stage of the search, and the position of particles in the population lacks diversity. Therefore, it is considered to let the particles fly across the entire search space as much as possible in the early stage of the search to achieve particle diversity, thereby avoiding premature convergence to the local extreme value. As a nonlinear decreasing function, the inverted S-type function can balance the local convergence and global convergence of the particle swarm to a certain extent. By using the characteristics of the inverted S-type function, the nonlinear adjustment of the inertia weight is realized; at the same time, the S-type function is introduced in the position update formula of the algorithm to improve the search efficiency of the algorithm to a certain extent.
[0111] The inertia weight formula of the S-type function is:
[0112]
[0113] Where: a = 3.4, b = 0.07, i is the current iteration number of the particle, ω start is the starting value of the iteration weight, which is generally set to 0.9, ω end It is the weight value at the end of the iteration, which is generally set to 0.4. In this form, the inertia weight decreases slowly during the entire iteration.
[0114] In order to better obtain the inertia weight, improve the iterative stable convergence speed, and reduce the cost of the hybrid energy storage system, a concave parabola (opening upward) inertia weight is introduced, and its weight formula is as follows:
[0115]
[0116] Where: T represents the maximum number of iterations. The inertia weight decreases relatively slowly in the early stage of iteration and decreases rapidly in the later stage.
[0117] Combining the characteristics of the S-type function and the concave parabola inertia weight function, an improved S-type inertia weight function is designed, as follows:
[0118]
[0119] Wherein: c represents the proportional factor, which is set to 0.5 in the patent of this invention.
[0120] The S-type inertia weight, concave inertia weight and improved S-type inertia weight function curves are as follows: Figure 2 shown.
[0121] Figure 2 The horizontal axis represents the inertia weight value, and the vertical axis represents the number of iterations. The weight value is large in the early stage of iteration and decreases according to the curve trend in the later stage of iteration.
[0122] (2) Inertia weight optimization acceleration factor
[0123] In the particle swarm algorithm, the acceleration factors c1 and c2 also have a great impact on the search results. Compared with the standard particle swarm algorithm, the acceleration factors are usually set to fixed values, such as c1=c2=1.495445, which has certain limitations.
[0124] The present invention patent proposes to introduce inertia weight into the acceleration factor and construct an acceleration factor based on inertia weight.
[0125] In the initial search, a relatively large acceleration factor c1 and a relatively small c2 are selected, so that particles can be dispersed more freely in the search space, thereby increasing the diversity of particles; as the number of iterations increases, c1 decreases relatively, while c2 increases relatively, which strengthens the ability of particles to converge to the global optimum. The formula is as follows:
[0126]
[0127] Where rand(1) means randomly selecting data between [0,1].
[0128] The present invention firstly considers that the inertia weight has a great influence on the particle swarm optimization algorithm, and proposes to combine the concave inertia weight and the S-type inertia weight function to obtain the improved S-type function inertia weight, improve the particle swarm optimization ability and the number of iterations, and reduce the full life cycle cost of the hybrid energy storage system; secondly, on the basis of the improved S-type inertia weight, considering the influence of the acceleration factor on the particle swarm optimization, a method of optimizing the acceleration factor in combination with the inertia weight is proposed, which can further reduce the overall cost of the hybrid energy storage system. Through simulation, the feasibility and effectiveness of the proposed method in the optimal configuration of hybrid energy storage capacity are verified.
[0129] Step 4: Use the improved S-type function particle swarm optimization algorithm to solve the capacity optimization configuration model of the hybrid energy storage system.
[0130] After simulation verification, the following conclusions can be drawn:
[0131] 1: The proposed improved S-type function inertia weight and optimized acceleration factor can be well applied to the capacity optimization configuration of wind-solar hybrid energy storage system;
[0132] 2: Compared with most of the existing improved inertia weight particle swarm optimization algorithms, the proposed improved S-type function inertia weight and optimized acceleration factor can further reduce the full life cycle cost of the hybrid energy storage system, while improving the convergence speed of the system to reach the optimal value.
[0133] Simulation verification analysis
[0134] According to the content of the present invention, Matlab is used to perform case analysis. The basic data required in the case analysis include wind and solar load data such as Fig.10 As shown; the basic parameters of batteries and supercapacitors are shown in Table 1;
[0135] Table 1 Battery and supercapacitor parameters
[0136]
[0137]
[0138] For the four inertia weight value related algorithms described in the present invention, each algorithm is run 12 times for analysis, and the minimum and maximum cost curves and 12 iteration times curves of the running results of each algorithm are given, and the average cost of each algorithm is taken for full life cycle cost comparison. The specific data results are shown in Tables 2-5 below. It can be seen from the table data that the load power shortage rate indicators obtained by the four methods all meet the requirement of less than 0.5%; the number of battery / supercapacitor configurations, the objective function (full life cycle cost) and the number of times each iteration reaches the optimal value are shown in the tables.
[0139] Table 2 Results of concave parabola inertia weight method
[0140]
[0141] Table 3 Results of S-type inertia weight method
[0142]
[0143] Table 4 Results of improved S-type function inertia weight method
[0144]
[0145] Table 5 Results of improved S-type inertia weight and optimized acceleration factor method
[0146]
[0147] For the convenience of analysis, the results of Tables 2-5 above are summarized and compared, and a specific analysis is performed. The results are as follows:
[0148] Figure 3A comparison chart of the objective function (life cycle cost) curves of the improved S-type inertia weight method, the concave parabola inertia weight method, and the S-type inertia weight method is given. It can be seen that during the twelve iterations, the life cycle cost of the improved S-type method is basically lower than the results of the other two methods. The average life cycle costs of hybrid energy storage using the three methods are 159,000 yuan, 164,000 yuan, and 163,000 yuan, respectively. It can be seen that the improved S-type method can reduce the life cycle cost of hybrid energy storage. Figure 3 The detailed cost data are shown in Table 6.
[0149] Table 6 Figure 3 Cost Specific Data Table
[0150]
[0151] Figure 4 It can be seen that when the objective function reaches the optimal value, the number of iterations of the improved S-type method is basically maintained at 30 times. Compared with the other two methods, the stability of the number of iterations is also significantly improved.
[0152] Figure 5 A comparison chart of the results after optimizing the acceleration factor by inertia weight based on the improved S-type inertia weight is given (the twelve results are arranged in ascending order). In the improved S-type method, a fixed acceleration factor c1=c2=1.49544 is used; and the optimized acceleration factor uses inertia weight to improve c1 and c2 based on this improved S-type method. The average life cycle costs of the two methods are 159,000 yuan and 158,000 yuan respectively. From the results, it can be seen that the life cycle cost of hybrid energy storage after optimizing the acceleration factor is slightly lower than the result of the improved S-type method. Figure 5 The detailed cost data are shown in Table 7.
[0153] Table 7 Figure 5 Cost Specific Data Table
[0154]
[0155] Figure 6-7 The simulation result diagram of the improved S-type function inertia weight particle swarm optimization algorithm is given (the lowest and highest objective function result costs appear twice in the twelve simulations). It can be seen that the optimal stable iteration number is about 30 times, and the objective function solution is about 157,000 yuan. From Table 4, it can be seen that the load power shortage rate is 0.0366; the number of batteries and supercapacitors required is 44,900 and 5,606,200 respectively; the optimal stable iteration number is about 30 times, and the objective function solution is about 161,300 yuan. From Table 4, it can be seen that the load power shortage rate is 0.0390; the number of batteries and supercapacitors required is 46,200 and 5,757,500 respectively.
[0156] Figure 8-9The simulation result diagram of optimizing the acceleration factor based on the improved S-type inertia weight is given (the lowest and highest cost results of the objective function result appear in the twelve simulations). It can be seen that the optimal stable iteration number is about 30 times, and the objective function solution is about 156,940 yuan. From Table 5, it can be seen that the load power shortage rate is 0.0300; the number of batteries and supercapacitors required is 42,900 and 5,626,400 respectively; the optimal stable iteration number is about 30 times, and the objective function solution is about 160,500 yuan. From Table 5, it can be seen that the load power shortage rate is 0.0399; the number of batteries and supercapacitors required is 43,500 and 5,757,700 respectively.
[0157] In summary, the present invention utilizes the optimization characteristics of the particle swarm algorithm, adopts an improved S-type function to calculate the inertia weight value, and optimizes the acceleration factor based on the weight value on this basis, which can improve the optimization ability and speed of the particle swarm algorithm, thereby reducing the full life cycle cost of the hybrid energy storage system.
[0158] The above are only preferred embodiments of the present invention, and the protection scope of the present invention is not limited to the above embodiments. All technical solutions under the concept of the present invention belong to the protection scope of the present invention. It should be pointed out that for ordinary technicians in this technical field, some improvements and modifications without departing from the principle of the present invention should be regarded as the protection scope of the present invention.
Claims
1. A hybrid energy storage capacity optimization method based on an improved S-type function particle swarm optimization algorithm is characterized by: include: Step 1: Build a full life cycle cost model; Step 2, determine the objective function and constraints, and establish a hybrid energy storage system capacity optimization configuration model; Step 3, improving the S-type function particle swarm optimization algorithm; Step 4, using an improved S-type function particle swarm optimization algorithm to solve the hybrid energy storage system capacity optimization configuration model; In the step 3, the S-type inertia weight function is improved, and the acceleration factor is optimized based on the inertia weight value to improve the particle swarm algorithm; The S-type inertia weight function is improved, and the improved S-type inertia weight function is as follows: Where: ω is the weight, c represents the proportional factor, i is the current iteration number of the particle, ω start is the starting weight value at the beginning of the iteration, ω end is the weight value at the later stage of iteration, and T represents the maximum number of iterations; The optimization of the acceleration factor based on the inertia weight value and the improvement of the particle swarm algorithm are specifically as follows: In the initial search, we choose to use acceleration factors c1 and c2, c1 is greater than c2, and as the number of iterations increases, c1 decreases relatively, while c2 increases relatively. The formula is as follows: Among them, rand(1) means randomly selecting data between [0,1].
2. The hybrid energy storage capacity optimization method based on improved S-type function particle swarm optimization algorithm according to claim 1 is characterized in that: The step 1 constructs a full life cycle cost model as follows: L CC =C O +C P +C M +C D (1) Among them, L CC Represents the total life cycle cost; C O Indicates the operating cost of the equipment; C P Indicates the purchase cost of the equipment; C M Indicates the maintenance cost of the equipment; C D Indicates the handling fee of the device.
3. The hybrid energy storage capacity optimization method based on improved S-type function particle swarm optimization algorithm according to claim 2 is characterized in that: In step 2, batteries and supercapacitors are used as hybrid energy storage devices for the wind-solar hybrid system, with the goal of minimizing the cost over the entire life cycle, and with the load power shortage rate and the storage capacity of the energy storage system as constraints, a hybrid energy storage system capacity optimization configuration model is established.
4. The hybrid energy storage capacity optimization method based on improved S-type function particle swarm optimization algorithm according to claim 3 is characterized in that: Step 2 takes the minimum cost of its entire life cycle as the goal, and its objective function is: Where: C O Indicates the operating cost of the equipment; C P Indicates the purchase cost of the equipment; C M Indicates the maintenance cost of the equipment; C D Indicates the cost of handling the equipment; f ob 、f oc Indicates the operating factor of batteries and supercapacitors; f mb Indicates the maintenance factor of the battery; N b 、N c Respectively represent the number of batteries and supercapacitors; P b , P c Represent the unit prices of batteries and supercapacitors respectively.
5. The hybrid energy storage capacity optimization method based on improved S-type function particle swarm optimization algorithm according to claim 3 is characterized in that: The constraint condition of step 2 with load power shortage rate as constraint is: f LPSP ≤f LPSPmax (8) Where: f LPSP is the load power failure rate, f LPSPmax is the maximum power failure rate allowed by the load; The constraints based on the energy storage capacity of the energy storage system are: E b (k) is the remaining storage energy of the battery, E c is the energy storage of the supercapacitor bank; E bmin E is the minimum remaining energy storage capacity of the battery; cmax 、E cmin The maximum and minimum energy storage of the supercapacitor bank, k is the moment.
6. The hybrid energy storage capacity optimization method based on improved S-type function particle swarm optimization algorithm according to claim 5 is characterized in that: Minimum storage energy of battery E bmin for: E bmin =N b C b HE b (1-DOD) / 10 6 Among them U b Indicates the rated voltage of the battery; C b Indicates rated capacity; DOD means maximum discharge depth; bmin The unit is MWh, U b The unit is V, C b The unit is Ah; The maximum energy storage capacity of the supercapacitor bank is: AND cmax =0.5N c W c U 2 cmax / 3.6×10 9 (6) The minimum energy storage capacity of the supercapacitor bank is: AND cmin =0.5N c W c U 2 cmin / 3.6×10 9 (7) Among them U c is the terminal voltage of the supercapacitor; C c Indicates the capacitance value.
7. The hybrid energy storage capacity optimization method based on improved S-type function particle swarm optimization algorithm according to claim 3 is characterized in that: In step 2, the following constraints are also set: E b (k)≤μΔE(10) Where μ represents the proportionality coefficient, ΔE=(E w (k)+E pv (k))η c -E L (k); E b (k) The remaining energy stored in the battery; E w (k), E pv (k), E L (k) are the electricity of wind energy, solar energy and load at time k; η c is the power conversion efficiency of the inverter.
