Multi-objective optimization method, system, equipment and medium for crop planting spatial layout

By constructing a multi-objective optimization model of the water-soil-energy-carbon-grain coupling relationship, and using technical means such as NSGA-II and the entropy weight method to determine the optimal spatial layout of crops, the problem of resource shortage and environmental burden in grain production is solved. , achieving efficient resource utilization and environmental suitability, improving food security and sustainable agricultural development.

CN118212088BActive Publication Date: 2024-10-22INST OF GEOGRAPHICAL SCI & NATURAL RESOURCE RES CAS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410360503.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-27
Publication Date
2024-10-22
Estimated Expiration
2044-03-27

AI Technical Summary

Technical Problem

my country's grain production is faced with resource shortages, heavy environmental burdens, increased energy consumption, and food security threats. In particular, soybean dependence is high, agricultural carbon emissions are increasing, energy consumption per unit output of grain production is increasing, and the distribution of agricultural water and land resources is mismatched. , it is difficult to achieve high-quality development and environmental protection requirements.

Method used

Construct a multi-objective optimization model based on the water-soil-energy-carbon-grain coupling relationship, use the NSGA-II genetic algorithm for optimization calculations, combine the entropy weight method and the MaxEnt model, and determine the optimal spatial layout of crops through the improved Hungarian algorithm, optimizing Crop planting structure to improve resource utilization efficiency and environmental suitability.

Benefits of technology

It achieves comprehensive optimization of crop planting structure, reduces water, energy consumption and carbon emissions, improves economic benefits and food security, provides scientific basis for agricultural management and policy formulation, and promotes the sustainable development of green agriculture.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118212088B_ABST
    Figure CN118212088B_ABST
Patent Text Reader

Abstract

The invention discloses a multi-objective optimization method for crop planting spatial layout, including: constructing a multi-objective optimization model based on the water-soil-energy-carbon-grain coupling relationship; optimizing and calculating the multi-objective optimization model using the NSGA-II genetic algorithm, solving the crop planting structure optimization result combination that comprehensively considers the water-soil-energy-carbon-grain coupling relationship; using the entropy weight method to evaluate each optimization result of the optimization result combination, and dividing different scenarios to select corresponding planting structure values ​​to be allocated to space; using the MaxEnt model to calculate the spatial suitability of crop planting structures under different scenarios, and obtaining crop suitability evaluation results; using the planting structure values ​​and the crop suitability evaluation results, and using the improved Hungarian algorithm to determine the optimal spatial layout of crops. The method can perform multi-objective optimization on the crop planting spatial layout, and provide valuable data basis and suggestions for agricultural management and policy formulation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of crop planting layout, and in particular to a multi-objective optimization method, system, equipment and medium for crop planting spatial layout. Background Art

[0002] Food security is facing multiple impacts from the international situation, climate change, resource shortages, urban expansion, etc. Food production is seeking a sustainable development path that takes into account security, economy and environmental protection.

[0003] The external dependence rate of my country's major grain crops has shown a gradual upward trend in recent years, especially soybeans, which have remained above 80%. The vast majority of my country's grain farmers are small-scale operators with low economic benefits. It is difficult to maintain the normal living standards of farmers relying solely on grain production income, and they are facing the problem of a large country with small farmers. The energy consumption per unit of grain production in my country continues to increase, and agricultural and agricultural energy carbon emissions have gradually become an important part of the country's greenhouse gas emissions. Limited by my country's complex climate and terrain conditions, agricultural water and soil resources have long been in a situation of spatial distribution mismatch. my country's grain production has entered a stage of pursuing high-quality development, and the requirements for green agriculture such as protecting the ecological environment, low consumption and high efficiency are increasing, but there are still problems such as reduced arable land area, large resource inputs, and heavy environmental burdens.

[0004] With the improvement of living standards, people have higher and higher requirements for food quality, diversity and specialization, but the pursuit of product quality often comes at the expense of a certain yield. In the future, various constraints on food production will continue to increase, and the demand for food will continue to rise. Therefore, it is necessary to optimize the spatial allocation of crop planting structure. Summary of the invention

[0005] In view of the defects in the prior art, the present invention provides a multi-objective optimization method, system, equipment and medium for spatial layout of crop planting.

[0006] In a first aspect, an embodiment of the present invention provides a multi-objective optimization method for crop planting space layout, comprising:

[0007] Construct a multi-objective optimization model based on the water-soil-energy-carbon-grain coupling relationship;

[0008] The NSGA-II genetic algorithm is used to optimize the multi-objective optimization model and solve the combination of crop planting structure optimization results that comprehensively considers the water-soil-energy-carbon-grain coupling relationship;

[0009] The entropy weight method is used to evaluate the optimization results of the optimization result combination, and the corresponding planting structure values ​​are divided into different scenarios and allocated to the space;

[0010] The MaxEnt model was used to calculate the spatial suitability of crop planting structures under different scenarios and obtain crop suitability assessment results;

[0011] The improved Hungarian algorithm was used to determine the optimal spatial layout of crops using the planting structure values ​​and crop suitability assessment results.

[0012] In a second aspect, an embodiment of the present invention provides a multi-objective optimization system for crop planting spatial layout, comprising: a model building module, a first calculation module, an evaluation module, a second calculation module and a spatial optimization module.

[0013] The model building module is used to build a multi-objective optimization model based on the water-soil-energy-carbon-grain coupling relationship;

[0014] The first calculation module is used to optimize the multi-objective optimization model using the NSGA-II genetic algorithm to solve the combination of crop planting structure optimization results that comprehensively consider the water-soil-energy-carbon-grain coupling relationship;

[0015] The evaluation module uses entropy weight method to evaluate each optimization result of the optimization result combination, and divides different scenarios to select corresponding planting structure values ​​and allocates them to space;

[0016] The second calculation module uses the MaxEnt model to calculate the spatial suitability of crop planting structures under different scenarios to obtain crop suitability assessment results;

[0017] The spatial optimization module uses the planting structure values ​​and crop suitability assessment results to determine the optimal spatial layout of crops using the improved Hungarian algorithm.

[0018] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a processor, an input device, an output device and a memory, wherein the processor is connected to the input device, the output device and the memory, respectively, the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method described in the above embodiment.

[0019] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method described in the above embodiment.

[0020] Beneficial effects of the present invention:

[0021] The embodiments of the present invention provide a multi-objective optimization method, system, device and medium for the spatial layout of crop planting. A multi-objective optimization model based on the water-soil-energy-carbon-grain coupling relationship is established, and the multi-objective optimization model is optimized and analyzed using the NSGA-II genetic algorithm to obtain the optimization result of the crop planting structure. The entropy weight method is used to evaluate the optimization result, the MaxEnt model is used to evaluate the spatial suitability of the crop planting structure under different scenarios, and the improved Hungarian algorithm is used to determine the optimal spatial layout of crops, thereby providing valuable data basis and suggestions for agricultural management and policy formulation. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.

[0023] Figure 1 A flowchart of a multi-objective optimization method for crop planting spatial layout provided by the first embodiment of the present invention is shown;

[0024] Figure 2 A multi-objective research framework diagram based on the water-soil-energy-carbon-grain coupling relationship in the first embodiment is shown;

[0025] Figure 3 A research framework diagram for optimizing the spatial allocation of planting structures is shown;

[0026] Figure 4 A schematic diagram showing the structure of a multi-objective optimization system for crop planting space layout provided by another embodiment of the present invention is shown;

[0027] Figure 5 A schematic structural diagram of an electronic device provided by another embodiment of the present invention is shown. DETAILED DESCRIPTION

[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0029] It should be understood that when used in this specification and the appended claims, the terms including and comprising indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.

[0030] It should also be understood that the terms used in this specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the specification of the present invention and the appended claims, unless the context clearly indicates otherwise, the singular forms of one, an and the are intended to include plural forms.

[0031] It should be further understood that the terms and / or used in the present description and appended claims refer to any and all possible combinations of one or more of the associated listed items, and include these combinations.

[0032] It should be noted that, unless otherwise specified, the technical terms or scientific terms used in this application should have the common meanings understood by those skilled in the art to which the present invention belongs.

[0033] Please refer to Figure 1 , 2 3. A multi-objective optimization method for crop planting spatial layout provided in the first embodiment of the present invention comprises:

[0034] Construct a multi-objective optimization model based on the water-soil-energy-carbon-grain coupling relationship;

[0035] The NSGA-II genetic algorithm is used to optimize the multi-objective optimization model and solve the combination of crop planting structure optimization results that comprehensively considers the water-soil-energy-carbon-grain coupling relationship;

[0036] The entropy weight method is used to evaluate the optimization results of the optimization result combination, and the corresponding planting structure values ​​are divided into different scenarios and allocated to the space;

[0037] The MaxEnt model was used to calculate the spatial suitability of crop planting structures under different scenarios and obtain crop suitability assessment results;

[0038] The improved Hungarian algorithm was used to determine the optimal spatial layout of crops using the planting structure values ​​and crop suitability assessment results.

[0039] This method constructs a multi-objective optimization model of the water-soil-energy-carbon-grain coupling relationship, and uses the NSGA-II genetic algorithm to optimize the multi-objective optimization model. The entropy weight method is used to comprehensively evaluate the benefits of optimizing the planting structure under different scenarios. Then, considering environmental indicators such as phenology, meteorology, soil and topography, as well as field sampling data of crops, the MaxEnt model and the improved Hungarian algorithm are used to determine the appropriate spatial layout of crops. By comparing different scenarios, key areas with significant changes in crop planting are identified, providing valuable data basis and suggestions for agricultural management and policy making.

[0040] Land resources are the basic elements of agriculture. Resource consumption in crop production is mainly manifested in the input of water and energy. Economic factors represent the returns that crop production brings to farmers. They are both the driving force and the goal orientation of their production activities. Therefore, water consumption (WC), energy consumption (EC) and economic benefits (EB) are identified as core target elements. Crop water requirements are calculated by temperature, rainfall, wind speed, radiation and other data and crop coefficients. Crop water requirements are water consumption. Economic benefits are calculated by farmers' cash costs and farmers' cash income. Energy inputs are calculated by input coefficient method through fertilizer and pesticide, labor, diesel and electricity data. Net carbon emissions are calculated by agricultural inputs, farmland emissions and crop and soil absorption data. In order to analyze the environmental benefits of crop production on optimization results. Two models, namely model A and model B, were established. Minimum net greenhouse gas emissions (NCE) was set as another objective function to distinguish the two models, and this function was included in model A. Therefore, the objective function of model A includes minimum WC, minimum EC, maximum EB and minimum NCE. The objective function of model B is minimum WC, minimum EC and maximum EB. These objective functions are designed to ensure that the optimization model takes into account the interconnections between water, land, energy, economy, carbon, and food, thereby promoting coordination among multiple elements.

[0041] Constraints in the optimization model are used to limit the range of independent variables. The water resource constraint stipulates that the total water consumption of crop production must be less than the total available water in the region and cannot be negative. The available water resources for crops include surface water resources, groundwater resources, and regional water transfer. The land resource constraint ensures that the planting area of ​​each crop is less than the total available arable land area, and it cannot be negative. The available arable land area for crops includes the arable land area and the multiple cropping index. The food security constraint requires that the yield of each food crop meets local demand. And the production of soybeans is set to increase according to the current policy orientation. Local food demand includes food, industrial food, feed grain, seed grain, and loss.

[0042] Under food security constraints, local demand is mainly assessed based on the demand side of the Food Supply and Demand Balance (FSDB) model. The FSDB model provides a comprehensive overview of food supply and demand, as well as per capita nutrient intake in a region. The demand side of the FSDB model mainly includes ration consumption, industrial grain, feed grain, seed grain and losses.

[0043] NSGA-II is a multi-objective optimization algorithm based on the biological principles of inheritance, mutation and evolution. The algorithm evolves the population through an elite strategy, including crowding measurement and operator sorting. In addition, it uses a fast non-dominated sorting method to distinguish solutions, based on the concepts of Pareto dominance and optimality. In this case, the constraints of the optimization model stipulate the range of allowed values ​​of individuals in the population, including all parents and offspring. These constraints form the external environment and determine the survival of the population. Individuals that cannot adapt to these conditions will be affected by natural elimination. The objective function of the optimization model plays a key role in establishing the hierarchical status of individuals in the population. This hierarchy reflects the degree of adaptation to the environment, and more adaptable individuals enjoy a higher chance of survival and pass on their adaptive genes to their offspring. At the same time, in order to prevent homogeneity within the population, the algorithm adopts a polynomial mutation operator to produce offspring. This process ensures the inheritance of favorable genes from the parents, while inducing certain gene mutations, thereby protecting the diversity of individuals. The NSGA-II genetic algorithm was used to optimize and analyze the multi-objective optimization model, and the optimal combination of crop planting structure that comprehensively considered the coupling relationship of water-soil-energy-carbon-grain was solved.

[0044] To distribute the results of optimized crop planting structure under various scenarios onto a grid framework, we calculated the suitability of crops as the basis for allocating the results of optimized crop planting structure. The suitability of crops was determined by integrating data on crop phenology, meteorology, soil, topography, and crop field sampling points using the MaxEnt model and post-collinearity analysis. Subsequently, the spatial distribution of crops was simulated using the modified Hungarian algorithm using the optimized crop planting structure and crop suitability assessment results.

[0045] The traditional Hungarian algorithm is a domination algorithm, which requires a matrix as input for calculation. During the domination process, the number of dominated tasks must be equal to the number of dominated objects. That is, there is a one-to-one correspondence between tasks and objects. The allocation of crops has a specific number of task requirements. Therefore, a grid is established as a spatial distribution unit. Each cell within the grid represents a task to be assigned. When the number of objects is significantly less than the number of tasks, it is not feasible to construct a calculation matrix in the traditional Hungarian algorithm. To solve this problem, each task requirement of a crop is regarded as an object, and a large number of virtual crops are introduced as additional objects to ensure that the number of tasks and objects is equal, thereby ensuring that a matrix can be formed. In order to ensure that the introduction of virtual crops does not change the final spatial layout, the suitability of these virtual objects is set to always be lower than the suitability of the actual crops.

[0046] The embodiment of the present invention provides a multi-objective optimization method for the spatial layout of crop planting. A multi-objective optimization model based on the water-soil-energy-carbon-grain coupling relationship is established, and the multi-objective optimization model is optimized and analyzed using the NSGA-II genetic algorithm to obtain the optimization result of the crop planting structure. The entropy weight method is used to evaluate the optimization result, the MaxEnt model is used to evaluate the spatial suitability of the crop planting structure under different scenarios, and the improved Hungarian algorithm is used to determine the optimal spatial layout of crops, so as to provide valuable data basis and suggestions for agricultural management and policy formulation.

[0047] In the first embodiment described above, a multi-objective optimization method for crop planting space layout is provided. Correspondingly, the present application also provides a multi-objective optimization system for crop planting space layout. Figure 4 , which is a schematic diagram of the structure of a multi-objective optimization system for crop planting space layout provided by the second embodiment of the present invention. Since the device embodiment is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described below is only illustrative.

[0048] Please refer to Figure 4Another embodiment of the present invention provides a multi-objective optimization system for spatial layout of crop planting, the system comprising: a model building module, a first calculation module, an evaluation module, a second calculation module and a spatial optimization module, the model building module is used to build a multi-objective optimization model based on the water-soil-energy-carbon-grain coupling relationship; the first calculation module is used to optimize the multi-objective optimization model using the NSGA-II genetic algorithm, and solve the crop planting structure optimization result combination that comprehensively considers the water-soil-energy-carbon-grain coupling relationship; the evaluation module uses the entropy weight method to evaluate each optimization result of the optimization result combination, and divides different scenarios to select corresponding planting structure values ​​and allocates them to space; the second calculation module uses the MaxEnt model to calculate the spatial suitability of crop planting structures under different scenarios to obtain crop suitability evaluation results; the spatial optimization module uses the planting structure values ​​and the crop suitability evaluation results to use the improved Hungarian algorithm to determine the optimal spatial layout of crops.

[0049] The core objective elements of the multi-objective optimization model include water consumption, energy consumption and economic benefits, and the objective function of the objective optimization model includes minimum water consumption, minimum energy consumption, maximum economic benefits and minimum net greenhouse gas emissions.

[0050] The constraints of the multi-objective optimization model include water resources, land resources and food security. The water resource constraint stipulates that the total water consumption of crop production is less than the total available water in the area and is a positive number. The land resource constraint ensures that the planting area of ​​each crop is lower than the total available arable land area and is a positive number. The food security constraint requires that the output of each food crop meets local demand.

[0051] The spatial optimization module includes a specific method of using the improved Hungarian algorithm to determine the optimal spatial layout of crops, including: establishing a grid that covers the entire target area. Each cell within the grid represents a task to be assigned. When the number of objects is significantly less than the number of tasks, it is not feasible to construct a calculation matrix in the traditional Hungarian algorithm. To solve this problem, each task requirement in the crop is regarded as an object, and a large number of virtual crops are introduced as additional objects to ensure that the number of tasks and objects is equal, thereby ensuring that a matrix can be formed. In order to ensure that the introduction of virtual crops does not change the final spatial layout, the suitability of these virtual objects is set to always be lower than the suitability of the actual crops.

[0052] A multi-objective optimization system for the spatial layout of crop planting provided by an embodiment of the present invention has the same inventive concept and the same beneficial effects as the above-mentioned multi-objective optimization method for the spatial layout of crop planting, and will not be described in detail here.

[0053] Please refer to Figure 5An electronic device according to another embodiment of the present invention comprises a processor, an input device, an output device and a memory, wherein the processor is connected to the input device, the output device and the memory respectively, the memory is used to store a computer program, the computer program comprises program instructions, and the processor is configured to call the program instructions to execute the method described in the above embodiment.

[0054] It should be understood that in the embodiments of the present invention, the processor may be a central processing unit (CPU), and the processor may also be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0055] Input devices may include a touchpad, a fingerprint sensor (for collecting the user's fingerprint information and fingerprint direction information), a microphone, etc., and output devices may include a display (LCD, etc.), a speaker, etc.

[0056] The memory may include a read-only memory and a random access memory, and provide instructions and data to the processor. A portion of the memory may also include a non-volatile random access memory. For example, the memory may also store information about the device type.

[0057] In a specific implementation, the processor, input device, and output device described in the embodiments of the present invention may execute the implementation described in the method embodiment provided in the embodiments of the present invention, or may execute the implementation described in the system embodiment described in the embodiments of the present invention, which will not be described in detail here.

[0058] The present invention further provides an embodiment of a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor executes the method described in the above embodiment.

[0059] The computer-readable storage medium may be an internal storage unit of the terminal described in the foregoing embodiments, such as a hard disk or memory of the terminal. The computer-readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card (SmartMediaCard, SMC), a secure digital (SecureDigital, SD) card, a flash card (FlashCard), etc. equipped on the terminal. Further, the computer-readable storage medium may also include both an internal storage unit of the terminal and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by the terminal. The computer-readable storage medium may also be used to temporarily store data that has been output or is to be output.

[0060] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0061] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the terminals and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0062] In the several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, or it can be an electrical, mechanical or other form of connection.

[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.

Claims

1. A multi-objective optimization method for crop planting spatial layout, characterized in that: include: A multi-objective optimization model based on the coupling relationship of water-soil-energy-carbon-grain is constructed, wherein the core objective elements of the multi-objective optimization model include water consumption, energy consumption and economic benefits, and the objective function of the objective optimization model includes minimum water consumption, minimum energy consumption, maximum economic benefits and minimum net greenhouse gas emissions. The constraints of the multi-objective optimization model include water resources, land resources and food security. The water resource constraint stipulates that the total water consumption of crop production is less than the total available water in the area and is a positive number. The land resource constraint ensures that the planting area of ​​each crop is less than the total available arable land area and is a positive number. The food security constraint requires that the output of each food crop meets local demand. The NSGA-II genetic algorithm is used to optimize the multi-objective optimization model and solve the combination of crop planting structure optimization results that comprehensively considers the water-soil-energy-carbon-grain coupling relationship; The entropy weight method is used to evaluate the optimization results of the optimization result combination, and the corresponding planting structure values ​​are divided into different scenarios and allocated to the space; The MaxEnt model was used to calculate the spatial suitability of crop planting structures under different scenarios and obtain crop suitability assessment results; The improved Hungarian algorithm was used to determine the optimal spatial layout of crops using the planting structure values ​​and crop suitability assessment results; The specific method of using the improved Hungarian algorithm to determine the optimal spatial layout of crops includes: Build a grid that covers the entire target area, and each cell in the grid acts as an assigned task; The target crops are used as the distribution objects, and the distribution objects correspond to the number of assigned tasks one by one; Virtual crops are introduced as additional distribution objects so that the total number of distribution objects matches the number of assigned tasks; The suitability of the virtual crops is set lower than the suitability of the target crops, and the virtual crops will not change the final spatial layout, and the spatial layout of the target crops is obtained.

2. A multi-objective optimization system for crop planting spatial layout, characterized in that: include: Model building module, first calculation module, evaluation module, second calculation module and space optimization module, The model building module is used to build a multi-objective optimization model based on the water-soil-energy-carbon-grain coupling relationship. The core objective elements of the multi-objective optimization model include water consumption, energy consumption and economic benefits. The objective function of the objective optimization model includes minimum water consumption, minimum energy consumption, maximum economic benefits and minimum net greenhouse gas emissions. The constraints of the multi-objective optimization model include water resources, land resources and food security. The water resource constraint stipulates that the total water consumption of crop production is less than the total available water in the area and is a positive number. The land resource constraint ensures that the planting area of ​​each crop is less than the total available arable land area and is a positive number. The food security constraint requires that the output of each food crop meets local demand. The first calculation module is used to optimize the multi-objective optimization model using the NSGA-II genetic algorithm to solve the combination of crop planting structure optimization results that comprehensively consider the water-soil-energy-carbon-grain coupling relationship; The evaluation module uses entropy weight method to evaluate each optimization result of the optimization result combination, and divides different scenarios to select corresponding planting structure values ​​and allocates them to space; The second calculation module uses the MaxEnt model to calculate the spatial suitability of crop planting structures under different scenarios to obtain crop suitability assessment results; The spatial optimization module uses the planting structure values ​​and crop suitability assessment results to determine the optimal spatial layout of crops using the improved Hungarian algorithm; The spatial optimization module includes a specific method of using the improved Hungarian algorithm to determine the optimal spatial layout of crops, including: Build a grid that covers the entire target area, and each cell in the grid acts as an assigned task; The target crops are used as the distribution objects, and the distribution objects correspond to the number of assigned tasks one by one; Virtual crops are introduced as additional distribution objects so that the total number of distribution objects matches the number of assigned tasks; The suitability of the virtual crops is set lower than the suitability of the target crops, and the virtual crops will not change the final spatial layout, and the spatial layout of the target crops is obtained.

3. An electronic device, comprising a processor, an input device, an output device and a memory, wherein the processor is connected to the input device, the output device and the memory respectively, and the memory is used to store a computer program, wherein the computer program comprises program instructions, and wherein: The processor is configured to call the program instructions to execute the method according to claim 1.

4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which includes program instructions. When the program instructions are executed by a processor, the processor is caused to perform the method according to claim 1.