CN114741772B - Method for solving design problem of partition wall rectifying tower based on heuristic algorithm - Google Patents
Method for solving design problem of partition wall rectifying tower based on heuristic algorithm Download PDFInfo
- Publication number
- CN114741772B CN114741772B CN202210532175.1A CN202210532175A CN114741772B CN 114741772 B CN114741772 B CN 114741772B CN 202210532175 A CN202210532175 A CN 202210532175A CN 114741772 B CN114741772 B CN 114741772B
- Authority
- CN
- China
- Prior art keywords
- particle
- rectifying tower
- iteration
- wall rectifying
- particles
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 34
- 238000004422 calculation algorithm Methods 0.000 title claims abstract description 25
- 238000005192 partition Methods 0.000 title claims abstract description 18
- 239000002245 particle Substances 0.000 claims abstract description 91
- 238000005457 optimization Methods 0.000 claims abstract description 7
- 230000006870 function Effects 0.000 claims description 18
- 241000183024 Populus tremula Species 0.000 claims description 17
- 239000013598 vector Substances 0.000 claims description 13
- 239000012071 phase Substances 0.000 claims description 12
- 239000007791 liquid phase Substances 0.000 claims description 9
- 238000010992 reflux Methods 0.000 claims description 7
- 238000004364 calculation method Methods 0.000 claims description 6
- 238000000926 separation method Methods 0.000 claims description 6
- 239000003795 chemical substances by application Substances 0.000 claims description 5
- 238000000605 extraction Methods 0.000 claims description 5
- 230000000737 periodic effect Effects 0.000 claims description 5
- 238000004088 simulation Methods 0.000 claims description 5
- 239000002994 raw material Substances 0.000 claims description 4
- 238000004134 energy conservation Methods 0.000 claims description 3
- 238000005265 energy consumption Methods 0.000 claims description 3
- 239000000463 material Substances 0.000 claims description 3
- 238000010606 normalization Methods 0.000 claims description 3
- 238000006243 chemical reaction Methods 0.000 claims description 2
- 238000005518 chemical engineering design Methods 0.000 abstract 1
- LFQSCWFLJHTTHZ-UHFFFAOYSA-N Ethanol Chemical compound CCO LFQSCWFLJHTTHZ-UHFFFAOYSA-N 0.000 description 8
- LRHPLDYGYMQRHN-UHFFFAOYSA-N N-Butanol Chemical compound CCCCO LRHPLDYGYMQRHN-UHFFFAOYSA-N 0.000 description 8
- 238000004458 analytical method Methods 0.000 description 6
- 230000001413 cellular effect Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 4
- BDERNNFJNOPAEC-UHFFFAOYSA-N propan-1-ol Chemical compound CCCO BDERNNFJNOPAEC-UHFFFAOYSA-N 0.000 description 4
- 239000000203 mixture Substances 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 239000000126 substance Substances 0.000 description 3
- 230000007547 defect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000010206 sensitivity analysis Methods 0.000 description 2
- 238000003889 chemical engineering Methods 0.000 description 1
- 239000000498 cooling water Substances 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 230000002068 genetic effect Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 238000000746 purification Methods 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000011555 saturated liquid Substances 0.000 description 1
- 238000002922 simulated annealing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/10—Geometric CAD
- G06F30/13—Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/25—Design optimisation, verification or simulation using particle-based methods
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F30/00—Computer-aided design [CAD]
- G06F30/20—Design optimisation, verification or simulation
- G06F30/27—Design optimisation, verification or simulation using machine learning, e.g. artificial intelligence, neural networks, support vector machines [SVM] or training a model
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2111/00—Details relating to CAD techniques
- G06F2111/04—Constraint-based CAD
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2119/00—Details relating to the type or aim of the analysis or the optimisation
- G06F2119/08—Thermal analysis or thermal optimisation
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02T—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
- Y02T10/00—Road transport of goods or passengers
- Y02T10/10—Internal combustion engine [ICE] based vehicles
- Y02T10/40—Engine management systems
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Evolutionary Computation (AREA)
- General Physics & Mathematics (AREA)
- Geometry (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Hardware Design (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Medical Informatics (AREA)
- Mathematical Physics (AREA)
- Data Mining & Analysis (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Civil Engineering (AREA)
- Architecture (AREA)
- Structural Engineering (AREA)
- Computational Mathematics (AREA)
- Mathematical Analysis (AREA)
- Mathematical Optimization (AREA)
- Pure & Applied Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Molecular Biology (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention relates to a method for solving the design problem of a partition wall rectifying tower based on a heuristic algorithm, belongs to the field of chemical engineering design, and is used for solving the problem of determining key parameters in the design of the partition wall rectifying tower. Specifically, an improved cell particle swarm optimization method (KCPSO) based on an online Kriging model is adopted. By introducing an online Kriging model to assist in searching of cell particle swarms and matching with a partition wall rectifying tower model in simulation software, the optimal solution can be found in a short time. The invention can greatly improve the convergence quality and convergence speed of particle swarm, effectively solve the design problem of the dividing wall rectifying tower, and the result can be used as the basis of the design of the dividing wall rectifying tower.
Description
Technical Field
A method for solving the design problem of a partition wall rectifying tower based on a heuristic algorithm belongs to the field of chemical industry.
Technical Field
The partition wall rectifying tower is one kind of important operation unit and equipment for separation and purification in petroleum production and chemical engineering. Compared with the traditional rectifying tower, the prior separating wall rectifying tower and the thermal coupling rectifying tower are used as a novel rectifying device, so that the thermodynamic efficiency of the rectifying tower is greatly improved, and the investment cost of equipment is further reduced.
The design problem of the dividing wall rectifying tower is an important problem in the chemical industry field. The design of the device is more complex than that of a traditional rectifying tower because the interior of the rectifying tower with the separation wall is complex, decision variables are numerous, and the variables are mutually coupled.
Heuristic algorithms are one algorithm that solves complex problems with acceptable computational costs. In complex problems, the method of traversing the solution often requires computation time and space beyond the acceptable range, thus resulting in problems that cannot solve the optimal solution under the existing state of the art. The heuristic algorithm can solve the optimal solution with high probability through a reasonable guiding mechanism and a limited number of attempts at acceptable calculation cost.
The current heuristic algorithms such as standard particle swarm algorithm, genetic algorithm, simulated annealing algorithm and the like generally refer to production life experience or natural law. The algorithms have remarkable effect in solving specific problems, but problems such as sinking into local optimal solutions are easy to occur in solving the design problems of the rectifying tower.
Disclosure of Invention
The invention provides an improved cell particle swarm optimization method (KCPSO) based on an online Kriging model, which is used for solving the problem of determining key parameters in the design of a dividing wall rectifying tower. In the running process of the method, the Kriging model is trained by sampling the initial state of the cell particles, and then specific points are continuously added in the cell search iteration process, so that the defect that a large amount of simulation data is required by an offline agent model and the defect of fluctuation of the predicted value of the online agent model are effectively avoided, the speed and direction of the particles are improved through the prediction of the model, and the optimal solution can be found in a shorter iteration process. The method has the characteristics of good stability and high convergence efficiency, and simultaneously shows good effect when applied to the optimization problem of the three-component dividing wall rectifying tower, and the convergence quality and the convergence speed are greatly improved.
The main flow of the method is to continuously adjust related parameters by KCPSO through connecting simulation software and KCPSO programs so as to find ideal optimal parameters. The invention is characterized in that the method further comprises the following steps in sequence:
step one: determining information of a partition wall rectifying tower to be solved, wherein the information comprises component numbers, raw material information and product requirement information; determining decision variables to be solved; determining an objective function T (x), wherein the function value is used for describing the advantages and disadvantages of the design, and is generally annual total cost or energy consumption; the design problem of the dividing wall rectifying tower is converted into a minimization problem;
step two: establishing a simulation model of the partition wall rectifying tower to be solved in Aspen Plus flow simulation software, and connecting Aspen Plus and KCPSO self-programming algorithm programs, wherein the KCPSO program comprises the steps three to ten;
Step three: randomly initializing the positions and the speeds of m particles, wherein m is a complete square number, m is more than or equal to 9, the positions of m are vectors x= (x 1,x2,…,xD)T, input Aspen Plus for checking validity, if the vectors are legal, carrying out objective function to calculate the fitness J, J=T (x) of each particle, and if the vectors are illegal, re-initializing the positions of the illegal particles;
step four: according to the rules of the cellular neighbors of Moore type (see fig. 2), 8 neighbor particles per particle are calculated: the particles being placed in one by number In the grid of (2), a periodic boundary is adopted, and 8 particles of each particle, namely an upper particle, a lower particle, a left particle, a right particle, an upper particle, a lower particle and a lower particle, are neighbors;
Step five: training an online Kriging proxy model by using the positions and fitness J of all particles, predicting to obtain a position x Kriging, carrying in Aspen Plus to check validity, and carrying in an objective function to obtain the fitness J Kriging=T(xKriging of the point if the position x Kriging is legal; if not, retraining an online Kriging agent model, predicting to obtain a new position x Kriging until legal, and then calculating the adaptability J Kriging=T(xKriging of the point;
Step six: the position where the fitness J of the neighbor of the ith particle and the neighbor is the largest is marked as x cbest,i, and the corresponding fitness J cbest,i=T(xcbest,i);
step seven: comparing J cbest,i and J Kriging for each particle, the position of smaller fitness is the attractor AF i for the ith particle;
Step eight: counting and updating the position P i of the i-th particle from the first iteration to the minimum value of the fitness of the first iteration and the corresponding minimum fitness thereof;
step nine: judging whether the upper limit of the iteration times is reached, if the upper limit of the iteration times is reached, stopping the operation, and continuing the next step; if the upper limit of the iteration times is not reached, updating the position of the next iteration according to a position updating formula, inputting the position of the next iteration into Aspen Plus for checking validity, if the position is not legal, repeatedly calling the position updating formula until the data are legal, and returning to the step five to continue searching after the data are all legal data;
Step ten: and the position x * of the minimum adaptability of all particles from the first iteration to the iteration is the design result.
In the first step, the optimization problem of the design problem conversion of the dividing wall rectifying tower is as follows:
minf=T(x)
s.t.MESH equations (1)
ci≥pi
The vector x= (x 1,x2,…,xD)T is a vector formed by D decision variables, the decision variables are selected from tray number, reboiling ratio, reflux ratio, gas phase partition ratio, liquid phase partition ratio and side line extraction quantity, T (x) is an objective function, the function value of which is used for describing the advantages and disadvantages of design, generally the annual total cost or energy consumption, the smaller the objective function is, the better the design is, MESH equations are a material balance, phase balance, normalization and energy conservation equation set of a separation wall rectifying tower, c i represents the purity of the ith product, and p i represents the minimum requirement of the purity of the ith product.
In the fourth step, a Moore type cell neighbor rule is adopted, and the neighbor rule of the ith cell is as follows:
Nmoore={vo=(vox,voy)||vox-vix|+|voy-viy∣∣≤1,(vox,voy)∈Z2} (2)
Wherein v ox,voy represents the coordinate value of the row and column of the neighbor cells, v ix,viy represents the coordinate value of the row and column of the ith cell, i.e. m particles are placed in one according to the number sequence In the grid of (a), a periodic boundary is adopted, and 8 particles of which each particle has an upper, lower, left, right, upper left, upper right, lower left and lower right are neighbors, and Z 2 represents a set formed by row and column coordinate values of all particles.
In the seventh step, the selection rule of the attractor AF i of the ith particle is:
in step eight, the update formula of the position X i and the velocity V i of the particle is as follows:
Vi(t+1)=ωtVi(t)+c1r1(Pi(t)-Xi(t))+c2r2(AFi(t)-Xi(t)) (4)
Xi(t+1)=Xi(t)+Vi(t) (5)
Wherein t is the iteration number, P i (t) is the historical optimal position of the particle i for stopping the current t iteration, X i (t) is the position of the particle i at the t iteration, AF i (t) is the attractor of the particle i at the t iteration, omega t is the inertial weight, and the size of the attractor determines the size of the particle for changing the current speed; non-negative numbers c 1 and c 2 are learning factors, and the value is 2; r 1 and r 2 are random values in the range of [0,1], ω t is inertial weight, and its calculation formula is as follows:
Wherein t max is the maximum iteration number; omega max takes 0.9 and omega end takes 0.4.
The method is characterized in that the method comprises the steps of firstly carrying the tray number represented by a particle position vector x, reboiling ratio, reflux ratio, gas phase division ratio, liquid phase division ratio and side line extraction amount into Aspen Plus software to test whether the purity of a product meets the requirement, and if so, legal, otherwise, illegal.
Advantageous results
According to the test result of the mathematical calculation example, the KCPSO method in the invention is higher than the traditional method in the aspects of convergence speed and convergence quality. Fig. 3,4, and 5 show KCPSO comparisons with conventional cellular particle swarm algorithm (CPSO) and standard particle swarm algorithm (PSO) at 3, 7, and 11 dimensions, respectively. In the graph, the horizontal axis of the curve represents the iteration times, and the vertical axis represents the iteration results; the faster the drop, the faster the convergence speed is indicated; the vertical axis value of the lowest point to which the final drop is made represents the final iteration result, and the smaller the value is, the better the convergence quality is. From the comparison, KCPSO exhibits better effect at higher dimensions.
In the application test in the chemical industry field, the invention has good performance in the analysis of sensitivity analysis, performance analysis, result analysis and the like. The invention can also solve the design problem of various types of dividing wall rectifying towers.
Therefore, the invention can effectively solve the problem of the optimal design of the dividing wall rectifying tower, and the result can be used as the basis of the design of the dividing wall rectifying tower.
Drawings
FIG. 1 is a flow chart of the core part of the invention;
FIG. 2 is a schematic diagram of a Moore two-dimensional cellular automaton spatial structure;
FIG. 3 is an iteration curve of KCPSO, CPSO, PSO in the 5-dimensional case;
FIG. 4 is an iteration curve of KSCPSO, CPSO, PSO in the 7-dimensional case;
FIG. 5 is an iteration curve of KSCPSO, CPSO, PSO in the 11-dimensional case;
FIG. 6 is a schematic structural view of a three-component dividing wall rectifying column (DWDC);
FIG. 7 is a schematic diagram of a fully thermally coupled column equivalent to DWDC;
FIG. 8 is a simulation model of DWDC;
Fig. 9 shows the optimal DWDC design scheme obtained by the algorithm.
Detailed Description
In the embodiment, simulation software is adopted to model the isolation wall rectifying tower, and then KCPSO programs are connected to automatically solve the problem of determining key parameters in the design of the isolation wall rectifying tower. The key of the design of the dividing wall rectifying tower is that the determination of 11 decision variables such as the number of different tower plates, reboiling ratio, reflux ratio, gas phase dividing ratio, liquid phase dividing ratio, side line extraction amount and the like is that in practice, some of the decision variables are generally selected as variables to be solved, and the others are determined through engineering experience or professional software.
For the purpose of illustrating the invention in more detail, this section illustrates a specific embodiment of the invention by way of example of a three-component dividing wall rectifying column. The exemplary embodiments of the present invention and the descriptions thereof are used herein to explain the present invention, but are not intended to limit the invention.
The three-component dividing wall rectifying column (DWDC) is shown in fig. 6, the equivalent structure of the fully thermally coupled column is shown in fig. 7, wherein DWDC can be divided into six parts (I-VI), three-component mixed feed F to be separated is input into the column and is subjected to preliminary separation (a/C) through the parts I and II, two mixtures (AB and BC) are generated due to the difference of relative volatilities and enter the upper part III and IV (AB) and the lower part V and VI (BC) of the main column respectively for further separation, and then high-purity products a and C are produced through the top and bottom of the column, and the target product B with high purity can be obtained by reasonably arranging side discharge positions. The purpose of this example was to rapidly obtain the optimum tray numbers of 6 column sections, reboiling ratio, reflux ratio, gas phase dividing ratio, liquid phase dividing ratio and side offtake.
Step one: determining information of a partition wall rectifying tower to be solved, wherein the information comprises component numbers, raw material information and product requirement information; in the embodiment, the composition is 3, the raw material is an equimolar fraction saturated liquid mixture of ethanol, propanol and butanol, the feeding pressure is 0.1Mpa, the feeding temperature is 365.93K, and the molar fractions of the corresponding ethanol, propanol and butanol in the product flow at the top, the side line and the bottom of the tower are all more than or equal to 99 percent.
Determining decision variables to be solved, wherein the decision variables are respectively the column plate numbers of 6 column sections (N i, i=1, 2,3,4,5, 6), the gas phase flow rate returned to the prefractionation column (F V) and the liquid phase flow rate returned to the prefractionation column (F L); reboiling ratio, reflux ratio and side offtake ensure product purity requirements in the product stream.
The objective function T (x) is determined, and the function value is used to describe the merits of the design, in this example, the Total Annual Cost (TAC) of the dividing wall rectifying tower, so the calculation formula of the objective function can be expressed as:
T(x)=Cop+0.3Cca
wherein the operating costs (C op) include cooling water costs and steam costs, i.e., cold and hot utility costs; the equipment cost (C ca) comprises equipment investment cost, tower plate cost, heat exchanger cost and the like; 0.3 is the annual depreciation rate of the device; the operating and equipment costs are determined by the values of 8 decision variables.
The design problem of the dividing wall rectifying tower is converted into the minimization problem. The optimization problem expression method is shown in the formula (7).
minf=T(N1,N2,N3,N4,N5,N6,Vp,Lp)
s.t.MESH equations
c1≥p1 (7)
c2≥p2
c3≥p3
Wherein N i (i=1, 2,3, …) is the number of six stages of trays of the dividing wall rectifying column, respectively; v P is the gas phase flow back to the prefractionator (instead of the gas phase split ratio in this example); l P is the liquid phase flow rate back to the prefractionator (instead of the liquid phase split ratio in this example); MESH equations represent basic balance equations, namely a partition wall rectifying tower material balance, phase balance, normalization and energy conservation equation set; c 1、c2、c3 represents the purity of the corresponding ethanol, propanol, butanol in the product streams at the top, side and bottom, respectively, and p 1、p2、p3 represents the minimum requirement for the purity of ethanol, propanol, butanol, respectively. All constraints are calculated in Aspen Plus.
Step two: establishing a simulation model of the partition wall rectifying tower to be solved in Aspen Plus (see FIG. 8), and connecting Aspen Plus and KCPSO programs;
Step three: randomly initializing the positions and the speeds of 49 particles, wherein the positions are vectors x= (x 1,x2,…,x8)T, input Aspen Plus for checking validity) formed by 8 decision variables;
Step four: according to the Moore-type cellular neighbor rule shown in fig. 2, 8 neighbor particles per particle are calculated: the particles being placed in one by number (I.e., 7*7) using periodic boundaries, each particle has 8 particles up, down, left, right, up-left, up-right, down-left, down-right as neighbors; taking the particle with the number of 2 as an example, the neighbor particles are 8 particles with the numbers of 43, 44, 45,1,3,8,9 and 10 respectively.
Step five: training an online Kriging proxy model by using the positions and fitness J of all particles, predicting to obtain a position x Kriging, carrying in Aspen Plus to check validity, and carrying in an objective function to obtain the fitness J Kriging=T(xKriging of the point if the position x Kriging is legal; if not, retraining an online Kriging agent model, predicting to obtain a new position x Kriging until legal, and then calculating the adaptability J Kriging=T(xKriging of the point;
Step six: the position where the fitness J of the neighbor of the ith particle and itself is greatest is noted as x cbest,i, corresponding fitness J cbest,i=T(xcbest,i).
Step seven: comparing J cbest,i and J Kriging for each particle, the position of smaller fitness is the attractor AF i for the ith particle.
Step eight: counting and updating the position P i of the i-th particle from the first iteration to the minimum value of the fitness of the first iteration and the corresponding minimum fitness thereof;
Step nine: judging whether the upper limit of the iteration times is reached, if the upper limit of the iteration times is reached, stopping the operation, and continuing the next step; if the upper limit of the iteration times is not reached, updating the position of the next iteration according to the position updating formula, inputting the position of the next iteration into AspenPlus to check validity, and if the position of the next iteration is not legal, repeatedly calling the position updating formula until the data are legal. And after the data are legal data, returning to the step five to continue searching.
Step ten: and the position x * of the minimum adaptability of all particles from the first iteration to the iteration is the design result. Fig. 9 shows the final design from this example.
According to the test result of the mathematical calculation example, the KCPSO method in the invention is higher than the traditional method in the aspects of convergence speed and convergence quality. Fig. 3,4, and 5 show KCPSO comparisons with conventional cellular particle swarm algorithm (CPSO) and standard particle swarm algorithm (PSO) at3, 7, and 11 dimensions, respectively. In the graph, the horizontal axis of the curve represents the iteration times, and the vertical axis represents the iteration results; the faster the drop, the faster the convergence speed is indicated; the vertical axis value of the lowest point to which the final drop is made represents the final iteration result, and the smaller the value is, the better the convergence quality is. From the comparison, KCPSO exhibits better effect at higher dimensions.
In addition, the invention has good performance in the analysis of sensitivity analysis, performance analysis, result analysis and the like. The invention can also solve the design problem of various types of dividing wall rectifying towers.
Therefore, the invention can effectively solve the design problem of the dividing wall rectifying tower, and the result can be used as the basis of the design of the dividing wall rectifying tower.
Claims (6)
1. A heuristic algorithm-based method for solving the design problem of a dividing wall rectifying tower is characterized by comprising the following steps:
Step one: determining information of a partition wall rectifying tower to be solved, wherein the information comprises component numbers, raw material information and product requirement information; determining decision variables to be solved; determining an objective function T (x), wherein the function value is used for describing the advantages and disadvantages of the design; the design problem of the dividing wall rectifying tower is converted into an optimization problem;
step two: establishing a simulation model of the partition wall rectifying tower to be solved in Aspen Plus flow simulation software, and connecting Aspen Plus and KCPSO self-programming algorithm programs, wherein the KCPSO program comprises the steps three to ten;
Step three: randomly initializing the positions and the speeds of m particles, wherein m is a complete square number, m is more than or equal to 9, the positions of m are vectors x= (x 1,x2,…,xD)T, input Aspen Plus for checking validity, if the vectors are legal, carrying out objective function to calculate the fitness J, J=T (x) of each particle, and if the vectors are illegal, re-initializing the positions of the illegal particles;
Step four: according to Moore type cell neighbor rules, 8 neighbor particles of each particle are calculated: the particles being placed in one by number In the grid of (2), a periodic boundary is adopted, and 8 particles of each particle, namely an upper particle, a lower particle, a left particle, a right particle, an upper particle, a lower particle and a lower particle, are neighbors;
Step five: training an online Kriging proxy model by using the positions and fitness J of all particles, predicting to obtain a position x Kriging, carrying in Aspen Plus to check validity, and carrying in an objective function to obtain the fitness J Kriging=T(xKriging of the point if the position x Kriging is legal; if not, retraining an online Kriging agent model, predicting to obtain a new position x Kriging until legal, and then calculating the adaptability J Kriging=T(xKriging of the point;
Step six: the position where the fitness J of the neighbor of the ith particle and the neighbor is the largest is marked as x cbest,i, and the corresponding fitness J cbest,i=T(xcbest,i);
step seven: comparing J cbest,i and J Kringing for each particle, the position of smaller fitness is the attractor AF i for the ith particle;
Step eight: counting and updating the position P i of the i-th particle from the first iteration to the minimum value of the fitness of the first iteration and the corresponding minimum fitness thereof;
step nine: judging whether the upper limit of the iteration times is reached, if the upper limit of the iteration times is reached, stopping the operation, and continuing the next step; if the upper limit of the iteration times is not reached, updating the position of the next iteration according to a position updating formula, inputting the position of the next iteration into Aspen Plus for checking validity, if the position is not legal, repeatedly calling the position updating formula until the data are legal, and returning to the step five to continue searching after the data are all legal data;
Step ten: and the position x * of the minimum adaptability of all particles from the first iteration to the iteration is the design result.
2. The method for solving the design problem of the dividing wall rectifying tower based on the heuristic algorithm as claimed in claim 1, wherein the method comprises the following steps: in the first step, the optimization problem for the design problem conversion of the dividing wall rectifying tower is as follows:
minf=T(x)
s.t.MESH equations (1)
ci≥pi
The vector x= (x 1,x2,…,xD)T is a vector formed by D decision variables, the decision variables are selected from the column plate number, reboiling ratio, reflux ratio, gas phase partition ratio, liquid phase partition ratio and side line extraction quantity, T (x) is an objective function, the function value of which is used for describing the advantages and disadvantages of design, including total annual cost or energy consumption, the smaller the objective function is, the better the design is, MESH equations are a material balance, phase balance, normalization and energy conservation equation set of a separation wall rectifying tower, c i represents the purity of the ith product, and p i represents the minimum requirement of the purity of the ith product.
3. The method for solving the design problem of the dividing wall rectifying tower based on the heuristic algorithm as claimed in claim 1, wherein the method comprises the following steps: in the fourth step, adopting a Moore cell neighbor rule, wherein the neighbor rule of the ith cell is as follows:
Nmoore={vo=(vox,voy)||vox-vix|+|voy-viy∣≤1,(vox,voy)∈Z2} (2)
Wherein v ox,voy represents the coordinate value of the row and column of the neighbor cells, v ix,viy represents the coordinate value of the row and column of the ith cell, i.e. m particles are placed in one according to the number sequence In the grid of (a), a periodic boundary is adopted, each particle has 8 particles of up, down, left, right, upper left, upper right, lower left and lower right as neighbors, the ith cell refers to the ith particle, and Z 2 represents a set formed by row and column coordinate values of all particles.
4. The method for solving the design problem of the dividing wall rectifying tower based on the heuristic algorithm as claimed in claim 1, wherein the method comprises the following steps: in step seven, the selection rule of the attractor AF i of the ith particle is:
5. The method for solving the design problem of the dividing wall rectifying tower based on the heuristic algorithm as claimed in claim 1, wherein the method comprises the following steps: in step eight, the position X i and velocity V i update formula for the particles is as follows:
Vi(t+1)=ωtVi(t)+c1r1(Pi(t)-Xi(t))+c2r2(AFi(t)-Xi(t)) (4)
Xi(t+1)=Xi(t)+Vi(t) (5)
Wherein t is the iteration number, P i (t) is the historical optimal position of the particle i for stopping the current t iteration, the position with smaller fitness is more optimal, X i (t) is the position of the particle i at the t iteration, AF i (t) is the attractor of the particle i at the t iteration, omega t is the inertial weight, and the size of the attractor determines the size of the particle for changing the current speed; non-negative numbers c 1 and c 2 are learning factors, and the value is 2; r 1 and r 2 are random values in the range of [0,1], ω t is inertial weight, and its calculation formula is as follows:
Wherein t max is the maximum iteration number; omega max takes 0.9 and omega end takes 0.4.
6. The method for solving the design problem of the dividing wall rectifying tower based on the heuristic algorithm as claimed in claim 1, wherein the method comprises the following steps: in the third, fifth and seventh steps, checking the legality means that the tray number represented by the particle position vector x, the reboiling ratio, the reflux ratio, the gas phase division ratio, the liquid phase division ratio and the side line extraction amount are brought into Aspen Plus, whether the purity of the product meets the requirement or not is tested, if the purity meets the requirement, the method is legal, and otherwise, the method is illegal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210532175.1A CN114741772B (en) | 2022-05-09 | 2022-05-09 | Method for solving design problem of partition wall rectifying tower based on heuristic algorithm |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210532175.1A CN114741772B (en) | 2022-05-09 | 2022-05-09 | Method for solving design problem of partition wall rectifying tower based on heuristic algorithm |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114741772A CN114741772A (en) | 2022-07-12 |
CN114741772B true CN114741772B (en) | 2024-06-28 |
Family
ID=82284843
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210532175.1A Active CN114741772B (en) | 2022-05-09 | 2022-05-09 | Method for solving design problem of partition wall rectifying tower based on heuristic algorithm |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114741772B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114970375B (en) * | 2022-07-29 | 2022-11-04 | 山东飞扬化工有限公司 | Rectification process monitoring method based on real-time sampling data |
CN118262825A (en) * | 2024-04-03 | 2024-06-28 | 天津大学 | Energy integration thermal coupling multicomponent rectification flow path structural design method for tower bottom liquid phase flash evaporation recompression |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103048927A (en) * | 2012-12-28 | 2013-04-17 | 浙江大学 | Model prediction control method for rectification system |
CN105653768A (en) * | 2015-12-25 | 2016-06-08 | 上海交通大学 | Particle swarm optimization algorithm based lightweight car body structure implementation method |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105740960B (en) * | 2014-12-06 | 2019-11-15 | 中国石油化工股份有限公司 | A kind of optimization method of industry hydrocracking reaction condition |
CN109063355A (en) * | 2018-08-15 | 2018-12-21 | 北京理工大学 | Near-optimal method based on particle group optimizing Yu Kriging model |
CN109886462B (en) * | 2019-01-18 | 2021-10-08 | 杭州电子科技大学 | Rectifying tower fault diagnosis method for improving particle swarm optimization support vector machine |
CN110321638A (en) * | 2019-07-05 | 2019-10-11 | 江苏师范大学 | A kind of destilling tower number of plates acquisition methods based on Gilliland correlation |
CN111312338A (en) * | 2020-02-10 | 2020-06-19 | 华东理工大学 | Product prediction method and system for aromatic hydrocarbon isomerization production link |
CN111832102B (en) * | 2020-06-19 | 2024-02-06 | 浙江大学 | Novel composite material structure optimization design method under high-dimensional random field condition |
-
2022
- 2022-05-09 CN CN202210532175.1A patent/CN114741772B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103048927A (en) * | 2012-12-28 | 2013-04-17 | 浙江大学 | Model prediction control method for rectification system |
CN105653768A (en) * | 2015-12-25 | 2016-06-08 | 上海交通大学 | Particle swarm optimization algorithm based lightweight car body structure implementation method |
Also Published As
Publication number | Publication date |
---|---|
CN114741772A (en) | 2022-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114741772B (en) | Method for solving design problem of partition wall rectifying tower based on heuristic algorithm | |
CN105138849B (en) | A kind of Power Network Partitioning method based on AP clusters | |
CN104375478B (en) | A kind of method and device of Rolling production process product quality on-line prediction and optimization | |
CN108520111B (en) | Soft measurement method based on optimal selection and optimal regression of orthogonal components | |
CN100582262C (en) | Copper flash smelting operation parameter optimization method | |
CN105911867A (en) | Ship thrust distribution method based on NSGA-II algorithm | |
Li et al. | Controllability of Boolean control networks avoiding states set | |
CN114066122B (en) | Scheduling method based on multi-strategy water wave optimization algorithm | |
CN105425583B (en) | The control method of penicillin production process based on coorinated training LWPLS | |
Li et al. | Semi-supervised ensemble support vector regression based soft sensor for key quality variable estimation of nonlinear industrial processes with limited labeled data | |
CN110427715B (en) | Method for predicting furnace hearth thermal state trend based on time sequence and multiple dimensions of blast furnace | |
CN110046462B (en) | Automatic layout method for container profile | |
Pascall et al. | Semicontinuous separation of dimethyl ether (DME) produced from biomass | |
CN103995466B (en) | Interval prediction control modeling and optimizing method based on soft constraints | |
CN106991442A (en) | The self-adaptive kernel k means method and systems of shuffled frog leaping algorithm | |
CN104881707B (en) | A kind of sintering energy consumption Forecasting Methodology based on integrated model | |
CN103488085A (en) | Multi-objective optimization control method of methyl alcohol four-tower rectification system | |
CN103714384B (en) | Layout method based on Move Mode sequence and the integrated circuit of heredity taboo | |
Sun et al. | Improved multiobjective particle swarm optimization integrating mutation and changing inertia weight strategy for optimal design of the extractive single and double dividing wall column | |
CN105334824A (en) | Aluminum electrolysis production optimization method based on NSGA-II algorithm | |
Donahue et al. | Steady state considerations for designing minimum energy control strategies for a dividing wall distillation column with trace components | |
Sun et al. | Chronicle knowledge-based multi-level response prediction for predictive control by forest models in process industry | |
CN116011726A (en) | Distributed non-waiting workshop scheduling optimization method and system for solving problem of tape delivery | |
CN109636050B (en) | MDS-based prediction model for petrochemical industry production capacity by RBF | |
CN106446495B (en) | The prediction technique of drafting link performance indicator in carbon fibre precursor production process |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |