Resource allocation method, device, equipment and medium based on water-energy-food
By constructing a water-energy-food multi-objective optimization model and using the NSGA-III algorithm, the problem of low coupling in the allocation of water, energy and food resources was solved, the optimal allocation of resources was achieved, and food revenue and resource utilization were improved. , reducing resource consumption conflicts.
Patent Information
- Application Number
- CN202410249392.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-05
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2044-03-05
AI Technical Summary
It is difficult to realize the optimal allocation of water, energy and food resources with existing technology, which leads to the inevitable sacrifice of water resources and energy when increasing food production, or the reduction of water resources and energy consumption, resulting in a decrease in food production and low coupling. .
A multi-objective optimization model based on water-energy-grain is used, using the grain planting area, the amount of water and energy consumed by growing grain per unit area as decision variables, and constructing an objective function to maximize grain income, water production and energy efficiency, and utilize the third The third generation non-dominated genetic algorithm NSGA-III is used to solve the problem and generate the optimal resource allocation plan.
It enhances the coupling between water, energy and food, maximizes the utilization of water resources and food on the basis of maximizing food income, reduces the consumption of water resources and energy, and reduces food production, water resource consumption and energy consumption. conflict between.
Smart Images

Figure CN118195826B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the technical field of resource planning, and in particular to a method, device, equipment and medium for resource allocation based on water-energy-food. Background Art
[0002] Water, energy, and food (WEF) are basic resources necessary for human survival. Due to factors such as industrialization, urbanization, population explosion and economic growth, the supply of corresponding resources may be interrupted, which in turn may threaten resource security. Climate change caused by greenhouse gas emissions brings more uncertainty to resource management, affects water availability, threatens food supply, and increases energy demand. Water is indispensable in energy and food production. Agriculture is the largest water-consuming sector, accounting for nearly 70% of global freshwater consumption, while food production and supply account for about 30% of global energy consumption. 90% of power generation is water-intensive, and about 75% of industrial water is used for energy production. Water, energy, and food are also core components of the Sustainable Development Goals (SDGs). For example, irrigation, coal mining and thermal power generation require a large amount of water resources, and wastewater treatment, seawater desalination, food processing, etc. all require sufficient energy supply. At the same time, food production and trade promote virtual water trade, and crop straw and food waste can be converted into biomass energy.
[0003] The WEF relationship aims to study the interactions between water, energy and food, reduce trade-offs, improve efficiency and synergies, and promote cross-sectoral cooperation. The current research on the WEF relationship can be divided into the following aspects: by describing the relationship between resources, environment and human society, to deepen the understanding of the WEF relationship, including the interaction within the WEF relationship, the external impact of socio-economic and environmental factors on the WEF relationship, and the coupled nature of the WEF relationship. Secondly, considering the influence of external factors, different methods have been developed from different perspectives and spatial scales to evaluate, simulate and optimize the WEF relationship, aiming to achieve coordinated planning, integrated management and efficient governance of the WEF relationship. Finally, based on the scalability of the linkage method, some studies focus on the development of specific sectors in the WEF relationship or the interconnections between two sectors.
[0004] Although there are interactions between water, energy and food, the linkage approach between water, energy and food can integrate multi-sector management, balance trade-offs among stakeholders, increase synergies between resources, and provide opportunities for sustainable development. However, most current studies only consider the relationship between any two of the three, and there are few studies on the inherent laws of the relationship between water, energy and food, that is, the coupling of the three systems is low. Therefore, in the resource allocation plan of water, energy and food, the optimal allocation of these three resources cannot be achieved. For example, if food production needs to be increased, water resources and energy will inevitably be sacrificed. If water and energy consumption needs to be reduced, food production will decrease. Summary of the invention
[0005] The purpose of the embodiments of the present application is to provide a resource allocation method, device, equipment and medium based on water-energy-food, which can enhance the coupling of water-energy-food, generate an optimal resource allocation plan, and thus improve food yields and the utilization rate of water and energy.
[0006] To solve the above technical problems, an embodiment of the present application provides a resource allocation method based on water-energy-food, comprising the following steps:
[0007] The area of grain planting, the amount of water consumed per unit area for grain planting, and the amount of energy consumed per unit area for grain planting were used as decision variables, and the objective function was constructed with the goals of maximizing grain benefits, maximizing water production, and maximizing energy efficiency. The total amount of water consumed for grain and energy did not exceed the maximum available water volume, the grain production was not less than the minimum grain demand and did not exceed the grain production capacity, and the grain planting ratio was not less than the minimum planting ratio as constraints. A multi-objective optimization model based on the water-energy-grain relationship was established.
[0008] The multi-objective optimization model is solved by using the third generation non-dominated genetic algorithm NSGA-III to obtain a set of optimal solutions; wherein each optimal solution corresponds to a resource allocation scheme of water, energy and food, and each resource allocation scheme corresponds to the maximum food yield, and / or the maximum water production, and / or the maximum energy efficiency;
[0009] According to resource allocation requirements, select the target resource allocation scheme from multiple resource allocation schemes.
[0010] In some optional embodiments, the grain planting area includes several sub-areas, the grain types include several types, and the objective function is expressed by the following formula:
[0011] MaxF(x)=maxf1(x)+maxf2(x)+maxf3(x)
[0012] in, PF ij represents the net profit of the jth grain in the i-th sub-region;
[0013] A ij represents the planting area of the jth grain in the ith sub-region, C ij represents the yield per unit area of the jth type of grain in the ith sub-region, F ij represents the water consumption per unit area of the jth type of food in the i-th sub-region;
[0014] E ij It represents the energy input per unit area of the j-th food in the ith sub-region.
[0015] In some optional embodiments, there are several types of energy, and the constraint that the total amount of water allocated to food and energy production does not exceed the maximum available water amount is expressed by the following formula:
[0016]
[0017] Among them, WF ij represents the irrigation quota of the jth grain in the ith sub-region, C i represents the irrigation ratio of the ith sub-region, θ represents the irrigation water utilization coefficient of the ith sub-region, WE ik represents the water quota of the kth energy source in the ith sub-region, X ik represents the consumption of the kth energy in the ith sub-area, and WU represents the maximum available water:
[0018] The constraint that the food production is not less than the minimum food demand and does not exceed the food production capacity is expressed by the following formula:
[0019]
[0020] Among them, P min represents the minimum food production, FW imax Indicates the maximum planting area of grain in the i-th sub-region:
[0021] The constraint condition that the grain planting ratio is not less than the minimum planting ratio is expressed by the following formula:
[0022]
[0023] Among them, C min Indicates the minimum planting ratio of grain, A ij ≥0.
[0024] In some optional embodiments, the energy includes the following two types: energy in the form of energy, energy in the form of energy products or labor;
[0025] The energy in the form of energy includes diesel and electricity, and the energy in the form of energy products or labor includes machinery and equipment, labor, fertilizers and pesticides.
[0026] In some optional embodiments, the energy input includes:
[0027] The diesel input amount calculated by the mass of diesel consumed and the diesel energy conversion coefficient, the electricity input amount calculated by the electricity consumed and the electricity energy conversion coefficient, the machinery input amount calculated by the cost of machinery and equipment, the unit price of diesel and the diesel energy conversion coefficient, the labor input amount calculated by the number of manual working days, the daily manual working time and the labor energy conversion coefficient, the fertilizer input amount calculated by the mass of fertilizer consumed and the fertilizer energy conversion coefficient, and the pesticide input amount calculated by the mass of pesticide consumed and the pesticide energy conversion coefficient.
[0028] In some optional embodiments, the initial population of the NSGA-III algorithm includes N individuals, N≥1, and each individual represents the planting area of the j-th grain in the i-th sub-region.
[0029] In some optional embodiments, the set of optimal solutions is represented by N optimization results distributed in a three-dimensional space;
[0030] The target resource configuration scheme is selected from a plurality of resource configuration schemes according to the resource configuration requirements, including:
[0031] According to the distribution status of the N optimization results, M optimization results are extracted from the N optimization results as the resource allocation schemes of water, energy and food.
[0032] The embodiment of the present application further provides a resource allocation device based on water-energy-food, including: a model building module, which is used to take the area of food planting, the amount of water consumed for food planting per unit area, and the energy consumed for food planting per unit area as decision variables, and to build an objective function with the goals of maximizing food revenue, maximizing water production, and maximizing energy efficiency, and to establish a multi-objective optimization model based on the water-energy-food relationship with the constraints that the total amount of water consumed for food and energy does not exceed the maximum available water volume, the food production volume is not less than the minimum food demand and does not exceed the food production capacity, and the food planting ratio is not less than the minimum planting ratio;
[0033] A model solving module is used to solve the multi-objective optimization model using a third-generation non-dominated genetic algorithm NSGA-III to obtain a set of optimal solutions; wherein each optimal solution corresponds to a resource allocation scheme of water, energy and food, and each resource allocation scheme corresponds to a maximum food yield, and / or a maximum water production, and / or a maximum energy efficiency;
[0034] The resource configuration module is used to select a target resource configuration scheme from multiple resource configuration schemes according to resource configuration requirements.
[0035] An embodiment of the present application also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned water-energy-food based resource allocation method.
[0036] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, which implements the above-mentioned resource allocation method based on water-energy-food when executed by a processor.
[0037] The water-energy-food resource allocation method provided in the embodiment of the present application has at least the following features:
[0038] Beneficial effects:
[0039] In this application, a multi-objective optimization model based on the water-energy-food nexus is first constructed, and the model uses the area of food planting, the amount of water consumed for food planting per unit area, and the energy consumed for food planting per unit area as decision variables, and constructs the objective function with maximizing food revenue, maximizing water production, and maximizing energy efficiency. The total water consumption for food and energy does not exceed the maximum available water volume, the food production is not less than the minimum food demand and does not exceed the food production capacity, and the food planting ratio is not less than the minimum planting ratio as constraints. Then, the third-generation non-dominated genetic algorithm NSGA-III is used to solve the multi-objective optimization model to obtain a set of optimal solutions, each optimal solution corresponds to a resource allocation scheme for water, energy, and food, and each resource allocation scheme corresponds to the maximum food revenue, and / or the maximum water production, and / or the maximum energy efficiency. Then, according to the resource allocation requirements, the target resource allocation scheme is selected from the multiple resource allocation schemes.
[0040] Since the increase in food income is at the expense of increased inputs such as water resources and energy, and the increase in water resource input will further increase energy consumption, water, energy and food are in conflict with each other, and the multi-objective optimization model based on the water-energy-food relationship established in this application enhances the coupling between the three, so that water, energy and food reach a state of equilibrium, and the final resource allocation scheme can maximize the utilization of water resources and food on the basis of maximizing food income, reduce the consumption of water resources and energy, and reduce the conflict between food production, water resource consumption and energy consumption. In addition, the model solution results include a variety of resource allocation schemes, from which the required resource allocation schemes can be selected according to actual needs, such as selecting the scheme with the largest food income or the scheme with the largest energy efficiency. In addition, the NSGA-III algorithm has a better solution effect on high-dimensional target optimization problems, which can further improve the balance of water, energy and food in the model solution results. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] One or more embodiments are exemplarily described by the pictures in the corresponding drawings, and these exemplary descriptions do not constitute limitations on the embodiments.
[0042] Figure 1 is a flow chart of a resource allocation method based on water-energy-food provided according to an embodiment of the present application;
[0043] Figure 2 is a schematic diagram of the optimization results of a multi-objective optimization model provided according to an embodiment of the present application Figure 1 ;
[0044] Figure 3 is a schematic diagram of the optimization results of a multi-objective optimization model provided according to an embodiment of the present application Figure 2 ;
[0045] Figure 4 A statistical chart of total land area is provided according to an embodiment of the present application;
[0046] Figure 5 A statistical chart of total grain revenue provided according to an embodiment of the present application;
[0047] Figure 6 is a statistical graph of water productivity provided according to an embodiment of the present application;
[0048] Figure 7 is a statistical graph of energy efficiency provided according to an embodiment of the present application;
[0049] Figure 8is a schematic diagram of a resource allocation device based on water-energy-food provided according to an embodiment of the present application;
[0050] Fig. 9 It is a structural schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION
[0051] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the present application, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can also be implemented. The division of the following embodiments is for the convenience of description, and the specific implementation of the present application should not be construed as any limitation, and the various embodiments can be combined and referenced with each other under the premise of no contradiction.
[0052] An embodiment of the present application relates to a resource allocation method based on water-energy-food. The implementation details of the resource allocation method based on water-energy-food of this embodiment are described in detail below. The following content is only the implementation details provided for the convenience of understanding and is not necessary for the implementation of this solution.
[0053] The specific process of the water-energy-food resource allocation method of this embodiment can be as follows: Figure 1 As shown, including:
[0054] Step 101, taking the area of grain planting, the amount of water consumed for grain planting per unit area, and the amount of energy consumed for grain planting per unit area as decision variables, constructing an objective function with the goals of maximizing grain benefits, maximizing water production, and maximizing energy efficiency, and taking the total amount of water consumed for grain and energy not exceeding the maximum available water volume, the grain production not less than the minimum grain demand and not exceeding the grain production capacity, and the grain planting ratio not less than the minimum planting ratio as constraints, a multi-objective optimization model based on the water-energy-grain nexus is established.
[0055] Specifically, the multi-objective optimization model based on the water-energy-food nexus established in this embodiment includes the following aspects: (1) decision variables of the multi-objective optimization model, (2) objective function of the multi-objective optimization model, and (3) constraint conditions of the multi-objective optimization model. The following are specific settings:
[0056] (1) Decision variables
[0057] First, determine the grain planting area and the type of grain planted. Assume that the planting area includes several sub-areas and there are several types of grain. This embodiment takes into account the economic benefits of different grain crops in agricultural production and the differences in water and energy consumed in planting them, and uses the grain planting area, the amount of water consumed per unit area for planting grain, and the energy consumed per unit area for planting grain as decision variables.
[0058] (2) Objective function
[0059] The ultimate goal of the resource allocation based on water-energy-food described in this embodiment is to achieve the optimal utilization of various resources (water-energy-food), so as to ensure the maximization of food production and comprehensive benefits in the planting area. Due to the mutual feedback of water-energy-food, for example, in general, the increase in food production is at the expense of the increase in water resources and energy input, and the increase in water resources input will further increase the consumption of energy (such as electricity). Therefore, this embodiment comprehensively considers food production, water resource consumption and energy consumption to construct the objective function, that is, to maximize food benefits, maximize water production and maximize energy efficiency. It can be understood that food benefits are obtained by calculating the benefits of crops brought by food crop planting and deducting the cost of food planting. The benefits can reflect the economic income brought by planting food crops, and the costs reflect energy consumption and water consumption; water productivity refers to the yield of food crops obtained per unit of gross irrigation water; energy efficiency refers to the yield of food crops obtained per unit of energy input. The objective function constructed based on this can reflect the mutual feedback between the water-energy-food system and the contribution of water resources and energy consumption in food output.
[0060] In the specific implementation, the objective function is expressed by the following formula:
[0061] MaxF(x)=maxf1(x)+m axf2(x)+m axf3(x)
[0062] Among them, maxf1(x) represents the maximization of food benefits, PF ij represents the net profit of the jth grain in the i-th sub-region;
[0063] However, PF ij =RF j A ij C ij -CF j A ij , RF j represents the price of the jth grain (yuan / kg), A ij represents the planting area of the jth grain in the ith sub-region, Cij represents the yield per unit area of the jth grain in the ith sub-region (kg / mu), CF j represents the cost coefficient of the j-th kind of grain (yuan / mu).
[0064] maxf2(x) represents the maximization of water production, I represents the number of sub-regions in the grain-growing area, J represents the total number of grain types grown, and F ij It represents the water consumption per unit area of the j-th kind of food in the i-th sub-region.
[0065] maxf3(x) means maximizing energy efficiency, E ij It represents the energy input per unit area of the j-th food in the ith sub-region.
[0066] In one example, the energy input involved in maxf3(x) includes multiple energy consumptions such as machinery input, manpower input, fertilizer and energy input, and electricity input for irrigation and drainage. Therefore, there are several types of energy in this embodiment, including energy in the form of energy, energy in the form of energy products or labor. Among them, energy in the form of energy includes diesel and electricity, etc., and energy in the form of energy products or labor includes machinery and equipment, labor, fertilizers and pesticides, etc.
[0067] Therefore, the energy input includes the input of various forms of energy mentioned above, for example: the diesel input calculated by the mass of diesel consumed and the diesel energy conversion coefficient, the electricity input calculated by the electricity consumed and the electricity energy conversion coefficient, the machinery input calculated by the cost of machinery and equipment, the unit price of diesel and the diesel energy conversion coefficient, the labor input calculated by the number of manual working days, the daily manual working time and the labor energy conversion coefficient, the fertilizer input calculated by the mass of fertilizer consumed and the fertilizer energy conversion coefficient, and the pesticide input calculated by the mass of pesticide consumed and the pesticide energy conversion coefficient. As shown in Table 1:
[0068] Table 1
[0069]
[0070]
[0071] Among them, it changes with the different farming methods, types and forms of input factors. For example, different types of fertilizers and pesticides, agricultural machinery models, etc. have different energy conversion coefficients, which are not fixed values. The values of the diesel energy conversion coefficient and the electricity energy conversion coefficient in this embodiment refer to the "General Rules for Comprehensive Energy Consumption Calculation" (GB / T2589-2020), and the values of the labor energy conversion coefficient, fertilizer energy conversion coefficient and pesticide energy conversion coefficient are determined by the average value within the fluctuation range of the survey results of the grain planting area. The unit price of diesel is determined according to the local market price.
[0072] (3) Constraints
[0073] In this embodiment, the following constraints are set in combination with the actual situation of the grain planting area: ① water supply capacity constraint; ② grain production scale constraint; ③ grain planting structure constraint. In this embodiment, the same period is in months. The calculation formulas of each constraint and the meanings of each symbol in the formula are as follows:
[0074] ① Water supply capacity constraint: The total amount of water allocated to food and energy production does not exceed the maximum available water supply, which is expressed by the following formula:
[0075]
[0076] Among them, WF ij represents the irrigation quota of the jth grain in the ith sub-region (m 3 / mu), C i represents the irrigation ratio of the ith sub-region, θ represents the irrigation water utilization coefficient of the ith sub-region, WE ik represents the water quota of the kth energy source in the ith sub-region (m 3 / kg), X ik represents the consumption of the kth energy in the ith sub-area, WU represents the maximum available water (m 3 ).
[0077] ② Grain production scale constraint: The grain production volume is not less than the minimum grain demand and does not exceed the grain production capacity. It is expressed by the following formula:
[0078]
[0079] Among them, P min represents the minimum food production, Fw imax Indicates the maximum grain planting area (mu) in the i-th sub-region.
[0080] ③ Grain planting structure constraint: The grain planting ratio is not less than the minimum planting ratio, which is expressed by the following formula:
[0081]
[0082] Among them, C min Indicates the minimum planting ratio of grain, A ij ≥0.
[0083] With reference to the above process, a multi-objective optimization model based on the water-energy-food nexus was established.
[0084] Step 102, using the third generation non-dominated genetic algorithm NSGA-III to solve the multi-objective optimization model to obtain a set of optimal solutions; wherein each optimal solution corresponds to a resource allocation scheme of water, energy and food, and each resource allocation scheme corresponds to maximum food revenue, and / or maximum water production, and / or maximum energy efficiency.
[0085] Specifically, the optimal value or the best solution can be found by the optimization process, and the optimization problem includes finding the maximum value or the minimum value, using one target or multiple targets. The multi-objective optimization model based on the water-energy-food bond relationship in the present embodiment is a problem with multiple targets, which is called multi-objective optimization (Multi-Objective Optimization, MOO), and this type of problem can be seen everywhere in daily life, such as mathematics, engineering, social research, economics, agriculture, aviation, automobiles, etc. In target planning, decision makers determine the expected level of the objective function, with the expected level optimization objective function as the goal. Multi-objective evolutionary algorithm (MOEA) is a stochastic optimization technique, similar to other optimization algorithms, and MOEA is used to find the optimal Pareto solution for a specific problem. In detail, in each iteration, the target value is calculated for each individual, and then used to determine the dominant relationship in the group, so as to select a potential better solution for generating a genetic group, which can be combined with the parental group to generate a group for the next generation. In addition, the existence of the target space may give MOEA flexibility, thereby obtaining multiple groups of complementary multi-objective results.
[0086] NSGA-II is effective for solving multi-objective optimization problems (MOPs), but fails to show satisfactory performance when dealing with many (three or more) objectives. The main reason is that as the number of objectives increases, almost all solutions in the population become non-dominated, resulting in a severe loss of Pareto selection pressure to the Pareto front (PF). The proportion of non-dominated solutions in the set of randomly selected target vectors is exponentially related to the number of objectives (the proportion of non-dominated solutions grows exponentially with the increase in the number of objectives). Since non-dominated solutions occupy most of the positions in the population, any elite-protected EMO will find it difficult to accommodate a sufficient number of new solutions in the population, which greatly slows down the search process. Secondly, achieving diversity preservation (similar to crowding distance and clustering) will be a computationally very time-consuming operation. Finally, visualizing the hyperdimensional front is a difficult task, which leads to difficulties in subsequent decision-making tasks and algorithm performance evaluation. In summary, performance indicators (such as hyperdimensionality metrics or other metrics) are either too computationally expensive or meaningless.
[0087] Since most multi-objective evolutionary algorithms are more effective in solving problems with lower target dimensions, when the number of targets is greater than or equal to 3, that is, when facing high-dimensional target optimization problems, many methods become unsatisfactory due to the decrease in selection pressure due to the increase in dimensions. Therefore, in this embodiment, facing the high-dimensional target optimization problem (a multi-objective optimization model based on the water-energy-food nexus), the NSGA-III algorithm is adopted. The framework of NSGA-III is basically the same as NSGA-II, and it also uses fast non-dominated sorting to classify population individuals into different non-dominated frontiers. The difference is that for environmental selection in the critical layer, the method of NSGA-II is to use crowded comparison operations to select and maintain diversity, and the biggest change of NSGA-III is to use well-distributed reference points to maintain the diversity of the population.
[0088] The NSGA-III algorithm of this embodiment is described below:
[0089] The NSGA-III algorithm was developed for high-dimensional multi-objective optimization where the computational cost is high and it is difficult to select Pareto solutions. The basic process is similar to NSGA-II, but the method of selecting individuals has added a reference point-based method, which can effectively reduce the computational cost.
[0090] The NSGA-III algorithm first defines a set of reference points, and then randomly generates an initial population of N individuals, where N represents the size of the initial population, and N≥1. In this embodiment, each individual in the initial population is the planting area of the jth grain in the i-th sub-region, then N=i*j. Next, the algorithm iterates until the termination condition is met. It can be understood that the termination condition is the objective function: maximizing grain revenue, maximizing water production, and maximizing production energy efficiency.
[0091] In the tth generation, the algorithm generates a child population Qt through crossover and mutation based on the current population Pt. The sizes of Pt and Qt are both N. Therefore, the merger of the two populations Pt and Qt will form a new population Rt=Pt∪Qt with a population size of 2N. In order to select the best N solutions from the population Rt to enter the next generation, Rt is first divided into several different non-dominated layers (F1, F2, etc.) using a non-dominated sorting based on Pareto dominance. Then, the algorithm constructs a new population St. The construction method is to start from F1 and successively add the solutions of each non-dominated layer to St until the size of St is equal to N, or greater than N for the first time. Assuming that the last acceptable non-dominated layer is L layer, then the solutions in layer L+1 and later are discarded, and the solutions in St / FL have been determined to be selected as the solutions in Pt+1. The remaining individuals in Pt+1 need to be selected from FL. The selection is based on making the population have ideal diversity in the target space. Finally, the Pareto frontiers of the three optimization objectives are obtained, thereby screening out a set of relatively optimal solutions, and finding a relatively optimal solution or the optimal solution in this set. The specific selection method is selected according to actual requirements.
[0092] In the original NSGA-II algorithm, solutions with larger crowding distances in FL are preferentially selected. However, the crowding distance metric is not suitable for solving high-dimensional multi-objective optimization problems (multi-objective optimization problems with three or more objectives). Therefore, the NSGA-III algorithm no longer uses crowding distance, but a new selection mechanism that uses the provided reference points to more systematically analyze the individuals in St to select some solutions in FL to enter Pt+1.
[0093] The advantage of the algorithm is that in the original NSGA-II, solutions with larger crowding distances in FL are preferred. However, the crowding distance metric is not suitable for solving high-dimensional multi-objective optimization problems. In the water-energy-food three-objective optimization problem, the NSGA-III algorithm no longer uses crowding distance, but a new selection mechanism, which can make the optimization results more accurate and the distribution of the triple indicators more even.
[0094] Step 103: Select a target resource configuration scheme from a plurality of resource configuration schemes according to resource configuration requirements.
[0095] In the specific implementation, after using the NSGA-III algorithm to solve the above-mentioned multi-objective optimization model based on the water-energy-food nexus, a set of optimal solutions obtained by the solution of the NSGA-III algorithm is represented by N optimization results distributed in three-dimensional space. At this time, according to the distribution of the N optimization results, M optimization results are extracted from the N optimization results as the resource allocation plan for water, energy and food.
[0096] Then, based on the resource allocation requirements, that is, the need for maximum food yield, and / or maximum water production, and / or maximum energy efficiency, a target resource allocation scheme is selected from these resource allocation schemes as the water-energy-food resource allocation scheme of this embodiment.
[0097] In this embodiment, since the increase in food revenue is at the expense of the increase in water resources, energy and other inputs, and the increase in water resources input will further increase energy consumption, water, energy and food are conflicting with each other, and the multi-objective optimization model based on the water-energy-food bond relationship established in this application enhances the coupling between the three, so that water, energy and food reach a state of equilibrium, and the resource allocation scheme finally obtained can maximize the utilization of water resources and food on the basis of maximizing food revenue, reduce the consumption of water resources and energy, and reduce the conflict between food production, water resource consumption and energy consumption. In addition, the model solution results include a variety of resource allocation schemes, from which the required resource allocation schemes can be selected according to actual needs, such as selecting the scheme with the largest food revenue or the scheme with the largest energy efficiency. In addition, the NSGA-III algorithm has a better solution effect on high-dimensional target optimization problems, and can further improve the balance of water, energy and food in the model solution results.
[0098] For ease of understanding, a specific example is used below to illustrate how the water-energy-food resource allocation method of the present application is implemented:
[0099] In this embodiment, the grain planting area is the Yellow River Basin, and the types of grain planting are the following five: wheat, rice, corn, potato and soybean. According to the administrative area of the Yellow River Basin, the grain planting area is divided into 9 sub-areas.
[0100] Referring to the selling prices and costs of different types of grain crops in the crop trading markets of various provinces and regions in the Yellow River Basin, and considering the changes in provinces and regions and time, the production costs and unit prices of grain crops were determined, as shown in Table 2:
[0101] Table 2 (unit: yuan / kg)
[0102] Types of food crops wheat Rice corn Potatoes Soybean Unit Cost 1.25 0.85 1.08 0.95 2.15 unit price 2.35 3.55 1.80 1.50 4.50
[0103] Among them, food costs are the production costs consumed in the process of food production, including material and service costs, labor costs and land costs. Material and service costs include direct costs such as seed costs, fertilizer costs, pesticide costs, and indirect costs such as management fees and insurance premiums.
[0104] Determine the labor required for food production as shown in Table 3:
[0105] Table 3 (Unit: person / mu)
[0106]
[0107] The irrigation quotas for grain crops in the nine provinces and regions of the Yellow River Basin are determined as shown in Table 4:
[0108] Table 4 (75% irrigation guarantee rate) (Unit: m 3 / mu)
[0109]
[0110] The irrigation water utilization coefficient is shown in Table 5:
[0111] Table 5
[0112]
[0113] The grain planting area is restricted, as shown in Table 6:
[0114] Table 6 (Unit: 10 3 hm 2 )
[0115]
[0116]
[0117] In order to ensure the sustainable development of water resources in the Yellow River Basin, determine production based on water resources, and rationally optimize the scale of industry, the annual agricultural and industrial water supply in each province and region is planned as the water supply constraint for food and energy production, as shown in Table 7:
[0118] Table 7 (Unit: 100 million m3)
[0119]
[0120] Determine the water quota for energy products, as shown in Table 8:
[0121] Table 8 (m 3 / t,m 3 / t,m 3 / 10,000m 3 , m 3 / MWh)
[0122]
[0123] The food and energy data of the Yellow River Basin are statistically analyzed, as shown in Table 9:
[0124] Table 9
[0125]
[0126] The above tables set various parameters of the multi-objective optimization model based on the water-energy-food nexus. After solving the model using the NSGA-III algorithm, the solution of the model is expressed as follows: Figure 2 The points shown in the figure (i.e. the above-mentioned set of optimal solutions) are divided into two groups according to their distribution, that is, according to the trend of these points. Figure 2 8 optimization results are extracted from the Figure 3 shown.
[0127] These 8 optimization results can be used as 8 resource allocation schemes for water, energy and food in this embodiment. The 8 resource allocation schemes optimized by the resource allocation method of this embodiment are compared with the actual resource allocation scheme, as shown in Table 10:
[0128] Table 10
[0129]
[0130] The above 8 configuration schemes are used to plant grains respectively. Each data in the table represents the planting area of the corresponding grain crop. The final comprehensive benefits can be obtained by Figures 4 to 7 (Total land area, total grain income, water productivity, energy efficiency). In terms of irrigation net benefits, the net benefit value of Scheme 2 is higher than the actual value of the year; in terms of water resource utilization, the water productivity of Scheme 3 is higher than the actual value of the year, and the degree of improvement is significant; in terms of energy utilization, the most significant improvement is also in Scheme 3, and the energy efficiency is higher than the actual value of the year. Figures 4 to 7 It can be seen that the land use area of Schemes 1, 2, 3, 4, and 5 has decreased, and only the net irrigation benefits of Schemes 3, 4, and 5 have decreased compared with the actual values. The other aspects have been improved to varying degrees, and the growth rates of water productivity and energy efficiency are both relatively outstanding among the eight schemes.
[0131] The water-energy-food resource allocation method of the present application not only considers maximizing food production or minimizing water consumption, but also comprehensively considers the benefits of water consumption and energy consumption on food output, namely water productivity and energy productivity, as well as direct economic benefits calculated from comprehensive irrigation costs and crop yields, in order to optimize the results to reflect the contribution of water resources and energy to food output.
[0132] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0133] Another embodiment of the present application relates to a resource allocation device based on water-energy-food. The implementation details of the resource allocation device based on water-energy-food in this embodiment are specifically described below. The following content is only for the convenience of understanding the implementation details, and is not necessary for the implementation of this solution. The schematic diagram of the resource allocation device based on water-energy-food in this embodiment can be as follows: Figure 8 As shown, it includes: a model building module 801, a model solving module 802 and a resource configuration module 803.
[0134] Specifically, the model construction module 801 is used to take the area of grain cultivation, the amount of water consumed for grain cultivation per unit area, and the energy consumed for grain cultivation per unit area as decision variables, and to construct an objective function with the goals of maximizing grain revenue, maximizing water production, and maximizing energy efficiency. A multi-objective optimization model based on the water-energy-grain nexus is established with the constraints that the total amount of water consumed for grain and energy does not exceed the maximum available water volume, the grain production is not less than the minimum grain demand and does not exceed the grain production capacity, and the grain planting ratio is not less than the minimum planting ratio.
[0135] The model solving module 802 is used to solve the multi-objective optimization model using the third generation non-dominated genetic algorithm NSGA-III to obtain a set of optimal solutions; wherein each optimal solution corresponds to a resource allocation scheme of water, energy and food, and each resource allocation scheme corresponds to the maximum food yield, and / or the maximum water production, and / or the maximum energy efficiency;
[0136] The resource configuration module 803 is used to select a target resource configuration scheme from multiple resource configuration schemes according to resource configuration requirements.
[0137] It is not difficult to find that this embodiment is a device embodiment corresponding to the above method embodiment, and this embodiment can be implemented in conjunction with the above method embodiment. The relevant technical details and technical effects mentioned in the above embodiment are still valid in this embodiment, and in order to reduce repetition, they are not repeated here. Accordingly, the relevant technical details mentioned in this embodiment can also be applied in the above embodiment.
[0138] It is worth mentioning that all modules involved in this embodiment are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of this application, this embodiment does not introduce units that are not closely related to solving the technical problems proposed by this application, but this does not mean that there are no other units in this embodiment.
[0139] Another embodiment of the present application relates to an electronic device, such as Fig. 9As shown, it includes: at least one processor 901; and a memory 602 that is communicatively connected to the at least one processor 901; wherein the memory 902 stores instructions that can be executed by the at least one processor 901, and the instructions are executed by the at least one processor 901 so that the at least one processor 901 can execute the water-energy-food based resource allocation method in the above-mentioned embodiments.
[0140] Among them, the memory and the processor are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors and memories together. The bus can also connect various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor is transmitted on a wireless medium via an antenna, and further, the antenna also receives data and transmits the data to the processor.
[0141] The processor is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory can be used to store data used by the processor when performing operations.
[0142] Another embodiment of the present application relates to a computer-readable storage medium storing a computer program, which implements the above method embodiment when executed by a processor.
[0143] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a program, and the program is stored in a storage medium, including a number of instructions to enable a device (which can be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as: ROM), random access memory (Random Access Memory, referred to as: RAM), disk or optical disk and other media that can store program codes.
[0144] Those skilled in the art will appreciate that the above embodiments are specific embodiments for implementing the present application, and in actual applications, various changes may be made thereto in form and detail without departing from the spirit and scope of the present application.
Claims
1. A resource allocation method based on water-energy-food, characterized in that: include: The area of grain planting, the amount of water consumed per unit area for grain planting, and the amount of energy consumed per unit area for grain planting were used as decision variables, and the objective function was constructed with the goals of maximizing grain benefits, maximizing water production, and maximizing energy efficiency. The multi-objective optimization model based on the water-energy-grain nexus was established with the constraints that the total amount of water consumed for grain and energy did not exceed the maximum available water volume, the grain production was not less than the minimum grain demand and did not exceed the grain production capacity, and the grain planting ratio was not less than the minimum planting ratio. The multi-objective optimization model is solved by using a third generation non-dominated genetic algorithm NSGA-III to obtain a set of optimal solutions; wherein each optimal solution corresponds to a resource allocation scheme of water, energy and food, and each resource allocation scheme corresponds to maximum food yield, and / or maximum water production, and / or maximum energy efficiency; According to resource allocation requirements, select the target resource allocation scheme from multiple resource allocation schemes; The grain planting area includes several sub-areas, the grain types include several types, and the objective function is expressed by the following formula: MaxF(x)=maxf1(x)+maxf2(x)+maxf3(x) in, PF ij represents the net profit of the jth grain in the i-th sub-region; A ij represents the planting area of the jth grain in the ith sub-region, C ij represents the yield per unit area of the jth type of grain in the ith sub-region, F ij represents the water consumption per unit area of the jth type of food in the i-th sub-region; E ij represents the energy input per unit area of the jth type of food in the ith sub-region; There are several types of energy, and the constraint that the total amount of water consumed by food and energy does not exceed the maximum available water amount is expressed by the following formula: Among them, WF ij represents the irrigation quota of the jth grain in the ith sub-region, C i represents the irrigation ratio of the ith sub-region, θ represents the irrigation water utilization coefficient of the ith sub-region, WE ik represents the water quota of the kth energy source in the ith sub-region, X ik represents the consumption of the kth energy in the ith sub-area, and WU represents the maximum available water; The constraint that the food production is not less than the minimum food demand and does not exceed the food production capacity is expressed by the following formula: Among them, P min represents the minimum food production, FW imax represents the maximum planting area of grain in the ith sub-region; The constraint condition that the grain planting ratio is not less than the minimum planting ratio is expressed by the following formula: Among them, C min Indicates the minimum planting ratio of grain, A ij ≥0.
2. The resource allocation method based on water-energy-food according to claim 1, characterized in that: The energy includes the following two types: energy in the form of energy, energy in the form of energy products or labor; The energy in the form of energy includes diesel and electricity, and the energy in the form of energy products or labor includes machinery and equipment, labor, fertilizers and pesticides.
3. The resource allocation method based on water-energy-food according to claim 2, characterized in that: The energy input includes: The diesel input amount calculated by the mass of diesel consumed and the diesel energy conversion coefficient, the electricity input amount calculated by the electricity consumed and the electricity energy conversion coefficient, the machinery input amount calculated by the cost of machinery and equipment, the unit price of diesel and the diesel energy conversion coefficient, the labor input amount calculated by the number of manual working days, the daily manual working time and the labor energy conversion coefficient, the fertilizer input amount calculated by the mass of fertilizer consumed and the fertilizer energy conversion coefficient, and the pesticide input amount calculated by the mass of pesticide consumed and the pesticide energy conversion coefficient.
4. The resource allocation method based on water-energy-food according to claim 1, characterized in that: The initial population of the NSGA-III algorithm includes N individuals, N≥1, and each individual represents the planting area of the jth type of grain in the i-th sub-region.
5. The resource allocation method based on water-energy-food according to claim 4, characterized in that: The set of optimal solutions is represented by N optimization results distributed in a three-dimensional space; The target resource configuration scheme is selected from a plurality of resource configuration schemes according to the resource configuration requirements, including: According to the distribution status of the N optimization results, M optimization results are extracted from the N optimization results as the resource allocation schemes of water, energy and food.
6. A resource allocation device based on water-energy-food, characterized in that: include: The model building module is used to take the area of grain planting, the amount of water consumed for grain planting per unit area, and the amount of energy consumed for grain planting per unit area as decision variables, and to construct an objective function with the goals of maximizing grain benefits, maximizing water production, and maximizing energy efficiency. The multi-objective optimization model based on the water-energy-grain relationship is established with the constraints that the total amount of water consumed for grain and energy does not exceed the maximum available water volume, the grain production volume is not less than the minimum grain demand and does not exceed the grain production capacity, and the grain planting ratio is not less than the minimum planting ratio; The grain planting area includes several sub-areas, the grain types include several types, and the objective function is expressed by the following formula: MaxF(x)=maxf1(x)+maxf2(x)+maxf3(x) in, PF ij represents the net profit of the jth grain in the i-th sub-region; A ij represents the planting area of the jth grain in the ith sub-region, C ij represents the yield per unit area of the jth type of grain in the ith sub-region, F ij represents the water consumption per unit area of the jth type of food in the i-th sub-region; E ij represents the energy input per unit area of the jth type of food in the ith sub-region; There are several types of energy, and the constraint that the total amount of water consumed by food and energy does not exceed the maximum available water amount is expressed by the following formula: Among them, WF ij represents the irrigation quota of the jth grain in the ith sub-region, C i represents the irrigation ratio of the ith sub-region, θ represents the irrigation water utilization coefficient of the ith sub-region, WE ik represents the water quota of the kth energy source in the ith sub-region, X ik represents the consumption of the kth energy in the ith sub-area, and WU represents the maximum available water; The constraint that the food production is not less than the minimum food demand and does not exceed the food production capacity is expressed by the following formula: Among them, P min represents the minimum food production, FW imax represents the maximum planting area of grain in the ith sub-region; The constraint condition that the grain planting ratio is not less than the minimum planting ratio is expressed by the following formula: Among them, C min Indicates the minimum planting ratio of grain, A ij ≥0; A model solving module is used to solve the multi-objective optimization model using a third-generation non-dominated genetic algorithm NSGA-III to obtain a set of optimal solutions; wherein each optimal solution corresponds to a resource allocation scheme of water, energy and food, and each resource allocation scheme corresponds to a maximum food yield, and / or a maximum water production, and / or a maximum energy efficiency; The resource configuration module is used to select a target resource configuration scheme from multiple resource configuration schemes according to resource configuration requirements.
7. An electronic device, characterized in that: include: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the water-energy-food based resource allocation method as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the water-energy-food resource allocation method according to any one of claims 1 to 5 is implemented.
