A method for solving the capacity planning problem of island integrated energy system

By optimizing the number of equipment installations in the island's comprehensive energy system through the group hybrid mutation algorithm, balancing global and local searches, it solves the problem that the traditional clone selection algorithm easily falls into local optimality, and achieves more efficient energy system planning and clean energy utilization. Improves the independence and environmental sustainability of the island's energy system.

CN118333474BActive Publication Date: 2024-09-10JIANGSU OCEAN UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410487571.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-23
Publication Date
2024-09-10
Estimated Expiration
2044-04-23

AI Technical Summary

Technical Problem

Existing technology is difficult to effectively balance the global search capability and local search capability of the island's integrated energy system, causing the traditional clone selection algorithm to easily fall into local optimality, slow convergence speed, and low convergence accuracy, making it difficult to effectively carry out capacity planning of the energy system.

Method used

Adopting a sub-population hybrid mutation algorithm, through memory bank category division, excellent memory bank clone mutation strategy, medium memory bank clone mutation strategy, poor memory bank evolution strategy and antibody suppression strategy, combined with linear weighting processing to optimize the objective function, optimize wind turbines, waves The number of installed power generation devices, photovoltaics, electric energy storage and other equipment can achieve a balance between global and local searches.

Benefits of technology

It improves the balance between global search capability and local search accuracy, avoids local optimal traps, improves convergence speed and accuracy, promotes the utilization of clean energy and environmentally sustainable development, and enhances the independence and self-sufficiency of the island energy system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118333474B
    Figure CN118333474B
Patent Text Reader

Abstract

The present invention provides a method for solving the capacity planning problem of an island integrated energy system, aiming to effectively solve complex optimization problems with high dimensions, multiple objectives, and multiple constraints, such as the configuration optimization of an island integrated energy system. Through meticulous energy system configuration optimization modeling, memory library category division and cloning mutation strategies designed for different memory libraries are used to effectively balance the global search and local search capabilities, thereby improving the accuracy and efficiency of the solution. In the early stage of the algorithm, the global search capability is enhanced by expanding the search range, and in the later stage of the algorithm, fine adjustments are made to improve the local search efficiency, thereby avoiding the problem of falling into the local optimal solution. This method shows significant advantages in reducing the overall cost, improving energy utilization, and enhancing system reliability. It provides an efficient and feasible new way for the planning and optimization of island integrated energy systems, and has a positive impact on promoting the use of clean energy and environmental protection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical field:

[0001] The present invention relates to the field of intelligent optimization and capacity planning of an island integrated energy system, and in particular to a method for solving the problem of capacity planning of an island integrated energy system. Background technology:

[0002] One of the challenges in the development of island energy systems is how to reduce dependence on traditional energy and achieve sustainable development. Although some solutions solve this problem by introducing microgrids composed of clean energy such as wind and solar energy, these systems often still need to rely on traditional energy such as diesel as a backup, resulting in environmental pollution and sustainability issues.

[0003] In recent years, in order to meet the daily energy needs of residents on isolated islands and respond to the global "dual carbon" policy, some scholars have tried to establish an island integrated energy system based entirely on clean energy. These system models often involve the comprehensive utilization of multiple energy sources such as wind, solar, and hydrogen, aiming to improve energy utilization and enhance the independence of the system. However, a common challenge in these solutions is how to effectively plan the capacity of the energy system, which is usually a multi-objective, multi-constrained nonlinear problem, and traditional optimization methods are difficult to provide a satisfactory solution.

[0004] The clonal selection algorithm, a global optimization method inspired by the biological immune system, is considered to be an effective method for solving the above complex optimization problems due to its self-organization, self-adaptation and self-learning characteristics. The algorithm has been applied to solve a variety of problems, including combinatorial optimization, pattern recognition, etc. Despite this, existing research focuses on improving the local search or global search capabilities of the algorithm, and few works balance these two capabilities as a whole. In addition, although some improved clonal selection algorithms attempt to improve search efficiency and population diversity by introducing new mutation strategies, how to make full use of the information in the population and how to effectively balance the contradiction between global and local search in practical applications remains an open problem. Summary of the invention:

[0005] The purpose of the present invention is to provide a method for solving the capacity planning problem of an island integrated energy system in view of the defects of the prior art, aiming to effectively balance local development and global search capabilities and overcome the problems of local optimal traps, slow convergence speed and low convergence accuracy of traditional clonal selection algorithms.

[0006] To achieve the above object, the present invention provides the following technical solution: a method for solving the capacity planning problem of an island integrated energy system, the specific steps are as follows:

[0007] S1: Energy system configuration optimization modeling;

[0008] S1-1: Optimization variables: including the number of wind turbines, wave power generation devices, photovoltaics, collectors, electrolyzers, desalination units, absorption chillers installed, and the rated capacity of electrical energy storage, thermal energy storage, cold storage, and water energy storage;

[0009] S1-2: Optimization objectives: The three objectives of island comprehensive cost, system load shedding, and system resource waste reflect the island's economy, independence, and resource utilization, respectively;

[0010] S1-3: Use the three optimization objectives in S1-2 to perform linear weighted processing to obtain the mathematical model of the objective function:

[0011]

[0012] Among them, ALC represents the comprehensive cost; AWR represents the amount of system resource waste; ACL represents the amount of system load shedding; the inversion process is to meet the characteristic of the clone selection algorithm that the higher the affinity, the better the quality of the antibody;

[0013] S2: population hybrid mutation algorithm;

[0014] S2-1: Classification of memory banks;

[0015] S2-2: Excellent memory library cloning mutation strategy;

[0016] S2-3: Medium memory library clonal mutation strategy;

[0017] S2-4: Evolutionary strategies of differential memory banks;

[0018] S2-5: Antibody inhibition strategy;

[0019] S3: Use a population hybrid mutation algorithm to solve the energy system configuration optimization problem.

[0020] As a preferred technical solution of the present invention, the mathematical model of the comprehensive cost in step S1-2 is as follows:

[0021] ALC=C in +C om +C rep -E H (2)

[0022] C in =c in *X*CRF (3)

[0023]

[0024] C rep =θE bat c rep (5)

[0025]

[0026]

[0027]

[0028]

[0029] Among them, ALC represents the comprehensive cost; X represents the optimization variable; the comprehensive cost includes the installation cost of the equipment C in , Operation and maintenance costs C om , Electricity storage replacement cost C rep And the income from hydrogen sales E H , c in represents the investment price factor of each equipment; CRF represents the capital recovery rate, which is determined by the actual loan interest rate r and the project life cycle l, and l is taken as 20 years; α and β are the nominal loan interest rate and inflation rate over 5 years, respectively, and are taken as 0.0655 and 0.03; eq represents the system equipment set, including wind turbines, wave power generation devices, photovoltaic modules, collectors, electrolyzers, seawater desalination units, and absorption chillers; δ m represents the operation and maintenance cost of each device, 10,000 yuan / kW; P m (t) represents the output power of each device at time t; the replacement cost of electric energy storage is calculated based on the battery loss degree θ, which is calculated by the cumulative charge and discharge power of the battery in one year P bat,sum And the floating charge life of the battery L bat OK; P sum,max The upper limit of the battery's cumulative charge and discharge capacity; c rep is the replacement cost of battery per unit capacity, 10,000 yuan / kWh; σ is the price of hydrogen, 10,000 yuan / cubic meter; It represents the amount of hydrogen produced by the electrolyzer at time t.

[0030] As a preferred technical solution of the present invention, the system resource waste amount and system load shedding amount models in step S1-2 are as follows:

[0031]

[0032]

[0033] AWR represents the amount of system resource waste; ACL represents the amount of system load shedding; j=1, 2, 3, 4 represent the four energy types of electricity, heat, cold, and water respectively; T represents 8760 hours a year. Respectively represent the amount of cutting off the electrical load, heating load, cooling load and water load. Respectively represent the amount of waste of electricity, heat, cold and water resources.

[0034] As a preferred technical solution of the present invention, the specific operation of the memory library category division described in step S2-1 is: assuming that the total capacity of the initial memory library is NP, the antibody-antigen affinity of the antibodies in the memory library is calculated and sorted according to the affinity, the top 40% of the antibodies are divided into the excellent memory library NP1, the middle 30% of the antibodies with the affinity ranking are divided into the medium memory library NP2, and the last 30% of the antibodies with the affinity ranking are divided into the poor memory library NP3.

[0035] As a preferred technical solution of the present invention, the specific operation of the excellent memory library cloning mutation strategy in step S2-2 is: at the beginning of the algorithm iteration, select the probability S p The smaller the value of is, the greater the probability of selecting the receptor editing strategy, expanding the algorithm search range and increasing the algorithm's global search capability; in the later stage of the algorithm, the probability of selecting S p The larger the value of is, the greater the probability of selecting a high-frequency mutation strategy, further searching near the excellent solution, and increasing the local search ability of the algorithm. The specific calculation formula is:

[0036]

[0037]

[0038]

[0039] Among them, C′ i (t) is the antibody produced after the antibody clone mutation, P i (t) is a cloned mutated antibody, For a random one in the excellent memory bank that does not match P i (t) The same antibody, i, r3∈[1, NP1], and i≠r3, ω is the perturbation factor of high-frequency variation, which gradually increases with the increase of the number of iterations, which well avoids the phenomenon of insufficient perturbation caused by the similar antibodies in the excellent memory library in the later stage, X max , X min are the upper and lower bounds of the search space respectively. The receptor editing strategy is to randomly generate some antibodies in the search space to expand the algorithm search range. p is the selection probability, which is calculated based on the current number of iterations and is used by the algorithm to adaptively select mutation strategies based on the iteration situation. r1, r2, r4, and r5 are random numbers between [0, 1), t is the current number of iterations, and t max is the maximum number of iterations.

[0040] As a preferred technical solution of the present invention, the specific operation of the medium memory library cloning mutation strategy in step S2-3 is: the perturbation factor F of the adaptive differential operator is relatively large in the initial stage, so that the antibody produces a large perturbation to maintain population diversity; the value becomes smaller in the later stage, so as to better maintain the excellent genes of excellent antibodies and further search near the excellent solution; different from the differential evolution algorithm, the adaptive differential mutation factor of the present invention changes with the cloning scale of the antibody, and the specific calculation formula is:

[0041]

[0042] F=f0·2 λ (16)

[0043]

[0044] Among them, C′ j (t) represents the antibody after adaptive differential mutation operation;

[0045] P j (t) indicates the currently cloned antibody, C s represents the cloning scale of the antibody, j, r6, r7∈[NP1+1, NP1+NP2], and j≠r6≠r7, k=1,2,...,C s , f0 is the initial disturbance factor.

[0046] As a preferred technical solution of the present invention, the specific operation of the evolution strategy of the differential memory library described in step S2-4 is: in the early stage of evolution, the affinity values ​​of the antibodies in each memory library are not much different. At this time, the adaptive perturbation strategy is selected with a greater probability to increase the antibody diversity with a larger perturbation factor; in the later stage of algorithm evolution, the optimal solution guidance strategy is selected with a greater probability to improve the convergence of the memory library. The specific calculation formula is:

[0047]

[0048] Among them, G Best (t) is the global optimal solution of the current iteration number, is the antibody to be evolved, i1, r 10 , r 11 ∈[NP1+NP2+1,NP], and i1≠r 10 ≠r 11 ,r8,r9,r 10 , r 11 , r 12 , r 13 is a random number between [0, 1); the optimal solution guidance strategy is based on As the center, fully learn the excellent genes of the global optimal solution; Generate random disturbances, further search near the optimal solution, and increase the local search ability of the algorithm; in the adaptive perturbation strategy, Center, Generate disturbances, adaptive disturbance factor It gradually becomes smaller as the algorithm iterates.

[0049] As a preferred technical solution of the present invention, the specific operation of the antibody suppression strategy described in step S2-5 is: the improved algorithm introduces an antibody suppression strategy, and each antibody clone mutation or evolution-generated antibody can only replace the original antibody if its affinity is better than that of the previous generation, otherwise the antibody in the memory bank will not be updated.

[0050] As a preferred technical solution of the present invention, the specific operation steps of the population mixing mutation in step S3 are:

[0051] S3-1: Initialize the memory bank and record it as P, the number of antibodies as NP, and initialize the algorithm parameters, including the current number of iterations t, the maximum number of iterations t max , pre-cloning scale N c ;

[0052] S3-2: Calculate the affinity of antibodies and antigens in the memory bank P and sort them, which is recorded as the current global optimal solution G Best The top 40% antibody population in terms of affinity is denoted as P e , the number of antibodies is NP1; the 30% antibody population in the middle of affinity ranking is recorded as P m , the number of antibodies is NP2; the antibody population with the lowest affinity ranking of 30% is recorded as P s , the number of antibodies is NP3;

[0053] S3-3: Calculate P e , P m The clone size of each antibody in; the selection probability of the mutation strategy is calculated according to formula (14);

[0054] S3-4: For P e Each antibody in the hybrid mutation strategy of formula (12) is carried out. The number of cloned antibodies is determined by the cloning scale of the antibody, the number of mutations performed, the number of new antibodies generated, and the antibody with the highest affinity is selected from the newly generated antibodies. If its affinity value is better than the old antibody, the old antibody in the memory library is updated, and the global optimal solution G is updated. Best , otherwise it is not updated; for P m Each antibody in the formula (17) performs the adaptive differential mutation strategy, and the remaining operations and P e The operation is the same as in P sThe antibodies in the equation (18) are directly evolved without cloning. If the affinity of the newly generated antibody is better than that of the old antibody, the old antibody and the global optimal solution G are updated. Best , otherwise it will not be updated, and the updated memory banks of the three will be merged and recorded as P, completing the update of the overall memory bank;

[0055] S3-5: Determine the termination condition. The termination condition of the algorithm is the preset maximum number of iterations. If the termination condition is reached, the optimal solution is output and the loop is exited. Otherwise, step S3-2 is continued.

[0056] Compared with the prior art, the present invention has the following technical advantages and the beneficial effects of the present invention are:

[0057] Improved balance between global search capability and local search accuracy: By dividing the population by affinity and introducing multiple mutation strategies (such as high-frequency mutation, adaptive differential mutation, optimal solution guidance and adaptive perturbation, etc.) for sub-populations with different characteristics, the present invention can effectively balance global search and local search, avoiding the problem that traditional clone selection algorithms are prone to falling into local optimality, while improving convergence speed and accuracy.

[0058] Innovative capacity planning model: A mathematical model with the number of equipment installed as the optimization variable was established, and the minimization of comprehensive cost, system load shedding, and resource waste was taken as the optimization goal. This model not only takes into account the economy, but also takes into account the stability of the system and the efficiency of resource utilization, providing a more comprehensive and efficient method for the planning of island integrated energy systems.

[0059] Promotes the use of clean energy and sustainable environmental development: By optimizing the configuration of the island energy system, the present invention helps to reduce dependence on traditional fossil energy, reduce emissions of carbon dioxide and other greenhouse gases, and promote the widespread use of clean energy, which is of great significance for promoting sustainable environmental development.

[0060] Enhanced independence and self-sufficiency of island energy systems: By effectively optimizing energy allocation and improving energy utilization, the present invention supports the establishment of a highly independent and self-sufficient island energy system, reduces the uncertainty and dependence on external energy supply, and provides island residents with a more stable and reliable energy guarantee. Description of the drawings:

[0061] Figure 1 is a flow chart of the method provided by the present invention;

[0062] Figure 2 It is a flow chart of the population hybrid mutation algorithm provided by the present invention;

[0063] Figure 3It is a convergence curve diagram of a specific embodiment provided by the present invention for solving an island integrated energy system capacity optimization model. Specific implementation method:

[0064] The present invention is further described below in conjunction with the accompanying drawings and examples. However, the present invention can be implemented in many different ways and should not be construed as being limited to the embodiments shown; on the contrary, these embodiments provide those skilled in the art with implementation methods that meet applicable legal requirements.

[0065] Embodiment 1: According to Figure 1 and Figure 2 As shown in FIG. 1 , a method for solving the capacity planning problem of an island integrated energy system is shown in FIG. 1 . The specific steps are as follows:

[0066] S1: Energy system configuration optimization modeling;

[0067] S1-1: Optimization variables: including the number of wind turbines (WT), wave-power devices (WP), photovoltaics (PV), collectors (COLL), electrolytic cells (ELY), seawater desalination units (SDU), absorption chillers (ABC), and the rated capacities of storage batteries (BAT), thermal energy storage (TES), cold energy storage (CES), and water energy storage (WES);

[0068] S1-2: Optimization objectives: The three objectives of island comprehensive cost, system load shedding, and system resource waste reflect the island's economy, independence, and resource utilization, respectively;

[0069] The mathematical model of comprehensive cost is as follows:

[0070] ALC=C in +C om +C rep -E H (1)

[0071] C in =c in *X*CRF (2)

[0072]

[0073] C rep=θE bat c rep (4)

[0074]

[0075]

[0076]

[0077]

[0078] Among them, ALC represents the comprehensive cost; X represents the optimization variable; the comprehensive cost includes the installation cost of the equipment C in , Operation and maintenance costs C om , Electricity storage replacement cost C rep And the income from hydrogen sales E H , c in represents the investment price factor of each equipment; CRF represents the capital recovery rate, which is determined by the actual loan interest rate r and the project life cycle l, and l is taken as 20 years; α and β are the nominal loan interest rate and inflation rate over 5 years, respectively, and are taken as 0.0655 and 0.03; eq represents the system equipment set, including wind turbines, wave power generation devices, photovoltaic modules, collectors, electrolyzers, seawater desalination units, and absorption chillers; δ m represents the operation and maintenance cost of each device, 10,000 yuan / kW; P m (t) represents the output power of each device at time t; the replacement cost of electric energy storage is calculated based on the battery loss degree θ, which is calculated by the cumulative charge and discharge power of the battery in one year P bat,sum And the floating charge life of the battery L bat OK; P sum,max The upper limit of the battery's cumulative charge and discharge capacity; c rep is the replacement cost of battery per unit capacity, 10,000 yuan / kWh; σ is the price of hydrogen, 10,000 yuan / cubic meter; It represents the amount of hydrogen produced by the electrolyzer at time t.

[0079] The system resource waste and system load shedding models are as follows:

[0080]

[0081]

[0082] AWR represents the amount of system resource waste; ACL represents the amount of system load shedding; j=1, 2, 3, 4 represent the four energy types of electricity, heat, cold, and water respectively; T represents 8760 hours a year. Respectively represent the amount of cutting off the electrical load, heating load, cooling load and water load. Respectively represent the amount of waste of electricity, heat, cold and water resources.

[0083] S1-3: Use the three optimization objectives in S1-2 to perform linear weighted processing to obtain the mathematical model of the objective function:

[0084]

[0085] Among them, ACL represents the comprehensive cost; AWR represents the amount of system resource waste; ACL represents the amount of system load shedding; the inversion process is to meet the characteristic of the clone selection algorithm that the higher the affinity, the better the antibody quality;

[0086] S2: population hybrid mutation algorithm;

[0087] S2-1: Classification of memory banks; assuming that the total capacity of the initial memory bank is NP, the antibody-antigen affinity of the antibodies in the memory bank is calculated and sorted according to the affinity. The top 40% of antibodies are divided into the excellent memory bank NP1, the middle 30% of antibodies with the highest affinity are divided into the medium memory bank NP2, and the bottom 30% of antibodies with the lowest affinity are divided into the poor memory bank NP3.

[0088] S2-2: Excellent memory library cloning mutation strategy; in the early stage of algorithm iteration, select probability S p The smaller the value of is, the greater the probability of selecting the receptor editing strategy, expanding the algorithm search range and increasing the algorithm's global search capability; in the later stage of the algorithm, the probability of selecting S p The larger the value of is, the greater the probability of selecting a high-frequency mutation strategy, further searching near the excellent solution, and increasing the local search ability of the algorithm. The specific calculation formula is:

[0089]

[0090]

[0091]

[0092] Among them, C′ i (t) is the antibody produced after the antibody clone mutation, P i (t) is a cloned mutated antibody, For a random one in the excellent memory bank that does not match P i (t) The same antibody, i, r3∈[1, NP1], and i≠r3, ω is the perturbation factor of high-frequency variation, which gradually increases with the increase of the number of iterations, which well avoids the phenomenon of insufficient perturbation caused by the similar antibodies in the excellent memory library in the later stage, X max , X minare the upper and lower bounds of the search space respectively. The receptor editing strategy is to randomly generate some antibodies in the search space to expand the algorithm search range. p is the selection probability, which is calculated based on the current number of iterations and is used by the algorithm to adaptively select mutation strategies based on the iteration situation. r1, r2, r4, and r5 are random numbers between [0, 1), t is the current number of iterations, and t max is the maximum number of iterations.

[0093] S2-3: Medium memory library cloning mutation strategy; the perturbation factor F of the adaptive differential operator is relatively large in the initial stage, so that the antibody produces a large perturbation to maintain population diversity; the value becomes smaller in the later stage, so as to better maintain the excellent genes of excellent antibodies and further search near the excellent solution; different from the differential evolution algorithm, the adaptive differential mutation factor of the present invention changes with the cloning scale of the antibody, and the specific calculation formula is:

[0094]

[0095] F=f0·2 λ (16)

[0096]

[0097] Among them, C′ j (t) represents the antibody after adaptive differential mutation operation;

[0098] P j (t) indicates the currently cloned antibody, C s represents the cloning scale of the antibody, j, r6, r7∈[NP1+1, NP1+NP2], and j≠r6≠r7, k=1,2,...,C s , f0 is the initial disturbance factor.

[0099] S2-4: Evolution strategy of differential memory library; in the early stage of evolution, the affinity values ​​of antibodies in each memory library are not much different. At this time, the adaptive perturbation strategy is selected with a greater probability to increase the diversity of antibodies with a larger perturbation factor; in the later stage of algorithm evolution, the optimal solution guidance strategy is selected with a greater probability to improve the convergence of the memory library. The specific calculation formula is:

[0100]

[0101] Among them, G Best (t) is the global optimal solution of the current iteration number, is the antibody to be evolved, i1, r 10 , r 11 ∈[NP1+NP2+1,NP], and i1≠r 10 ≠r 11,r8,r9,r 10 , r 11 , r 12 , r 13 is a random number between [0, 1); the optimal solution guidance strategy is based on As the center, fully learn the excellent genes of the global optimal solution; Generate random disturbances, further search near the optimal solution, and increase the local search ability of the algorithm; in the adaptive perturbation strategy, Center, Generate disturbances, adaptive disturbance factor It gradually becomes smaller as the algorithm iterates.

[0102] S2-5: Antibody suppression strategy; The improved algorithm introduces an antibody suppression strategy. Each antibody clone mutated or evolved can only replace the original antibody if its affinity is better than that of the previous generation. Otherwise, the antibody in the memory bank will not be updated.

[0103] S3: Use a population hybrid mutation algorithm to solve the energy system configuration optimization problem.

[0104] S3-1: Initialize the memory bank and record it as P, the number of antibodies as NP, and initialize the algorithm parameters, including the current number of iterations t, the maximum number of iterations t max , pre-cloning scale N c ;

[0105] S3-2: Calculate the affinity of antibodies and antigens in the memory bank P and sort them, which is recorded as the current global optimal solution G Best The top 40% antibody population in terms of affinity is denoted as P e , the number of antibodies is NP1; the 30% antibody population in the middle of affinity ranking is recorded as P m , the number of antibodies is NP2; the antibody population with the lowest affinity ranking of 30% is recorded as P s , the number of antibodies is NP3;

[0106] S3-3: Calculate P e , P m The clone size of each antibody in; the selection probability of the mutation strategy is calculated according to formula (14);

[0107] S3-4: For P e Each antibody in the hybrid mutation strategy of formula (12) is carried out. The number of cloned antibodies is determined by the cloning scale of the antibody, the number of mutations performed, the number of new antibodies generated, and the antibody with the highest affinity is selected from the newly generated antibodies. If its affinity value is better than the old antibody, the old antibody in the memory library is updated, and the global optimal solution G is updated. Best , otherwise it is not updated; for P mEach antibody in the formula (17) performs the adaptive differential mutation strategy, and the remaining operations and P e The operation is the same as in P s The antibodies in the equation (18) are directly evolved without cloning. If the affinity of the newly generated antibody is better than that of the old antibody, the old antibody and the global optimal solution G are updated. Best , otherwise it will not be updated, and the updated memory banks of the three will be merged and recorded as P, completing the update of the overall memory bank;

[0108] S3-5: Determine the termination condition. The termination condition of the algorithm is the preset maximum number of iterations. If the termination condition is reached, the optimal solution is output and the loop is exited. Otherwise, step S3-2 is continued.

[0109] Embodiment 2: According to statistics, 63% of the methods for capacity planning of renewable energy systems are based on genetic algorithms (GA) and 33% are based on particle swarm optimization (PSO). Therefore, the present invention selects GA, PSO and traditional clonal selection algorithm (CSA) as comparison algorithms for the improved clonal selection algorithm (ICSA).

[0110] In order to avoid contingency, each algorithm was run independently for 10 times. Table 1 shows the optimal solution and target value of a certain optimization run, and Table 2 shows the average optimization results of 10 optimizations of the equipment configuration problem of the island integrated energy system. It can be seen from Table 2 that the average fitness values ​​are ICSA, CSA, GA, and PSO from high to low, among which the average fitness of ICSA is 5.7%, 13.3%, and 27.1% higher than that of CSA, GA, and PSO, respectively. The average running time of the algorithm solution is PSO, GA, CSA, and ICSA from small to large, among which the average running time of ICSA is 55.5%, 46.1%, and 19.8% higher than that of PSO, GA, and CSA, respectively. It can be seen from the above data that: since the affinity calculation of the island integrated energy system configuration optimization problem requires a lot of time, and the three subpopulations in ICSA need to calculate the affinity multiple times, the running time is long, but its convergence accuracy is high. Compared with CSA, the running time of ICSA is improved, but its convergence accuracy is also higher.

[0111] Table 1: Optimization results

[0112] algorithm ICSA CSA PSO GA WT 1 1 5 1 PV 801 1186 501 925 COLL 346 471 1413 875 WP 10 9 6 9 ELY 10 10 9 10 SDU 4 3 4 4 ABC 39 38 35 35 BAT 1500 1426 1204 1356 WES 459 366 1405 362 TES 1105 2251 2486 1189 CES 2500 2340 2497 2370 ALC 77490.9 93944.8 168394.4 148565.4 AWR 59636.5 63798.9 29902.1 25724.1 ACL 40638.1 41040.8 87874.4 58621.7 Object -59255.2 -66261.5 -95390.3 -77637.1

[0113] Table 2: Average results of 10 independent runs of each algorithm

[0114]

[0115]

[0116] In order to observe the convergence curves of each algorithm, Figure 3 (1) shows the convergence curves of each algorithm in an independent run. Figure 3 (2) shows the average convergence curve of 10 runs. Figure 3 It can be seen from (1) that the ICSA convergence curve is smoother than other algorithms, without a plateau period, and the curve is higher than the convergence curves of other algorithms. Therefore, ICSA has a strong ability to jump out of the local optimum, strong global exploration ability and high convergence accuracy. The convergence curve of CSA shows an obvious plateau period, often falls into the local optimum, and has low convergence accuracy. PSO quickly falls into the local optimum and has the worst global exploration ability. The convergence curve of GA is the same, and there are still many plateau periods, but its convergence accuracy is higher than that of PSO. Figure 3 It can be seen from (2) that the convergence accuracy and convergence speed of ICSA are significantly higher than those of other algorithms, and its global exploration ability and local development ability are significantly higher than those of CSA.

[0117] The above-mentioned embodiment shows in detail a method for solving the capacity planning problem of the island integrated energy system, wherein the key steps include the optimization modeling of the energy system configuration, the design and application of the sub-population hybrid mutation algorithm, and the final determination of the system operation strategy. By optimizing the setting of variables, such as the installation quantity of energy equipment such as wind turbines, wave power generation devices, photovoltaics and the rated capacity of their energy storage equipment, this method aims to minimize the comprehensive cost of the island, the amount of system load shedding and the amount of resource waste, thereby reflecting the optimization of the island's economy, independence and resource utilization. Through the demonstration of the embodiments, this method is not only innovative in theory, but also confirmed its superiority in practical applications through comparative analysis with other algorithms (such as traditional clonal selection algorithms, particle swarm optimization algorithms and genetic algorithms). In particular, in the comparison of algorithm convergence performance, the sub-population hybrid mutation clonal selection algorithm shows better convergence speed and accuracy, as well as stronger global exploration ability and local development ability.

[0118] The above embodiments only express the implementation methods of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention.

Claims

1. A method for solving the capacity planning problem of an island integrated energy system, characterized in that: The specific steps are as follows: S1: Energy system configuration optimization modeling; S1-1: Optimization variables: including the number of wind turbines, wave power generation devices, photovoltaics, collectors, electrolyzers, desalination units, absorption chillers installed, and the rated capacity of electrical energy storage, thermal energy storage, cold storage, and water energy storage; S1-2: Optimization objectives: The three objectives of island comprehensive cost, system load shedding, and system resource waste reflect the island's economy, independence, and resource utilization, respectively; S1-3: Perform linear weighted processing using the three optimization objectives in step S1-2 to obtain a mathematical model of the objective function: Among them, ALC represents the comprehensive cost; AWR represents the amount of system resource waste; ACL represents the amount of system load shedding; S2: Construct a population hybrid mutation algorithm; specifically including: S2-1: Classification of memory banks; the specific operation is: assuming that the total capacity of the initial memory bank is NP, the antibody-antigen affinity of the antibodies in the memory bank is calculated and sorted according to the affinity, the top 40% of antibodies are divided into the excellent memory bank, the middle 30% of antibodies in affinity are divided into the medium memory bank, and the bottom 30% of antibodies in affinity are divided into the poor memory bank; S2-2: Excellent memory library cloning mutation strategy; the specific operation is: at the beginning of the algorithm iteration, select the probability S p The smaller the value of is, the greater the probability of selecting the receptor editing strategy, expanding the algorithm search range and increasing the algorithm's global search capability; in the later stage of the algorithm, the probability of selecting S p The larger the value of is, the greater the probability of selecting a high-frequency mutation strategy, further searching near the excellent solution, and increasing the local search ability of the algorithm. The specific calculation formula is: Among them, C′ i (t1) is the antibody produced after the antibody clone mutation, P i (t1) is the cloned mutated antibody, For a random one in the excellent memory bank that does not match P i (t1) The same antibody, i, r3∈[1, NP1], and i≠r3, ω is the perturbation factor of high-frequency variation, which gradually increases with the increase of the number of iterations, which well avoids the phenomenon of insufficient perturbation caused by the similar antibodies in the excellent memory library in the later stage, X max , X min are the upper and lower bounds of the search space respectively. The receptor editing strategy is to randomly generate some antibodies in the search space to expand the algorithm search range. p is the selection probability, which is calculated according to the current number of iterations and is used by the algorithm to adaptively select mutation strategies according to the iteration situation. r1, r2, r4, r5 are random numbers between [0, 1), t1 is the current number of iterations, and t max is the maximum number of iterations; S2-3: Medium memory library cloning mutation strategy; the specific operation is: the perturbation factor F of the adaptive differential operator takes a larger value in the initial stage, so that the antibody produces a larger perturbation to maintain population diversity; the value becomes smaller in the later stage, so as to better maintain the excellent genes of excellent antibodies and further search near the excellent solution; different from the differential evolution algorithm, the adaptive differential mutation factor changes with the cloning scale of the antibody, and the specific calculation formula is: F=f0·2 λ (16) Among them, C′ j (t1) represents the antibody after the adaptive differential mutation operation; P j (t1) represents the currently cloned and mutated antibody, C s represents the cloning scale of the antibody, j, r6, r7∈[NP1+1, NP1+NP2], and j≠r6≠r7, k=1,2,...,C s , f0 is the initial disturbance factor; S2-4: Evolution strategy of differential memory library; the specific operation is: in the early stage of evolution, the affinity values ​​of antibodies in each memory library are not much different. At this time, the adaptive perturbation strategy is selected with a greater probability to increase the diversity of antibodies with a larger perturbation factor; in the later stage of algorithm evolution, the optimal solution guidance strategy is selected with a greater probability to improve the convergence of the memory library. The specific calculation formula is: Among them, G Best (t1) is the global optimal solution for the current number of iterations, is the antibody to be evolved, i1, r 10 , r 11 ∈[NP1+NP2+1,NP], and i1≠r 10 ≠r 11 ,r8,r9,r 12 , r 13 is a random number between [0, 1); the optimal solution guidance strategy is based on As the center, fully learn the excellent genes of the global optimal solution; Generate random disturbances, further search near the optimal solution, and increase the local search ability of the algorithm; in the adaptive perturbation strategy, Center, Generate disturbances, adaptive disturbance factor It gradually becomes smaller as the algorithm iterates; S2-5: Antibody suppression strategy; The specific operation is as follows: The improved algorithm introduces an antibody suppression strategy. Only antibodies generated by mutation or evolution of each antibody clone can replace the original antibody if the affinity is better than that of the previous generation. Otherwise, the antibody in the memory bank will not be updated. S3: Use the population hybrid mutation algorithm to solve the mathematical model of the objective function obtained in step S1-3 to solve the energy system configuration optimization problem; the specific operation steps are: S3-1: Initialize the memory bank and record it as P, the number of antibodies as NP, and initialize the algorithm parameters, including the current number of iterations t, the maximum number of iterations t max , pre-cloning scale N c ; S3-2: Calculate the affinity of antibodies and antigens in the memory bank P and sort them, which is recorded as the current global optimal solution G Best The top 40% antibody population in terms of affinity is denoted as P e , the number of antibodies is NP1; the 30% antibody population in the middle of affinity ranking is recorded as P m , the number of antibodies is NP2; the antibody population with the lowest affinity ranking of 30% is recorded as P s , the number of antibodies is NP3; S3-3: Calculate P e , P m The clone size of each antibody in; the selection probability of the mutation strategy is calculated according to formula (14); S3-4: For P e Each antibody in the hybrid mutation strategy of formula (12) is carried out. The number of cloned antibodies is determined by the cloning scale of the antibody, the number of mutations performed, the number of new antibodies generated, and the antibody with the highest affinity is selected from the newly generated antibodies. If its affinity value is better than the old antibody, the old antibody in the memory library is updated, and the global optimal solution G is updated. Best , otherwise it is not updated; for P m Each antibody in the formula (17) performs the adaptive differential mutation strategy, and the remaining operations and P e The operation is the same as in P s The antibodies in the equation (18) are directly evolved without cloning. If the affinity of the newly generated antibody is better than that of the old antibody, the old antibody and the global optimal solution G are updated. Best , otherwise it will not be updated, and the updated memory banks of the three will be merged and recorded as P, completing the update of the overall memory bank; S3-5: Determine the termination condition. The termination condition of the algorithm is the preset maximum number of iterations. If the termination condition is reached, the optimal solution is output and the loop is exited. Otherwise, step S3-2 is continued.

2. A method for solving the capacity planning problem of an island integrated energy system according to claim 1, characterized in that: The mathematical model of the comprehensive cost in step S1-2 is as follows: ALC=C in +C om +C rep -E H (2) C in =c in *X*CRF (3) C rep =θE bat c rep (5) Among them, ALC represents the comprehensive cost; X represents the optimization variable; the comprehensive cost includes the installation cost of the equipment C in , Operation and maintenance costs C om , Electricity storage replacement cost C rep And the income from hydrogen sales E H , c in represents the investment price factor of each equipment; CRF represents the capital recovery rate, which is determined by the actual loan interest rate r and the project life cycle l, and l is taken as 20 years; α and β are the nominal loan interest rate and inflation rate over 5 years, respectively, and are taken as 0.0655 and 0.03; eq represents the system equipment set, including wind turbines, wave power generation devices, photovoltaic modules, collectors, electrolyzers, seawater desalination units, and absorption chillers; δ m represents the operation and maintenance cost of each device, 10,000 yuan / kW; P m (t) represents the output power of each device at time t; the replacement cost of electric energy storage is calculated based on the battery loss degree θ, which is calculated by the cumulative charge and discharge power of the battery in one year P bat,sum And the floating charge life of the battery L bat OK; P sum,max The upper limit of the battery's cumulative charge and discharge capacity; c rep is the replacement cost of battery per unit capacity, 10,000 yuan / kWh; σ is the price of hydrogen, 10,000 yuan / cubic meter; It represents the amount of hydrogen produced by the electrolyzer at time t; T represents 8760 hours in a year.

3. A method for solving the capacity planning problem of an island integrated energy system according to claim 1, characterized in that: The system resource waste and system load shedding models in step S1-2 are as follows: AWR represents the amount of system resource waste; ACL represents the amount of system load shedding; j=1, 2, 3, 4 represent the four energy types of electricity, heat, cold, and water respectively; T represents 8760 hours a year. Respectively represent the amount of cutting off the electrical load, heating load, cooling load and water load. Respectively represent the amount of waste of electricity, heat, cold and water resources.