Combined cooling, heating and power supply type integrated energy system scheduling method based on improved particle swarm optimization

Through the improved particle swarm algorithm, dynamically adjusting the inertial weight factor and learning factor, combined with the coordinated control model, optimizing the combined heat and electricity supply integrated energy system, the problem of difficult economic and environmental protection in the existing technology is solved, and the problem of both economic and environmental protection in the existing technology is realized. Efficient and stable multi-objective optimization control.

CN119004788APending Publication Date: 2024-11-22CHINA THREE GORGES UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411024869.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing comprehensive energy system scheduling methods are difficult to take into account both economic and environmental protection, and the particle swarm algorithm is prone to fall into local optimality in complex system scheduling with multiple objectives and multiple constraints, and has poor optimization ability.

Method used

The improved particle swarm algorithm is adopted to dynamically adjust the inertial weight factor and learning factor to improve the convergence speed and stability of the algorithm, and to adopt an improved individual optimal value calculation method, combined with a coordinated control model, optimize the combined supply of hot and hot power Operation of energy systems.

Benefits of technology

It improves energy utilization efficiency, reduces economic costs and environmental pollution, avoids the algorithm from falling into local optimization, realizes the system's multi-objective optimization control, and enhances economic and environmental performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119004788A_ABST
    Figure CN119004788A_ABST
Patent Text Reader

Abstract

The invention discloses an improved particle swarm algorithm-based combined cooling heating and power supply type integrated energy system scheduling method, which comprises the following steps of: firstly, constructing objective functions of economic cost and environmental protection cost of a system; and combining the two objective functions to form an objective function for overall optimization of the system. Secondly, modeling of the integrated energy system covers mathematical models of a gas turbine, a gas boiler, a natural gas internal combustion engine and refrigeration equipment and constraint conditions of the mathematical models; in order to improve the optimization solution effect, an improved particle swarm algorithm is adopted. According to the algorithm, by dynamically adjusting the inertia weight factor and the learning factor, the optimization capacity and the convergence speed of the algorithm are improved. And meanwhile, an improved individual optimal value calculation method is adopted, so that the stability and the solving precision of the algorithm are improved. Results show that the method not only can effectively reduce the economic cost of the system, but also can remarkably reduce environmental pollution and improve the overall performance and the operation optimization level of the system, and has good economical efficiency and practicability.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power transmission and distribution of electric power systems, and in particular to a scheduling method for a combined cooling, heating and power integrated energy system based on an improved particle swarm algorithm. Background Art

[0002] In recent years, with the increase in global energy demand and the increasing pressure on environmental protection, clean, efficient and sustainable energy development and utilization models have become an important development direction in the energy field. In particular, with the increase in the penetration rate of renewable energy power generation, its uncertainty characteristics have brought huge challenges to the energy system. At present, most integrated energy systems are planned and operated independently, resulting in low energy utilization and high pollution. At the same time, after large-scale access to various energy sources, the system performs poorly in terms of balancing economy and environmental protection, and its optimization operation capacity is insufficient. In order to cope with these problems, a method that can coordinately optimize each independent energy supply system is urgently needed to improve energy utilization, reduce environmental pollution, and enhance economic performance. The combined heat and power integrated energy system can not only improve energy utilization efficiency but also reduce environmental pollution by comprehensively utilizing and co-optimizing the three energy forms of electricity, heat and refrigeration. However, the existing scheduling methods often only consider the system unit investment cost or the system environmental pollution problem, and it is difficult to achieve overall optimization. Therefore, an improved particle swarm algorithm scheduling method for the combined heat and power integrated energy system is proposed, aiming to take into account both economy and environmental protection, optimize system operation, and provide strong support for the future planning of the integrated energy system.

[0003] At present, particle swarm optimization is often used in the optimization and scheduling of integrated energy systems. However, the basic particle swarm optimization is prone to fall into local optimality and has poor optimization ability. In order to improve the effect of optimization solution, it is necessary to improve the particle swarm optimization algorithm to make it more suitable for multi-objective and multi-constrained complex system scheduling. By adjusting the inertia weight factor and learning factor and improving the calculation method of individual optimal value, the convergence speed and stability of the algorithm can be improved, thereby optimizing the operating efficiency and environmental performance of the integrated energy system. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a scheduling method for a combined heat and power energy system based on an improved particle swarm algorithm, which overcomes the shortcomings of the existing technology and improves the economy and environmental protection of the combined heat and power energy system. The improved particle swarm algorithm is used to optimize system scheduling to make the system operation more efficient and environmentally friendly.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is: Improved particle swarm algorithm for combined cooling, heating and power integrated energy system scheduling method, the method is based on coordinated control model, combined cooling, heating and power integrated energy system and improved particle swarm algorithm; The combined cooling, heating and power energy system includes gas turbines, gas boilers, natural gas internal combustion engines, electric refrigerators and absorption refrigerators; The coordinated control model includes system economic cost control, system environmental cost control and multi-objective optimization control; The improved particle swarm algorithm improves the algorithm's optimization ability and convergence speed by dynamically adjusting the inertia weight factor and learning factor. At the same time, an improved individual optimal value calculation method is used to improve the algorithm's stability and solution accuracy. Specifically, the following steps are included: Step 1: Establish a mathematical model of the equipment in the combined cooling, heating and power energy system to describe the operating characteristics and energy conversion process; Step 2. Construct a coordinated control model based on the mathematical model of the equipment in Step 1. The economic cost control in the coordinated control model aims to minimize the overall operating cost of the system. The environmental cost control of the system calculates the environmental cost caused by carbon dioxide emissions generated by burning natural gas during operation. The objective functions of economic cost control and environmental cost control of the system are combined to form an overall objective function. The multi-objective optimization control coordinates the operation of various energy equipment under different operating conditions to meet the needs of electricity, heat and cold energy, while minimizing environmental pollution and economic costs. Step 3, the improved particle swarm algorithm is optimized by dynamically adjusting the inertia weight factor and the learning factor. The inertia weight factor and the learning factor will be gradually adjusted as the number of iterations increases to improve the search efficiency and optimization performance.

[0006] The mathematical model and constraints of the combined cooling, heating and power energy system in Step 1 above are: Gas turbine power generation and heat generation power It can be expressed by the following formula: ; ; Where: represents the gas consumption power of the gas turbine, and The power conversion efficiency and heat conversion efficiency are respectively; in addition, the power output of the gas turbine must also meet the following constraints: ; In the formula, , are the minimum and maximum limits on gas turbine electrical output, respectively.

[0007] Heating power of gas boiler It can be expressed by the following formula: ; Where: is the fuel consumption power of the gas boiler; It represents the thermal energy conversion efficiency of the gas boiler. In addition, the thermal power of the gas boiler is limited by the following constraints: ; In the formula, , They are respectively the minimum and maximum limits of the heating power of gas boilers.

[0008] Power generation capacity of natural gas internal combustion engines and heat generation power It can be expressed by the following formula: ; ; Where: Indicates the fuel consumption power of a natural gas internal combustion engine; and They are respectively the electricity conversion efficiency and heat energy conversion efficiency of natural gas internal combustion engines.

[0009] Output cooling power of electric refrigerator It can be expressed by the following formula: ; Where: It represents the cooling power output by the electric refrigerator, that is, the amount of heat that the refrigerator can remove; is the input electrical power, which is the electrical energy required for the operation of the electric refrigerator; Indicates refrigeration efficiency; Output cooling power of absorption chiller It can be expressed by the following formula: ; Where: It represents the output cooling power of the absorption chiller, i.e. the amount of heat that the chiller can remove; is the input thermal power, usually from gas or waste heat sources; It indicates the efficiency of the absorption chiller, that is, the cooling power that can be generated per unit of input thermal power.

[0010] Power Storage , heat storage , Cold Storage Mathematical model of the device: ; ; ; Where: Indicates the energy loss rate of the energy storage device when not in use. and are the input power and output power of the energy storage device respectively.

[0011] To ensure balanced operation of the system, the power balance of electricity, natural gas, heat and cold can be expressed by the following equation: Electric energy balance equation: ; Heat balance equation: ; Balanced equation for natural gas: ; Cold energy balance equation: ; In the above balance equation, the left side is the actual output power, and the right side is , , and They are respectively the electric load, heat load, gas load and cooling load transmitted by the system to the user side.

[0012] When establishing the coordinated control model in Step 2 above, during the operation of the system, a coordinated control model is constructed based on the mathematical models of various types of equipment, covering system economic cost control, system environmental cost control and multi-objective optimization control; the goal of economic cost control is to minimize the overall operating cost of the system, and environmental cost control calculates the environmental cost caused by carbon dioxide emissions during operation and comprehensively forms an overall objective function; under different operating conditions, by coordinating the operation of various energy equipment, the demand for electricity, heat and cold energy is met, and environmental pollution and economic costs are minimized; System economic cost The composition is as follows: ; Unit investment cost The calculation formula is as follows: ; Where: To express the rate at which funds are recovered through investment; Indicates the electrical power of each device under rated working conditions; Indicates the cooling power of each device under rated working conditions. is the operating cost of each device at rated power; Power purchase cost The calculation formula is as follows: ; Where: is the system operation cycle; for The unit price of electricity purchased by the time period system, for The power purchased by the system during the time period; Gas purchase cost as follows: ; Where: is the unit price of natural gas; The power consumed by the natural gas in the system; During the operation of the system, the combustion of natural gas will produce carbon dioxide emissions, which will in turn bring environmental protection costs; The objective function is used to quantify the impact of carbon dioxide emissions on the environment and the corresponding economic burden; the specific formula is as follows: ; Where: is the unit price of carbon dioxide emissions; is the unit emission factor; System overall optimization function Represents the total cost target of the system, combining economic cost and environmental cost: .

[0013] The improved particle swarm algorithm in Step 3 above is as follows: Particle position and velocity update formula: ; ; Where: Controlling the inertia of particles; and Represents individual cognitive learning factor and social learning factor respectively; The individual optimal position of the particle at the tth iteration; is the global optimal position of the particle swarm at the tth iteration; The position of the particle at iteration t.

[0014] ; Where: Indicates the number of iterations the algorithm is currently performing; Indicates the total number of iterations of the algorithm; and They represent individual cognitive learning factors and social learning factors, which are dynamically adjusted with the number of iterations. , represent , The termination values ​​are 0.5 and 2 respectively; , represents the initial value, which is 2 and 0.5 respectively; Take 0.9, Take 0.2; In addition, in order to avoid the algorithm from falling into the local optimum and improve the overall performance of the algorithm, the individual optimal value of each particle is replaced by the average of the individual optimal values ​​of all particles; this method not only eliminates the influence of the worst individual, but also promotes information sharing among the group, thereby enhancing the global search capability; this improved expression is: ; ; Through these improvement measures, the solution accuracy and stability of the particle swarm algorithm have been significantly improved, effectively realizing the multi-objective optimization control of the integrated energy system, aiming to reduce economic costs and environmental pollution.

[0015] The present invention provides an improved particle swarm algorithm for combined cooling, heating and power integrated energy system scheduling method, which improves energy utilization efficiency and system economy by optimizing the coordinated operation of each device in the system. This method can reduce unit investment costs, electricity purchase costs and natural gas costs while meeting multiple constraints of the system, and reduce carbon dioxide emissions generated during system operation, thereby achieving the dual goals of economy and environmental protection. The improved particle swarm algorithm improves the solution accuracy and convergence speed, avoids falling into local optimality, makes the system operation more stable and efficient, and provides a solid foundation for the multi-energy flow optimization calculation and overall planning operation of future integrated energy systems. This method has significant economy and practicality. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The present invention will be further described below in conjunction with the accompanying drawings and embodiments: Figure 1 It is a network architecture diagram of a combined heat and power integrated energy system of a combined heat and power integrated energy system scheduling method of an improved particle swarm algorithm of the present invention; Figure 2 It is a particle swarm algorithm optimization solution process of a combined heat and power integrated energy system scheduling method of an improved particle swarm algorithm of the present invention; Figure 3 It is a power grid operation plan diagram of a combined cooling, heating and power integrated energy system dispatching method based on an improved particle swarm algorithm of the present invention; Figure 4 It is a heat network operation plan diagram of a combined cooling, heating and power integrated energy system scheduling method based on an improved particle swarm algorithm of the present invention; Figure 5 It is a cooling network operation plan diagram of a cooling, heating and power combined energy system scheduling method of an improved particle swarm algorithm of the present invention; Figure 6 It is the performance of the traditional algorithm and the improved algorithm of the present invention in four aspects: system economic cost, environmental cost, optimization ability and convergence speed; Figure 7 It is the function optimal fitness evolution curve of the scheduling method of the combined heat and power integrated energy system of an improved particle swarm algorithm of the present invention. DETAILED DESCRIPTION

[0017] The technical solution of the present invention is described in detail below in conjunction with the accompanying drawings and embodiments.

[0018] A scheduling method for a combined heat and power energy system based on an improved particle swarm algorithm includes a combined heat and power energy system, wherein the combined heat and power energy system includes a gas turbine, a gas boiler, a natural gas internal combustion engine, an electric refrigerator and an absorption refrigerator; the coordinated control model includes system economic cost control, system environmental cost control and multi-objective optimization control; the scheduling method for a combined heat and power energy system based on an improved particle swarm algorithm includes the following steps: Step 1. Combined cooling, heating and power energy system; this system integrates a variety of energy equipment, including gas turbines, gas boilers, natural gas internal combustion engines, electric refrigerators and absorption refrigerators; each device has its own unique working principle and energy conversion efficiency, so a detailed mathematical model is needed to describe its operating characteristics and energy conversion process; in addition, the system also includes electricity storage, heat storage and cold storage devices. The operating status and storage capacity of these devices are crucial to the overall scheduling and optimization of the system; by establishing mathematical models of these devices, the energy conversion and transmission process are comprehensively considered to ensure the stable operation of the system under different load demands.

[0019] Step 2, coordination control model; Based on the modeling of the integrated energy system, the coordination control model is the core of the system dispatch. The model mainly includes two aspects: system economic cost control and system environmental cost control; economic cost control aims to minimize the overall operating cost of the system, including unit investment cost, electricity purchase cost and natural gas purchase cost; environmental cost control focuses on the environmental cost caused by carbon dioxide emissions generated by burning natural gas during system operation; by combining these two objective functions, an overall optimized objective function is formed; in addition, the coordination control model also needs to consider the multi-objective optimization control of the system to ensure that under different operating conditions, the system can coordinate the operation of various energy equipment to meet the needs of electricity, heat and cold energy, while minimizing environmental pollution and economic costs.

[0020] Step 3, improved particle swarm algorithm; In order to effectively solve the above complex multi-objective optimization problem, this method adopts an improved particle swarm algorithm; The traditional particle swarm algorithm is easy to fall into local optimality and convergence speed when dealing with multi-objective and multi-constraint optimization problems; The improved algorithm enhances the algorithm's optimization ability and convergence speed by dynamically adjusting the inertia weight factor and learning factor; In addition, the improved individual optimal value calculation method is adopted to improve the algorithm's stability and solution accuracy; Specifically, the inertia weight factor and learning factor will be gradually adjusted with the increase in the number of iterations, so as to maintain the balance between global search and local search and avoid early convergence to the local optimal solution; Through this improvement, the particle swarm algorithm can more effectively solve the scheduling optimization problem of the combined heat and power energy system, ensuring that the system achieves the best effect in terms of economy and environmental protection.

[0021] Mathematical model and constraints of the integrated energy system in Step 1 above: Gas turbine power generation and heat generation power It can be expressed by the following formula: ; ; Where: represents the gas consumption power of the gas turbine, and The power conversion efficiency and heat conversion efficiency are respectively. In addition, the power output of the gas turbine must also meet the following constraints: ; In the formula, , are the minimum and maximum limits on gas turbine electrical output, respectively.

[0022] Heating power of gas boiler It can be expressed by the following formula: ; Where: is the fuel consumption power of the gas boiler; It represents the thermal energy conversion efficiency of the gas boiler. In addition, the thermal power of the gas boiler is limited by the following constraints: ; In the formula, , They are respectively the minimum and maximum limits of the heating power of gas boilers.

[0023] Power generation capacity of natural gas internal combustion engines and heat generation power It can be expressed by the following formula: ; ; Where: Indicates the fuel consumption power of a natural gas internal combustion engine; and They are respectively the electricity conversion efficiency and heat energy conversion efficiency of natural gas internal combustion engines.

[0024] Output cooling power of electric refrigerator It can be expressed by the following formula: ; Where: It represents the cooling power output by the electric refrigerator, that is, the amount of heat that the refrigerator can remove; is the input electrical power, which is the electrical energy required for the operation of the electric refrigerator; Indicates refrigeration efficiency; Output cooling power of absorption chiller It can be expressed by the following formula: ; Where: It represents the output cooling power of the absorption chiller, i.e. the amount of heat that the chiller can remove; is the input thermal power, usually from gas or waste heat sources; It indicates the efficiency of the absorption chiller, that is, the cooling power that can be generated per unit of input thermal power.

[0025] Power Storage , heat storage , Cold Storage Mathematical model of the device: ; ; ; Where: Indicates the energy loss rate of the energy storage device when not in use. and are the input power and output power of the energy storage device respectively.

[0026] To ensure balanced operation of the system, the power balance of electricity, natural gas, heat and cold can be expressed by the following equation: Electric energy balance equation: ; Heat balance equation: ; Balanced equation for natural gas: ; Cold energy balance equation: ; In the above balance equation, the left side is the actual output power, and the right side is , , and They are respectively the electric load, heat load, gas load and cooling load transmitted by the system to the user side.

[0027] The coordinated control model of Step 2 above: During the operation of the system, a coordinated control model is constructed based on the mathematical models of various types of equipment, covering system economic cost control, system environmental cost control and multi-objective optimization control. The goal of economic cost control is to minimize the overall operating cost of the system, while environmental cost control calculates the environmental cost caused by carbon dioxide emissions during operation and comprehensively forms an overall objective function. Under different operating conditions, by coordinating the operation of various energy equipment, the demand for electricity, heat and cold energy is met, and environmental pollution and economic costs are minimized.

[0028] System economic cost The composition is as follows: ; Unit investment cost The calculation formula is as follows: ; Where: To express the rate at which funds are recovered through investment; Indicates the electrical power of each device under rated working conditions; Indicates the cooling power of each device under rated working conditions. is the operating cost of each device at rated power.

[0029] Power purchase cost The calculation formula is as follows: ; Where: is the system operation cycle; for The unit price of electricity purchased by the time period system, for The power purchased by the system during the period.

[0030] Gas purchase cost as follows: ; Where: is the unit price of natural gas; The power consumed by the natural gas in the system.

[0031] During system operation, burning natural gas will generate carbon dioxide emissions, which will in turn bring environmental costs. The objective function is used to quantify the impact of carbon dioxide emissions on the environment and the corresponding economic burden. The specific formula is as follows: ; Where: is the unit price of carbon dioxide emissions; is the unit emission factor.

[0032] System overall optimization function Represents the total cost target of the system, combining economic cost and environmental cost: ; The improved particle swarm algorithm of Step 3 above: The improved particle swarm algorithm is used for optimization and solution. This algorithm pays special attention to dynamically adjusting the inertia weight factor and learning factor to enhance the algorithm's optimization ability and accelerate the convergence speed. The specific formula is as follows: Particle position and velocity update formula: ; ; Where: Controlling the inertia of particles; and Represents individual cognitive learning factor and social learning factor respectively; The individual optimal position of the particle at the tth iteration; is the global optimal position of the particle swarm at the tth iteration; The position of the particle at iteration t.

[0033] Among them, the adjustment formula of inertia weight factor and learning factor is: ; Where: Indicates the number of iterations the algorithm has currently reached; Indicates the total number of iterations of the algorithm; and They represent individual cognitive learning factors and social learning factors, which are dynamically adjusted with the number of iterations. , represent , The termination values ​​are 0.5 and 2 respectively; , represents the initial value, which is 2 and 0.5 respectively; Take 0.9, Take 0.2.

[0034] In addition, in order to prevent the algorithm from falling into the local optimum and improve the overall performance of the algorithm, we replace the individual optimal value of each particle by the average of the individual optimal values ​​of all particles; this method not only eliminates the influence of the worst individual, but also promotes information sharing among the group, thereby enhancing the global search capability. This improved expression is: ; ; Through these improvement measures, the solution accuracy and stability of the particle swarm algorithm have been significantly improved, effectively realizing the multi-objective optimization control of the integrated energy system, aiming to reduce economic costs and environmental pollution.

[0035] Embodiment 1: Figure 1 The figure shows a structural schematic diagram of a combined heat and power energy system based on an improved particle swarm algorithm, which mainly includes an electric network, a heat network, a cold network and a natural gas network. The system realizes the comprehensive scheduling and utilization of energy through the coordinated operation of electric refrigerators, absorption refrigerators, gas turbines, gas boilers and energy storage devices.

[0036] The system realizes the efficient use of electricity, heat, cold and natural gas through the interconnection of multiple devices and networks. The main devices and functions in the system include: Gas turbines and gas boilers: use natural gas to generate electricity and heat. Gas turbines have the characteristics of efficient energy conversion, which can convert natural gas into electricity and heat. Gas boilers use natural gas to generate heat for heating and cooling.

[0037] Electric refrigerators and absorption refrigerators: use electrical energy and thermal energy for refrigeration, achieving efficient production and utilization of cold energy. Electric refrigerators are mainly driven by electricity, while absorption refrigerators use thermal energy for refrigeration.

[0038] Energy storage device: including electricity storage device, heat storage device and cold storage device, which are used to store energy when there is surplus energy and release energy when energy demand peaks to ensure stable operation of the system.

[0039] Waste heat recovery system: Recover waste heat generated by gas turbines and gas boilers to improve system energy utilization and reduce energy waste.

[0040] Figure 2 A flowchart of a method for scheduling a combined cooling, heating and power integrated energy system based on an improved particle swarm algorithm provided in an embodiment of the present invention is as follows: S1, during the operation of the system, based on the mathematical models of various types of equipment, a coordinated control model is constructed, covering system economic cost control, system environmental cost control and multi-objective optimization control. The goal of economic cost control is to minimize the overall operating cost of the system, and environmental cost control calculates the environmental cost caused by carbon dioxide emissions during operation and comprehensively forms an overall objective function. Under different operating conditions, by coordinating the operation of various energy equipment, the demand for electricity, heat and cold energy is met, and environmental pollution and economic costs are minimized.

[0041] System economic cost The composition is as follows: ; Unit investment cost The calculation formula is as follows: ; Where: To express the rate at which funds are recovered through investment; Indicates the electrical power of each device under rated working conditions; Indicates the cooling power of each device under rated working conditions. is the operating cost of each device at rated power.

[0042] Power purchase cost The calculation formula is as follows: ; Where: is the system operation cycle; for The unit price of electricity purchased by the time period system, for The power purchased by the system during the period.

[0043] Gas purchase cost as follows: ; Where: is the unit price of natural gas; The power consumed by the natural gas in the system.

[0044] During system operation, burning natural gas will generate carbon dioxide emissions, which will in turn bring environmental costs. We introduce environmental costs The objective function is used to quantify the impact of carbon dioxide emissions on the environment and the corresponding economic burden. The specific formula is as follows: ; Where: is the unit price of carbon dioxide emissions; is the unit emission factor.

[0045] System overall optimization function Represents the total cost target of the system, combining economic cost and environmental cost: ; S2, establish the mathematical model and constraints of the integrated energy system: Gas turbine power generation and heat generation power It can be expressed by the following formula: ; ; Where: represents the gas consumption power of the gas turbine, and The power conversion efficiency and heat conversion efficiency are respectively. In addition, the power output of the gas turbine must also meet the following constraints: ; In the formula, , are the minimum and maximum limits on gas turbine electrical output, respectively.

[0046] Heating power of gas boiler It can be expressed by the following formula: ; Where: is the fuel consumption power of the gas boiler; It represents the thermal energy conversion efficiency of the gas boiler. In addition, the thermal power of the gas boiler is limited by the following constraints: ; In the formula, , They are respectively the minimum and maximum limits of the heating power of gas boilers.

[0047] Power generation capacity of natural gas internal combustion engines and heat generation power It can be expressed by the following formula: ; ; Where: Indicates the fuel consumption power of a natural gas internal combustion engine; and They are respectively the electricity conversion efficiency and heat energy conversion efficiency of natural gas internal combustion engines.

[0048] Output cooling power of electric refrigerator It can be expressed by the following formula: ; Where: It represents the cooling power output by the electric refrigerator, that is, the amount of heat that the refrigerator can remove; is the input electrical power, which is the electrical energy required for the operation of the electric refrigerator; Indicates refrigeration efficiency; Output cooling power of absorption chiller It can be expressed by the following formula: ; Where: It represents the output cooling power of the absorption chiller, i.e. the amount of heat that the chiller can remove; is the input thermal power, usually from gas or waste heat sources; It indicates the efficiency of the absorption chiller, that is, the cooling power that can be generated per unit of input thermal power.

[0049] Power Storage , heat storage , Cold Storage Mathematical model of the device: ; ; ; Where: Indicates the energy loss rate of the energy storage device when not in use. and are the input power and output power of the energy storage device respectively.

[0050] To ensure balanced operation of the system, the power balance of electricity, natural gas, heat and cold can be expressed by the following equation: Electric energy balance equation: ; Heat balance equation: ; Balanced equation for natural gas: ; Cold energy balance equation: ; In the above balance equation, the left side is the actual output power, and the right side is , , and They are respectively the electric load, heat load, gas load and cooling load transmitted by the system to the user side.

[0051] S3 uses an improved particle swarm algorithm for optimization and solution. This algorithm pays special attention to dynamically adjusting the inertia weight factor and learning factor to enhance the algorithm's optimization ability and accelerate convergence.

[0052] Particle position and velocity update formula: ; ; Where: Controlling the inertia of particles; and Represents individual cognitive learning factor and social learning factor respectively; The individual optimal position of the particle at the tth iteration; is the global optimal position of the particle swarm at the tth iteration; The position of the particle at iteration t.

[0053] Among them, the adjustment formula of inertia weight factor and learning factor is: ; Where: Indicates the number of iterations the algorithm is currently performing; Indicates the total number of iterations of the algorithm; and They represent individual cognitive learning factors and social learning factors, which are dynamically adjusted with the number of iterations. , represent , The termination values ​​are 0.5 and 2 respectively; , represents the initial value, which is 2 and 0.5 respectively; Take 0.9, Take 0.2.

[0054] In addition, in order to prevent the algorithm from falling into the local optimum and improve the overall performance of the algorithm, we replace the individual optimal value of each particle by the average of the individual optimal values ​​of all particles; this method not only eliminates the influence of the worst individual, but also promotes information sharing among the group, thereby enhancing the global search capability; this improved expression is: ; ; Through these improvement measures, the solution accuracy and stability of the particle swarm algorithm have been significantly improved, effectively realizing the multi-objective optimization control of the integrated energy system, aiming to reduce economic costs and environmental pollution.

[0055] Embodiment 2: Figure 3 The grid operation plan diagram provided by the present invention shows the changes in power load, electricity price, power purchase, discharge, power storage and system power purchase power in the comprehensive energy system within 24 hours a day; it can be seen from the figure: From 0:00 to 7:00, the electricity load is low and the electricity price is at a valley value. The system purchases electricity from the large power grid and the energy storage device stores the electricity.

[0056] At 12:00 and 19:00, the storage device sells electricity to the main grid.

[0057] From 9:00 to 12:00 and from 15:00 to 19:00, due to the increase in electricity load demand and the peak electricity price, both the natural gas internal combustion engine and the gas turbine operate at high power. At the same time, the power storage device will also discharge to ensure that the user's electricity demand is met. This adjustment strategy effectively responds to high-demand periods and optimizes energy utilization.

[0058] Figure 4 The heat network operation plan diagram provided by the present invention shows the changes in heat load, electric heating, waste heat boiler and heat storage device within 24 hours a day. It can be seen from the figure: From 0:00 to 6:00, the heat load is low and the waste heat recovery boiler power is low.

[0059] From 6:00 to 7:00, as the heat load increases, the heat storage device begins to release heat. At the same time, the proportion of high-temperature and high-pressure gas entering the waste heat boiler also increases accordingly to cope with the increased heat demand. This adjustment effectively utilizes waste heat and improves the energy efficiency of the system.

[0060] From 10:00 to 18:00, the heat load is mainly provided by the waste heat boiler, and the shortfall is supplemented by electric heating.

[0061] Figure 5 The cold network operation plan diagram provided by the present invention shows the changes in the cold load, absorption chiller, electric chiller and cold storage device within 24 hours of a day. It can be seen from the figure: From 5:00 to 9:00, as the cooling load increases, the power of the absorption chiller decreases. During this period, the cold storage device begins to release cold energy, and the electric chiller supplements the insufficient part to ensure the continuity of cold energy supply.

[0062] The output power of the micro-turbine is higher from 10:00 to 18:00. During this period, the absorption chiller is mainly responsible for taking on most of the cooling load, and any shortfall is supplemented by the electric chiller. This configuration ensures the efficiency and continuity of the cold energy supply.

[0063] At 19:00, due to the reduction in power of the micro gas turbine, the cold storage device and the electric refrigeration machine were started simultaneously to ensure that the user's demand for cold energy was met.

[0064] Figure 6 The comparison results of the traditional algorithm and the improved algorithm provided by the present invention. Through experiments and simulations, a model of a combined energy system for cooling, heating and power is constructed, and the traditional particle swarm algorithm and the improved particle swarm algorithm are respectively run to optimize the scheduling under the same conditions. The results show that the improved algorithm reduces the system economic cost and environmental protection cost by 10% and 15% respectively, and improves the optimization ability and convergence speed by 20% and 30% respectively. The improved algorithm is not only more economical and efficient, but also helps to protect the environment. At the same time, it improves the optimization ability and computational efficiency, which is significantly better than the traditional algorithm.

[0065] Figure 7 The optimal fitness evolution curve of the function provided by the present invention depicts the changing trend of the objective function value during 1000 iterations. It can be observed from the figure that as the number of iterations increases, the objective function value gradually stabilizes. This phenomenon shows that the algorithm exhibits excellent convergence and stability when dealing with multi-objective optimization problems.

[0066] The above-mentioned embodiments are only preferred technical solutions of the present invention and should not be regarded as limitations of the present invention. The embodiments and features in the embodiments of the present application can be arbitrarily combined with each other without conflict. The protection scope of the present invention shall be the technical solutions recorded in the claims, including the equivalent replacement solutions of the technical features in the technical solutions recorded in the claims. That is, equivalent replacement improvements within this scope are also within the protection scope of the present invention.

Claims

1. The improved particle swarm algorithm is used to dispatch a combined cooling, heating and power integrated energy system, which is characterized by: The method is based on the coordinated control model, the combined cooling, heating and power integrated energy system and the improved particle swarm algorithm; The combined cooling, heating and power energy system includes gas turbines, gas boilers, natural gas internal combustion engines, electric refrigerators and absorption refrigerators; The coordinated control model includes system economic cost control, system environmental cost control and multi-objective optimization control; The improved particle swarm algorithm improves the algorithm's optimization ability and convergence speed by dynamically adjusting the inertia weight factor and learning factor. At the same time, an improved individual optimal value calculation method is used to improve the algorithm's stability and solution accuracy. Specifically, the following steps are included: Step 1: Establish a mathematical model of the equipment in the combined cooling, heating and power energy system to describe the operating characteristics and energy conversion process; Step 2. Construct a coordinated control model based on the mathematical model of the equipment in Step 1. The economic cost control in the coordinated control model aims to minimize the overall operating cost of the system. The environmental cost control of the system calculates the environmental cost caused by carbon dioxide emissions generated by burning natural gas during operation. The objective functions of economic cost control and environmental cost control of the system are combined to form an overall objective function. The multi-objective optimization control coordinates the operation of various energy equipment under different operating conditions to meet the needs of electricity, heat and cold energy, while minimizing environmental pollution and economic costs. Step 3, the improved particle swarm algorithm is optimized by dynamically adjusting the inertia weight factor and the learning factor. The inertia weight factor and the learning factor will be gradually adjusted as the number of iterations increases to improve the search efficiency and optimization performance.

2. The method for scheduling a combined cooling, heating and power integrated energy system based on the improved particle swarm algorithm according to claim 1, characterized in that: The mathematical model of the combined cooling, heating and power integrated energy system in Step 1 includes the power generation capacity of the gas turbine and heat generation power , heating power of gas boiler , Power generation capacity of natural gas internal combustion engines and heat generation power , output cooling power of electric refrigerator , Output cooling power of absorption chiller , power storage , heat storage , Cold Storage The mathematical model and constraints of the equipment must meet the power balance of electricity, natural gas, heat and cold energy.

3. The method for scheduling a combined heat and power energy system based on the improved particle swarm algorithm according to claim 2, characterized in that: The power generation capacity of the gas turbine and heat generation power It can be expressed by the following formula: ; ; Where: represents the gas consumption power of the gas turbine, and The power conversion efficiency and heat conversion efficiency are respectively; in addition, the power output of the gas turbine must also meet the following constraints: ; In the formula, , are the minimum and maximum limits on gas turbine electrical output, respectively.

4. The method for scheduling a combined heat and power energy system based on the improved particle swarm algorithm according to claim 3 is characterized in that: The heat generation power of the gas boiler It can be expressed by the following formula: ; Where: is the fuel consumption power of the gas boiler; It represents the thermal energy conversion efficiency of the gas boiler. In addition, the thermal power of the gas boiler is limited by the following constraints: ; In the formula, , They are respectively the minimum and maximum limits of the heating power of gas boilers.

5. The method for scheduling a combined heat and power energy system based on the improved particle swarm algorithm according to claim 4 is characterized in that: The power generation capacity of the natural gas internal combustion engine and heat generation power It can be expressed by the following formula: ; ; Where: Indicates the fuel consumption power of a natural gas internal combustion engine; and They are the electricity conversion efficiency and heat energy conversion efficiency of natural gas internal combustion engines; Output cooling power of electric refrigerator It can be expressed by the following formula: ; Where: It represents the cooling power output by the electric refrigerator, that is, the amount of heat that the refrigerator can remove; is the input electrical power, which is the electrical energy required for the operation of the electric refrigerator; Indicates refrigeration efficiency; Output cooling power of absorption chiller It can be expressed by the following formula: ; Where: It represents the output cooling power of the absorption chiller, i.e. the amount of heat that the chiller can remove; is the input thermal power, usually from gas or waste heat sources; It indicates the efficiency of the absorption chiller, that is, the cooling power that can be generated per unit of input thermal power.

6. The method for scheduling a combined cooling, heating and power integrated energy system based on the improved particle swarm algorithm according to claim 5, characterized in that: The electricity storage , heat storage , Cold Storage Mathematical model of the device: ; ; ; Where: Indicates the energy loss rate of the energy storage device when not in use. and are the input power and output power of the energy storage device respectively.

7. The method for scheduling a combined heat and power energy system based on the improved particle swarm algorithm according to claim 6, characterized in that: The power balance of electricity, natural gas, heat and cold can be expressed by the following equation: Electric energy balance equation: ; Heat balance equation: ; Natural gas balance equation: ; Cold energy balance equation: ; In the above balance equation, the left side is the actual output power, and the right side is , , and They are respectively the electric load, heat load, gas load and cooling load transmitted by the system to the user side.

8. The method for scheduling a combined cooling, heating and power integrated energy system based on the improved particle swarm algorithm according to claim 7, characterized in that: When the coordinated control model is established in Step 2, during the operation of the system, a coordinated control model is constructed based on the mathematical models of various types of equipment, covering system economic cost control, system environmental cost control and multi-objective optimization control; the goal of economic cost control is to minimize the overall operating cost of the system, and environmental cost control calculates the environmental cost caused by carbon dioxide emissions during operation and comprehensively forms an overall objective function; under different operating conditions, the operation of various types of energy equipment is coordinated to meet the needs of electricity, heat and cold energy, thereby minimizing environmental pollution and economic costs; System economic cost The composition is as follows: ; Unit investment cost The calculation formula is as follows: ; Where: To express the rate at which funds are recovered through investment; Indicates the electrical power of each device under rated working conditions; Indicates the cooling power of each device under rated conditions. is the operating cost of each device at rated power; Power purchase cost The calculation formula is as follows: ; Where: is the system operation cycle; for The unit price of electricity purchased by the time period system, for The power purchased by the system during the time period; Gas purchase cost as follows: ; Where: is the unit price of natural gas; The power consumed by the natural gas in the system; During the operation of the system, the combustion of natural gas will produce carbon dioxide emissions, which will in turn bring environmental protection costs; The objective function is used to quantify the impact of carbon dioxide emissions on the environment and the corresponding economic burden; the specific formula is as follows: ; Where: is the unit price of carbon dioxide emissions; is the unit emission factor; System overall optimization function Represents the total cost target of the system, combining economic cost and environmental cost: 。 9. The method for scheduling a combined cooling, heating and power integrated energy system based on the improved particle swarm algorithm according to claim 8, characterized in that: The improved particle swarm algorithm in Step 3 is as follows: Particle position and velocity update formula: ; ; Where: Controlling the inertia of particles; and Represents individual cognitive learning factor and social learning factor respectively; The individual optimal position of the particle at the tth iteration; is the global optimal position of the particle swarm at the tth iteration; The position of the particle at iteration t. ; Where: Indicates the number of iterations the algorithm has currently reached; Indicates the total number of iterations of the algorithm; and They represent individual cognitive learning factors and social learning factors, which are dynamically adjusted with the number of iterations. , represent , The termination values ​​are 0.5 and 2 respectively; , represents the initial value, which is 2 and 0.5 respectively; Take 0.9, Take 0.2; In addition, in order to avoid the algorithm from falling into the local optimum and improve the overall performance of the algorithm, the individual optimal value of each particle is replaced by the average of the individual optimal values ​​of all particles; this improved expression is: ; 。