A data center resource optimization scheduling method powered by renewable energy
By constructing a relationship network model and game theory methods, the power resource allocation of the data center in the smart grid is optimized, which solves the problem of unbalanced power resource allocation in the data center and achieves an increase in energy utilization and a reduction in costs.
Patent Information
- Application Number
- CN202110041643.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-13
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-01-13
AI Technical Summary
The power resource allocation of the data center in the smart grid is unbalanced, timely and economical, resulting in low energy utilization and energy waste.
By constructing a relationship network model, the social relationship network topology between energy markets, smart grids and data center operators is established, game theory is used to transform the allocation relationship into a two-layer game problem, and task allocation is solved through iterative methods and compression mapping methods. compete with energy competition to optimize power resource dispatch.
It has reduced electricity costs for data center operators, improved energy utilization, reduced carbon emissions, and improved overall benefits.
Smart Images

Figure CN112801349B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of smart grids, and in particular relates to a data center resource optimization scheduling method powered by renewable energy. Background Art
[0002] Smart grid is built on the basis of integrated, high-speed two-way communication network, and realizes the goal of reliable, safe, economical, efficient and environmentally friendly power grid. With the rapid growth of the number of power supply and management equipment, the deployment of data centers is also rapidly popularizing. However, the energy consumption and emission problems that come with it are becoming more and more problems that people cannot ignore. Energy production scheduling to achieve economical and reliable power supply has become an important part of smart grid. Traditional power generation scheduling schemes are usually based on the high predictability of energy generation, that is, the amount of power generated by traditional power grids is predictable and controllable. For smart grids, integrated distributed renewable power generation methods are unstable and unpredictable. Although the application of renewable energy alleviates energy consumption and environmental problems in the power grid, its unpredictability often leads to low energy utilization. Due to these unique challenges, power grid operation and management workers need to design a real-time and efficient power scheduling system for smart grids.
[0003] Many researchers have realized the sustainability and reliability of the interaction between cloud data centers and smart grids from the perspective of demand response and dynamic pricing. Other researchers have improved energy efficiency from the perspective of dynamic voltage and frequency adjustment and virtual machines. However, none of these studies has fundamentally reduced the energy costs and pollution emissions of data centers. With the continuous development of renewable energy technology, the cost of renewable energy has continued to decrease, and better energy storage technology has made renewable energy power supply possible.
[0004] However, most current studies have simplified the supply of renewable energy, that is, renewable energy power plants can directly deliver electricity to data center users. However, in reality, data center construction is seriously crowded, power resource allocation is unbalanced, and timeliness and economy are not high, which is also a waste of power resources. Summary of the invention
[0005] Purpose of the invention: In order to reduce the electricity cost expenditure of data center operators, achieve energy conservation and emission reduction and improve comprehensive benefits, the present invention provides a data center resource optimization scheduling method powered by renewable energy.
[0006] Technical solution: A data center resource optimization scheduling method powered by renewable energy, comprising the following steps:
[0007] (1) constructing a relationship network model, including establishing a network topology structure of social relationships between an energy market, a smart grid, and a data center operator; the energy market provides power resources for the smart grid, the smart grid supplies power to the data center, and the data center operator implements power resource scheduling of the smart grid;
[0008] (2) Determine the utility functions of the energy market, smart grid, and data center operators respectively;
[0009] (3) Using game theory to transform the coordination relationship between energy markets, smart grids, and data center operators into a two-level game problem;
[0010] (4) Use the iteration method and compression mapping method to solve the task allocation game and energy competition game respectively;
[0011] (5) Data center operators allocate tasks based on the optimal solution and complete the power dispatch of the smart grid.
[0012] Furthermore, in the relational network model of step (1), the energy market, the smart grid and the data center operator exchange information through a bidirectional communication line, and the smart grid only supplies power to the data center in the region, and the energy market and the data center are supplied with power through the smart grid. Specifically, each layer of individuals exchanges information through a bidirectional communication line, and the smart grid can only supply power to the data center in its own region, and there is no direct connection between the market and the data center, which can only sell power to the smart grid.
[0013] In the assumed environment, there is an energy market, I smart grid and I data center in the area covered by the smart grid. The data center operator decides how to allocate tasks on the I data center based on the electricity price and the emission and power consumption parameters of the power units.
[0014] Furthermore, in step (2), the utility functions of the energy market, smart grid and data center operator are respectively expressed as follows:
[0015] Maximizing market returns:
[0016] Market energy constraints:
[0017] Among them, p m represents the price of selling a unit of energy to the smart grid, n i represents the amount of energy that smart grid i chooses to purchase from the market, n max Represents the upper limit on the amount of energy that can be sold in the market.
[0018] Maximizing the benefits of smart grid i: u i =pi e i (λ i )-p m n i -C i (3)
[0019] Smart grid policy constraints: 0≤p i ≤π, (4)
[0020] C i =a i (e i -r i -n i ) 2 +b i (e i -r i -n i )+c i (5)
[0021] Among them, p i represents the price at which grid i sells a unit of energy to its data center users, e i (λ i ) represents the energy required by the data center in region i to process the tasks assigned to it, C i represents the power generation cost of smart grid i, a i , b i , c i represents the power generation cost parameter of smart grid i, r i represents the amount of renewable energy produced by smart grid i itself;
[0022] Minimize costs for data center operators:
[0023] Data center operator’s policy constraints:
[0024]
[0025]
[0026] e i =m i (P idle +(P peak -P idle ) i +(η-1)P peak ), (10)
[0027] Among them, ω represents the weight of carbon emissions converted into costs, Λ represents the tasks that data center operators need to handle, represents the upper limit of the number of servers in the data center in region i, m i Represents the number of activated servers, μ i Represents the processing rate of the server, d i represents the transmission delay of the task to the data center, T QoS Operators need to meet the minimum latency requirements for users. i Represents the utilization of the server, P idle and P peak Represents the idle and peak power of the server respectively.
[0028] Furthermore, the modeling process of the two-layer game problem between the energy market, smart grid and data center operators in step (3) is as follows:
[0029] In order to combine the market, smart grid and the dynamic decision-making of the market, we divide the game into two levels of Stackelberg game, where the market is the leader, the smart grid is the middleman (both the leader and the follower), and the data center operator is the follower. For convenience, we call the game between the data center operator and the smart grid the task allocation and pricing game and denote it as S1. The game between the market and the smart grid is called the energy competition game, denoted as S2. The two-level game can be formally defined as:
[0030] S1={(I∪{data center operator}),{p i} i∈I ,λ,{u i} i∈I ,V} (11)
[0031] S2={(I∪{market}),{n i} i∈I ,p m ,{u i} i∈I ,F} (12)
[0032] Smart Grid is the leader of the first layer game S1 and will set the electricity price p i To maximize profits. i When p is too high, data center operators may tend to allocate more tasks to data centers on lower-cost grids. i When p is too low, it may attract more tasks to be assigned to data center i in smart grid i. However, since the power generation cost is a quadratic function, higher power generation cost may lead to a decrease in total revenue. More seriously, limited renewable energy may make low price p i The attractiveness to data center operators is not as high as expected. Therefore, considering the impact of competition / interaction on task allocation, all smart grids must strategically determine their own pi .
[0033] In another game S2, the smart grid will want to purchase more renewable energy from the market, which will not only reduce its own power generation costs, but also i It will also attract more tasks to be assigned to the region. However, the amount of energy on the market is limited after all. The stronger the competition for these energy sources by smart grids, the higher the unit price of purchasing energy. m The higher it will be.
[0034] Furthermore, step (4) specifically includes the following calculation process:
[0035] (41) In the S1 game, the optimal solution of the follower data center operator is first calculated based on the backward induction method. The calculation formula is:
[0036]
[0037]
[0038]
[0039] Smart grid i calculates its own optimal electricity price based on the decision prediction of data center operators through the best response. The calculation formula is:
[0040]
[0041]
[0042]
[0043] (42) The S2 game can be considered as a jointly convex generalized Nash equilibrium problem, which can then be transformed into the corresponding variational inequality problem VI(X,F), where X is a jointly convex set:
[0044]
[0045] And F:
[0046]
[0047] A minus sign is added to the definition of F to indicate that the goal of the smart grid is to maximize its utility, while in traditional variational problems, the default goal of the problem is to minimize the cost. Therefore, the above formula is minus sign to keep it consistent.
[0048] Next, the projection shrinkage method is used to solve the monotone variational inequality problem VI(X,F) to obtain the social optimal solution. The specific algorithm is implemented as follows:
[0049] The search direction constructed in the projection shrinkage algorithm is either a descending direction of the utility function or closely related to the negative gradient direction of the utility function; at the same time, in a sense, the projection shrinkage algorithm can also be regarded as finding the minimum value of an unknown distance function. The projection shrinkage method is formally defined as follows:
[0050] set up is a closed convex set, F is from Ω to R n A mapping of , the variational inequality is to solve a vector u * ∈Ω, so that for all u∈Ω:
[0051] (uu * ) T F(u * )≥0 (21)
[0052] For a given u k ∈Ω, prediction point It can be generated by the following formula:
[0053] (predict) New iteration point u k+1 By the unified correction formula:
[0054] (Correction) where α k is the optimal step length parameter, which makes the progress made by the above iterations as large as possible under the premise of determining the prediction point.
[0055] Furthermore, the task allocation described in step (5) is that the data center operator selects an allocation strategy that minimizes energy cost and carbon emission cost based on the supply and demand relationship of electricity resources in the smart grid within its jurisdiction, including the number of tasks that the corresponding data center of the smart grid should handle and the number of activated servers, as well as the scheduling of power generators in the resource market. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 The figure is a schematic diagram of the process of the method of the present invention.
[0057] Figure 2 A system architecture diagram constructed for the method described in the present invention;
[0058] Figure 3 A schematic diagram of the relationship between the energy market, smart grid and data center operators in the present invention;
[0059] Figure 4 is a smart grid power generation cost parameter of the area where each data center is located in the embodiment of the present invention;
[0060] Figure 5 A diagram of the energy collection capability of solar panels deployed in a power grid in an embodiment;
[0061] Figure 6 This is a schematic diagram of the analysis of the impact of cost weight ω on decision-making;
[0062] Figure 7(a) is a schematic diagram of the analysis of the impact of a 10% market energy share on the operator's allocation of tasks;
[0063] Figure 7(b) is a schematic diagram of the analysis of the impact of a 40% market energy share on operator allocation tasks;
[0064] Figure 7(c) is a schematic diagram of the analysis of the impact of a market energy share of 80% on the operator's allocation of tasks;
[0065] Figure 8 Schematic diagram of the analysis of the impact of market energy share on system costs. DETAILED DESCRIPTION
[0066] In order to explain the technical solution disclosed by the present invention in detail, the present invention is further described below in conjunction with the accompanying drawings and embodiments.
[0067] The present invention provides a data center resource optimization scheduling method powered by renewable energy, which is mainly used to solve the high energy consumption and high emission problems of data centers in smart grids.
[0068] At present, about 1 / 3 of the data centers in China are built in Beijing, Shanghai and Guangzhou, with more than 50 data centers in each city. In addition, provinces with relatively good economies such as Zhejiang, Fujian and Jiangsu are also provinces with more data centers. The number of data centers built is closely related to the local economic development. Correspondingly, although China's total renewable energy resources are very rich, they are unevenly distributed in different regions. However, developed cities in the east and coastal areas with high payment levels and growing energy demand often lack renewable energy that can be developed and utilized. The theoretical total amount of local wind energy that can be developed is nearly 253 million kW, and the potential annual wind power generation can reach 506 billion kWt, which can reduce carbon dioxide emissions by about 600 million tons. Wind energy resources are also unevenly distributed in different regions. Wind energy resources in Inner Mongolia, Xinjiang, Heilongjiang and Gansu account for 50% of the total. Therefore, we have to consider that if the power grid cannot directly supply power to users, there will inevitably be an energy transaction between power grids.
[0069] Based on the smart grid, the power supply of the grid includes energy stations such as wind power, gas, solar energy and thermal power generation, and also integrates large-scale renewable energy, such as the deployment of solar photovoltaic panels. In order to solve the randomness, intermittency and instability of solar power generation, the present invention includes providing a novel and flexible task allocation model system and its implementation method.
[0070] The present invention uses the solar power generation situation in each region to influence the electricity price setting in each region, thereby affecting how data center operators decide on the task allocation of distributed data centers, and finally designs an energy-saving power generation scheduling strategy to achieve the purpose of saving energy and protecting the environment while maximizing the interests of all parties as much as possible.
[0071] The implementation process of the technical solution provided by the present invention is described in detail below.
[0072] The method described in the present invention is to realize the allocation of power resources and the distribution of task management. It mainly includes three parties: energy market, smart grid and data center operator. The energy market is an energy provider including various types of power resources (renewable energy power plants, energy collection equipment, etc.), which can supply power to power grids outside the region; the smart grid supplies power to data centers within its coverage area; the data center is a user of the regional smart grid, and the data center has a data center operator, which is responsible for the supply and demand analysis of the energy market and the smart grid and task request, management and distribution. Realize the optimal scheduling of power resources.
[0073] The main implementation process of the method of the present invention is as follows Figure 1 As shown, the following steps are included:
[0074] (1) constructing a relationship network model, including establishing a network topology structure of social relationships between an energy market, a smart grid, and a data center operator; the energy market provides power resources for the smart grid, the smart grid supplies power to the data center, and the data center operator implements power resource scheduling of the smart grid;
[0075] (2) Determine the utility functions of the energy market, smart grid, and data center operators respectively;
[0076] (3) Using game theory to transform the coordination relationship between energy markets, smart grids, and data center operators into a two-level game problem;
[0077] (4) Use the iteration method and compression mapping method to solve the task allocation game and energy competition game respectively;
[0078] (5) Data center operators allocate tasks based on the optimal solution and complete the power dispatch of the smart grid.
[0079] As attached Figure 2 As shown in the figure, the smart grid can only supply power to the data centers within its coverage area. The power plants that are far away but rich in renewable energy are regarded as an overall resource market. They cannot directly supply power to the data centers and can only sell to the smart grids that are close to them. The decision that the data center operator needs to make is to determine how to allocate tasks to minimize their own costs. The implementation process is described in detail below.
[0080] 1. Determine renewable energy supply and demand constraints in the energy market
[0081] In this invention, the energy market supplies power to the smart grid according to its needs. Under our assumption, the energy available in the energy market is less than the energy consumption demand of the entire system. We assume that the smart grid will only purchase market energy based on its current generation cost, and the smart grids will compete with each other on the limited available energy. In this case, the too low electricity price p m It will damage the market's returns, and too high p m It will also reduce the willingness to purchase smart grids. So the market goal is to adjust the unit electricity price p m So that∑ i∈I n i =n max .
[0082] 2. Establishing a benefit model for smart grids
[0083] The benefits of smart grids consist of three parts: the revenue from selling energy to data centers, the cost of generating electricity from generators, and the cost of purchasing electricity from the market.
[0084] Step 2.1: The revenue from selling energy to data centers depends on the number of tasks assigned by the data center operator to the data center in the grid area and the electricity price set by the grid, that is, p i e i Because the number of processing tasks and the corresponding energy consumption are linearly related, the mathematical expression is: e i (λ i )=m i (P idle +(P peak -P idle ) i +(η-1)P peak ), where e i (λ i ) represents the processing λ i The energy required for the number of tasks, m i Represents the number of activated servers, U i =λ i / m i μ i Represents server utilization.
[0085] Step 2.2: The power generation cost function of the generator can be approximated as a quadratic function: C i (P i )=a i P i 2 +b i P i +ci In the present invention, the specific power generation of the smart grid is: P i =e i -n i -r i , that is, the energy consumption of the data center e i With the grid's own renewable energy i and renewable energy purchased from the market i .
[0086] Step 2.3: Determine the cost of purchasing electricity: m n i .
[0087] 3. Build a cost model for data center operators
[0088] The costs for data center operators consist of two parts: energy costs and carbon emission costs.
[0089] Step 3.1: Energy cost is the same as mentioned in the previous step: i e i .
[0090] where e i and task processing capacity λ i and the number of active servers m i The number of active servers is mainly determined by the service quality. Service quality (QoS) is an important indicator for operators. QoS is the maximum delay time that the operator's users can tolerate. Specifically, the delay usually consists of two parts: transmission delay and processing delay. We will denote d i Defined as transmission delay, this value can be obtained by sending the training sequence in time. For processing delay, we can get its specific value through queuing theory. Constructing the queuing process as M / M / 1, the average processing time is approximately: Therefore, the service quality constraints are as follows:
[0091]
[0092] We find that energy consumption and m i The relationship between is linear and monotonically increasing. Therefore, if the operator wants to minimize the cost, it can only take m i The value of is the lower bound of the above formula, that is
[0093] Step 3.2: For the marginal cost of carbon emissions, we regard it as a quadratic function as follows:
[0094] θ=ω(e i -r i -n i ) 2 .
[0095] 4. Algorithms for solving two-layer games
[0096] The interaction between the layers in the system is as follows: Figure 3 As shown in the figure, first the power grid determines the electricity price, then the data center operator allocates tasks based on the electricity price and renewable energy output in each region, and the power grid collects this information to understand the energy consumption of the data center. After that, the power grid competes for energy in the market in order to reduce the cost of power generation. The algorithm process is implemented as follows:
[0097] 1) Smart grid sets its own price p i ;
[0098] 2) Data center operators base their prices on the prices of each region i Determine your own task assignment to get e i ;
[0099] 3) The market sets its own price p m ;
[0100] 4) Smart grid uses projection mapping algorithm to determine its purchasing strategy i ;
[0101] 5) The smart grid updates its own p according to the best response function (12) i .
[0102] Example 2
[0103] In the process of implementing Example 2 according to the present invention, the technical means that are the same as those in the above-mentioned embodiments are not described in detail. The following mainly describes the differences of the present invention in Example 2 and the technical effects produced thereby.
[0104] Assume that the data center operator has 6 geographically distributed data centers, and the smart grid power generation cost parameters in each data center area are as shown in the attached figure. Figure 4 As shown in Figure 2, we use the same set of parameters in both regions to facilitate the control experiment. The energy collection capacity of the solar panels deployed in the grid is as follows: Figure 5 As shown, the present invention uses the solar radiation data of these six weather stations for one day. Its main effects include the following points.
[0105] (1) The method described in the present invention analyzes the impact of the carbon emission cost weight ω on the decision-making of each user. The results show that ω only affects the electricity price decision of the smart grid, and has no impact on the task allocation of operators and energy competition in the market. Figure 6 As shown, p i It increases with the increase of ω, and there is a linear relationship between them.
[0106] (2) The method of the present invention analyzes the impact of the proportion of market energy to the total system energy consumption on individual user decisions, as shown in the attached figure. Figure 7(a)-7(c) As shown in the figure, as the market energy share increases, the grid with high power generation costs competes for more market energy, and the operators assign more tasks to their regions. However, as the share continues to rise, the grid with high power generation costs can no longer maintain this advantage, and the gap between grids is narrowing. It can be expected that in some extreme cases, the renewable energy of the grid is completely sufficient for the system's consumption, and then the operator may only assign tasks based on the computing power of the data centers in each region.
[0107] (3) The present invention analyzes the impact of the proportion of market energy to the total system energy consumption on the total system cost. Figure 7(a)-7(c) As shown, a total of 4 groups of experiments were conducted in this embodiment. They are set up according to whether there is a certain stage of game. For example, if there is an S1 stage game but no S2 stage game, we will express it as "the existence of S1 process". As the market energy share increases, the total cost of all algorithm systems is reduced. But we found that "the existence of S1 process" always maintains the lowest cost. However, for selfish and rational individual power grids, using the "existence of S1 process" solution for decision-making means that the interests of some power grids will be harmed, so the power grid cannot adopt this solution. The solution of the present invention can be close to the "existence of S1 process" in terms of system cost, so that the optimal individual benefit is achieved and the overall cost is also considered.
[0108] The method of the present invention mainly provides a resource optimization scheduling method for a data center powered by renewable energy, thereby helping all parties in the system to maximize their respective benefits. The required environmental restrictions are mainly the following two points: the total energy consumption of the data center of the entire system is greater than the renewable energy output of the entire system; secondly, all renewable energy power plants that cannot directly supply power to the data center are regarded as an overall energy market.
Claims
1. A data center resource optimization scheduling method powered by renewable energy, characterized in that: The steps include: (1) constructing a relationship network model, including establishing a network topology structure of social relationships between an energy market, a smart grid, and a data center operator; the energy market provides power resources for the smart grid, the smart grid supplies power to the data center, and the data center operator implements power resource scheduling of the smart grid; (2) Determine the utility functions of the energy market, smart grid, and data center operators respectively; The utility functions of the energy market, smart grid and data center operators are expressed as follows: The mathematical expression for maximizing market returns is as follows: The mathematical expression of the market energy constraint is as follows: Among them, p m represents the price of selling a unit of energy to the smart grid, n i represents the amount of energy that smart grid i chooses to purchase from the market, n max Represents the upper limit on the amount of energy that can be sold in the market; The mathematical expression for maximizing the benefits of smart grid i is as follows: u i =p i and i (λ i )-p m n i -C i (3) The mathematical expression of the smart grid strategy constraints is as follows: 0≤p i ≤π, (4) C i =a i (e i -r i -n i ) 2 +b i (e i -r i -n i )+c i (5) Among them, p i represents the price at which grid i sells a unit of energy to its data center users, e i (λ i ) represents the energy required by the data center in region i to process the tasks assigned to it, C i represents the power generation cost of smart grid i, a i , b i , c i represents the power generation cost parameter of smart grid i, r i represents the amount of renewable energy produced by smart grid i itself; The mathematical expression for minimizing the cost of a data center operator is as follows: The mathematical expression of the data center operator's policy constraints is as follows: and i =m i ( P idle +(P peak -P idle )U i +(η−1)P peak ), (10) Among them, ω represents the weight of carbon emissions converted into costs, Λ represents the tasks that data center operators need to handle, represents the upper limit of the number of servers in the data center in region i, m i Represents the number of activated servers, μ i Represents the processing rate of the server, d i represents the transmission delay of the task to the data center, T QoS The operator needs to meet the minimum delay required by the user. i Represents the utilization of the server, P idle and P peak Represents the idle and peak power of the server respectively; (3) Using game theory to transform the coordination relationship between energy markets, smart grids, and data center operators into a two-level game problem; The modeling process of the two-level game problem between the energy market, smart grid and data center operators is as follows: Assume that the game between data center operators and smart grids is called task allocation and pricing game, represented by S1, and the game between energy market and smart grids is called energy competition game, represented by S2; the definition expression for the two-level game is as follows: S1={(I∪{data center operator}),{p i } i∈I ,λ,{u i } i∈I ,V} (11) S2={(I∪{market}),{n i } i∈I ,p m ,{u i } i∈I ,F}; (12) (4) Use the iteration method and compression mapping method to solve the task allocation game and energy competition game respectively; (5) Data center operators allocate tasks based on the optimal solution and complete the power dispatch of the smart grid.
2. The data center resource optimization scheduling method for renewable energy power supply according to claim 1 is characterized by: In the relationship network model described in step (1), the energy market, the smart grid and the data center operator exchange information through a bidirectional communication line, and the smart grid only supplies power to the data center in the area where it is located. The energy market and the data center are supplied with electricity through the smart grid.
3. The data center resource optimization scheduling method for renewable energy power supply according to claim 1 is characterized in that: The task allocation described in step (5) is that the data center operator selects an allocation strategy that minimizes energy cost and carbon emission cost based on the supply and demand relationship of electricity resources in the smart grid within its jurisdiction, including the number of tasks that the corresponding data center of the smart grid should handle and the number of activated servers, as well as the scheduling of power generation units in the resource market.
