A two-layer collaborative optimization method, system, device and medium applied to data center co-generation system

Through the double-layer collaborative optimization method, the non-dominated sorting genetic algorithm and the multi-objective gray wolf optimization algorithm are used to optimize the configuration and operating parameters of the data center co-production system, solving the availability problem of the system configuration and operation plan, and achieving efficient energy utilization and Low carbon emissions.

CN118228878BActive Publication Date: 2024-09-06CHANGSHA UNIVERSITY OF SCIENCE AND TECHNOLOGY
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The system configuration and operation plan of the data center co-generation system lacks high availability and practicality, making it difficult to effectively optimize energy utilization and economic costs.

Method used

Adopt a two-layer collaborative optimization method, use the non-dominated sorting genetic algorithm and the multi-objective gray wolf optimization algorithm to optimize the configuration parameters and operating parameters of the data center co-generation system, and combine it with the TOPSIS decision-making algorithm to find the optimal capacity configuration and operating parameters to optimize energy utilization. , economic costs and environmental benefits.

Benefits of technology

It improves the energy utilization efficiency of the data center co-production system, reduces energy consumption and carbon emissions, achieves system flexibility and rational allocation of resources, and significantly improves energy utilization efficiency, economy and environmental protection performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118228878B
    Figure CN118228878B
Patent Text Reader

Abstract

The present invention relates to a two-layer collaborative optimization method, system, device and medium applied to a data center cogeneration system, the method comprising: optimizing the upper configuration parameters including the capacity of an internal combustion engine, the area of ​​a photovoltaic panel, the capacity of a heat storage tank and the area of ​​a collector by using a non-dominated sorting genetic algorithm; optimizing the lower proportion parameters including the proportion of absorption cooling capacity to the total cooling capacity, the proportion of natural cooling capacity to the total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of the electrolyzer and the total battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of the hydrogen fuel cell and the internal combustion engine by using a multi-objective grey wolf optimization algorithm; optimizing the optimized upper configuration parameters and lower proportion parameters by using a decision algorithm to solve the optimal capacity configuration and the optimal operating parameters. Considering the mutual influence between configuration optimization and actual operating parameters, the present invention introduces the concept of collaborative optimization to ensure the flexibility of the cogeneration system and the reasonable allocation of resources.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of energy supply technology, and in particular to a double-layer collaborative optimization method, system, equipment and medium applied to a data center cogeneration system. Background Art

[0002] Globally, green data centers that reduce energy consumption by adopting renewable energy and energy-saving technologies have become an important research field. In the existing data center energy consumption composition, the power consumption of IT equipment and cooling systems accounts for about 86% of the total power consumption of the data center.

[0003] On the one hand, it is very important to grasp the accurate data center energy consumption data for accurate green planning and deployment. The existing data center energy consumption simulation methods mainly use data center server power consumption models, constant heat load density per unit area to simulate the data center IT equipment load, and use actual monitoring data. Due to the unique internal load characteristics of the data center, it is difficult to collect the input parameters required in the simulation process, resulting in the existing modeling methods being difficult or unable to effectively optimize the data center design. Considering the changes in the operating status of IT equipment in the energy system design will become the focus and difficulty of data center energy consumption simulation. On the other hand, in view of the unique energy consumption structure of the data center, the reasonable energy supply method has become the focus of the data center to reduce energy consumption and carbon emissions. The cogeneration system coupled with renewable energy is widely used in the energy management of the data center.

[0004] In existing research, most data center energy storage methods use electrochemical energy storage. Data centers have the characteristics of high energy consumption and stable demand, so it is very important to find alternative low-carbon supplementary energy sources. When considering natural cooling, most research focuses on comparing natural cooling technology with mechanical cooling, without in-depth exploration of other natural cooling solutions.

[0005] Therefore, the configuration and operation plan of the data center co-production system is still some distance away from high availability and practicality, and needs to be further improved and optimized to better serve the data center. Summary of the invention

[0006] 1. Technical issues to be resolved

[0007] In view of the above-mentioned shortcomings and deficiencies of the prior art, the present invention provides a two-layer collaborative optimization method, system, device and medium applied to a data center co-generation system, which solves the technical problem that the system configuration and operation scheme of the data center co-generation system do not have high availability and practicality.

[0008] (II) Technical solution

[0009] In order to achieve the above object, the main technical solutions adopted by the present invention include:

[0010] In a first aspect, an embodiment of the present invention provides a two-layer collaborative optimization method applied to a data center cogeneration system, comprising: optimizing upper-layer configuration parameters including internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area using a non-dominated sorting genetic algorithm with energy utilization, economic cost and environmental benefit as optimization targets; optimizing lower-layer proportion parameters including the proportion of absorption cooling capacity to total cooling capacity, the proportion of natural cooling capacity to total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine using a multi-objective grey wolf optimization algorithm with energy utilization and economic cost as optimization targets; optimizing the optimized upper-layer configuration parameters and lower-layer proportion parameters using a TOPSIS decision algorithm to solve for the optimal capacity configuration and the optimal operating parameters.

[0011] Optionally, the data center cogeneration system includes: a heat supply component, including a collector for collecting solar energy and a heat storage tank connected to the collector; a hydrogen fuel component, including an electrolyzer that receives power from photovoltaic panels and / or the power grid and a hydrogen storage tank connected to the electrolyzer; an electric load component, including photovoltaic panels, energy storage batteries that receive power from the photovoltaic panels and / or the power grid, a hydrogen fuel cell that receives gas supply from the hydrogen storage tank, and an internal combustion engine, and the photovoltaic panels, the power grid, the energy storage battery, the hydrogen fuel cell, and the internal combustion engine all serve as sources of electric load for the data center; a cold load component, including an electric refrigerator that receives power from the photovoltaic panels and / or the power grid, a heat exchanger that receives natural cold sources, and an absorption refrigerator that receives heat from at least one of the hydrogen fuel cell, the heat storage tank, and the internal combustion engine, and the electric refrigerator, the heat exchanger, and the absorption refrigerator all serve as sources of cold load for the data center.

[0012] Optionally, the non-dominated sorting genetic algorithm is used to optimize the upper configuration parameters including the internal combustion engine capacity, the photovoltaic panel area, the heat storage tank capacity and the collector area with energy utilization rate, economic cost and environmental benefit as optimization targets, including: taking the upper configuration parameters including the internal combustion engine capacity, the photovoltaic panel area, the heat storage tank capacity and the collector area as optimization variables; by introducing the non-dominated sorting genetic algorithm, the population is initialized in sequence, the solutions in the population are non-dominated sorted, the congestion degree of each solution is calculated, a certain number of individuals are selected as parents according to the non-dominated sorting and congestion degree, the population is updated based on the crossover and mutation of the parents, the updated population is non-dominated sorted again and the congestion degree is calculated, a certain number of individuals are selected as the next generation population according to the results of the non-dominated sorting and congestion degree calculation, and the termination condition is judged, and an optimal solution set including a set of solutions with the best energy utilization rate, economic cost and environmental benefit is searched; the optimal solution set including a set of solutions with the best energy utilization rate, economic cost and environmental benefit is input into the TOPSIS decision algorithm as the optimized upper configuration parameter to participate in the optimization.

[0013] Optionally, the multi-objective grey wolf optimization algorithm is used to optimize the lower-layer proportion parameters including the proportion of absorption cooling capacity to the total cooling capacity, the proportion of natural cooling capacity to the total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of the electrolyzer and the total battery charge, and the proportion of hydrogen fuel cell power supply to the total power supply of the hydrogen fuel cell and the internal combustion engine, by taking energy utilization rate and economic cost as optimization targets. The optimization includes: optimizing the lower-layer proportion parameters including the proportion of absorption cooling capacity to the total cooling capacity, the proportion of natural cooling capacity to the total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of the electrolyzer and the total battery charge, and the proportion of hydrogen fuel cell power supply to the total power supply of the hydrogen fuel cell and the internal combustion engine. The proportion parameter is used as the optimization variable; through the introduction of the multi-objective gray wolf optimization algorithm, the gray wolf group is initialized in turn, the fitness of each individual in the group is evaluated, the behavior parameters of the gray wolf are determined, the leader gray wolf is selected according to the fitness value, the gray wolf search process is carried out based on the gray wolf's behavior parameters and the leader gray wolf, and the position and fitness value of the gray wolf individual are updated, the values ​​of the lower-level parameters are gradually optimized, and the termination conditions are judged to obtain the optimal solution set containing a set of solutions with the best energy utilization rate and economic cost; the optimal solution set containing a set of solutions with the best energy utilization rate and economic cost is input into the TOPSIS decision algorithm as the optimized lower-level proportion parameter to participate in the optimization.

[0014] Optionally, optimizing the optimized upper-layer configuration parameters and the lower-layer proportion parameters through the TOPSIS decision algorithm to solve the optimal capacity configuration and the optimal operating parameters includes: based on the TOPSIS decision algorithm, performing Pareto front solving for the optimized upper-layer configuration parameters and the optimized lower-layer proportion parameters, and finding the upper-layer capacity configuration and the lower-layer operating parameters according to the minimum normalized Euclidean distance; inputting the upper-layer capacity configuration obtained by the TOPSIS optimization to the lower layer for optimizing the lower-layer proportion parameters based on the multi-objective grey wolf optimization algorithm, and at the same time inputting the lower-layer operating parameters to the upper layer for optimizing the upper-layer configuration parameters based on the non-dominated sorting genetic algorithm for iterative looping, thereby obtaining the optimal capacity configuration and the optimal operating parameters that meet the system configuration and operating parameters;

[0015] in,

[0016] Normalized S of Pareto front solution norm,d It is expressed as:

[0017]

[0018] Where d represents the dth objective function, S p,d is the Pareto front solution, S best,d is the optimal Pareto front solution;

[0019] Normalized Euclidean distance Dist p , expressed as:

[0020]

[0021] Where Dist p is the pth normalized Euclidean distance, p and l represent the number of optimal solutions and the number of objective functions, respectively. is the ideal value of the dth objective function.

[0022] Optionally, before optimizing the upper configuration parameters including the internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area by using the non-dominated sorting genetic algorithm with energy utilization rate, economic cost and environmental benefit as optimization targets; or optimizing the lower proportion parameters including the proportion of absorption cooling capacity to total cooling capacity, the proportion of natural cooling capacity to total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine by using the multi-objective grey wolf optimization algorithm with energy utilization rate and economic cost as optimization targets, the following model is also constructed:

[0023] The power generation of photovoltaic panels is:

[0024] E mn,pv =A pv Ib η pv ×10 -3 ;

[0025] In the formula, E mn,pv is the power generation of the photovoltaic panel, A pv is the receiver area covered by the photovoltaic panel, I b is the direct solar radiation intensity, η pv is the electrical efficiency of the PV module;

[0026] The power generated by a hydrogen fuel cell is:

[0027] E mn,fc =H mn,fc η fc,e ;

[0028] In the formula, E mn,fc is the power generated by the hydrogen fuel cell, H mn,fc is the hydrogen consumption of the hydrogen fuel cell, η fc,e is the electrical efficiency of hydrogen fuel cells;

[0029] The heat generated by a hydrogen fuel cell is:

[0030] Q mn,fc =H mn,fc η fc,h ;

[0031] In the formula, Q mn,fc is the heat generated by the hydrogen fuel cell, η fc,h is the thermal efficiency of the hydrogen fuel cell;

[0032] The power consumption of electrolyzer for electrolyzing water is:

[0033]

[0034] In the formula, E mn,el is the power consumption of the electrolytic cell for water electrolysis, H mn,el is the hydrogen production of the electrolyzer, η el is the conversion efficiency of the electrolyzer;

[0035] The hydrogen storage capacity of the hydrogen storage tank is:

[0036]

[0037] In the formula, H mn,hst is the hydrogen storage capacity of the hydrogen storage tank, H mn-1,hst is the hydrogen storage capacity of the hydrogen storage tank at the previous moment, η hst,c and η hst,d are the hydrogen storage efficiency and hydrogen release efficiency respectively;

[0038] The battery model is expressed as:

[0039]

[0040] In the formula, E mn,es is the amount of electricity stored in the battery, E mn-1,es is the amount of electricity in the battery at the previous moment, E mn,esc is the battery storage capacity at the current moment, E mn,esd is the discharge capacity of the battery, η es,c is the energy storage efficiency, η es,d is the discharge efficiency;

[0041] The power generation of an internal combustion engine is:

[0042]

[0043] In the formula, E mn,ice Indicates the power generation of the internal combustion engine, E r,ice represents the rated power of the system, λ represents the key parameter that determines whether the internal combustion engine is turned on; E mn,dc represents the power demand of the data center, E mn,a Indicates the additional power of the system, f mn,ice It represents the partial load rate of the internal combustion engine and is expressed as:

[0044]

[0045] The fuel consumption of an internal combustion engine is:

[0046]

[0047] In the formula, F mn,ice is the fuel consumption of the internal combustion engine, η mn,ice is the electrical efficiency of the internal combustion engine, expressed as:

[0048] The heat output of an internal combustion engine is:

[0049] Q mn,ice =F mn,ice (1-η mn,ice );

[0050] In the formula, Q mn,ice is the heat generated by the internal combustion engine;

[0051] The power consumption of the grid is:

[0052] E mn,grid =E mn,dc +E mn,a +E mn,el -E mn,ice -E mn,pv -E mn,fc ;

[0053] In the formula, E mn,grid is the power consumption of the power grid;

[0054] The fuel consumption of the grid is:

[0055]

[0056] In the formula, F mn,grid is the fuel consumption of the power grid, η grid and η e They represent the transmission efficiency and electrical efficiency of the power grid respectively;

[0057] The thermal energy storage model of the heat storage tank is:

[0058]

[0059] In the formula, Q mn,tst Indicates the heat contained in the heat storage tank, Q mn-1,tst Indicates the heat contained in the heat storage tank at the previous moment, Q mn,tst.out Indicates the heat release of the heat storage tank, Q mn,tst.in represents the heat stored in the heat storage tank, η hs,in represents the heat storage efficiency, η hs,out It indicates heat release efficiency;

[0060] The mathematical model of the absorption chiller is:

[0061]

[0062] In the formula, Q mn,ac is the heat absorbed by the absorption refrigerator, C mn,ac is the cooling capacity of the absorption chiller, COP mn,ac is the coefficient of performance of the absorption chiller;

[0063] The heat collected by the collector is:

[0064] Q mn,st (t) = A st I mn,b η st ×10 -3 ;

[0065] In the formula, Q mn,st (t) is the heat collected by the collector, A st is the collector area, I mn,b is the direct solar radiation intensity, η st is the thermal efficiency of the collector;

[0066] The cooling efficiency of natural cooling is:

[0067]

[0068] Where ξ is the cooling efficiency of natural cooling, t r,in is the return air temperature, t s,out is the supply air temperature, t amb,in is the temperature of the ambient air, i.e. the inlet air temperature;

[0069] The power balance of the data center cogeneration system is:

[0070] E mn,ice +E mn,grid +E mn,pv +E mn,fc =E mn,dc +E mn,a +E mn,el ;

[0071] The heat balance of the data center cogeneration system is:

[0072]

[0073] In the formula, COP ac They represent the energy efficiency ratio of the absorption chiller, C ac Indicates the cooling capacity of the absorption chiller;

[0074] The total amount of fuel consumed by the data center cogeneration system is:

[0075]

[0076] In the formula, F pg is the total amount of fuel consumed by the data center's cogeneration system;

[0077] The total power consumption of the reference system set up by the data center cogeneration system is:

[0078]

[0079] In the formula, E sp,grid is the amount of electricity from the power grid, E dc is the electrical load of the data center, C dc is the cooling load of the data center room, COP echill It represents the energy efficiency ratio of the electric refrigerator;

[0080] The fuel consumption from the grid is:

[0081]

[0082] In the formula, F sp,grid is the fuel consumption of the power grid;

[0083] The primary energy consumption of the reference system is:

[0084]

[0085] In the formula, F sp is the primary energy consumption of the reference system.

[0086] Optionally, the data center cogeneration system is configured to execute a power supply-driven cooling demand control strategy applicable to temperatures not less than 12° C. or a cooling demand-driven power optimization configuration strategy applicable to temperatures less than 12° C.;

[0087] Cooling demand control strategies based on power supply drive include:

[0088] Get the total power demand E of the data center cogeneration system need , and determine the power generation E of the photovoltaic panel mn,pv Is it less than the total electricity demand E? need ;

[0089] If the power generation of the photovoltaic panels is not less than the total power demand E need , the excess electricity generated by the photovoltaic panels other than the total electricity demand is stored in the form of hydrogen through water electrolysis mn,el Or directly store the electricity in the form of battery storage E mn,esc ;

[0090] If the power generation of the photovoltaic panel is less than the total power demand E need , and then determine the power generation E of the hydrogen fuel cell mn,fc and / or the power generation E of the internal combustion engine mn,ice Whether the total amount of power generation in the subsequent part is not less than the total power demand;

[0091] In some cases, the total power generation is less than the total power demand E need When the power E is further added to the grid mn,grid supply;

[0092] Get the total cooling demand C of the data center cogeneration system need , and according to the total cooling demand C need Get the required heat Q for driving the absorption refrigerator ac,need And the cooling capacity Q provided by natural cooling free ;

[0093] Collect the heat Q generated by hydrogen fuel cells mn,fc and / or the heat output Q of the internal combustion engine mn,ice and used to drive the absorption refrigerator to determine whether the heat generated is less than the required heat for driving the absorption refrigerator;

[0094] If the heat generated by the collection is not less than the heat required to drive the absorption refrigerator, the remaining heat Qhst,in Store in heat storage tank;

[0095] If the collected heat output is less than the required heat to drive the absorption refrigeration machine, the corresponding heat Q is called from the heat storage tank. hst,out ;

[0096] in,

[0097] If the power generation of the photovoltaic panels is not less than the total power demand E need , by electrolyzing water to produce hydrogen and storing electricity in the form of hydrogen storage E mn,el for:

[0098] E mn,el =K 1 (E need -E mn,pv );

[0099] If the power generation of the photovoltaic panels is not less than the total power demand E need , directly store electricity in the form of battery storage E mn,esc for:

[0100] E mn,esc =(1-K 1 )(E need -E mn,pv );

[0101] In the formula, K 1 is the ratio coefficient of hydrogen produced by water electrolysis in the form of hydrogen storage;

[0102] The heat required to drive the absorption refrigerator is Q ac,need for:

[0103]

[0104]

[0105] In the formula, Q ac,need The heat required to drive the absorption refrigerator, K 2 is the proportion of absorption refrigeration, Q free The cooling capacity provided by natural cooling, η free is the efficiency of natural cooling, C need The total cooling demand of the data center cogeneration system;

[0106] And, the power optimization configuration strategy based on cooling demand orientation includes:

[0107] Get the total cooling demand C of the data center cogeneration system need , and the required heat Q for driving the absorption chiller is obtained according to the total cooling demand ac,need The cooling capacity of the electric refrigerator is Cchill ;

[0108] Determine the heat collection Q of the collector mn,st Is it greater than the heat required to drive the absorption refrigerator? ac,need ;

[0109] If the collector's heat collection capacity is Q mn,st Not less than the heat required to drive the absorption refrigerator Q ac,need , the excess heat is stored in the heat storage tank, and the heat storage capacity of the heat storage tank is recorded as Q mn,tst,in ;

[0110] If the collector's heat collection capacity is Q mn,st Less than the heat required to drive the absorption refrigerator ac,need , then determine the collector's heat collection capacity Q mn,st The heat storage capacity Q of the heat storage tank mn,tst,in Is it less than the heat required to drive the absorption refrigerator? ac,need ;

[0111] If the collector's heat collection capacity is Q mn,st The heat storage capacity Q of the heat storage tank mn,tst,in Less than the heat required to drive the absorption refrigerator ac,need Then the heat collection capacity Q of the collector is calculated mn,st The heat storage capacity Q of the heat storage tank mn,tst,in The difference between the required heat and the required heat is recorded as Q need1 ;

[0112] According to the internal combustion engine startup state, the heat generated by the hydrogen fuel cell Q mn,fc and / or the heat output Q of the internal combustion engine mn,ice To provide the difference Q need1 of calories;

[0113] Get the total electricity demand E of the data center cogeneration system need , and determine the power generation E of the photovoltaic panel mn,pv Is it less than the total electricity demand E? need ;

[0114] If the power generation of the photovoltaic panel is E mn,pv Not less than the total electricity demand E need , then calculate the remaining power supplied by the photovoltaic panels;

[0115] If the power generation of the photovoltaic panel is E mn,pv Less than the total electricity demand E need , then the power generation of the hydrogen fuel cell and / or internal combustion engine involved in heating is obtained;

[0116] Determine whether the total power generation including the power generation of hydrogen fuel cells and / or internal combustion engines involved in heating and the power generation of photovoltaic panels is greater than the total power demand E need ;

[0117] When the total amount of electricity generated by hydrogen fuel cells and / or internal combustion engines and photovoltaic panels involved in heating is less than the total electricity demand E need When the power E is further added to the grid mn,grid supply;

[0118] in,

[0119] The heat required to drive the absorption refrigerator is Q ac,need for:

[0120] Q ac,need =C ac,need / 1.2

[0121] C ac,need =K 3 C need ;

[0122] The cooling capacity of the electric refrigerator is:

[0123] C chill =(1-K 3 )C need

[0124] In the formula, C ac,need It represents the cooling capacity of the absorption chiller when the cooling load demand is met first, K 3 Indicates the proportion of absorption refrigeration, C chill Indicates the cooling capacity of the electric refrigerator;

[0125] Providing the difference Q need1 When the heat generated by the hydrogen fuel cell is Q mn,fc for:

[0126] Q mn,fc =K 4 Q need1 ;

[0127] Providing the difference Q need1 When the heat generated by the internal combustion engine is Q mn,ice for:

[0128] Q mn,ice =(1-K 4 )Q need1 ;

[0129] In the formula, K 4 Indicates the proportion of heat supplied by hydrogen fuel cells.

[0130] In a second aspect, an embodiment of the present invention provides a two-layer optimization system for a data center cogeneration system, including: an upper-layer optimization model, configured to use a non-dominated sorting genetic algorithm to optimize upper-layer configuration parameters including internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area with energy utilization, economic cost and environmental benefit as optimization targets; a lower-layer optimization module, configured to use a multi-objective grey wolf optimization algorithm to optimize lower-layer proportion parameters including the proportion of absorption cooling capacity to total cooling capacity, the proportion of natural cooling capacity to total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine with energy utilization and economic cost as optimization targets; an interactive optimization module, configured to optimize the optimized upper-layer configuration parameters and lower-layer proportion parameters through a TOPSIS decision algorithm to solve the optimal capacity configuration and the optimal operating parameters.

[0131] In a third aspect, an embodiment of the present invention provides a device, comprising: at least one database; and a memory communicatively connected to the at least one database; wherein the memory stores instructions executable by the at least one database, and the instructions are executed by the at least one database so that the at least one database can execute the two-layer collaborative optimization method of the data center co-production system as described above.

[0132] In a fourth aspect, an embodiment of the present invention provides a computer-readable medium having computer-executable instructions stored thereon, which, when executed by a processor, implement the two-layer collaborative optimization method for the data center co-generation system as described above.

[0133] (III) Beneficial effects

[0134] The beneficial effects of the present invention are as follows: considering the mutual influence between system configuration optimization and actual operation parameters, the present invention introduces the concept of a two-layer collaborative optimization model, the upper layer adopts a non-dominated sorting genetic algorithm (NSGAII) to optimize the configuration capacity; the lower layer adopts a multi-objective grey wolf optimization algorithm (MOGWO) to optimize the proportional parameters in the operation process, and at the same time, the TOPSIS decision algorithm is used to find the optimal solution after the output of the upper and lower layers, and an interactive connection is formed between the two layers through the mutual transmission between the optimal solutions decided. The above operations ensure the flexibility of the data center cogeneration system and the reasonable allocation of resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0135] Figure 1 A schematic flow chart of a two-layer collaborative optimization method for a data center co-generation system provided by an embodiment of the present invention;

[0136] Figure 2 A logical schematic diagram of a two-layer collaborative optimization method for a data center co-generation system provided by an embodiment of the present invention;

[0137] Figure 3 A schematic diagram of the composition of a data center co-generation system according to a double-layer collaborative optimization method of a data center co-generation system provided by an embodiment of the present invention;

[0138] Figure 4 A schematic diagram of a specific process of a two-layer collaborative optimization method for a data center co-generation system provided by an embodiment of the present invention, including a genetic algorithm and a gray wolf algorithm

[0139] Figure 5 A schematic flow chart of a cooling demand control strategy based on power supply drive in a two-layer collaborative optimization method for a data center cogeneration system provided in an embodiment of the present invention;

[0140] Figure 6 A schematic flow chart of a cooling demand-oriented power optimization configuration strategy of a two-layer collaborative optimization method for a data center cogeneration system provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0141] In order to better explain the present invention and facilitate understanding, the present invention is described in detail below through specific implementation modes in conjunction with the accompanying drawings.

[0142] like Figure 1 and Figure 2 As shown, an embodiment of the present invention proposes a two-layer collaborative optimization method applied to a data center cogeneration system, including: using a non-dominated sorting genetic algorithm to optimize upper-layer configuration parameters including internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area with energy utilization, economic cost and environmental benefit as optimization targets; using a multi-objective grey wolf optimization algorithm to optimize lower-layer proportion parameters including the proportion of absorption cooling capacity to total cooling capacity, the proportion of natural cooling capacity to total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine with energy utilization and economic cost as optimization targets; optimizing the optimized upper-layer configuration parameters and lower-layer proportion parameters through a TOPSIS decision algorithm to solve the optimal capacity configuration and the optimal operating parameters.

[0143] Considering the mutual influence between system configuration optimization and actual operation parameters, the present invention introduces the concept of a two-layer collaborative optimization model. The upper layer uses the non-dominated sorting genetic algorithm (NSGAII) to optimize the configuration capacity; the lower layer uses the multi-objective grey wolf optimization algorithm (MOGWO) to optimize the proportional parameters during operation. At the same time, the TOPSIS decision algorithm is used to find the optimal solution after the output of the upper and lower layers, and the interactive connection between the two layers is formed by the mutual transmission between the optimal solutions decided. The above operations ensure the flexibility of the data center co-production system and the reasonable allocation of resources.

[0144] Compared with the reference system, the primary energy saving rate of the system after introducing the double-layer collaborative optimization is 46.33%, the annual total cost saving rate is 38.25%, the carbon dioxide emission reduction rate is 49.08%, the grid independence is 56.07%, and the annual total operating cost is 3.41×10 5 $, the carbon emission intensity is 0.62. After optimization, the system has achieved significant improvements in energy efficiency, economy and environmental protection. At the same time, referring to the carbon emission evaluation standard of data center, the carbon emission intensity of the system is 0.65, which has reached the standard of excellent data center and provided strong support for the sustainable development of data center.

[0145] In order to better understand the above technical solution, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to enable a clearer and more thorough understanding of the present invention and to fully convey the scope of the present invention to those skilled in the art.

[0146] refer to Figure 3 The data center cogeneration system constructed by the present invention includes: a heat supply component, including a collector for collecting solar heat and a heat storage tank connected to the collector; a hydrogen fuel component, including an electrolyzer receiving power from a photovoltaic panel and / or a power grid and a hydrogen storage tank connected to the electrolyzer; an electric load component, including a photovoltaic panel, an energy storage battery receiving power from the photovoltaic panel and / or the power grid, a hydrogen fuel cell receiving gas supply from the hydrogen storage tank, and an internal combustion engine, and the photovoltaic panel, the power grid, the energy storage battery, the hydrogen fuel cell, and the internal combustion engine all serve as sources of electric load for the data center; a cold load component, including an electric refrigerator receiving power from the photovoltaic panel and / or the power grid, a heat exchanger receiving a natural cold source, and an absorption refrigerator receiving heat from at least one of the hydrogen fuel cell, the heat storage tank, and the internal combustion engine, and the electric refrigerator, the heat exchanger, and the absorption refrigerator all serve as sources of cold load for the data center.

[0147] In the above data center cogeneration system, when energy is sufficient, solar photovoltaic power generation system is used first to generate electricity, and gas internal combustion engine power generation and hydrogen fuel cells are used to supplement to meet the total power demand of the system. The excess power is stored in energy storage batteries or stored in the form of hydrogen storage, and the insufficient power is provided by the power grid; under the condition that natural cold sources can be used, natural cooling is used first for cooling, and the waste heat generated by gas internal combustion engines and hydrogen fuel cells is provided to absorption chillers to meet the cooling demand, and the excess heat is stored in heat storage. At the same time, the system is equipped with a reference system, which provides the power required by the data center and the power consumption of the electric chiller through the public power grid, and the electric chiller meets the cooling capacity required by the data center.

[0148] The energy supply of the cogeneration system provided by the present invention can fully meet the overall electricity load and cooling load requirements of the data center. At the same time, while ensuring the uninterrupted energy supply of the data center, the system cost is greatly reduced by using the waste heat inside the system to drive the absorption refrigeration, which has high availability.

[0149] Specifically, an embodiment of the present invention provides a two-layer collaborative optimization method applied to a data center cogeneration system, including:

[0150] S1. Using non-dominated sorting genetic algorithm, the upper configuration parameters including internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area are optimized with energy utilization, economic cost and environmental benefit as optimization objectives.

[0151] Further, refer to Figure 4 , step S1 comprises:

[0152] S11. Establish a mathematical model, determine the optimization target and optimization variables, and use the upper configuration parameters including the internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area as optimization variables.

[0153] S12. The introduced non-dominated sorting genetic algorithm specifically includes the following steps: initializing the population, randomly generating a set of initial solutions as the population, and evaluating each solution; non-dominated sorting, determining the non-dominated level of each solution; calculating the crowding degree of each solution, which is used to measure the distribution density of the solution in the target space; selecting a certain number of individuals as parents according to the non-dominated sorting and crowding degree; performing crossover operation on the selected parent individuals to generate new child individuals; performing mutation operation on the child individuals to introduce new mutant individuals; merging the parent and child individuals to update the population; performing non-dominated sorting and crowding degree calculation on the updated population; selecting a certain number of individuals as the next generation population according to the non-dominated sorting and crowding degree; judging the termination condition, judging whether the termination condition is met, such as reaching the maximum number of iterations or converging to a stable solution; outputting the optimization result, outputting the optimal solution set, that is, a set of solutions with the best energy utilization, economic cost and environmental benefit.

[0154] S13, inputting the optimal solution set including a set of solutions with the best energy utilization rate and economic cost as the optimized lower-level proportional parameters into the TOPSIS decision algorithm to participate in the optimization.

[0155] Furthermore, the upper layer mainly considers the equipment including the internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area. These four configuration parameters are used as the upper layer optimization variables, and the energy, economic and environmental benefits of the system are comprehensively considered. The models of the three optimization objectives are as follows:

[0156] The maximum primary energy saving rate PECR is:

[0157]

[0158] In the formula, F pg and F system are the primary energy consumption of the reference system and the integrated energy system, respectively.

[0159] The maximum annual total cost savings rate ACER is:

[0160]

[0161] In the formula, AC pg and AC system are the annual total costs for the reference system and the integrated energy system, respectively.

[0162] The maximum carbon dioxide emission reduction rate CDESR is:

[0163]

[0164] CDE=V gas K gas +E grid K grid ;

[0165] In the formula, CDE pg is the carbon dioxide emission of the reference system, kg; CDE system is the carbon dioxide emission of the comprehensive energy system, kg, CDE is the carbon dioxide emission, V gas is the amount of natural gas used, kg; K gas , K grid The carbon dioxide conversion coefficients for natural gas and electricity are 1.97 kg / m 3 、0.968kg / kWh.

[0166] S2. Using the multi-objective grey wolf optimization algorithm with energy utilization and economic cost as optimization targets, the lower-level proportional parameters including the proportion of absorption cooling capacity to total cooling capacity, the proportion of natural cooling capacity to total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine are optimized.

[0167] Further, refer to Figure 4 , step S2 comprises:

[0168] S21. Establish a mathematical model, determine the optimization target and optimization variables, and use the lower-level proportional parameters including the proportion of absorption cooling capacity to the total cooling capacity, the proportion of natural cooling capacity to the total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine as optimization variables.

[0169] S22. The introduced multi-objective gray wolf optimization algorithm specifically includes the following steps: initialize the gray wolf population, randomly generate a group of initial gray wolf individuals, evaluate each individual, and calculate its energy utilization rate and economic cost. The three individuals with the best fitness are marked as α, β, and σ, and the remaining wolf group is ω. The MOGWO optimization process is mainly guided by the three best solutions in each generation of the population; design a fitness function, which is a function determined by the weights and respective correlations of the absorption cooling capacity, natural cooling capacity, electrolyzer power consumption, and hydrogen fuel cell power supply. Considering the optimization goals of energy utilization rate, economic cost, and carbon utilization rate, the fitness of each individual is evaluated; determine the gray wolf's behavioral parameters, including jump step length, search range and other parameters, which are used to guide the search behavior of gray wolf individuals; according to the value of the fitness function, select a certain number The gray wolf individual is used as the leader gray wolf to guide the search process; the gray wolf search process is carried out, and the values ​​of the lower layer parameters are gradually optimized by updating the positions and fitness values ​​of the gray wolf individuals; the termination conditions are judged, such as reaching the maximum number of iterations or converging to a stable solution, to determine whether to terminate the search process; the optimization results are output, and the optimal solution set is output, that is, a set of solutions with optimal energy utilization and economic cost, including the proportion of absorption refrigeration capacity to the total refrigeration capacity, the proportion of natural cooling refrigeration capacity to the total refrigeration capacity, the proportion of electrolyzer power consumption to the total power consumption of the electrolyzer and the total battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of the hydrogen fuel cell and the internal combustion engine.

[0170] S23, inputting the optimal solution set including a set of solutions with the best energy utilization rate and economic cost as the optimized lower-level proportional parameters into the TOPSIS decision algorithm to participate in the optimization.

[0171] Furthermore, the lower layer mainly considers the impact of the output ratio of the operating equipment on the system during operation, and takes the ratio of absorption cooling capacity to total cooling capacity, the ratio of natural cooling capacity to total cooling capacity, the ratio of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the ratio of fuel cell power supply to the total power supply of fuel cell and internal combustion engine as the optimization variables of the upper layer, and comprehensively considers the energy and economic benefits of the system. The model of its optimization target is:

[0172] Carbon usage efficiency (CUE) measures greenhouse gas emissions associated with data centers by measuring the ratio of carbon emissions to the energy consumption of data center equipment. Minimizing carbon usage efficiency is:

[0173]

[0174] Where CUE is the carbon dioxide emissions generated by each megawatt-hour of data center load, kgCO 2 / kWh; CDE system For CO 2 Total emission, kg; E IT Indicates the amount of electricity consumed by IT loads in a data center.

[0175] Minimize the operating cost of the data center system and co-produce the annual operating cost of the system OC pg Described as:

[0176]

[0177] In the formula, C gas is the natural gas price, $ / kW, C e is the electricity price, $ / kW.

[0178] The grid integration level GI is used to represent the independence of the energy system, and the minimum grid integration level is:

[0179]

[0180] In the formula, E dc Indicates the total power consumption of the data center, kW.

[0181] S3. The TOPSIS decision algorithm is used to optimize the upper-layer configuration parameters and lower-layer proportion parameters to find the optimal capacity configuration and optimal operating parameters.

[0182] Further, refer to Figure 4 , step S3 comprises:

[0183] S31. Based on the TOPSIS decision algorithm, the Pareto frontier solution is performed for the optimized upper configuration parameters and the optimized lower ratio parameters, and the upper capacity configuration and the lower operation parameters are found according to the minimum normalized Euclidean distance.

[0184] in,

[0185] Normalized S of Pareto front solution norm,d It is expressed as:

[0186]

[0187] Where d represents the dth objective function, S p,d is the Pareto front solution, S best,d is the optimal Pareto front solution;

[0188] Normalized Euclidean distance Dist p , expressed as:

[0189]

[0190] Where Dist p is the pth normalized Euclidean distance, p and l represent the number of optimal solutions and the number of objective functions, respectively. is the ideal value of the dth objective function.

[0191] S32. The upper-layer capacity configuration obtained by TOPSIS optimization is input into the lower layer for optimizing the lower-layer proportion parameters based on the multi-objective grey wolf optimization algorithm. Meanwhile, the lower-layer operating parameters are input into the upper layer for optimizing the upper-layer configuration parameters based on the non-dominated sorting genetic algorithm for iterative loop, so as to obtain the optimal capacity configuration and optimal operating parameters that meet the system configuration and operating parameters.

[0192] Furthermore, before step S1 or S2, the following mathematical model is constructed for the data center cogeneration system:

[0193] The power generation of photovoltaic panels is:

[0194] E mn,pv =A pv I b η pv ×10 -3 ;

[0195] In the formula, E mn,pv is the power generation of the photovoltaic panel, A pv is the receiver area covered by the photovoltaic panel, m 2 , I b is the direct solar radiation intensity, W / m 2 , η pv is the electrical efficiency of the photovoltaic module, %.

[0196] The power generated by a hydrogen fuel cell is:

[0197] E mn,fc =H mn,fc η fc,e ;

[0198] In the formula, E mn,fc is the power generation of the hydrogen fuel cell, kW, H mn,fc is the hydrogen consumption of the hydrogen fuel cell, kW, η fc,e is the electrical efficiency of a hydrogen fuel cell.

[0199] The heat generated by a hydrogen fuel cell is:

[0200] Q mn,fc =H mn,fc ηfc,h ;

[0201] In the formula, Q mn,fc is the heat generation of the hydrogen fuel cell, kW, η fc,h is the thermal efficiency of the hydrogen fuel cell, %.

[0202] The power consumption of electrolyzer for electrolyzing water is:

[0203]

[0204] In the formula, H mn,el is the hydrogen production of the electrolyzer, kW, E mn,el is the power consumption of electrolytic cell for water electrolysis, kW, η el is the conversion efficiency of the electrolyzer, %.

[0205] The hydrogen storage capacity of the hydrogen storage tank is:

[0206]

[0207] In the formula, H mn,hst is the hydrogen storage capacity of the hydrogen storage tank, kW, H mn-1,hst is the hydrogen storage capacity of the hydrogen storage tank at the previous moment, kW, η hst,c and η hst,d They are hydrogen storage efficiency and hydrogen release efficiency, %.

[0208] The battery uses reversible chemical reactions to realize the mutual conversion of chemical energy and electrical energy. The battery model is expressed as:

[0209]

[0210] In the formula, E mn,es is the amount of electricity contained in the battery, KW, E mn-1,es is the amount of electricity in the battery at the previous moment, KW, E mn,esc is the battery storage capacity at the current moment, KW, E mn,esd is the discharge capacity of the battery, KW, η es,c is the power storage efficiency, %, η es,d is the discharge efficiency, %.

[0211] The power generation of an internal combustion engine is:

[0212]

[0213] In the formula, E mn,ice Indicates the power generation of the internal combustion engine, kW, E r,ice represents the rated power of the system, kW, and λ represents the key parameter that determines whether the internal combustion engine is turned on; E mn,a Indicates the additional power of the system, kW, E mn,dcIndicates the data center electrical load, kW.

[0214] The partial load ratio of an internal combustion engine is:

[0215]

[0216] In the formula, f mn,ice Indicates the partial load rate of the internal combustion engine.

[0217] The fuel consumption of an internal combustion engine is:

[0218]

[0219] In the formula, F mn,ice is the fuel consumption of the internal combustion engine, η mn,ice is the electrical efficiency of the internal combustion engine;

[0220]

[0221] The heat output of an internal combustion engine is:

[0222] Q mn,ice =F mn,ice (1-η mn,ice );

[0223] In the formula, Q mn,ice The heat generated by the internal combustion engine.

[0224] The power consumption of the grid is:

[0225] E mn,grid =E mn,dc +E mn,a +E mn,el -E mn,ice -E mn,pv -E mn,fc ;

[0226] In the formula, E mn,grid The power consumption of the power grid.

[0227] Fuel consumption of the power grid F mn,grid for:

[0228]

[0229] In the formula, F mn,grid is the fuel consumption of the power grid, η grid and η e Represent the transmission efficiency and electrical efficiency of the power grid respectively, %.

[0230] The thermal energy storage model of the heat storage tank is:

[0231]

[0232] In the formula, Q mn,tst Indicates the heat contained in the heat storage tank, kW; Q mn-1,tst Indicates the heat contained in the heat storage tank at the previous moment, kW; η hs,in represents the heat storage efficiency, η hs,out Indicates heat release efficiency, %; Q mn,tst.out Indicates the heat release of the heat storage tank, kW; Q mn,tst.in Indicates the heat absorption of the heat storage tank, kW.

[0233] The mathematical model of the absorption chiller is:

[0234]

[0235] In the formula, Q mn,ac is the heat absorbed by the absorption refrigerator, kW, C mn,ac is the cooling capacity of the absorption chiller, kW, COP mn,ac is the coefficient of performance of the absorption chiller.

[0236] According to the data provided in the national standard "Evacuated Tube Solar Collector" GB / T17581-2021, for medium-temperature vacuum tube solar collectors, the operating temperature is 100℃-150℃, the medium-temperature efficiency of the collector is not less than 0.45, and the heat collection capacity of the collector is Q mn,st for:

[0237] Q mn,st =A st I mn,b η st ×10 -3 ;

[0238] In the formula, Q mn,st is the heat collected by the collector, A st is the collector area, m 2 , I mn,b is the direct solar radiation intensity, W / m 2 , η st is the thermal efficiency of the collector, %.

[0239] The system of the present invention does not directly allow outdoor low-temperature air to enter the data center, but uses natural airflow to indirectly cool the external air through a heat exchanger, thereby reducing the air temperature from the data center. The cooled air passes through the data center again to form a natural airflow cycle, thereby achieving the effect of natural cooling. The cooling efficiency of natural cooling is:

[0240]

[0241] Where ξ is the cooling efficiency of natural cooling, t r,inis the return air temperature, t s,out is the supply air temperature, t amb,in is the ambient air temperature, i.e. the inlet air temperature;

[0242] The power balance of the data center cogeneration system is:

[0243] E mn,ice +E mn,grid +E mn,pv +E mn,fc =E mn,dc +E mn,a +E mn,el ;

[0244] In the formula, E mn,ice Indicates the power output of the internal combustion engine, kW, E mn,pv Indicates the power generated by photovoltaic power, kW; E mn,dc Indicates the electrical load of the data center, kW, E mn,a Indicates the additional power of the system, kW.

[0245] The heat balance of the data center cogeneration system is:

[0246]

[0247] In the formula, Q mn,ice Indicates the heat generation of the internal combustion engine, KW; Q mn,st Indicates the heat collected by the collector, KW; Q mn,fc Indicates the heat generation of the fuel cell, KW; COP mn,ac Respectively represent the energy efficiency ratio of the absorption chiller, %; C mn,ar,c Indicates the cooling capacity of the absorption chiller, KW.

[0248] The total amount of fuel consumed by the data center cogeneration system is:

[0249]

[0250] In the formula, F pg is the total amount of fuel consumed by the data center cogeneration system.

[0251] Next, the data center cogeneration system also includes a reference system, and the parameter system mathematical model includes:

[0252] The total power consumption of the reference system is:

[0253]

[0254] In the formula, E sp,grid is the amount of electricity from the power grid, kW, E dc is the electrical load of the data center, kW, C mn,dcis the cooling load of the data center room, kW, COP echill Represents the energy efficiency ratio of the electric refrigerator.

[0255] The fuel consumption from the grid is:

[0256]

[0257] In the formula, F sp,grid is the fuel consumption of the power grid, η grid and η e Represent the transmission efficiency and electrical efficiency of the power grid respectively, %.

[0258] Primary energy consumption of reference system F sp for:

[0259]

[0260] In the formula, F sp is the primary energy consumption of the reference system, kW.

[0261] Then, the data center cogeneration system is configured to execute a cooling demand control strategy based on power supply drive applicable to temperatures not lower than 12°C or a cooling demand-oriented power optimization configuration strategy applicable to temperatures lower than 12°C.

[0262] like Figure 5 and Figure 6 As shown, the present invention sets the following two optimization strategies based on whether natural cooling is adopted:

[0263] refer to Figure 5 , the cooling demand control strategy based on power supply drive is as follows:

[0264] Get the total power demand E of the data center cogeneration system need , and determine the power generation E of the photovoltaic panel mn,pv Is it less than the total electricity demand E? need .

[0265] If the power generation of the photovoltaic panels is not less than the total power demand E need , the excess electricity generated by the photovoltaic panels other than the total electricity demand is stored in the form of hydrogen through water electrolysis. mn,el Or store E directly in the form of battery storage mn,esc , which can be expressed as:

[0266] E mn,el =K 1 (E need -E mn,pv );

[0267] E mn,estc=(1-K 1 )(E need -E mn,pv );

[0268] In the formula, K 1 The ratio coefficient representing the storage of hydrogen produced by water electrolysis in the form of hydrogen storage;

[0269] If the power generation of the photovoltaic panel is less than the total power demand E need , and then determine the power generation E of the hydrogen fuel cell mn,fc and / or the power generation E of the internal combustion engine mn,ice Whether the total amount of power generation in the subsequent part is not less than the total electricity demand.

[0270] In some cases, the total power generation is less than the total power demand E need When the power E is further added to the grid mn,grid supply.

[0271] Get the total cooling demand C of the data center cogeneration system need , and according to the total cooling demand C need Get the required heat Q for driving the absorption refrigerator ac,need And the cooling capacity Q provided by natural cooling free , expressed as:

[0272]

[0273]

[0274] In the formula, Q ac,need represents the heat required to drive the absorption refrigerator, K 2 Indicates the proportion of absorption refrigeration, Q free represents the cooling capacity provided by natural cooling, η free Indicates the efficiency of natural cooling, C need is the total cooling demand of the data center cogeneration system.

[0275] Collect the heat Q generated by hydrogen fuel cells mn,fc and / or the heat output Q of the internal combustion engine mn,ice and used to drive the absorption refrigerator to determine whether the heat generated is less than the required heat for driving the absorption refrigerator;

[0276] If the heat generated by the collection is not less than the heat required to drive the absorption refrigerator, the remaining heat Q hst,in Store in heat storage tank;

[0277] If the collected heat output is less than the required heat to drive the absorption refrigeration machine, the corresponding heat Q is called from the heat storage tank. hst,out .

[0278] And, reference Figure 6 As shown in the figure, the power optimization configuration strategy based on cooling demand orientation is:

[0279] Get the total cooling demand C of the data center cogeneration system need , and then get the required heat Q for driving the absorption refrigerator ac,need The cooling capacity of the electric refrigerator is C chill , expressed as:

[0280] C ac,need =K 3 C need ;

[0281] C chill =(1-K 3 )C need ;

[0282] Q ac,need =C ac,need / 1.2;

[0283] In the formula, C ac,need It represents the cooling capacity of the absorption chiller when the cooling load demand is met first, K 3 Indicates the proportion of absorption refrigeration, C chill Indicates the cooling capacity of the electric refrigerator.

[0284] Determine the heat collection Q of the collector mn,st Is it greater than the heat required to drive the absorption refrigerator? ac,need .

[0285] If the collector's heat collection capacity is Q mn,st Not less than the heat required to drive the absorption refrigerator Q ac,need , the excess heat is stored in the heat storage tank, and the heat storage capacity of the heat storage tank is recorded as Q mn,tst,in .

[0286] If the collector's heat collection capacity is Q mn,st Less than the heat required to drive the absorption refrigerator ac,need , then determine the collector's heat collection capacity Q mn,st The heat storage capacity Q of the heat storage tank mn,tst,in Is it less than the heat required to drive the absorption refrigerator? ac,need .

[0287] If the collector's heat collection capacity is Q mn,st The heat storage capacity Q of the heat storage tank mn,tst,in Less than the heat required to drive the absorption refrigerator ac,need Then the heat collection capacity Q of the collector is calculated mn,stThe heat storage capacity Q of the heat storage tank mn,tst,in The difference between the required heat and the required heat is recorded as Q need1 .

[0288] According to the internal combustion engine startup state, the heat generated by the hydrogen fuel cell Q mn,fc and / or the heat output Q of the internal combustion engine mn,ice To provide the difference Q need1 The heat, electricity of the fuel cell and the internal combustion engine are expressed as:

[0289] Q mn,fc =K 4 Q need1 ;

[0290] Q mn,ice =(1-K 4 )Q need1 ;

[0291] In the formula, K 4 Indicates the proportion of heat supplied by the fuel cell.

[0292] Get the total electricity demand E of the data center cogeneration system need , and determine the power generation E of the photovoltaic panel mn,pv Is it less than the total electricity demand E? need .

[0293] If the power generation of the photovoltaic panel is E mn,pv Not less than the total electricity demand E need , then calculate the remaining power supplied by the photovoltaic panels.

[0294] If the power generation of the photovoltaic panel is E mn,pv Less than the total electricity demand E need , the power generation of the hydrogen fuel cell and / or internal combustion engine involved in heating is obtained.

[0295] Determine whether the total power generation including the power generation of hydrogen fuel cells and / or internal combustion engines involved in heating and the power generation of photovoltaic panels is greater than the total power demand E need .

[0296] When the total amount of electricity generated by hydrogen fuel cells and / or internal combustion engines and photovoltaic panels involved in heating is less than the total electricity demand E need When the power E is further added to the grid mn,grid supply.

[0297] In a specific embodiment, the present invention provides a two-layer collaborative optimization method for a data center cogeneration system, and its basic parameters are set as follows:

[0298] Table 1 Characteristic parameters of the cogeneration system and the reference system

[0299]

[0300]

[0301] Table 2 Economic parameters of the system

[0302]

[0303] Table 3 Optimization results of equipment capacity of cogeneration system

[0304]

[0305] Table 4 Annual performance indicators of the optimized cogeneration system

[0306]

[0307] Then, the embodiment of the present invention further provides a two-layer optimization system for a data center cogeneration system, which is applied to the data center cogeneration system to execute the above-mentioned two-layer collaborative optimization method for the data center cogeneration system, and the two-layer optimization system includes: an upper-layer optimization model, which is configured to use a non-dominated sorting genetic algorithm to optimize the upper-layer configuration parameters including the internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area with energy utilization, economic cost and environmental benefit as optimization targets. A lower-layer optimization module, which is configured to use a multi-objective gray wolf optimization algorithm to optimize the lower-layer proportion parameters including the proportion of absorption cooling capacity to the total cooling capacity, the proportion of natural cooling capacity to the total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of the electrolyzer and the total battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine with energy utilization and economic cost as optimization targets. An interactive optimization module, which is configured to optimize the optimized upper-layer configuration parameters and lower-layer proportion parameters through a TOPSIS decision algorithm to solve the optimal capacity configuration and the optimal operating parameters.

[0308] Furthermore, an embodiment of the present invention provides a device, comprising: at least one database; and a memory communicatively connected to the at least one database; wherein the memory stores instructions executable by the at least one database, and the instructions are executed by the at least one database so that the at least one database can execute the two-layer collaborative optimization method of the data center co-production system as described above.

[0309] Furthermore, an embodiment of the present invention provides a computer-readable medium having computer-executable instructions stored thereon, and when the executable instructions are executed by a processor, the two-layer collaborative optimization method of the data center co-generation system as described above is implemented.

[0310] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0311] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments after knowing the basic creative concept. Therefore, the claims should be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the present invention.

[0312] Obviously, those skilled in the art can make various modifications and variations to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention should also include these modifications and variations.

Claims

1. A two-layer collaborative optimization method applied to a data center co-generation system, characterized in that: include: The non-dominated sorting genetic algorithm is used to optimize the upper configuration parameters including the internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area with energy utilization, economic cost and environmental benefit as the optimization objectives. The multi-objective grey wolf optimization algorithm is used to optimize the lower-level proportion parameters, including the proportion of absorption cooling capacity to total cooling capacity, the proportion of natural cooling capacity to total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine, with energy utilization rate and economic cost as optimization targets. The TOPSIS decision algorithm is used to optimize the upper configuration parameters and lower ratio parameters to find the optimal capacity configuration and optimal operating parameters. in, The non-dominated sorting genetic algorithm is used to optimize the upper configuration parameters including internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area with energy utilization, economic cost and environmental benefit as the optimization objectives, including: The upper configuration parameters including the internal combustion engine capacity, photovoltaic panel area, thermal storage tank capacity and collector area are used as optimization variables; By introducing the non-dominated sorting genetic algorithm, the population is initialized, the solutions in the population are non-dominated sorted, the crowding degree of each solution is calculated, a certain number of individuals are selected as parents according to the non-dominated sorting and crowding degree, the population is updated based on crossover and mutation of the parents, the updated population is non-dominated sorted again and the crowding degree is calculated, and according to the results of the non-dominated sorting and crowding degree calculation, a certain number of individuals are selected as the next generation population and the termination condition is judged, and the optimal solution set containing a set of solutions with the best energy utilization rate, economic cost and environmental benefit is searched; The optimal solution set including the best energy utilization rate, economic cost and environmental benefit is used as the optimized upper configuration parameter to be input into the TOPSIS decision algorithm to participate in the optimization; The multi-objective grey wolf optimization algorithm is used to optimize energy utilization and economic cost. The lower-level proportional parameters including the proportion of absorption cooling capacity to total cooling capacity, the proportion of natural cooling capacity to total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine are optimized, including: The lower-level ratio parameters including the ratio of absorption cooling capacity to total cooling capacity, the ratio of natural cooling capacity to total cooling capacity, the ratio of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the ratio of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine are used as optimization variables; Through the introduction of the multi-objective gray wolf optimization algorithm, the gray wolf group is initialized, the fitness of each individual in the group is evaluated, the behavior parameters of the gray wolf are determined, the leader gray wolf is selected according to the fitness value, the gray wolf search process is carried out based on the behavior parameters of the gray wolf and the leader gray wolf, and the position and fitness value of the gray wolf individual are updated, the values ​​of the lower layer parameters are gradually optimized, and the termination conditions are judged to obtain the optimal solution set including a set of solutions with the best energy utilization rate and economic cost. The optimal solution set including a set of solutions with the best energy utilization rate and economic cost is input into the TOPSIS decision algorithm as the optimized lower-level proportional parameters to participate in the optimization; The TOPSIS decision algorithm is used to optimize the upper configuration parameters and lower ratio parameters, and the optimal capacity configuration and optimal operating parameters are solved, including: Based on the TOPSIS decision algorithm, the Pareto frontier is solved for the optimized upper configuration parameters and the optimized lower ratio parameters, and the upper capacity configuration and lower operation parameters are found according to the minimum normalized Euclidean distance; The upper-layer capacity configuration obtained by TOPSIS optimization is input into the lower layer for optimizing the lower-layer proportion parameters based on the multi-objective grey wolf optimization algorithm. At the same time, the lower-layer operating parameters are input into the upper layer for optimizing the upper-layer configuration parameters based on the non-dominated sorting genetic algorithm for iterative cycles, thereby obtaining the optimal capacity configuration and optimal operating parameters that meet the system configuration and operating parameters.

2. The two-layer collaborative optimization method for a data center co-production system according to claim 1, characterized in that: The data center co-generation system includes: A heat supply assembly including a collector for collecting solar heat and a heat storage tank connected to the collector; A hydrogen fuel assembly, including an electrolyzer receiving electricity from a photovoltaic panel and / or a grid and a hydrogen storage tank connected to the electrolyzer; The electric load components include photovoltaic panels, energy storage batteries receiving the photovoltaic panels and / or power supply, hydrogen fuel cells receiving gas supply from hydrogen storage tanks, and internal combustion engines. The photovoltaic panels, power grid, energy storage batteries, hydrogen fuel cells, and internal combustion engines are all used as the electric load sources of the data center. The cooling load components include an electric refrigerator that receives power from photovoltaic panels and / or the power grid, a heat exchanger that receives natural cooling sources, and an absorption refrigerator that receives heat from at least one of a hydrogen fuel cell, a heat storage tank, and an internal combustion engine. The electric refrigerator, the heat exchanger, and the absorption refrigerator all serve as cooling load sources for the data center.

3. The two-layer collaborative optimization method for a data center co-generation system according to claim 1, characterized in that: Normalized S of Pareto front solution norm,d It is expressed as: Where d represents the dth objective function, S p,d is the Pareto front solution, S best,d is the optimal Pareto front solution; Normalized Euclidean distance Dist p , expressed as: Where Dist p is the pth normalized Euclidean distance, p and l represent the number of optimal solutions and the number of objective functions, respectively. is the ideal value of the dth objective function.

4. The two-layer collaborative optimization method for a data center co-generation system according to claim 2, characterized in that: Before optimizing the upper configuration parameters including the internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area by using the non-dominated sorting genetic algorithm with energy utilization rate, economic cost and environmental benefit as optimization targets; or optimizing the lower proportion parameters including the proportion of absorption cooling capacity to total cooling capacity, the proportion of natural cooling capacity to total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine by using the multi-objective grey wolf optimization algorithm with energy utilization rate and economic cost as optimization targets, the following model is also constructed: The power generation of photovoltaic panels is: E mn,pv =A pv I b or pv ×10 -3 ; In the formula, E mn,pv is the power generation of the photovoltaic panel, A pv is the receiver area covered by the photovoltaic panel, I b is the direct solar radiation intensity, η pv is the electrical efficiency of the PV module; The amount of electricity produced by a hydrogen fuel cell is: E mn,fc =H mn,fc or fc,e ; In the formula, E mn,fc is the power generated by the hydrogen fuel cell, H mn,fc is the hydrogen consumption of the hydrogen fuel cell, η fc,e is the electrical efficiency of hydrogen fuel cells; The heat generated by a hydrogen fuel cell is: Q mn,fc =H mn,fc the fc,h ; In the formula, Q mn,fc is the heat generated by the hydrogen fuel cell, η fc,h is the thermal efficiency of the hydrogen fuel cell; The power consumption of electrolyzer for electrolyzing water is: In the formula, E mn,el is the power consumption of the electrolytic cell for water electrolysis, H mn,el is the hydrogen production of the electrolyzer, η el is the conversion efficiency of the electrolyzer; The hydrogen storage capacity of the hydrogen storage tank is: In the formula, H mn,hst is the hydrogen storage capacity of the hydrogen storage tank, H mn-1,hst is the hydrogen storage capacity of the hydrogen storage tank at the previous moment, η hst,c and η hst,d are the hydrogen storage efficiency and hydrogen release efficiency respectively; The battery model is expressed as: In the formula, E mn,es is the amount of electricity stored in the battery, E mn-1,es is the amount of electricity in the battery at the previous moment, E mn,esc is the battery storage capacity at the current moment, E mn,esd is the discharge capacity of the battery, η es,c is the energy storage efficiency, η es,d is the discharge efficiency; The power generation of an internal combustion engine is: In the formula, E mn,ice Indicates the power generation of the internal combustion engine, E r,ice represents the rated power of the system, λ represents the key parameter that determines whether the internal combustion engine is turned on; E mn,dc represents the power demand of the data center, E mn,a Indicates the additional power of the system, f mn,ice It represents the partial load rate of the internal combustion engine and is expressed as: The fuel consumption of an internal combustion engine is: In the formula, F mn,ice is the fuel consumption of the internal combustion engine, η mn,ice is the electrical efficiency of the internal combustion engine, expressed as: The heat output of an internal combustion engine is: Q mn,ice =F mn,ice (1-η mn,ice ); In the formula, Q mn,ice is the heat generated by the internal combustion engine; The power consumption of the grid is: AND mn,grid =And mn,dc +E mn,a +E mn,el -AND mn,ice -AND mn,pv -AND mn,fc ; In the formula, E mn,grid is the power consumption of the power grid; The fuel consumption of the grid is: In the formula, F mn,grid is the fuel consumption of the power grid, η grid and η e They represent the transmission efficiency and electrical efficiency of the power grid respectively; The thermal energy storage model of the heat storage tank is: In the formula, Q mn,tst Indicates the heat contained in the heat storage tank, Q mn-1,tst Indicates the heat contained in the heat storage tank at the previous moment, Q mn,tst.out Indicates the heat release of the heat storage tank, Q mn,tst.in represents the heat stored in the heat storage tank, η hs,in represents the heat storage efficiency, η hs,out It indicates heat release efficiency; The mathematical model of the absorption chiller is: In the formula, Q mn,ac is the heat absorbed by the absorption refrigerator, C mn,ac is the cooling capacity of the absorption chiller, COP mn,ac is the coefficient of performance of the absorption chiller; The heat collected by the collector is: Q mn,st (t)=A st I mn,b η st ×10 -3 ; In the formula, Q mn,st (t) is the heat collected by the collector, A st is the collector area, I mn,b is the direct solar radiation intensity, η st is the thermal efficiency of the collector; The cooling efficiency of natural cooling is: Where ξ is the cooling efficiency of natural cooling, t r,in is the return air temperature, t s,out is the supply air temperature, t amb,in is the temperature of the ambient air, i.e. the inlet air temperature; The power balance of the data center cogeneration system is: AND mn,ice +E mn,grid +E mn,pv +E mn,fc =And mn,dc +E mn,a +E mn,el ; The heat balance of the data center cogeneration system is: In the formula, COP ac They represent the energy efficiency ratio of the absorption chiller, C ac Indicates the cooling capacity of the absorption chiller; The total amount of fuel consumed by the data center cogeneration system is: In the formula, F pg is the total amount of fuel consumed by the data center cogeneration system; The total power consumption of the reference system set up by the data center cogeneration system is: In the formula, E sp,grid is the amount of electricity from the power grid, E dc is the electrical load of the data center, C dc is the cooling load of the data center room, COP echill It represents the energy efficiency ratio of the electric refrigerator; The fuel consumption from the grid is: In the formula, F sp,grid is the fuel consumption of the power grid; The primary energy consumption of the reference system is: In the formula, F sp is the primary energy consumption of the reference system.

5. The two-layer collaborative optimization method for a data center co-generation system according to claim 4, characterized in that: The data center cogeneration system is configured to execute a cooling demand control strategy based on power supply drive applicable to a temperature not lower than 12°C or a cooling demand-oriented power optimization allocation strategy applicable to a temperature lower than 12°C; Cooling demand control strategies based on power supply drive include: Get the total power demand E of the data center cogeneration system need , and determine the power generation E of the photovoltaic panel mn,pv Is it less than the total electricity demand E? need ; If the power generation of the photovoltaic panels is not less than the total power demand E need , the excess electricity generated by the photovoltaic panels other than the total electricity demand is stored in the form of hydrogen through water electrolysis mn,el Or directly store the electricity in the form of battery storage E mn,esc ; If the power generation of the photovoltaic panel is less than the total power demand E need , and then determine the power generation E of the hydrogen fuel cell mn,fc and / or the power generation E of the internal combustion engine mn,ice Whether the total amount of power generation in the subsequent part is not less than the total power demand; In some cases, the total power generation is less than the total power demand E need When the power E is further added to the grid mn,grid supply; Get the total cooling demand C of the data center cogeneration system need , and according to the total cooling demand C need Get the required heat Q for driving the absorption refrigerator ac,need And the cooling capacity Q provided by natural cooling free ; Collect the heat Q generated by hydrogen fuel cells mn,fc and / or the heat output Q of the internal combustion engine mn,ice and used to drive the absorption refrigerator to determine whether the heat generated is less than the required heat for driving the absorption refrigerator; If the heat generated by the collection is not less than the heat required to drive the absorption refrigerator, the remaining heat Q hst,in Store in heat storage tank; If the collected heat output is less than the required heat to drive the absorption refrigeration machine, the corresponding heat Q is called from the heat storage tank. hst,out ; in, If the power generation of the photovoltaic panels is not less than the total power demand E need , by electrolyzing water to produce hydrogen and storing electricity in the form of hydrogen storage E mn,el for: AND mn,el =K1(E need -AND mn,pv ); If the power generation of the photovoltaic panels is not less than the total power demand E need , directly store electricity in the form of battery storage E mn,esc for: AND mn,esc =(1-K1)(E need -AND mn,pv ); Where K1 is the proportional coefficient of hydrogen produced by water electrolysis in the form of hydrogen storage; The heat required to drive the absorption refrigerator is Q ac,need for: In the formula, Q ac,need is the heat required to drive the absorption refrigerator, K2 is the proportion of absorption refrigeration, Q free The cooling capacity provided by natural cooling, η free is the efficiency of natural cooling, C need The total cooling demand of the data center cogeneration system; And, the power optimization configuration strategy based on cooling demand orientation includes: Get the total cooling demand C of the data center cogeneration system need , and the required heat Q for driving the absorption chiller is obtained according to the total cooling demand ac,need The cooling capacity of the electric refrigerator is C chill ; Determine the heat collection Q of the collector mn,st Is it greater than the heat required to drive the absorption refrigerator? ac,need ; If the collector's heat collection capacity is Q mn,st Not less than the heat required to drive the absorption refrigerator Q ac,need , the excess heat is stored in the heat storage tank, and the heat storage capacity of the heat storage tank is recorded as Q mn,tst,in ; If the collector's heat collection capacity is Q mn,st Less than the heat required to drive the absorption refrigerator ac,need , then determine the collector's heat collection capacity Q mn,st The heat storage capacity Q of the heat storage tank mn,tst,in Is it less than the heat required to drive the absorption refrigerator? ac,need ; If the collector's heat collection capacity is Q mn,st The heat storage capacity Q of the heat storage tank mn,tst,in Less than the heat required to drive the absorption refrigerator ac,need Then the heat collection capacity Q of the collector is calculated mn,st The heat storage capacity Q of the heat storage tank mn,tst,in The difference between the required heat and the required heat is recorded as Q need1 ; According to the internal combustion engine startup state, the heat generated by the hydrogen fuel cell Q mn,fc and / or the heat output Q of the internal combustion engine mn,ice To provide the difference Q need1 of calories; Get the total electricity demand E of the data center cogeneration system need , and determine the power generation E of the photovoltaic panel mn,pv Is it less than the total electricity demand E? need ; If the power generation of the photovoltaic panel is E mn,pv Not less than the total electricity demand E need , then calculate the remaining power supplied by the photovoltaic panels; If the power generation of the photovoltaic panel is E mn,pv Less than the total electricity demand E need , then the power generation of the hydrogen fuel cell and / or internal combustion engine involved in heating is obtained; Determine whether the total power generation including the power generation of hydrogen fuel cells and / or internal combustion engines involved in heating and the power generation of photovoltaic panels is greater than the total power demand E need ; When the total amount of electricity generated by hydrogen fuel cells and / or internal combustion engines and photovoltaic panels involved in heating is less than the total electricity demand E need When the power E is further added to the grid mn,grid supply; in, The heat required to drive the absorption refrigerator is Q ac,need for: Q ac,need =C ac,need / 1.2 C ac,need =K3C need ; The cooling capacity of the electric refrigerator is: C chill =(1-K3)C need In the formula, C ac,need represents the cooling capacity of the absorption chiller when the cooling load demand is met first, K3 represents the proportion of absorption chiller, C chill Indicates the cooling capacity of the electric refrigerator; Providing the difference Q need1 When the heat generated by the hydrogen fuel cell is Q mn,fc for: Q mn,fc JK4Q need1 100. Providing the difference Q need1 When the heat generated by the internal combustion engine is Q mn,ice for: Q mn,ice =(1-K4)Q need1 ; In the formula, K4 represents the proportion of heat supplied by the hydrogen fuel cell.

6. A two-layer optimization system for a data center co-generation system, characterized in that: include: The upper optimization model is configured to optimize the upper configuration parameters including the internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area by using a non-dominated sorting genetic algorithm with energy utilization, economic cost and environmental benefit as optimization objectives; The lower layer optimization module is configured to optimize the lower layer proportion parameters including the proportion of absorption cooling capacity to total cooling capacity, the proportion of natural cooling capacity to total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine by using a multi-objective grey wolf optimization algorithm with energy utilization rate and economic cost as optimization targets; The interactive optimization module is configured to optimize the upper configuration parameters and the lower ratio parameters through the TOPSIS decision algorithm to solve the optimal capacity configuration and the optimal operation parameters; in, The non-dominated sorting genetic algorithm is used to optimize the upper configuration parameters including internal combustion engine capacity, photovoltaic panel area, heat storage tank capacity and collector area with energy utilization, economic cost and environmental benefit as the optimization objectives, including: The upper configuration parameters including the internal combustion engine capacity, photovoltaic panel area, thermal storage tank capacity and collector area are used as optimization variables; By introducing the non-dominated sorting genetic algorithm, the population is initialized, the solutions in the population are non-dominated sorted, the crowding degree of each solution is calculated, a certain number of individuals are selected as parents according to the non-dominated sorting and crowding degree, the population is updated based on crossover and mutation of the parents, the updated population is non-dominated sorted again and the crowding degree is calculated, and according to the results of the non-dominated sorting and crowding degree calculation, a certain number of individuals are selected as the next generation population and the termination condition is judged, and the optimal solution set containing a set of solutions with the best energy utilization rate, economic cost and environmental benefit is searched; The optimal solution set including the best energy utilization rate, economic cost and environmental benefit is used as the optimized upper configuration parameter to be input into the TOPSIS decision algorithm to participate in the optimization; The multi-objective grey wolf optimization algorithm is used to optimize energy utilization and economic cost. The lower-level proportional parameters including the proportion of absorption cooling capacity to total cooling capacity, the proportion of natural cooling capacity to total cooling capacity, the proportion of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the proportion of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine are optimized, including: The lower-level ratio parameters including the ratio of absorption cooling capacity to total cooling capacity, the ratio of natural cooling capacity to total cooling capacity, the ratio of electrolyzer power consumption to the total power consumption of electrolyzer and battery charging, and the ratio of hydrogen fuel cell power supply to the total power supply of hydrogen fuel cell and internal combustion engine are used as optimization variables; Through the introduction of the multi-objective gray wolf optimization algorithm, the gray wolf group is initialized, the fitness of each individual in the group is evaluated, the behavior parameters of the gray wolf are determined, the leader gray wolf is selected according to the fitness value, the gray wolf search process is carried out based on the behavior parameters of the gray wolf and the leader gray wolf, and the position and fitness value of the gray wolf individual are updated, the values ​​of the lower layer parameters are gradually optimized, and the termination conditions are judged to obtain the optimal solution set including a set of solutions with the best energy utilization rate and economic cost. The optimal solution set including a set of solutions with the best energy utilization rate and economic cost is input into the TOPSIS decision algorithm as the optimized lower-level proportional parameters to participate in the optimization; The TOPSIS decision algorithm is used to optimize the upper configuration parameters and lower ratio parameters, and the optimal capacity configuration and optimal operating parameters are solved, including: Based on the TOPSIS decision algorithm, the Pareto frontier is solved for the optimized upper configuration parameters and the optimized lower ratio parameters, and the upper capacity configuration and lower operation parameters are found according to the minimum normalized Euclidean distance; The upper-layer capacity configuration obtained by TOPSIS optimization is input into the lower layer for optimizing the lower-layer proportion parameters based on the multi-objective grey wolf optimization algorithm. At the same time, the lower-layer operating parameters are input into the upper layer for optimizing the upper-layer configuration parameters based on the non-dominated sorting genetic algorithm for iterative cycles, thereby obtaining the optimal capacity configuration and optimal operating parameters that meet the system configuration and operating parameters.

7. A device, characterized in that: include: at least one database; And a memory communicatively connected to the at least one database; wherein the memory stores instructions executable by the at least one database, and the instructions are executed by the at least one database so that the at least one database can execute the two-layer collaborative optimization method of the data center co-production system as described in any one of claims 1-5.

8. A computer-readable medium having computer-executable instructions stored thereon, characterized in that: When the executable instructions are executed by the processor, the two-layer collaborative optimization method of the data center co-generation system as described in any one of claims 1 to 5 is implemented.