Whale optimization algorithm-based industrial and agricultural combined carbon fertilizer optimization production method
Through the whale optimization algorithm combined with carbon fertilizer production methods, the problem of unstable purity in traditional carbon fertilizer production is solved, the production of high-quality carbon fertilizer is achieved, agricultural production efficiency is improved and environmental pollution is reduced.
Patent Information
- Application Number
- CN202510023533.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-05-16
AI Technical Summary
Traditional carbon fertilizer production methods are difficult to fully exert carbon fertilizer fertility, and the purity of carbon fertilizer is unstable, which affects its chemical and physical effects in the soil, and cannot effectively improve soil fertility, limiting the growth and development of crops.
The industrial and agricultural industry and farmers combined with carbon fertilizer optimization production method based on whale optimization algorithm is adopted to obtain high-concentration carbon dioxide by absorbing industrial waste gas purification, and mix it with liquid carbon fertilizer to produce high-quality carbon fertilizer. During the mixing process, the carbon fertilizer production parameters such as improved whale optimization algorithm and spiral search strategy are accurately controlled, and the carbon fertilizer purity is optimized.
The purity of carbon fertilizers is improved, the utilization rate of raw materials is improved, the production cost is reduced, and the stable and consistent production of high-quality carbon fertilizers is achieved, which assists agricultural production and reduces environmental pollution.
Smart Images

Figure CN120010405A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to a carbon fertilizer optimization production technology, and in particular to an industry-agriculture combined carbon fertilizer optimization production method based on a whale optimization algorithm. Background Art
[0002] In today's agricultural field, fertilizers are used more and more widely as one of the key elements to improve soil fertility, improve soil structure and promote crop growth and development. For a long time, with the increasing severity of global climate change and environmental problems, sustainable development has become a global consensus. In the agricultural field, increasing crop yields while reducing environmental pollution, especially reducing the use of highly polluting fertilizers, is the key to achieving sustainable agricultural development. In order to reduce pollution and minimize the impact on agricultural production, existing technologies convert factory organic waste into carbon fertilizers, which absorb harmful substances such as heavy metals in the soil, with significant results.
[0003] However, carbon fertilizers produced by traditional machine methods such as conventional blending and mixed granulation methods often fail to fully exert their fertility. The instability of carbon fertilizer purity will affect its chemical and physical effects in the soil. For example, insufficient purity may cause the rate and amount of nutrient release from carbon fertilizers to be unable to meet the needs of crop growth, and thus fail to effectively improve soil fertility, limiting the soil from providing sufficient and continuous nutritional support for crops, which has an adverse effect on crop growth and development. Summary of the invention
[0004] Purpose of the invention: To solve the problems mentioned in the background technology, the present invention discloses an optimized production method of industrial and agricultural carbon fertilizer based on the whale optimization algorithm. High-concentration carbon dioxide is obtained by absorbing and purifying industrial waste gas, and mixed with liquid carbon fertilizer to produce high-quality carbon fertilizer. During the mixing process, the temperature and other carbon fertilizer production parameters are further accurately controlled based on the improved whale optimization algorithm to achieve the purpose of optimizing the purity of carbon fertilizer, assisting agricultural production and reducing environmental pollution.
[0005] Technical solution:
[0006] The present invention discloses an industrial-agricultural combined carbon fertilizer optimization production method based on a whale optimization algorithm, the method comprising the following steps:
[0007] S1 captures carbon dioxide from the air and purifies and stores it;
[0008] S2 constructs a gas-liquid carbon fertilizer mixing device and an automation control module and a temperature sensor corresponding to the gas-liquid carbon fertilizer mixing device;
[0009] S3 sends the liquid carbon fertilizer and the purified carbon dioxide into a gas-liquid carbon fertilizer mixing device;
[0010] S3 obtains temperature data in the gas-liquid carbon fertilizer mixing device through a temperature sensor;
[0011] The S4 temperature sensor is connected to the automation control module, which receives the temperature data obtained by the temperature sensor, combines the carbon fertilizer raw material data, integrates the improved whale optimization algorithm and introduces the spiral search strategy to adjust the current temperature of the gas-liquid carbon fertilizer mixing device, and then starts the gas-liquid carbon fertilizer mixing device to optimize the purity of the carbon fertilizer.
[0012] Furthermore, the specific steps of S1 are as follows:
[0013] Industrial flue gas is absorbed by the absorption tower, and a chemical reaction occurs with the absorbent to separate carbon dioxide from the flue gas to produce rich liquid. The rich liquid flows into the gas-liquid separator to separate liquid water and carbon dioxide gas. After the rich liquid recovers heat through the heat exchanger, it enters the desorption tower and releases high-purity carbon dioxide under the action of heating. The released carbon dioxide is compressed by a compressor to increase the pressure, and then stored in a storage device.
[0014] Furthermore, when the high-purity carbon dioxide enters the storage device, the electron beam irradiation device in the storage device uses the specific energy of the electron beam to induce a chemical reaction between sulfur-containing and nitrogen-containing compounds, thereby further removing sulfur and nitrogen from the high-purity carbon dioxide gas and further purifying it to obtain extremely high-purity carbon dioxide.
[0015] Furthermore, the specific steps of improving the whale optimization algorithm to control temperature described in S4 are as follows:
[0016] Initialization parameters:
[0017] A number of humpback whales are randomly generated and each whale is randomly placed in the space as a candidate solution x = (x 1 ,x 2 ,……,x d ), each variable value (x 1 ,x 2 ,...,x d ) are all floating point types, set the maximum number of iterations of the algorithm, and set the search space of the algorithm according to the number of iterations;
[0018] Set the objective function:
[0019]
[0020]
[0021] K=Ε 1 +Ε 2 (3)
[0022]
[0023] Where P is the carbon fertilizer production rate, is the comprehensive coefficient, M is the carbon content of the raw material, N is the raw material mass, T is the reaction temperature, S is the specific surface area of the raw material, Q represents the comprehensive index related to the quality of the carbon fertilizer product, m N , Respectively represent the nitrogen content, phosphorus content, and potassium content in chemical components such as carbon fertilizers, m D is the particle size, mU is the uniformity, K represents energy consumption, E1 and E2 are the electricity and fuel consumed in the production process, w1, w2, and w3 are the weight coefficients of production efficiency, product quality, and energy consumption, respectively, and w1+w2+w3=1, T k is the real-time temperature, F(x) is the optimal purity of the target carbon fertilizer in the current state, and the output value of the objective function is used to guide core environmental factors such as temperature. When the core environmental factor is less than 1, the automatic control module increases the real-time temperature of the gas-liquid carbon fertilizer mixing device; when the core environmental factor is greater than 1, the automatic control module reduces the real-time temperature of the gas-liquid carbon fertilizer mixing device. The initial population is brought into the objective function, and the optimal solution F(x) is selected.
[0024] Furthermore, the spiral search strategy is specifically as follows:
[0025] When whales are close to the global optimal solution, they search in a local range in a spiral manner, generating a spiral path between the current position and the position of the global optimal solution. The whales move along this path, allowing the whales to jump out of the local optimal solution with a certain probability in the search space.
[0026] The spiral search strategy formula is as follows;
[0027] X(i+1)=X best (i)-A·D (5)
[0028] D=|C·X best (i)-X(i)| (6)
[0029] A=a(2Tx-1) (7)
[0030] C=2T k (8)
[0031] a=2-2T k / T (9)
[0032] X(i+1)=D·e bl ·cos(2πl)+X best (i) (10)
[0033] D=|Xbest (i)-X(i)|(11)
[0034] T k+1 =αT k (12)
[0035] In the formula, X(i+1) is the next position of the whale individual to be updated, X(i) is the current position of the whale individual, that is, the current carbon fertilizer purity, and X best (i) is the current optimal position of the whale, that is, the optimal purity of the carbon fertilizer, D is the distance between the current whale and the optimal solution, A and C are search control coefficients, a is the convergence factor, b is the constant coefficient defining spiral hunting, l is a random number in [-1,1], T k+1 is the real-time temperature after disturbance, α is the temperature drop coefficient. As the temperature decreases, the probability of the algorithm accepting an inferior solution gradually decreases, the search gradually becomes stable, and finally converges to a better solution.
[0036] Furthermore, the temperature drop strategy of formula (9) is improved, and the original temperature drop formula T k+1 =αT k This may cause the algorithm to converge slowly or easily fall into local optimum in some cases. The improved temperature drop formula is:
[0037] β×k
[0038] T new =T 0 ×α 0 (13)
[0039] Among them, T 0 is the initial temperature, α 0 is the adjustment coefficient, the value range is [0.1], T new is the current temperature after improvement, k is the current iteration number, and β is the control parameter used to control the rate of temperature drop.
[0040] Furthermore, CO 2 Concentration, humidity, and light are parameter inputs, and the optimal purity of carbon fertilizer F(x) is output. The target environment is continuously optimized and iterated, and finally the optimal solution is output to optimize the purity of carbon fertilizer. The iteration stopping condition is that the same output value F(x) is obtained twice in a row.
[0041] Beneficial effects:
[0042] 1. The present invention is based on the whale optimization algorithm and combines the carbon fertilizer production parameters to provide the optimal temperature for carbon fertilizer production under different environments or raw materials. While improving the purity of carbon fertilizer, it also improves the utilization rate of raw materials and reduces production costs.
[0043] 2. Based on the whale optimization algorithm, the present invention introduces a spiral search strategy and further improves the temperature drop strategy to make the temperature control of the gas-liquid carbon fertilizer mixing device more accurate, reduce errors, and maintain the stability and consistency of the quality of the output high-purity carbon fertilizer.
[0044] 3. The present invention collects industrial waste smoke to purify high-concentration carbon dioxide to produce fertilizer, which improves the quality of fertilizer on the one hand, and reduces the pollution of industrial waste to the environment on the other hand, thus realizing an agricultural production method that combines industry and agriculture. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] Figure 1 It is a structural schematic diagram of the present invention;
[0046] Figure 2 Flow chart of the whale optimization algorithm of the present invention. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0048] like Figure 1-2 As shown, this embodiment provides an industrial-agricultural combined carbon fertilizer optimization production method based on the whale optimization algorithm, and the method steps are as follows:
[0049] S1 captures carbon dioxide from the air and purifies and stores it;
[0050] The capture and purification device includes an interconnected absorption tower, a gas-liquid separator, a heat exchanger, a desorption tower, a compressor, a storage device, an electron beam irradiation device, a gas-liquid carbon fertilizer mixing device, an automatic control module and a new agricultural carbon fertilizer;
[0051] The absorption tower is installed vertically and stably on the base, the gas-liquid separator is arranged horizontally at a position where the liquid can be discharged smoothly and the gas can be subsequently transported, the inlet and outlet pipes are connected to the upstream and downstream equipment, the heat exchanger is installed on the supporting structure, the inlet and outlet pipes are closely connected, the sealing gaskets are accurately installed, and sufficient operation and maintenance space is left with the surrounding equipment. The desorption tower is also installed vertically, and the fillers, tower plates and other components in the tower are installed in accordance with regulations;
[0052] The inlet and outlet pipes between the absorption tower, gas-liquid separator, heat exchanger, and desorption tower are tightly connected, and the temperature and pressure control devices are accurately installed and debugged. The compressor is installed on the base and equipped with shock-absorbing measures. The drive device is accurately connected, the transmission parts are well lubricated, the inlet and outlet pipes are equipped with valves and filters, and the storage device is installed in a well-ventilated location away from fire sources and high-temperature areas, and can bear the weight of the device.
[0053] The specific steps of S1 are as follows: industrial flue gas is absorbed by the absorption tower, chemically reacts with the absorbent, and carbon dioxide is separated from the flue gas to produce rich liquid. The rich liquid flows into the gas-liquid separator to separate liquid water and carbon dioxide gas. After the rich liquid recovers heat through the heat exchanger, it enters the desorption tower and releases high-purity carbon dioxide under the action of heating. The released carbon dioxide is compressed by the compressor to increase the pressure, and then stored in the storage device.
[0054] When high-purity carbon dioxide enters the storage device, the electron beam irradiation device in the storage device uses the specific energy of the electron beam to induce chemical reactions between sulfur-containing and nitrogen-containing compounds, thereby further removing sulfur and nitrogen from the high-purity carbon dioxide gas and further purifying it to obtain extremely high-purity carbon dioxide.
[0055] S2 constructs the gas-liquid carbon fertilizer mixing device and the corresponding automation control module and temperature sensor. The main body of the gas-liquid carbon fertilizer mixing device is made of high-pressure and corrosion-resistant materials to adapt to the special properties of carbon dioxide and the needs of the agricultural environment. When working, the motor of the stirring device drives the central axis to rotate, driving the multi-layer stirring blades to operate simultaneously, thereby effectively breaking the gas-liquid interface, allowing the carbon dioxide bubbles to quickly disperse and fully mix with the carbon fertilizer liquid.
[0056] S3 sends the liquid carbon fertilizer and the purified carbon dioxide into a gas-liquid carbon fertilizer mixing device;
[0057] Optionally, the components of the liquid carbon fertilizer in this embodiment include a carbon dioxide enricher, which is a device or chemical agent that can increase the carbon dioxide concentration in indoor air. It includes the following components by weight: 30-45 parts of microalgae; 12-15 parts of yeast sugar; 10-14 parts of amino acids; 2-4 parts of complexing agent; 2-4 parts of activator; 5-7 parts of water absorbent; 8-12 parts of adsorbent; 100 parts of water. The carbon dioxide enricher in this embodiment does not contain any chemical mineral elements, additives, or chemical hormones. It is formed by modern natural biological algae, comprehensive biological sugars, amino acids and related auxiliary solvents carried by itself.
[0058] S3 obtains temperature data in the gas-liquid carbon fertilizer mixing device through a temperature sensor;
[0059] The S4 temperature sensor is connected to the automation control module. The automation control module receives the temperature data obtained by the temperature sensor, combines it with the carbon fertilizer raw material data, integrates the improved whale optimization algorithm and introduces the spiral search strategy to adjust the current temperature of the gas-liquid carbon fertilizer mixing device, and then starts the gas-liquid carbon fertilizer mixing device to optimize the purity of the carbon fertilizer.
[0060] The specific operation process of the automation control module is as follows:
[0061] (1) Initialization parameters;
[0062] (2) Setting the objective function;
[0063] (3) Introduce the spiral search strategy.
[0064] In step (1), the population is initialized as follows:
[0065] A number of humpback whales are randomly generated and each whale is randomly placed in the space as a candidate solution x = (x 1 ,x 2 ,……,x d ), each variable value (x 1 ,x 2 ,...,x d ) are all floating point types, setting the maximum number of iterations of the algorithm and setting the search space of the algorithm according to the number of iterations.
[0066] In step (2), the objective function is set as follows:
[0067]
[0068] Q=m N +m P2O5 +m K2O +m D +m U (2)
[0069] K=Ε 1 +Ε 2 (3)
[0070]
[0071] Where P is the carbon fertilizer production rate, is the comprehensive coefficient, M is the carbon content of the raw material, N is the raw material mass, T is the reaction temperature, S is the specific surface area of the raw material, Q represents the comprehensive index related to the quality of the carbon fertilizer product, m N , Respectively represent the nitrogen content, phosphorus content, and potassium content in chemical components such as carbon fertilizers, m D is the particle size, m Uis uniformity, K represents energy consumption, E 1 、E 2 Energy consumption is the electricity and fuel consumed in the production process, w 1 、w 2 、w 3 are the weight coefficients of production efficiency, product quality and energy consumption respectively, and w 1 +w 2 +w 3 =1,T k is the real-time temperature, F(x) is the optimal purity of the target carbon fertilizer in the current state, and the output value of the objective function is used to guide the core environmental factors such as temperature. When the core environmental factor is less than 1, the real-time temperature is increased; when the core environmental factor is greater than 1, the real-time temperature is reduced;
[0072] That is, when the value of F(x) is low, the real-time temperature is increased; when the value of F(x) is high, the real-time temperature is reduced. The initial population is brought into the objective function, and the optimal solution F(x) is selected.
[0073] In step (3), the spiral search strategy is introduced as follows: Assuming that the optimal solution in the current population is the prey position or the position close to the target prey, other whale individuals in the population update their positions based on their current positions, the global optimal solution and a certain degree of randomness. When whales are close to the global optimal solution, they will search in a local range in a spiral manner, generating a spiral path between the current position and the position of the global optimal solution, and then the whales move along this path, so that the whales can jump out of the local optimal solution with a certain probability in the search space, thereby increasing the possibility of searching for the global optimal solution.
[0074] The spiral search strategy formula is as follows;
[0075] X(i+1)=X best (i)-A·D (5)
[0076] D=|C·X best (i)-X(i)| (6)
[0077] A=a(2T k -1) (7)
[0078] C=2T k (8)
[0079] a=2-2T k / T (9)
[0080] X(i+1)=D·e bl ·cos(2πl)+X best (i) (10)
[0081] D=|X best (i)-X(i)| (11)
[0082] T k+1 =αT k (12)
[0083] In the formula, X(i+1) is the next position of the whale individual to be updated, X(i) is the current position of the whale individual, that is, the current carbon fertilizer purity, and X best (i) is the current optimal position of the whale, that is, the optimal purity of the carbon fertilizer, D is the distance between the current whale and the optimal solution, A and C are search control coefficients, a is the convergence factor, b is the constant coefficient defining spiral hunting, l is a random number in [-1,1], T k+1 is the real-time temperature after disturbance, and α is the temperature drop coefficient. As the temperature decreases, the probability of the algorithm accepting an inferior solution gradually decreases, the search gradually becomes stable, and finally converges to a better solution.
[0084] The temperature drop strategy of formula (9) is improved. The original temperature drop formula T k+1 =αT k This may cause the algorithm to converge more slowly or easily fall into local optimum in some cases. The improved temperature drop formula is:
[0085] T new =T 0 ×α 0 β×k (13)
[0086] Among them, T 0 is the initial temperature, α 0 is the adjustment coefficient, T new The current temperature after improvement is determined through experiments and experience, usually between 0<α 0 <1. k is the current iteration number, and β is the control parameter used to control the rate of temperature drop.
[0087] The improved whale optimization algorithm is used to calculate and effectively control the temperature in real time, optimize the purity of carbon fertilizer, bring the initial population into the objective function, find the individual with the best fitness in the population, calculate the fitness value F(x), and then iterate to output the optimal solution;
[0088] In addition, CO 2 , core environmental factors and other raw materials are taken as input, and the optimal purity of carbon fertilizer F(x) is output. The target environment is continuously optimized and iterated, and finally the optimal solution is output, thereby optimizing the purity of carbon fertilizer. The stopping condition refers to obtaining the same output value F(x) twice in a row.
[0089] The above description of the embodiments enables professionals and technicians in the field to implement or use the present invention. Various modifications to the embodiments will be apparent to professionals and technicians. The general principles of the present invention can be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention should not be limited to the embodiments shown herein, but should cover the widest range consistent with the principles and novel features disclosed in the present invention.
Claims
1. A method for optimizing the production of industrial and agricultural carbon fertilizer based on a whale optimization algorithm, characterized in that: The method comprises the following steps: S1 captures carbon dioxide from the air and purifies and stores it; S2 constructs a gas-liquid carbon fertilizer mixing device and an automation control module and a temperature sensor corresponding to the gas-liquid carbon fertilizer mixing device; S3 sends the liquid carbon fertilizer and the purified carbon dioxide into a gas-liquid carbon fertilizer mixing device; S3 obtains temperature data in the gas-liquid carbon fertilizer mixing device through a temperature sensor; The S4 temperature sensor is connected to the automation control module, which receives the temperature data obtained by the temperature sensor, combines the carbon fertilizer raw material data, integrates the improved whale optimization algorithm and introduces the spiral search strategy, adjusts the current temperature of the gas-liquid carbon fertilizer mixing device, and then starts the gas-liquid carbon fertilizer mixing device to optimize the purity of the carbon fertilizer.
2. The method for optimizing the production of industrial and agricultural carbon fertilizer based on the whale optimization algorithm according to claim 1 is characterized in that: The specific steps of S1 are as follows: Industrial flue gas is absorbed by the absorption tower, and a chemical reaction occurs with the absorbent to separate carbon dioxide from the flue gas to produce rich liquid. The rich liquid flows into the gas-liquid separator to separate liquid water and carbon dioxide gas. After the rich liquid recovers heat through the heat exchanger, it enters the desorption tower and releases high-purity carbon dioxide under the action of heating. The released carbon dioxide is compressed by a compressor to increase the pressure, and then stored in a storage device.
3. The method for optimizing the production of industrial and agricultural carbon fertilizer based on the whale optimization algorithm according to claim 2 is characterized in that: When high-purity carbon dioxide enters the storage device, the electron beam irradiation device in the storage device uses the specific energy of the electron beam to induce chemical reactions between sulfur-containing and nitrogen-containing compounds, thereby further removing sulfur and nitrogen from the high-purity carbon dioxide gas and further purifying it to obtain extremely high-purity carbon dioxide.
4. The method for optimizing the production of industrial and agricultural carbon fertilizer based on the whale optimization algorithm according to claim 1 is characterized in that: The specific steps of improving the temperature control of the whale optimization algorithm described in S4 are as follows: Initialization parameters: A number of humpback whales are randomly generated and each whale is randomly placed in space as a candidate solution x = (x1, x2, ..., x d ), each variable value (x1,x2,...,x d ) are all floating point types, set the maximum number of iterations of the algorithm, and set the search space of the algorithm according to the number of iterations; Set the objective function: Q=m N +m P2O5 +m K2O +m D +m U (2) K=Ε1+Ε2(3) Where P is the carbon fertilizer production rate, is the comprehensive coefficient, M is the carbon content of the raw material, N is the raw material mass, T is the reaction temperature, S is the specific surface area of the raw material, Q represents the comprehensive index related to the quality of the carbon fertilizer product, m N , Respectively represent the nitrogen content, phosphorus content, and potassium content in chemical components such as carbon fertilizers, m D is the particle size, m U is uniformity, K represents energy consumption, E1 and E2 are the electricity and fuel consumed in the production process, w1, w2, and w3 are the weight coefficients of production efficiency, product quality, and energy consumption, respectively, and w1+w2+w3=1, T k is the real-time temperature, F(x) is the optimal purity of the target carbon fertilizer in the current state, and the output value of the objective function is used to guide core environmental factors such as temperature. When the core environmental factor is less than 1, the automatic control module increases the real-time temperature of the gas-liquid carbon fertilizer mixing device; when the core environmental factor is greater than 1, the automatic control module reduces the real-time temperature of the gas-liquid carbon fertilizer mixing device. The initial population is brought into the objective function, and the optimal solution F(x) is selected.
5. The method for optimizing the production of industrial and agricultural carbon fertilizer based on the whale optimization algorithm according to claim 4 is characterized in that: The specific contents of the spiral search strategy are as follows: When whales are close to the global optimal solution, they search in a local range in a spiral manner, generating a spiral path between the current position and the position of the global optimal solution. The whales move along this path, allowing the whales to jump out of the local optimal solution with a certain probability in the search space. The spiral search strategy formula is as follows; X(i+1)=X best (i)-A·D (5) D=|C·X best (i)-x(i)| (6) A=a(2T k -1) (7) C=2T k (8) a=2-2T k / T (9) X(i+1)=D e bl cos(2πl)+X best (i) (10) D=|X best (i)-X(i)| (11) T k+1 =aT k (12) In the formula, X(i+1) is the next position of the whale individual to be updated, X(i) is the current position of the whale individual, that is, the current carbon fertilizer purity, and X best (i) is the current optimal position of the whale, that is, the optimal purity of the carbon fertilizer, D is the distance between the current whale and the optimal solution, A and C are search control coefficients, a is the convergence factor, b is the constant coefficient defining spiral hunting, l is a random number in [-1,1], T k+1 is the real-time temperature after disturbance, α is the temperature drop coefficient. As the temperature decreases, the probability of the algorithm accepting an inferior solution gradually decreases, the search gradually becomes stable, and finally converges to a better solution.
6. The method for optimizing the production of industrial and agricultural carbon fertilizer based on the whale optimization algorithm according to claim 5 is characterized in that: The temperature drop strategy of formula (9) is improved. The original temperature drop formula T k+1 =αT k This may cause the algorithm to converge slowly or easily fall into local optimum in some cases. The improved temperature drop formula is: T new =T0×α0 β×k (13) Among them, T0 is the initial temperature, α0 is the adjustment coefficient, the value range is [0.1], T new is the current temperature after improvement, k is the current iteration number, and β is the control parameter used to control the rate of temperature drop.
7. The method for optimizing the production of industrial and agricultural carbon fertilizer based on the whale optimization algorithm according to claim 4 is characterized in that: With CO2 concentration, humidity and light as parameter input and the optimal purity of carbon fertilizer F(x) as output, the target environment is continuously optimized and iterated, and finally the optimal solution is output to optimize the purity of carbon fertilizer; the iteration stopping condition is that the same output value F(x) is obtained twice in a row.