IPA production conversion time optimization method and system based on artificial intelligence algorithm fusion
Optimizing the IPA concentration through artificial intelligence algorithms solves the problem of IPA concentration control during online production conversion, quickly finds the optimal time and adjustment strategy for production conversion, reduces time and workload costs, and improves production efficiency and product quality.
Patent Information
- Application Number
- CN202410203040.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-23
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-02-23
AI Technical Summary
During the online production conversion process, it is difficult to accurately predict the IPA concentration control, resulting in substandard product quality. Moreover, the existing method relies on experience, has high time costs and wastes transition materials.
Using methods based on artificial intelligence algorithms, a material balance model is constructed by combining genetic algorithms with ant colony algorithms, optimizing the target to be optimized for IPA concentration, and automatically finding the optimal time for production conversion and adjustment strategies.
It significantly reduces manual trial calculation time and workload, improves the scientificity and objectivity of the production conversion process, reduces waste, and improves production efficiency.
Smart Images

Figure CN118014542B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence algorithm technology, and in particular to an IPA production conversion time optimization method and system based on artificial intelligence algorithm fusion. Background Art
[0002] IPA is a colorless volatile liquid with a slight odor. It is miscible with water and ethanol and can form an azeotrope with water. It can be used in antifreeze, quick-drying oil, etc. It can also be used as a solvent for resins and essential oils. In many cases, it can replace ethanol. IPA can also be used as a coating, rosin water, mixed resins, etc. It is colorless and transparent and can be used in pure natural products.
[0003] During the production process, the production changeover operation is a common operation for brand switching. At present, there are two ways to change production: one is to stop production first, clean the system and then change production. This method is used when continuous production equipment needs to be cleaned; the other is online production changeover, that is, switching production without stopping production. This type of production changeover method is suitable for situations where the equipment does not stop production and the product switching time is short. Online switching is conducive to switching varieties, increasing production flexibility and improving economic benefits. In the domestic market, when product needs are varied and brand switching is frequent, online production changeover is the best choice.
[0004] However, during the online conversion process, the ratio of raw and auxiliary materials will be changed, resulting in the material composition of each reactor in the production process, the semi-finished products at the pelletizer production site, and the finished products of the SSP device not meeting the quality standards of superior products, thereby reducing product quality.
[0005] In general, the feed port is only in the first reactor, and the entire process needs to go through the continuous reaction of the second and third reactors before the final concentration control result is reflected in each reactor. Therefore, this is a process with a large time lag, which poses a great challenge to process control. The current IPA concentration process control for the conversion process is based on the full backmixing assumption and the empirical formula of material balance, and will eventually be recorded in tables or data. Based on the recorded data, a certain pattern is found, that is, the outlet IPA concentration of the first reactor, the second reactor, the third reactor, the fourth reactor, and the last reactor is inferred based on parameters such as material quality and feed volume, thereby guiding the conversion process.
[0006] Therefore, the main defect at this stage is that the IPA concentration is obtained by empirical data and these data are adjusted based on the conversion results. It cannot predict at what time point and what concentration of IPA should be added to achieve the final target product concentration, and it strongly depends on the trial and experience of the process personnel. Experienced process personnel can adjust in the direction of the target according to the results of each trial, but for inexperienced process engineers, this process has too much randomness. In addition, it takes several hours to determine the entire conversion plan, which has a high time cost and produces a lot of transition materials, resulting in huge waste. Summary of the invention
[0007] In view of the problems in the prior art, the present invention provides an IPA production conversion time optimization method, system and device based on artificial intelligence algorithm fusion.
[0008] In order to solve the above problems, the present invention is solved by the following technical solutions:
[0009] An IPA production conversion time optimization method based on artificial intelligence algorithm fusion includes the following steps:
[0010] Obtaining data related to each reactor and constructing a material balance model, wherein the data related to the reactor includes a feed flow rate of each reactor, a discharge flow rate of each reactor, and an IPA concentration entering the first reactor;
[0011] Determine the target model to be optimized of the IPA concentration based on the material balance model, and determine the target to be optimized, wherein the target to be optimized is the feed IPA concentration of each reactor in different time periods;
[0012] The optimization target is optimized by genetic algorithm model and ant colony algorithm model, including the following steps: constructing a genetic algorithm model, encoding the feed IPA concentration into chromosomes in the genetic algorithm model, selecting chromosomes based on the pheromone intensity in the ant colony algorithm model and performing a crossover operation to exchange genes between two chromosomes; randomly selecting chromosomes and genes that meet the preset mutation probability to determine whether they mutate, and randomly adjusting the IPA concentration at a certain time point; and then obtaining the optimal IPA adjustment strategy and the optimal conversion time.
[0013] As an implementable embodiment, the material balance model is expressed as follows:
[0014]
[0015] Where t represents the time required for the xth reactor to reach the final IPA concentration from the initial state, V x represents the volume of the xth reactor, C IPA,x represents the final IPA concentration in the xth reactor, Fin,x and F out,x They represent the feed flow rate and discharge flow rate of the xth reactor, respectively, C in,IPA,x represents the IPA concentration entering the xth reactor, C IPA,x =C in,IPA,x+1 , indicating that the IPA concentration of the xth reactor is equal to the IPA concentration of the feed to the x+1th reactor.
[0016] As an implementable method, determining the target model to be optimized of the IPA concentration based on the material balance model, and determining the target to be optimized include the following steps:
[0017] Based on the material balance model, determining the relevant constraints of the conversion process to be optimized, wherein the relevant constraints include the material balance relationship of each reactor, the standard range of IPA concentration in the conversion process, and the maximum feed IPA concentration;
[0018] The initial feed IPA concentration is determined by the material balance relationship of each reactor, the IPA concentration range during the conversion process, and the maximum feed IPA concentration;
[0019] Based on the preset optimization target model and combined with the initial feed IPA concentration, the feed IPA concentration of each reactor in different time periods is adjusted to obtain the target to be optimized;
[0020] The preset optimization target model is expressed as follows:
[0021]
[0022] Where t represents the time required for the xth reactor to reach the final IPA concentration from the initial state, V x represents the volume of the xth reactor, F in,x and F out,x They represent the feed flow rate and discharge flow rate of the xth reactor, respectively, C IPA,x represents the IPA concentration in the xth reactor, C IPA,x Represents the final IPA concentration in the xth reactor.
[0023] As an implementable method, the genetic algorithm model is constructed, the feed IPA concentration is encoded as a chromosome in the genetic algorithm model, and the chromosome is selected based on the pheromone intensity in the ant colony algorithm model to perform a crossover operation to exchange genes between two chromosomes, including the following steps:
[0024] A genetic algorithm model was constructed to encode the IPA concentration of the feed into chromosomes, and each gene on each chromosome represented the IPA concentration at a certain time point;
[0025] Each chromosome is randomly initialized, and the feed IPA concentration and the corresponding adjustment times at different time points of the production transition are preset;
[0026] Chromosomes are selected based on the pheromone strength of the ant colony algorithm model and retained to the next generation;
[0027] The chromosomes that are retained to the next generation are subjected to a crossover operation to exchange genes between the two chromosomes.
[0028] As an implementable method, the pheromone strength based on the ant colony algorithm model is used to select chromosomes and retain them to the next generation, including the following steps:
[0029] The preset pheromone strength is updated based on the fitness information of the chromosome to obtain a new pheromone strength, which is expressed as follows:
[0030] τ i =ρ×τ i +Δτ i
[0031] Among them, τ i represents the current pheromone intensity of chromosome i, ρ represents the pheromone evaporation rate, Δτ i represents the pheromone increment calculated based on the fitness information of chromosome i;
[0032] Based on the fitness information and the new pheromone strength, the selection probability is obtained, the selection probability threshold is set, and the chromosome is selected to obtain a suitable chromosome. The selection probability is expressed as follows:
[0033]
[0034] P select (i) represents the selection probability, fit(i) represents the fitness information of chromosome i, fit(j) represents the fitness information of chromosome j, τ i represents the current pheromone strength of chromosome i, τ j represents the current pheromone strength of chromosome j, i, j is any number between 1 and w, and w represents the number of all chromosomes.
[0035] As an implementation method, the crossover operation is performed on the chromosomes retained to the next generation to exchange genes between the two chromosomes, comprising the following steps:
[0036] The selection probability is modified and two chromosomes that meet the conditions are selected for crossover to obtain a chromosome crossover pair. The selection probability is modified and expressed as follows:
[0037]
[0038] fit(i), fit(j) are the fitness information of chromosome i and j respectively, τ i τ j Respectively represent the pheromone concentration of chromosomes i and j, k and l represent traversing all possible chromosome pairs, i and j are any numbers from 1 to w, and w represents the number of all chromosomes;
[0039] Based on the pheromone intensity, the crossover point is determined, and the one with the highest pheromone intensity is selected as the chromosome crossover point;
[0040] Based on chromosome crossover pairs and chromosome crossover points, the chromosomes are crossover operated.
[0041] As an implementable method, the method of randomly selecting chromosomes and genes that meet a preset mutation probability to determine whether they are mutated, and randomly adjusting the IPA concentration at a certain time point, includes the following steps:
[0042] The initial mutation probability is adjusted based on the pheromone intensity to obtain a new mutation probability;
[0043] Based on the comparison between the mutation probability of each chromosome and the new mutation probability, it is determined whether to perform mutation processing, and the mutation processing is achieved by randomly adjusting the IPA concentration at a certain time point;
[0044] Wherein, the new mutation probability is expressed as follows:
[0045]
[0046] p base represents the initial mutation probability, α represents the adjustment factor, τ i represents the current pheromone strength of chromosome i, τ max Indicates the maximum pheromone intensity in the current population.
[0047] An IPA production conversion time optimization system based on artificial intelligence algorithm fusion, including an acquisition building module, a target determination module and a target optimization module;
[0048] The acquisition and construction module acquires data related to each reactor and constructs a material balance model, wherein the data related to the reactor includes the IPA concentration in each reactor, the feed flow rate of each reactor, the discharge flow rate of each reactor, and the IPA concentration entering the first reactor;
[0049] The target determination module determines a target model to be optimized of IPA concentration based on the material balance model, and determines a target to be optimized, wherein the target to be optimized is the feed IPA concentration of each reactor in different time periods;
[0050] The target optimization module optimizes the target to be optimized through a genetic algorithm model and an ant colony algorithm model, and includes the following steps: constructing a genetic algorithm model, encoding the feed IPA concentration as a chromosome in the genetic algorithm model, and selecting the chromosome based on the pheromone intensity in the ant colony algorithm model to perform a crossover operation to exchange genes between two chromosomes; randomly selecting chromosomes and genes that meet a preset mutation probability to determine whether they mutate, and randomly adjusting the IPA concentration at a certain time point, thereby obtaining the optimal IPA adjustment strategy and the optimal conversion time.
[0051] As an implementable method, the target optimization module is configured as follows:
[0052] A genetic algorithm model was constructed to encode the IPA concentration of the feed into chromosomes, and each gene on each chromosome represented the IPA concentration at a certain time point;
[0053] Each chromosome is randomly initialized, and the feed IPA concentration and the corresponding adjustment times at different time points of the production transition are preset;
[0054] Chromosomes are selected based on the pheromone strength of the ant colony algorithm model and retained to the next generation;
[0055] The chromosomes retained to the next generation are subjected to a crossover operation to exchange genes between the two chromosomes;
[0056] The method of selecting chromosomes based on the pheromone strength of the ant colony algorithm model and retaining them to the next generation includes the following steps:
[0057] The preset pheromone strength is updated based on the fitness information of the chromosome to obtain a new pheromone strength, which is expressed as follows:
[0058] τ i =ρ×τ i +Δτ i
[0059] Among them, τ i represents the current pheromone intensity of chromosome i, ρ represents the pheromone evaporation rate, Δτ i represents the pheromone increment calculated based on the fitness information of chromosome i;
[0060] Based on the fitness information and the new pheromone strength, the selection probability is obtained, the selection probability threshold is set, and the chromosome is selected to obtain a suitable chromosome. The selection probability is expressed as follows:
[0061]
[0062] P select(i) represents the selection probability, fit(i) represents the fitness information of chromosome i, fit(j) represents the fitness information of chromosome j, τ i represents the current pheromone strength of chromosome i, τ j represents the current pheromone strength of chromosome j, i, j is any number between 1 and w, and w represents the number of all chromosomes;
[0063] The step of performing a crossover operation on the chromosomes retained to the next generation to exchange genes between the two chromosomes comprises the following steps:
[0064] The selection probability is modified and two chromosomes that meet the conditions are selected for crossover to obtain a chromosome crossover pair. The selection probability is modified and expressed as follows:
[0065]
[0066] fit(i), fit(j) are the fitness information of chromosome i and j respectively, τ i τ j Respectively represent the pheromone concentration of chromosomes i and j, k and l represent traversing all possible chromosome pairs, i and j are any numbers from 1 to w, and w represents the number of all chromosomes;
[0067] Based on the pheromone intensity, the crossover point is determined, and the one with the highest pheromone intensity is selected as the chromosome crossover point;
[0068] Based on chromosome crossover pairs and chromosome crossover points, the chromosomes are crossover operated.
[0069] As an implementable method, the target optimization module is configured as follows:
[0070] The initial mutation probability is adjusted based on the pheromone intensity to obtain a new mutation probability;
[0071] Based on the comparison between the mutation probability of each chromosome and the new mutation probability, it is determined whether to perform mutation processing, and the mutation processing is achieved by randomly adjusting the IPA concentration at a certain time point;
[0072] Among them, the new mutation probability is expressed as follows:
[0073]
[0074] p base represents the initial mutation probability, α represents the adjustment factor, τ i represents the current pheromone strength of chromosome i, τ max Indicates the maximum pheromone intensity in the current population.
[0075] A computer program product comprises computer instructions, which, when executed by a processor, implement the following method:
[0076] Obtaining data related to each reactor and constructing a material balance model, wherein the data related to the reactor includes a feed flow rate of each reactor, a discharge flow rate of each reactor, and an IPA concentration entering the first reactor;
[0077] Determine the target model to be optimized of the IPA concentration based on the material balance model, and determine the target to be optimized, wherein the target to be optimized is the feed IPA concentration of each reactor in different time periods;
[0078] The optimization target is optimized by genetic algorithm model and ant colony algorithm model, including the following steps: constructing a genetic algorithm model, encoding the feed IPA concentration into chromosomes in the genetic algorithm model, selecting chromosomes based on the pheromone intensity in the ant colony algorithm model and performing a crossover operation to exchange genes between two chromosomes; randomly selecting chromosomes and genes that meet the preset mutation probability to determine whether they mutate, and randomly adjusting the IPA concentration at a certain time point; and then obtaining the optimal IPA adjustment strategy and the optimal conversion time.
[0079] An IPA production conversion time optimization method device based on artificial intelligence algorithm fusion includes a memory, a processor, and a computer program stored in the memory and running on the processor. When the processor executes the computer program, the following method is implemented:
[0080] Obtaining data related to each reactor and constructing a material balance model, wherein the data related to the reactor includes a feed flow rate of each reactor, a discharge flow rate of each reactor, and an IPA concentration entering the first reactor;
[0081] Determine the target model to be optimized of the IPA concentration based on the material balance model, and determine the target to be optimized, wherein the target to be optimized is the feed IPA concentration of each reactor in different time periods;
[0082] The optimization target is optimized by genetic algorithm model and ant colony algorithm model, including the following steps: constructing a genetic algorithm model, encoding the feed IPA concentration into chromosomes in the genetic algorithm model, selecting chromosomes based on the pheromone intensity in the ant colony algorithm model and performing a crossover operation to exchange genes between two chromosomes; randomly selecting chromosomes and genes that meet the preset mutation probability to determine whether they mutate, and randomly adjusting the IPA concentration at a certain time point; and then obtaining the optimal IPA adjustment strategy and the optimal conversion time.
[0083] The present invention has significant technical effects due to the adoption of the above technical solution:
[0084] The present invention combines production conversion with artificial intelligence algorithms, firstly establishes a material balance model based on various relevant data, determines the target model to be optimized, and then determines the optimization target. In the present invention, the genetic algorithm model and the ant colony algorithm model are used to automatically optimize the target to be optimized, and the optimal time for production conversion can be found in a relatively short time, and the adjustment strategy of IPA is given, which greatly reduces the time and workload cost of manual trial calculation, and is more scientific and objective. BRIEF DESCRIPTION OF THE DRAWINGS
[0085] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0086] Figure 1 It is a schematic flow diagram of the method of the present invention;
[0087] Figure 2 is a flow chart of an embodiment of the present invention;
[0088] Figure 3 is a flow chart of another embodiment of the present invention;
[0089] Figure 4 It is a schematic diagram of the overall process of the method of the present invention;
[0090] Figure 5 It is an overall schematic diagram of the system of the present invention. DETAILED DESCRIPTION
[0091] The present invention is further described in detail below in conjunction with embodiments. The following embodiments are for explanation of the present invention but the present invention is not limited to the following embodiments.
[0092] Embodiment 1:
[0093] An IPA production conversion time optimization method based on artificial intelligence algorithm fusion, such as Figure 1 As shown, the following steps are included:
[0094] S100: Acquire relevant data of each reactor and construct a material balance model, wherein the relevant data of the reactor includes a feed flow rate of each reactor, a discharge flow rate of each reactor, and an IPA concentration entering the first reactor;
[0095] S200: Determine a target model to be optimized of IPA concentration based on the material balance model, and determine a target to be optimized, wherein the target to be optimized is the feed IPA concentration of each reactor in different time periods;
[0096] S300: Optimizing the optimization target through the genetic algorithm model and the ant colony algorithm model, including the following steps: constructing a genetic algorithm model, encoding the feed IPA concentration into chromosomes in the genetic algorithm model, and selecting chromosomes based on the pheromone intensity in the ant colony algorithm model and then performing a crossover operation to exchange genes between two chromosomes; randomly selecting chromosomes and genes that meet the preset mutation probability to determine whether they are mutated, and randomly adjusting the IPA concentration at a certain time point; and then obtaining the optimal IPA adjustment strategy and the optimal conversion time.
[0097] The present invention combines production conversion with artificial intelligence algorithms. First, a material balance model is established based on various relevant data to determine the target model to be optimized and the target to be optimized. In the present invention, the target to be optimized is automatically optimized through a genetic algorithm model and an ant colony algorithm model. The optimal time for production conversion can be found in a relatively short time, and an adjustment strategy for IPA can be given, which greatly reduces the time and workload cost of manual trial calculation and is more scientific and objective.
[0098] In one embodiment, the material balance model is expressed as follows:
[0099]
[0100] Where t represents the time required for the xth reactor to reach the final IPA concentration from the initial state, V x represents the volume of the xth reactor, C IPA,x represents the final IPA concentration in the xth reactor, F in,x and F out,x They represent the feed flow rate and discharge flow rate of the xth reactor, respectively, C in,IPA,x represents the IPA concentration entering the xth reactor, C IPA,x =C in,IPA,x+1 , indicating that the IPA concentration of the xth reactor is equal to the IPA concentration of the feed to the x+1th reactor.
[0101] In step S200, determining the target model to be optimized of the IPA concentration based on the material balance model, and determining the target to be optimized, includes the following steps:
[0102] S210, based on the material balance model, determining relevant constraints of the conversion process to be optimized, wherein the relevant constraints include the material balance relationship of each reactor, the standard range of IPA concentration in the conversion process, and the maximum feed IPA concentration;
[0103] S220, determining the initial feed IPA concentration and the number of times the IPA concentration is adjusted based on the material balance relationship of each reactor, the IPA concentration reaching the standard range during the conversion process, and the maximum feed IPA concentration;
[0104] S230, based on the preset optimization target model, combined with the initial feed IPA concentration and the number of adjustments to the IPA concentration, the feed IPA concentration of each reactor in different time periods is adjusted to obtain the target to be optimized.
[0105] The preset optimization target model in step S230 is expressed as:
[0106]
[0107] Where t represents the time required for the xth reactor to reach the final IPA concentration from the initial state, V x represents the volume of the xth reactor, F in,x and F out,x They represent the feed flow rate and discharge flow rate of the xth reactor, respectively, C IPA,x represents the IPA concentration in the xth reactor, C IPA,x Represents the final IPA concentration in the xth reactor.
[0108] In this field, the optimization process is to find the most appropriate random adjustment of the IPA concentration at a certain time point, and then obtain the optimal IPA adjustment strategy and the optimal conversion time. Here, the adjustment strategy can be understood as adjusting the time and IPA concentration. Only by adjusting the strategy can the optimal conversion time be obtained. This whole set of logic can ensure the highest efficiency and the best time control of the conversion. The existing genetic algorithm is a search algorithm used to solve optimization in computational mathematics, and is a kind of evolutionary algorithm. There is a good solution to the optimization problem, that is, to evolve a population of abstract representations (called chromosomes) of a certain number of candidate solutions (called individuals) to a better solution. Generally, a binary representation (i.e., a string of 0 and 1) is used, and evolution starts from a population of completely random individuals, and then occurs generation after generation. In each generation, the fitness information of the entire population is evaluated, and multiple individuals are randomly selected from the current population (based on their fitness information). A new life population is generated through natural selection and mutation, and the population becomes the current population in the next iteration of the algorithm. So, how can the IPA concentration in this field and the genetic algorithm be combined?
[0109] First, the decision variable of the optimization problem (i.e., the IPA concentration of the feed) is encoded as a chromosome, where binary encoding or real number encoding can be used, and real number encoding is used in this application;
[0110] Design chromosome structure: Each chromosome represents a potential solution. The chromosome can be composed of a series of genes representing the operating parameters at different time points. In this field, a gene can represent the IPA concentration at a specific time point.
[0111] Generate an initial population: The initial population consists of multiple randomly generated chromosomes, each of which is randomly initialized to cover the possible range of the decision variable. For example, if you consider adjusting the IPA concentration every 10 minutes within an hour, each chromosome will contain 6 genes, each representing the IPA concentration at a 10-minute time point. A possible chromosome (i.e., a potential solution) can be: [0.35, 0.5, 1.2, 1.8, 2.0, 2.2] This represents the IPA concentration value planned to be achieved at different time points in the conversion process;
[0112] Chromosome selection strategy: The selection process determines which chromosomes are retained to the next generation. In this step, based on the fitness information of the chromosomes, potential excellent solutions are selected to enter the next generation. In the ant colony algorithm, pheromones can be used to indicate the quality of the path. In addition, the fitness information in the genetic algorithm is used to select chromosomes for crossover and mutation. Determine the crossover probability and then judge whether the chromosome participates in the crossover;
[0113] Formulate mutation strategy: Mutation is the process of introducing random changes in the genes of chromosomes to increase the diversity of the population. The mutation probability is set and chromosomes and genes are randomly selected for mutation.
[0114] Therefore, the optimization is performed by the following method, referring to step S300, wherein a genetic algorithm model is constructed, the feed IPA concentration is encoded as a chromosome in the genetic algorithm model, and the chromosome is selected based on the pheromone intensity in the ant colony algorithm model to perform a crossover operation to exchange genes between two chromosomes, including the following steps:
[0115] S310, constructing a genetic algorithm model, encoding the IPA concentration of the feed into chromosomes, and each gene on each chromosome represents the IPA concentration at a certain time point;
[0116] S320, randomly initialize each chromosome, preset the feed IPA concentration and the corresponding adjustment times at different time points of the production transition;
[0117] S330, selecting chromosomes based on the pheromone strength of the ant colony algorithm model and retaining them to the next generation;
[0118] S340. Perform a crossover operation on the chromosomes retained to the next generation to exchange genes between the two chromosomes.
[0119] And in step S300, the randomly selected chromosomes and genes that meet the preset mutation probability are judged whether they are mutated, and the IPA concentration at a certain time point is randomly adjusted, including the following steps:
[0120] The initial mutation probability is adjusted based on the pheromone intensity to obtain a new mutation probability;
[0121] Based on the comparison between the mutation probability of each chromosome and the new mutation probability, it is determined whether to perform mutation processing, and the mutation processing is achieved by randomly adjusting the IPA concentration at a certain time point;
[0122] Wherein, the new mutation probability is expressed as follows:
[0123]
[0124] p base represents the initial mutation probability, α represents the adjustment factor, τ i represents the current pheromone strength of chromosome i, τ max Indicates the maximum pheromone intensity in the current population.
[0125] In addition, in one embodiment, the pheromone strength based on the ant colony algorithm model is used to select chromosomes and retain them to the next generation, comprising the following steps:
[0126] The preset pheromone strength is updated based on the fitness information of the chromosome to obtain a new pheromone strength, which is expressed as follows:
[0127] τ i =ρ×τ i +Δτ i
[0128] Among them, τ i represents the current pheromone intensity of chromosome i, ρ represents the pheromone evaporation rate, Δτ i represents the pheromone increment calculated based on the fitness information of chromosome i;
[0129] Based on the fitness information and the new pheromone strength, the selection probability is obtained, the selection probability threshold is set, and the chromosome is selected to obtain a suitable chromosome. The selection probability is expressed as follows:
[0130]
[0131] P select (i) represents the selection probability, fit(i) represents the fitness information of chromosome i, fit(j) represents the fitness information of chromosome j, τ i represents the current pheromone strength of chromosome i, τ jrepresents the current pheromone strength of chromosome j, i, j is any number between 1 and w, and w represents the number of all chromosomes.
[0132] The crossover operation is performed on the chromosomes retained to the next generation to exchange genes between the two chromosomes, including the following steps:
[0133] The selection probability is modified and two chromosomes that meet the conditions are selected for crossover to obtain a chromosome crossover pair. The selection probability is modified and expressed as follows:
[0134]
[0135] fit(i), fit(j) are the fitness information of chromosome i and j respectively, τ i τ j Respectively represent the pheromone concentration of chromosomes i and j, k and l represent traversing all possible chromosome pairs, i and j are any numbers from 1 to w, and w represents the number of all chromosomes;
[0136] Based on the pheromone intensity, the crossover point is determined, and the one with the highest pheromone intensity is selected as the chromosome crossover point;
[0137] Based on chromosome crossover pairs and chromosome crossover points, the chromosomes are crossover operated.
[0138] In actual operation, the whole method can be found in the attached Figure 4 As shown, Figure 4 This is a complete optimization process of the present invention during actual operation.
[0139] In the present invention, if special circumstances occur, the staff may manually adjust the number of times. This adjustment can be understood as passive adjustment, and the purpose of the adjustment is also to deal with emergencies. For example, the prediction results may be based on manual experience data with large deviations or emergencies may cause changes in the relevant data of the entire reactor.
[0140] Embodiment 2:
[0141] An IPA production conversion time optimization system based on artificial intelligence algorithm fusion, such as Figure 5 As shown, it includes an acquisition construction module 100, a target determination module 200 and a target optimization module 300;
[0142] The acquisition and construction module 100 acquires data related to each reactor and constructs a material balance model, wherein the data related to the reactor includes the IPA concentration in each reactor, the feed flow rate of each reactor, the discharge flow rate of each reactor, and the IPA concentration entering the first reactor;
[0143] The target determination module 200 determines a target model to be optimized of IPA concentration based on the material balance model, and determines a target to be optimized, wherein the target to be optimized is the feed IPA concentration of each reactor in different time periods;
[0144] The target optimization module 300 optimizes the target to be optimized through a genetic algorithm model and an ant colony algorithm model, and includes the following steps: constructing a genetic algorithm model, encoding the feed IPA concentration as a chromosome in the genetic algorithm model, and selecting the chromosome based on the pheromone intensity in the ant colony algorithm model and then performing a crossover operation to exchange genes between two chromosomes; randomly selecting chromosomes and genes that meet a preset mutation probability to determine whether they are mutated, and randomly adjusting the IPA concentration at a certain time point, thereby obtaining the optimal IPA adjustment strategy and the optimal conversion time.
[0145] As an implementable embodiment, the target optimization module is configured as follows:
[0146] A genetic algorithm model was constructed to encode the IPA concentration of the feed into chromosomes, and each gene on each chromosome represented the IPA concentration at a certain time point;
[0147] Each chromosome is randomly initialized, and the feed IPA concentration and the corresponding adjustment times at different time points of the production transition are preset;
[0148] Chromosomes are selected based on the pheromone strength of the ant colony algorithm model and retained to the next generation;
[0149] The chromosomes retained to the next generation are subjected to a crossover operation to exchange genes between the two chromosomes;
[0150] The method of selecting chromosomes based on the pheromone strength of the ant colony algorithm model and retaining them to the next generation includes the following steps:
[0151] The preset pheromone strength is updated based on the fitness information of the chromosome to obtain a new pheromone strength, which is expressed as follows:
[0152] τ i =ρ×τ i +Δτ i
[0153] Among them, τ i represents the current pheromone intensity of chromosome i, ρ represents the pheromone evaporation rate, Δτ i represents the pheromone increment calculated based on the fitness information of chromosome i;
[0154] Based on the fitness information and the new pheromone strength, the selection probability is obtained, the selection probability threshold is set, and the chromosome is selected to obtain a suitable chromosome. The selection probability is expressed as follows:
[0155]
[0156] P select (i) represents the selection probability, fit(i) represents the fitness information of chromosome i, fit(j) represents the fitness information of chromosome j, τ i represents the current pheromone strength of chromosome i, τ j represents the current pheromone strength of chromosome j, i,j is any number between 1 and w, and w represents the number of all chromosomes;
[0157] The step of performing a crossover operation on the chromosomes retained to the next generation to exchange genes between the two chromosomes comprises the following steps:
[0158] The selection probability is modified and two chromosomes that meet the conditions are selected for crossover to obtain a chromosome crossover pair. The selection probability is modified and expressed as follows:
[0159]
[0160] fit(i), fit(j) are the fitness information of chromosome i and j respectively, τ i τ j Respectively represent the pheromone concentration of chromosomes i and j, k and l represent traversing all possible chromosome pairs, i and j are any numbers from 1 to w, and w represents the number of all chromosomes;
[0161] Based on the pheromone intensity, the crossover point is determined, and the one with the highest pheromone intensity is selected as the chromosome crossover point;
[0162] Based on chromosome crossover pairs and chromosome crossover points, the chromosomes are crossover operated.
[0163] As an implementable embodiment, the target optimization module is configured as follows:
[0164] The initial mutation probability is adjusted based on the pheromone intensity to obtain a new mutation probability;
[0165] Based on the comparison between the mutation probability of each chromosome and the new mutation probability, it is determined whether to perform mutation processing, and the mutation processing is achieved by randomly adjusting the IPA concentration at a certain time point;
[0166] Wherein, the new mutation probability is expressed as follows:
[0167]
[0168] pb ase represents the initial mutation probability, α represents the adjustment factor, τ irepresents the current pheromone strength of chromosome i, τ max Indicates the maximum pheromone intensity in the current population.
[0169] Various changes and modifications can be made without departing from the spirit and scope of the present invention, and all equivalent technical solutions also belong to the scope of the present invention.
[0170] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0171] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0172] The present invention is described with reference to the flowcharts and / or block diagrams of the method, terminal device (system), and computer program product according to the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0173] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0174] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0175] It should be noted that:
[0176] The "one embodiment" or "embodiment" mentioned in the specification means that the specific features, structures or characteristics described in conjunction with the embodiment are included in at least one embodiment of the present invention. Therefore, the phrases "one embodiment" or "embodiment" appearing in various places throughout the specification do not necessarily refer to the same embodiment.
[0177] In addition, it should be noted that the shapes and names of the parts and components of the specific embodiments described in this specification may be different. Any equivalent or simple changes made based on the structure, features and principles described in the patent concept of the present invention are included in the protection scope of the patent of the present invention. The technicians in the technical field of the present invention can make various modifications or supplements to the specific embodiments described or replace them in a similar manner, as long as they do not deviate from the structure of the present invention or exceed the scope defined by the claims, they should all fall within the protection scope of the present invention.
Claims
1. An IPA production conversion time optimization method based on artificial intelligence algorithm fusion, characterized in that: The following steps are involved: Obtaining data related to each reactor and constructing a material balance model, wherein the data related to the reactor includes a feed flow rate of each reactor, a discharge flow rate of each reactor, and an IPA concentration entering the first reactor; Determine the target model to be optimized of the IPA concentration based on the material balance model, and determine the target to be optimized, wherein the target to be optimized is the feed IPA concentration of each reactor in different time periods; The optimization target is optimized by using the genetic algorithm model and the ant colony algorithm model, specifically: constructing a genetic algorithm model, encoding the feed IPA concentration as a chromosome in the genetic algorithm model, and selecting the chromosome based on the pheromone intensity in the ant colony algorithm model to perform a crossover operation to exchange genes between two chromosomes; randomly selecting chromosomes and genes that meet the preset mutation probability to determine whether they mutate, and randomly adjusting the IPA concentration at a certain time point; and then obtaining the optimal IPA adjustment strategy and the optimal conversion time; The genetic algorithm model is constructed, the feed IPA concentration is encoded as a chromosome in the genetic algorithm model, and the chromosome is selected based on the pheromone intensity in the ant colony algorithm model to perform a crossover operation to exchange genes between two chromosomes, including the following steps: A genetic algorithm model was constructed to encode the IPA concentration of the feed into chromosomes, and each gene on each chromosome represented the IPA concentration at a certain time point; Each chromosome is randomly initialized, and the feed IPA concentration and the corresponding adjustment times at different time points of the production transition are preset; Chromosomes are selected based on the pheromone strength of the ant colony algorithm model and retained to the next generation; The chromosomes retained to the next generation are subjected to a crossover operation to exchange genes between the two chromosomes; The method of selecting chromosomes based on the pheromone strength of the ant colony algorithm model and retaining them to the next generation includes the following steps: The preset pheromone strength is updated based on the fitness information of the chromosome to obtain a new pheromone strength, which is expressed as follows: Based on the fitness information and the new pheromone strength, the selection probability is obtained, the selection probability threshold is set, and the chromosome is selected to obtain a suitable chromosome. The selection probability is expressed as follows: The step of performing a crossover operation on the chromosomes retained to the next generation to exchange genes between the two chromosomes comprises the following steps: The selection probability is modified and two chromosomes that meet the conditions are selected for crossover to obtain a chromosome crossover pair. The selection probability is modified and expressed as follows: Based on the pheromone intensity, the crossover point is determined, and the one with the highest pheromone intensity is selected as the chromosome crossover point; Based on chromosome crossover pairs and chromosome crossover points, the chromosomes are crossover operated; in, represents the probability of selection after modification, , It means traversing all possible chromosome pairs. , belong Any number in represents the total number of chromosomes, represents the probability of selection, Represents chromosome The fitness information of Represents chromosome The fitness information of Represents chromosome The current pheromone strength, Represents chromosome The current pheromone strength, represents the pheromone evaporation rate, Chromosome-based The pheromone increment is calculated based on the fitness information.
2. The IPA production conversion time optimization method based on artificial intelligence algorithm fusion according to claim 1 is characterized in that: The material balance model is expressed as follows: in, Indicates The time required for a reactor to reach the final IPA concentration from the initial state, Indicates The volume of the reactor, Indicates The final IPA concentration in each reactor is and Respectively represent The feed and discharge flow rates of each reactor, Indicates entering IPA concentration of each reactor, , indicating the The IPA concentration in the first reactor is equal to that in the IPA concentration in each reactor feed.
3. The IPA production conversion time optimization method based on artificial intelligence algorithm fusion according to claim 1 is characterized in that: Determining the target model to be optimized of IPA concentration based on the material balance model and determining the target to be optimized comprises the following steps: Based on the material balance model, determining the relevant constraints of the conversion process to be optimized, wherein the relevant constraints include the material balance relationship of each reactor, the standard range of IPA concentration in the conversion process, and the maximum feed IPA concentration; The initial feed IPA concentration is determined by the material balance relationship of each reactor, the IPA concentration range during the conversion process, and the maximum feed IPA concentration; Based on the preset optimization target model and combined with the initial feed IPA concentration, the feed IPA concentration of each reactor in different time periods is adjusted to obtain the target to be optimized; The preset optimization target model is expressed as follows: in, Indicates The time required for a reactor to reach the final IPA concentration from the initial state, Indicates The volume of the reactor, and Respectively represent The feed and discharge flow rates of each reactor, Indicates entering IPA concentration of each reactor, Indicates Final IPA concentration in each reactor.
4. The IPA production conversion time optimization method based on artificial intelligence algorithm fusion according to claim 1 is characterized in that: The method of randomly selecting chromosomes and genes that meet the preset mutation probability to determine whether they are mutated and randomly adjusting the IPA concentration at a certain time point includes the following steps: The initial mutation probability is adjusted based on the pheromone intensity to obtain a new mutation probability; Based on the comparison between the mutation probability of each chromosome and the new mutation probability, it is determined whether to perform mutation processing, and the mutation processing is achieved by randomly adjusting the IPA concentration at a certain time point; Wherein, the new mutation probability is expressed as follows: represents the probability of new mutation, represents the initial mutation probability, represents the adjustment factor, Represents chromosome The current pheromone strength, Indicates the maximum pheromone intensity in the current population.
5. An IPA production conversion time optimization system based on artificial intelligence algorithm fusion, characterized in that: It includes acquisition building module, target determination module and target optimization module; The acquisition and construction module acquires data related to each reactor and constructs a material balance model, wherein the data related to the reactor includes the IPA concentration in each reactor, the feed flow rate of each reactor, the discharge flow rate of each reactor, and the IPA concentration entering the first reactor; The target determination module determines a target model to be optimized of IPA concentration based on the material balance model, and determines a target to be optimized, wherein the target to be optimized is the feed IPA concentration of each reactor in different time periods; The target optimization module optimizes the target to be optimized through the genetic algorithm model and the ant colony algorithm model, and includes the following steps: constructing a genetic algorithm model, encoding the feed IPA concentration as a chromosome in the genetic algorithm model, and selecting the chromosome based on the pheromone intensity in the ant colony algorithm model to perform a crossover operation to exchange genes between two chromosomes; randomly selecting chromosomes and genes that meet the preset mutation probability to determine whether they are mutated, and randomly adjusting the IPA concentration at a certain time point, thereby obtaining the optimal IPA adjustment strategy and the optimal production conversion time; Wherein, the target optimization module is set to: A genetic algorithm model was constructed to encode the IPA concentration of the feed into chromosomes, and each gene on each chromosome represented the IPA concentration at a certain time point; Each chromosome is randomly initialized, and the feed IPA concentration and the corresponding adjustment times at different time points of the production transition are preset; Chromosomes are selected based on the pheromone strength of the ant colony algorithm model and retained to the next generation; The chromosomes retained to the next generation are subjected to a crossover operation to exchange genes between the two chromosomes; The method of selecting chromosomes based on the pheromone strength of the ant colony algorithm model and retaining them to the next generation includes the following steps: The preset pheromone strength is updated based on the fitness information of the chromosome to obtain a new pheromone strength, which is expressed as follows: Represents chromosome The current pheromone strength, represents the pheromone evaporation rate, Chromosome-based The pheromone increment calculated from the fitness information; Based on the fitness information and the new pheromone strength, the selection probability is obtained, the selection probability threshold is set, and the chromosome is selected to obtain a suitable chromosome. The selection probability is expressed as follows: represents the probability of selection, Represents chromosome The fitness information of Represents chromosome The current pheromone strength, Indicates the number of chromosomes; The step of performing a crossover operation on the chromosomes retained to the next generation to exchange genes between the two chromosomes comprises the following steps: The selection probability is modified and two chromosomes that meet the conditions are selected for crossover to obtain a chromosome crossover pair. The selection probability is modified and expressed as follows: represents the probability of selection after modification, , Chromosomes , The fitness information of , Represents chromosomes , The current pheromone strength, , Indicates traversal of all possible chromosome pairs; Based on the pheromone intensity, the crossover point is determined, and the one with the highest pheromone intensity is selected as the chromosome crossover point; Based on chromosome crossover pairs and chromosome crossover points, the chromosomes are crossover operated.
6. The IPA production conversion time optimization system based on artificial intelligence algorithm fusion according to claim 5 is characterized in that: The target optimization module is set to: The initial mutation probability is adjusted based on the pheromone intensity to obtain a new mutation probability; Based on the comparison between the mutation probability of each chromosome and the new mutation probability, it is determined whether to perform mutation processing, and the mutation processing is achieved by randomly adjusting the IPA concentration at a certain time point; Among them, the new mutation probability is expressed as follows: represents the probability of new mutation, represents the initial mutation probability, represents the adjustment factor, Represents chromosome The current pheromone strength, Indicates the maximum pheromone intensity in the current population.
7. A computer program product, characterized in that The method comprises computer instructions, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 4.
8. An IPA production conversion time optimization method and device based on artificial intelligence algorithm fusion, comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 4 is implemented.
Citation Information
Patent Citations
Steelmaking-continuous casting production operation plan and real-time dispatching optimization method and system based on mixed intelligent optimization algorithm
CN101770615A
Video server location selection method based on genetic ant colony hybrid algorithm
CN108573326A
