Abstract

Optimized control of the drug extraction production process (DEPP) aims to reduce production costs and improve economic benefit while meeting quality requirements. However, optimization of DEPP is hampered by model uncertainty. Thus, in this paper, a strategy that considers model uncertainty is proposed. Mechanistic modeling of DEPP is first discussed in the context of previous work. The predictive model used for optimization is then developed by simplifying the mechanism. Optimization for a single extraction process is first implemented, but this is found to lead to serious wastage of herbs. Hence, the optimization of a multiextraction process is then conducted. To manage the uncertainty in the model, a data-driven iterative learning control method is introduced to improve the economic benefit by adjusting the operating variables. Finally, fuzzy parameter adjustment is adopted to enhance the convergence rate of the algorithm. The effectiveness of the proposed modeling and optimization strategy is validated through a series of simulations.

1. Introduction

Drug extraction, or drug leaching, is one of the most significant operations in the pharmaceutical industry. As the basic and primary process of drug production, it has been widely applied to many medicinal plants [17]. In the drug extraction production process (DEPP), a solvent or chemical reagent that offers high solubility for the effective constituent (EC) in the herbs and poor solubility for constituents that need not be extracted is applied to solid herbs. The EC then dissolves out of the herb organization and into the solvent or chemical reagent [8]. The extracted EC is finally used in various types of drugs, such as granules, tablets, and capsules, in subsequent pharmaceutical processes.

The disadvantages of this production process include low extraction yield, wastage of materials, and high energy consumption. Modeling and process optimization, which aim to increase the extraction yield and minimize production costs while meeting specific quality requirements, are therefore particularly significant in both theoretical research and practical applications.

The optimization of drug extraction process has received increasing attention. For example, Alam et al. [9] studied the optimization of the extraction parameters of embelin from Embelia ribes through ultrasound-assisted extraction with a Box–Behnken design. Bochi et al. [10] optimized the extraction conditions and anthocyanin yields in experiments with high proportions of water. Chen et al. [11] applied an orthogonal experiment to optimize the extraction conditions of polysaccharides from Ornithogalum caudatum Ait. Chen et al. [12] used the response surface methodology to optimize the experimental conditions for ultrasonic-assisted extraction of functional components from sugar beet molasses. Bae et al. [13] successfully developed and validated a simple qualitative and quantitative method for the simultaneous determination of 15 phenolic compounds and caffeine from teas and then optimized the extraction process using the response surface methodology based on a central composite design. In addition to these innovations, many other scholars have made tremendous contributions to the theoretical and practical optimization of DEPP [3, 1416]. However, many of these reports focus on optimizing the extraction conditions using experimental design or simulation techniques. To the best of the authors’ knowledge, the optimization of DEPP in terms of improving the economic benefit of the whole production process has rarely been reported in the literature. The present work develops a mechanism model for DEPP based on some previous efforts and then proposes an optimization strategy to resolve practical problems such as the production efficiency and production costs.

To implement this optimization, a mechanism model of DEPP should be developed. Such mechanistic modeling plays several significant roles: first, the modeling process will analyze the mechanism of the drug extraction process, confirm its operating variables and quality indicators, and analyze the relationship between them; second, an appropriate model can be used to simulate the actual production process to generate the required data and analyze the optimization results. As an actual simulator, the mechanism model should be able to link the extraction efficiency of the EC and volatile oil—the quality indicators—with the operating variables (steam flow at the bottom and side of the extraction tank and the extraction time).

The mechanistic modeling of DEPP mainly consists of modeling the following components: extraction tank, mass transfer process of EC, volatile oil recycling, and efficiency of the oil-water separator. A mathematical model of the extraction tank that describes the changes in temperature and liquid level over time has been developed [17]. As the principle and mechanism of the mass transfer process in drug extraction are very similar to those of metal leaching, mechanistic models of metal leaching [3, 1822] can be used as references in developing a mass transfer model for the EC. Additionally, Han et al. derived a diffusion rate equation for volatile oils, allowing a mechanistic model of volatile oil recovery to be developed [23]. Finally, the efficiency of the oil-water separator is introduced to describe the separation efficiency of oil droplets with a certain diameter [24]. The above mechanistic models are combined to simulate the whole DEPP, and the rationality and validity of this approach are verified through a series of simulations. The innovation and contribution of the DEPP model presented in this paper can be summarized as follows. First, we extend a modeling approach for the leaching process to model the mass transfer process of ECs. Second, we present a combined mechanistic modeling framework for the overall DEPP by integrating four discrete components described in previous studies.

In addition to a mechanistic model, a predictive model is also necessary for such optimization. In this work, the established mechanism is simplified to serve as a predictive model. The economic benefit per unit time is considered as the optimization objective, while the steam flow at the bottom and side of the extraction tank and the extraction time are treated as decision variables. The optimization model is then established under certain quality constraints. Several classical optimization algorithms, such as particle swarm optimization (PSO) [25, 26], differential evolution (DE) [27], and artificial bee colony (ABC) [28], are adopted to solve this optimization problem. Comparing these algorithms, it is concluded that PSO achieves the best performance in determining the optimal solution. Thus, a PSO algorithm is used to solve this optimization problem and obtain the optimal economic benefit and corresponding parameters, including optimal quality indicators and operating variables. The present work first considers the optimization of a single extraction process. However, the extraction efficiency of the EC in this case is very low, leading to serious wastage of herb materials. The optimization control for multiextraction is therefore investigated. In the multiextraction process, the extraction frequency is defined as the number of times that the herbs are subjected to the extraction process. However, the optimal extraction frequency in terms of economic benefit is unknown. Thus, the extraction frequency is treated as one of the decision variables when establishing the optimization problem. Note that the extraction frequency is an integer in this problem.

The optimal economic benefit of the multiextraction process is based on the predictive model, whereas the actual optimal economic benefit can be calculated by plugging the best operating variables into the mechanism model. There are some discrepancies between the predicted and actual values of the optimal economic benefit. In practice, however, it is unlikely that the actual production process can be modeled accurately (or even approximately) with a process model [29, 30]. Process optimization is hampered by such model uncertainty, and so the “optimal” value given by the model may not necessarily mean “optimal for the process” [31].

Iterative learning control (ILC) is highly effective in controlling systems with repetitive operations that precisely follow a desired target trajectory. It has been widely applied in repetitive industrial processes because of its perfect learning ability from the repetitive tracking task [3234]. Recently, data-driven ILC methods have been proposed to deal with complicated practical systems [3537]. The control scheme is data-driven because there is no explicit model information or training process, and only the measured input and output data are used for the controller design, analysis, and implementation [36]. As one such method, data-driven optimal terminal ILC (DDOTILC) works under the principle that the control law is only updated using the terminal output tracking error [35]. In this work, DDOTILC is applied to implement iterative optimization control for DEPP in order to overcome the model uncertainty via the online adjustment of the operating variables. The fuzzy adaptive adjustment of parameters in DDOTILC is then implemented to enhance the convergence rate. Using this approach, the model uncertainty can be reduced and the economic benefit improved by adjusting the operating variables.

2. Principle and Production Technology of the Drug Extraction Process

2.1. Principle of the Drug Extraction Process
2.1.1. Mass Transfer Theory of Effective Constituent

Drug extraction is one kind of solid-liquid extraction. Thus, the mass transfer principle and computing method follow the solid-liquid extraction system model shown in Figure 1. It is assumed that the herb particles are composed of solute (EC) and inert carriers (herb residues), so the solid-liquid extraction system is composed of solute, solvent, and inert solid. Additionally, there will be a gas-liquid film at the interface between the solid particles and liquid phase. It is generally acknowledged that this mass transfer process can be divided into the five steps described in Figure 1 [3, 8]:(1)The diffusion of solvent into the herb particle surface(2)The permeation of solvent from the herb surface to the interior(3)The dissolution of the EC inside the herb particles(4)The diffusion of EC from inside the herb particles to the surface (internal diffusion)(5)The diffusion of EC from the herb particle surface to the solvent across the gas-liquid film (external diffusion).

2.1.2. Recycling Theory of Volatile Oil

Volatile oil (VO), also named essential oil, is a generic term for the volatile and oily components in plants. VOs are insoluble in water and can be distilled out along with the water vapor. During the extraction process, the recycling of VO is divided into the following three steps (see Figure 2):(1)Internal diffusion: with increasing temperature, VOs diffuse into the outer surface of the solid herb particle from the interior(2)External diffusion: VOs diffuse into the water vapor from the surface of the solid particle by threading the gas-liquid film(3)Gas-liquid transition: VOs and water vapor enter the condenser and are condensed into the liquid phase, after which the VOs are separated from water though the oil-water separator.

2.2. Production Technology of the Drug Extraction Process

Generally, DEPP includes the following three procedures.

(1) Preprocessing of Herb Materials. In this procedure, the herb materials are smashed and soaked in water for some time to inflate the herb organization. This preprocessing accelerates the dissolution and diffusion of EC during extraction.

(2) Extraction. As the most important process of DEPP, this procedure involves various pieces of equipment including the extraction tank, condenser, gas-liquid separator, oil-water separator, and filter (see Figure 3). In this process, the preprocessed herb materials are placed into the extraction tank, and steam is added through both the bottom and side of the tank. As the temperature increases, the valuable components of the herb particles, such as EC and VO, will continually diffuse into the extraction solution and water vapor, respectively. For a batch of herb materials, it is extremely difficult to achieve acceptable yields of EC and VO with a single extraction process. Therefore, multiple extractions are required to prevent the wastage of raw materials.

(3) Separation. In this procedure, the feed liquid containing EC and VO are separated from the herb residues and steam, respectively, using the filter and oil-water separator. The feed liquid and VO are then sent to the next phase for further processing.

The extraction efficiencies of EC and VO are the main quality indicators of DEPP. There are numerous factors influencing these indicators, such as the radius of the herb material particles, extraction temperature, extraction time, concentration difference, and solid-liquid contact condition. For the purpose of DEPP optimization, the present study explores the impact on the extraction efficiency of the steam flow at both the bottom and side of the extraction tank and the extraction time.

3. Mechanistic Modeling of Drug Extraction Production Process

DEPP is a complex heat and mass transfer process, and its mechanistic model mainly consists of the following components: mathematical model of drug extraction tank, mass transfer model of EC, mechanistic modeling of VO recycling, and an efficiency model of the oil-water separator. The mechanistic modeling work for DEPP is implemented based on the following assumptions:(1)The herb particle has a spherical shape after crushing.(2)The EC of herb materials in the solvent is distributed uniformly under the condition of full stirring.(3)The EC in the outer layer of the herb particles is first spread to the solvent, after which the EC in the inner layer spreads to the outer layer and then to the solvent.

3.1. Mathematical Modeling of Drug Extraction Tank

A mechanistic model of the extraction tank has been developed according to the principles of mass and energy conservation [17]. In this model, the liquid level and feed liquid temperature in the extraction tank can be calculated using the steam flow at the bottom and side of the tank, , , and the extraction time . The variation of liquid level and temperature with extraction time can be expressed as

The mixture flow of VO and steam is assumed to have a nonlinear relationship with :

The symbols used in this model are as follows: , : the steam flow at the bottom and side of the extraction tank, respectively; : mixture flow of VO and steam; : steam temperature before entering the extraction tank; : specific heat capacity of feed liquid; : specific heat capacity of water; : volume ratio of water (liquefied from steam) and steam; : standard heat of liquefaction of vapor under standard atmospheric pressure; : cross-sectional area of the extraction tank.

3.2. Mathematical Modeling of the Mass Transfer Process of Effective Constituent

The mass transfer process for EC was described in detail in Section 2, where it was noted that the transfer could be divided into five steps. In the usual extraction process, the penetration of solvent and dissolution of solute are not the controlling factors and can thus be neglected. The diffusion processes undoubtedly have a decisive effect on the speed of mass transfer. Hence, external diffusion and internal diffusion are primarily considered in the modeling of the mass transfer process.

External diffusion, also called liquid film diffusion, is the main resistance to mass transfer. The gas film will not hamper the mass transfer process, so it is neglected in the modeling process, as illustrated by the dashed line in Figure 1. Internal diffusion is the shrinking core process of particles containing EC, as shown in Figure 1. In this study, using the unreacted shrinking core theory from the metal ore leaching process, the drug extraction process can be approximately regarded as the leaching of metallic minerals, albeit under different reactions. When the EC in the outer layer has diffused into the extraction solvent, the insoluble components are left on the surface of the solid particles. Thus, the solid particles are surrounded by a grey layer composed of insoluble components, as shown in Figure 1. The inner EC then diffuses into the surface of the solid particles through internal diffusion, after which this part of the EC in the solid particle surface diffuses into the solvent once again. This procedure is repeated, and the unextracted core will gradually shrink.

The diffusion rate of the extraction process can be expressed as [3, 1820]where is the mass of EC extracted from solid herb particles, is the mass of EC diffused from solid herb particles to solvent per unit time, expresses the area of the interface between the solid and liquid phase, and is the extraction time.

It is assumed that internal diffusion and external diffusion occur in series, so the law of additive resistance can be applied as follows [3, 21, 22]:where is the solubility of EC in the liquid film on the surface of solid particles; is the instantaneous concentration of EC in extraction solvent; and express the diffusion coefficients of EC passing through the liquid film and the inside of solid particles, respectively; and denote the radius of the original solid particle and the solid particle as the core gradually shrinks, respectively; and expresses the thickness of the liquid film (see Figure 1). In addition, is the coefficient of internal diffusion (1/ is the internal diffusion resistance) and is the coefficient of external diffusion (1/ is the external diffusion resistance). The parameters and are given by

Combined with the model of the extraction tank, it can be concluded that

Based on (1), (4), (5), and (7), we have that

The diffusion coefficients can then be determined as follows.

(1) For the solution with macromolecules of EC, the external diffusion coefficient is obtained by

The resistance of EC sustained in solution can be calculated by Stokes’ equation:

Combining (9) and (10), we obtainwhere is the Boltzmann constant, is the kinematic velocity of EC molecules, and is the viscosity of the solvent.

(2) For the dilute solution with micromolecules of EC, the external diffusion coefficient is generally expressed by Wilke’s equation [38]:where is the associating parameter of the solvent, is the molecular weight of the solvent, and is the molecular volume of EC. In this work, (12) is used to calculate the diffusion coefficient .

(3) The internal diffusion coefficient of EC inside the solid particle is calculated by [39]where and are the porosity and sinuosity of holes inside the solid particles, respectively.

Another equation connects the radius of solid particles containing EC with the internal diffusion coefficient , the concentration of EC in the liquid film , and the instantaneous concentration of EC in extraction solvent [39]:

3.3. Mechanistic Modeling of Volatile Oil Recycling

The recycling principle of VO was described in Section 2. Because the internal diffusion occurs in the same phase, it can be neglected. However, the external diffusion process, in which VO diffuses into the gas phase (water vapor) from the surface of the solid phase (solid particle) across the gas-liquid film, is interphase diffusion. This external diffusion is the main factor controlling the diffusion velocity. Because the VO is insoluble in water, its explicit diffusion in the liquid phase can be ignored, as denoted by the dashed line in Figure 2. Consequently, the resistance to external diffusion mainly occurs in the gas film [40]. The diffusion velocity is expressed as [40]where is the concentration of VO in the solid herb particles, is the gas phase mass transfer film coefficient, is the concentration of VO in the gas phase, and is the concentration of VO in the gas film. The following assumptions are made:

(1) Because the VO in the gas phase will constantly enter the condenser with water vapor, .

(2) There is a linear counterbalance between the concentrations of VO in the solid phase and gas film; that is, [23], where is a constant coefficient.

Equation (15) can then be expressed as wherein which is a constant coefficient and is the thickness of the gas film.

As for the liquid density, the density of VO will decrease as the feed liquid temperature increases. The VO density can be calculated aswhere is the density of VO and are constant coefficients.

3.4. Mechanistic Modeling of the Efficiency of the Oil-Water Separator

Under the effect of gravity, the oil-water separator achieves the separation of oil and water in the static or flowing state by taking advantage of the density difference between oil and water. The kinetic state of a droplet in the disperse phase can be described by Stokes’ law [24]:where is the lifting velocity of the oil droplet, is the density of water, is acceleration due to gravity, is the diameter of the oil droplet, and is the viscosity of water.

The separation efficiency of oil droplets of a certain diameter can be determined according to shallow pool theory [41] aswhere is the lifting efficiency of oil droplets of diameter , is the lifting area of the oil layer, and is the flow of the oil-water mixture.

The separation efficiency is a key performance indicator in any oil-water separator and can be expressed as follows:where and denote the oil content at the exit and entrance of the separator, respectively.

3.5. Processing the Mechanistic Model of the Drug Extraction Production Process

For the convenience of calculations, differential equations in the models are discretized to give a set of algebraic equations. Taking the model for the liquid level in the extraction tank, we havewhere is the sampling period.

Thus, the liquid level at sampling time iswhere

Similarly, the discretized model for the feed liquid temperature is

The discretized model for the concentration of EC iswhere and the discretized model for the concentration of VO is

It is assumed that the extraction time can be divided into six equal intervals, so the entire drug extraction process has 13 input variables: six steam flows at the bottom of the extraction tank (), six steam flows at the side of the extraction tank (), and the extraction time . The output variables are the extraction yields of EC and VO (, resp.), their extraction efficiencies (), and the total consumption of steam .

The extraction yield of EC and its extraction efficiency can be expressed aswhere is the total mass of EC in a batch of herbs, which we consider to be 25 kg in this study.

The decrement of VO in the extraction tank between adjacent sampling periods is

Thus, the recycle yield of VO and its extraction efficiency are computed by the following equations:where is the total mass of VO in a batch of herbs, assumed to be 36 kg, and

The total consumption of steam is given by

In conclusion, the input and output variables of the mechanistic model for DEPP can be expressed as

To verify the rationality and effectiveness of the established mechanistic model, a number of simulations were conducted. Figure 4 shows the effect of steam flows on the model outputs. In this simulation, all the steam flows were identical and the other operating or state conditions remained unaltered. For example,  h. The parameters used in the mechanistic model are listed in Table 1.

From Figure 4, it is clear that the extraction yields of EC and VO increase with the steam flow until reaching their respective equilibrium states, and the consumption of steam exhibits a gradual, linear rise. First, with other parameters fixed, the increased steam flow causes the feed liquid temperature to rise, and this rising temperature results in an increment in the diffusion coefficients, which will accelerate the extraction of EC. However, when the temperature reaches a stable value, owing to the characteristics of the feed liquid, the extraction of EC will gradually slow down and eventually stop once the concentration of EC in the solvent is equal to its solubility at this temperature. The recycling of VO has the similar tendency to that of EC, but the reason for such an equilibrium state is that the VO has been fully extracted at this temperature.

The effect of the extraction time on the model outputs is plotted in Figure 5. In this simulation, it was assumed that all other operating or state conditions remained unaltered and the steam flows were set as , and . It can be seen that the extraction yields of EC and VO increase with the extraction time until they reach the equilibrium state. As the extraction time increases, the heat absorbed by the feed liquid will continue to rise, which leads to the increment in the feed liquid temperature. The analysis is then similar to that for the effect of the various steam flows.

4. Optimization of the Drug Extraction Production Process

4.1. Identification of Predictive Model Parameters

To carry out such optimization, a predictive model of DEPP has been developed. This model links the operating variables (steam flow at both the bottom and side of the extraction tank and the extraction time) with the extraction efficiencies of EC and VO. In the present work, the established mechanistic model was simplified to give a predictive model. The following simplifications were made.

(1) In modeling the extraction tank, the nonlinear relationship between the mixed steam flow and temperature was linearized; that is, , where , are the parameters to be identified.

(2) As internal diffusion has less effect on the mass transfer than external diffusion, the internal diffusion was neglected to simplify the mechanistic model.

Hence, the differences between the predictive model and mechanistic model can be described asand the other parts of the mechanistic model were retained in the predictive model.

To predict the extraction efficiencies under different operating conditions, the parameters must be identified. A best fit approach was adopted in which in (34) are the values that best predict the actual DEPP data [42]. The extraction efficiencies of EC and VO were used as criteria for the parameter identification. The identification algorithm used for the predictive model is as follows.

Step 1. sets of process data () are produced by mechanistic model , in which denotes the vector of operating variables and is the vector of extraction efficiencies of EC and VO; that is, , .

Step 2. Insert into predictive model to obtain the predicted extraction efficiencies as follows:

Step 3. Parameters are determined by minimizing the following objective function of the sum of square errors (SSE) of the extraction efficiencies through an optimization algorithm:

We solved (37) using PSO, DE, and ABC and compared the performances of the algorithms with one another. The algorithms were executed times and the results averaged. The optimization results are summarized in Table 2, from which we can see that PSO achieved the best performance in solving the optimization problem.

4.2. Optimization of Single Extraction

The economic benefit per unit time is considered as the optimization objective, and the operating variables are treated as decision variables. Taking economic income and production consumption into consideration (including the economic income of EC and VO and the consumption cost of herb materials and steam), the following optimization model was established based on the predictive model:where , , , and are the prices of EC, VO, steam, and herb materials and is the weight of a batch of herb materials. The parameters and constraints in this model are listed in Tables 3 and 4, respectively. The PSO, DE, and ABC algorithms were executed 10 times to determine the optimal solution to (38), and the results are presented in Table 5. The optimization results once again validate the superiority of PSO for the problem considered in this study.

The optimal values obtained by PSO for the operating variables are listed in Table 6. The optimal operating conditions were applied to the single extraction process, and the output indexes are given in Table 7. Additionally, the variation in the extraction yield of EC and VO and the consumption of steam are plotted in Figure 6.

From this figure, we can see that the mass of EC increases with extraction time in the initial stage of the single extraction, but the rate of increase gradually slows as we reach the equilibrium state. The reason for this is that the concentration of EC in the extracted solution reaches its saturated solubility, and so no more EC will be extracted from the herb materials, even if we continue the extraction process.

There is also a comparatively small recycle yield of VO in the initial 0.75 h, because the temperature in the extraction tank is too low to boil VO and little of it can be volatilized and brought out together with vapor in the initial stages of extraction. When the temperature reaches the boiling point of VO, its recycle yield grows exponentially. As the extraction progresses, there is less VO remaining in the herbs, and the increasing tendency of the recycle yield becomes slower until all VO has been extracted.

The actual results in Table 7, however, suggest that the extraction efficiency of EC is only 35.28%, and so most of the EC has not been extracted. Thus, the quality constraints cannot be satisfied, although there is a significant economic benefit. According to national production management regulations, such a huge wastage of herb materials is forbidden, and a multiextraction process is needed to avoid wasting raw materials.

4.3. Optimization of Multiextraction

As the extraction process progresses, the extraction temperature does not always rise with an increase in the operating variables. This is because of the self-regulating characteristics of the feed liquid. As described above, the concentration of EC in the feed liquid will reach a maximum, and only VO will be recycled along with the extraction. This causes the low extraction efficiency of EC in the single extraction case. Therefore, to avoid such a situation, the first extraction should be terminated and the feed liquid containing EC should be separated from the solid herb via a filter. After this, a certain amount of new solvent can be added to the extraction tank and a second extraction can be performed. Depending on the total content of EC in the herb and its solubility in the solvent, at least three extractions are needed to remove all of the EC. A schematic diagram of the multiextraction process is shown in Figure 7, where each extraction represents a single extraction. Based on the principle of multiextraction, any surplus in the quality indexes after the th extraction, such as the total residual mass of VO and radius of unextracted core of EC, is regarded as the initial input conditions of the th extraction, where . According to this principle, a predictive model for the multiextraction process can be developed.

In developing a predictive model for the multiextraction scenario, the extraction frequency is treated as one of the operating variables (). In this study, predictive models were established for three, four, and five extractions. We now describe the three-time extraction model; the modeling approach for four and five extractions is similar. The three-extraction case is composed of three single extractions, each of which has the 13 input variables described previously. Thus, there are 39 input variables in the three-extraction predictive model:where is the vector of operating variables in the th single extraction and

The predictive outputs for the three extractions, including the total extraction yield of EC and VO, consumption of steam, and extraction efficiencies, can be calculated as

Therefore, the predictive model of three-time extraction can be summarized as

After developing predictive models for , and 5, the optimization model for multiextraction was derived by treating the extraction frequency as one of the decision variables:

In this optimization model, the extraction frequency is treated as one of the decision variables (). The decision variables must be carefully handled in solving this optimization problem. For example, when , the decision variable vector can be expressed aswhere . Similarly, when .

The advantages of PSO in solving such optimization problems have been verified many times and are not covered here. The parameters used in the PSO algorithm are presented in Table 8, and the optimal multiextraction solution obtained by the PSO method with 10 runs is given in Table 9.

From Table 9, it is clear that the optimal extraction frequency is 3, so the operating variables in the fourth and fifth extractions are all zero. These optimal operating variables were used in the mechanistic model of the multiextraction process to calculate the actual output indexes and economic benefit. The results, together with their predicted values, are given in Table 10. However, owing to the inherent errors of predictive models, it is difficult to achieve the optimized economic benefit in an actual process. The results in Table 10 indicate that a discrepancy of 6.4% exists between the predicted and actual economic benefit, which means that “optimal in the model” may not translate to “optimal for the process,” as mentioned before. This model uncertainty hampers the optimization of the multiextraction process. Hence, as discussed in Section 5, the ILC method was adopted to overcome the problem of model uncertainty.

5. Use of Iterative Learning Control to Overcome Model Uncertainty

To eliminate the impact of the model uncertainty, the iterative nature of numerical optimization and certain repetitive properties can be utilized. The idea of ILC is introduced to improve the economic benefit. In this study, we used DDOTILC with the control law (see [35] for details): where , and are positive constants; is the iteration number of the batch process and is their terminal moment; is the estimated pseudo-partial-derivative of the th batch process; and is the terminal tracking error of the output.

In the application of this approach, the economic benefit is treated as the terminal output and the operating variables are adjusted online to improve the economic benefit. The desired economic benefit is set as the predicted value obtained by solving (43). The parameters used in (45) are listed in Table 11. The blue curves in Figure 8 describe the evolution of the economic benefit under DDOTILC. The results indicate that the actual economic benefit achieves an increment of 1.5% after six batches, which partly improves the economic benefit, although this is still short of the desired economic benefit. In addition, the extraction efficiencies decrease with the increase in economic benefit, as shown in Figure 8. When the extraction efficiencies reach a threshold, the economic benefit will be inversely proportional to the extraction yields of EC and VO, because the costs of extracting the remaining EC and VO will be much greater than the additional income. Thus, the optimal economic benefit may not correspond to adjusting the operating variables to maximize the extraction of EC and VO.

The parameter settings will affect the convergence rate of ILC, and the best parameter settings should have the ability to change adaptively with the tracking error and variations in system output. In this study, the parameter in (45) was varied though fuzzy adaptive adjustment over the range []. The convergence rate of economic benefit can be changed by adjusting . When the absolute values of the tracking error of economic benefit and its variation are high, the value of should also be high. Moreover, the value of should decrease as the absolute values of tracking error and its variation decrease. According to this principle, the fuzzy adjustment rule was formulated as shown in Table 12, where and represent the absolute values of the tracking error of economic benefit and its variation, respectively. The membership functions of , and are shown in Figure 9. The first red curve in Figure 8 shows the trajectory of economic benefit based on the fuzzy adjustment of parameter , with which the advantage of the fuzzy-adjusted DDOTILC method is validated. In this simulation, .

6. Conclusion

This paper proposed a mechanistic modeling and optimization control strategy for DEPP. First, a mechanistic model of the drug extraction process was developed based on previous efforts to simulate the actual production process and produce process data. A simulation was conducted to verify the rationality and effectiveness of this mechanistic model. A predictive model was then developed by simplifying some of the processes in the mechanistic model. Simulation results demonstrated the effectiveness of this predictive model. Process optimization was first implemented for single extraction, and the results indicated an extremely low extraction yield of EC, which indicates serious wastage of herbs, although this gave a preferable economic benefit. Such wastage of raw materials is forbidden according to national production management regulations. A multiextraction DEPP is therefore necessary, and so process optimization for multiextraction was investigated. However, such optimization is hampered by model uncertainty. Therefore, the DDOTILC method was applied to partly overcome this model uncertainty. The simulation results indicate that the economic benefit can be improved by 1.5%. Finally, the idea of fuzzy adjustment was introduced to adaptively adjust the parameter in DDOTILC, which increases the convergence rate of economic benefit. The simulation results indicate that the proposed modeling and optimization control method can effectively solve the practical problems encountered in DEPP.

The proposed modeling and optimization control strategy is easy to implement in practical applications because it requires lesser accuracy of predictive models. The research in this paper is based on a mechanistic model developed to simulate actual DEPP and produce process data. However, there is no empirical research from pharmaceutical enterprises to test the validity of the model and method. All parameters used for the mechanistic modeling, such as the device parameters for the extraction tank and state parameters of DEPP, correspond to the actual production situation, so the model proposed in this work has the ability to simulate the actual DEPP, and it is reasonable to test the validity of the proposed method through simulations. The second limitation of this study is that the fuzzy rules should be based on the actual situation. For example, the initial range of must be set according to the actual DEPP scenario when applying DDOTILC.

Competing Interests

The authors declare that they have no competing interests.

Acknowledgments

The authors would like to thank National Natural Science Foundation of China under Grant nos. 61374147, 61004083, and 61203103 and Fundamental Research Funds for the Central Universities under Grant nos. N150402001 and N120404014, for supporting this research work.