Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Next Article in Journal
Entropy and the Direction of Time
Next Article in Special Issue
Estimation of Feeding Composition of Industrial Process Based on Data Reconciliation
Previous Article in Journal
Rare Event Analysis for Minimum Hellinger Distance Estimators via Large Deviation Theory
Previous Article in Special Issue
Distributed Deep Fusion Predictor for a Multi-Sensor System Based on Causality Entropy
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Constrained Parameter Estimation for a Mechanistic Kinetic Model of Cobalt–Hydrogen Electrochemical Competition during a Cobalt Removal Process

School of Automation, Central South University, Changsha 410083, China
*
Author to whom correspondence should be addressed.
Entropy 2021, 23(4), 387; https://doi.org/10.3390/e23040387
Submission received: 22 February 2021 / Revised: 19 March 2021 / Accepted: 21 March 2021 / Published: 24 March 2021
(This article belongs to the Special Issue Complex Dynamic System Modelling, Identification and Control)

Abstract

:
A mechanistic kinetic model of cobalt–hydrogen electrochemical competition for the cobalt removal process in zinc hydrometallurgical was proposed. In addition, to overcome the parameter estimation difficulties arising from the model nonlinearities and the lack of information on the possible value ranges of parameters to be estimated, a constrained guided parameter estimation scheme was derived based on model equations and experimental data. The proposed model and the parameter estimation scheme have two advantages: (i) The model reflected for the first time the mechanism of the electrochemical competition between cobalt and hydrogen ions in the process of cobalt removal in zinc hydrometallurgy; (ii) The proposed constrained parameter estimation scheme did not depend on the information of the possible value ranges of parameters to be estimated; (iii) the constraint conditions provided in that scheme directly linked the experimental phenomenon metrics to the model parameters thereby providing deeper insights into the model parameters for model users. Numerical experiments showed that the proposed constrained parameter estimation algorithm significantly improved the estimation efficiency. Meanwhile, the proposed cobalt–hydrogen electrochemical competition model allowed for accurate simulation of the impact of hydrogen ions on cobalt removal rate as well as simulation of the trend of hydrogen ion concentration, which would be helpful for the actual cobalt removal process in zinc hydrometallurgy.

Current zinc production is mainly based on zinc pyrometallurgy and zinc hydrometallurgy with the latter accounting for more than 80% of zinc production capacity [1]. Zinc hydrometallurgy consists of four processes: calcination, leaching, purification, and electrolysis. In the purification process, zinc dust is added for displacement deposition of impurity elements such as cobalt, nickel, and copper in the leaching solution thereby preventing co-deposition of impurity ions with zinc during the electrolysis process and the consequent decrease in electrolysis efficiency. The purification process involves the removal of copper, cobalt, and cadmium ions; cobalt ions are the most difficult to remove thereby making the cobalt removal step the most crucial.
The main reaction in the cobalt removal step is generally the electrochemical reaction of zinc–copper microcells [2,3,4]. Exposed zinc on the microcell surface undergoes oxidation to become zinc ions while cobalt ions obtain electrons and are reduced to elemental cobalt accompanied by reduction of hydrogen ions to hydrogen molecules. Low pH conditions (pH = 3–5) are usually adopted for cobalt removal to avoid zinc ions from forming basic zinc sulfate, which would deactivate the zinc dust by absorbing it onto its surface [5]. However, hydrogen ions have greater reactivity than cobalt ions on the zinc surface thereby making high-concentration hydrogen ions compete with cobalt ions for electrons result in a significant drop in the removal rate of cobalt [6]. To circumvent this competition, it is necessary to add copper salts, antimony salts, or arsenic salts as a catalyst to reduce the competitive reduction of hydrogen ions.
Despite such catalyst application, zinc dust in an amount twice the theoretically required amount should be used to decrease the concentration of cobalt ions to a proper level. The excess consumption of zinc dust arises from the competitive reduction of hydrogen ions. Given the large consumption of zinc dust in the purification process, how to model and estimate the cobalt removal process to achieve model-based optimal control of the cobalt removal process is an important research topic [7,8,9,10].
To model cobalt removal in the purification process of zinc hydrometallurgy, Wang [7] developed a first-order reaction kinetic model of cobalt removal assuming that the cobalt removal rate was proportional to the surface area of the zinc dust. They further used this model to develop a cobalt removal process model for continuous stirred-tank reactors (CSTRs) in series. Sun et al. [8] used the electrochemical mechanism of microcells in the cobalt removal process and treated the cathodic and anodic reactions in the cobalt removal process as independent processes under mixed potential control. They proposed a first-order electrochemical kinetic model based on mixed potential and seed concentration for the first time. Sun [9] proposed a modeling framework for strongly nonlinear processes based on multi-mechanism model synthesis, which nicely simulated the removal process of cobalt by arsenic salts. Li et al. [10] modeled cobalt removal via several interacting CSTR (ICSTR) systems with multiple time delays based on a mechanism of sharing the surface area of zinc dust in view of the competitive reduction of multiple ions in the cobalt removal process as well as the use of multiple stirred reactors in series. However, there remain multiple reactions in the zinc sulfate solution during the cobalt removal process: (1) competitive reduction of hydrogen ions and cobalt ions on the microcell surface; and (2) zinc ion hydrolysis that compensates for the loss of hydrogen ions due to reductive hydrogen evolution thereby slowing the rise of pH and affecting the cobalt removal rate. However, the cobalt removal process models proposed by Wang [7] and Sun [8,9] did not consider the competitive inhibitory effect of hydrogen ions on cobalt displacement, and the competitive reaction model was based on a mechanism of sharing the surface area of zinc dust [10]; it ignored the electrochemical nature of the competitive reaction. In addition, the impact of zinc hydrolysis on the concentration of hydrogen ions was ignored when modeling hydrogen reaction rates. These shortcomings are unfavorable for accurate assessment of the impact of pH fluctuation on zinc dust consumption and cobalt ion concentration during the cobalt removal process thereby adversely affecting optimal control of the cobalt removal process. Therefore, it is necessary to develop a kinetic model that not only incorporates the underlying electrochemical mechanism of the cobalt–hydrogen competitive reaction in the cobalt removal process but also reveals the trend of hydrogen ion concentration.
In addition to the difficulty in laying out the model structure, parameter estimates for the cobalt removal kinetic model also face many other challenges. The electrochemical reaction of various ions in the cobalt removal process and the coupling of hydrogen evolution with zinc ion hydrolysis are highly nonlinear processes. Parameter estimates for such strongly nonlinear dynamic systems usually occur through two classes of approaches.
The first class of approach estimate directly identifies the dynamic equations based on the time series of full-state values rather than solving the dynamic system [11,12]. For example, the SINDy algorithm [11] is a sparse estimation algorithm for nonlinear systems and estimates the first-order or even higher-order derivatives of the state according to available data. It then substitutes the derivatives into the state equation to estimate parameters. This approach is advantageous in that it avoids the strong nonlinearity arising from the integration of the dynamic system, but the disadvantage is that it requires high-frequency sampling of full-state data. For systems whose measurement values are partially missing or whose states are not all measurable, the state distribution at each time point can be recursively estimated through filtering and expectation-maximization followed by model parameter estimation through a state recursion equation [12,13]. However, this algorithm ensures convergence only when the initial estimates of parameters are relatively accurate.
The second class of approach is to solve the dynamic system and estimate model parameters by minimizing the differences between predicted outputs and measurements, which are usually unconstrained or simple constraints, like the upper and lower bounds of the parameters to be estimated. Different optimization algorithms may be involved in this approach—namely gradient-based optimization algorithms such as a sequential quadratic programming algorithm) versus heuristic optimization algorithms. Chai et al. [14] proposed a parameter estimation scheme for nonlinear time-delay dynamic systems that adopted a variational method to derive a formula for rapid gradient calculation greatly improving parameter estimation efficiency. However, gradient-based parameter estimation algorithms can only find locally optimal parameters and are not suitable for estimating model parameters of strongly nonlinear dynamic systems. Therefore, heuristic optimization algorithms such as particle swarm optimization (PSO) algorithms [15], state transition algorithms [16], differential evolution algorithms [17] and bee colony algorithm [18] have been widely used in parameter estimation of nonlinear systems. For example, Zhang [19] used a PSO algorithm to estimate parameters for a non-linear model of copper removal in the purification process of zinc hydrometallurgy. Deng et al. [20] used a state transition algorithm to estimate model parameters for the electrolysis process of zinc hydrometallurgy. In addition to heuristic optimization algorithms, additional prior information was incorporated into the estimation framework to narrow the parameter search space thus improving estimation efficiency and accuracy. Liu et al. [21] constructed a parameter optimization framework for a model of microbial batch fermentation that incorporated continuous state constraints according to the process mechanism and adopted an improved differential evolution algorithm to solve the estimation optimization problem. The continuous state constraints provide additional prior information for model parameter estimation to improve the reliability of estimation results. Improved differential evolution algorithms are more likely than gradient-based optimization algorithms to find globally optimal solutions, but they still use constraint penalty functions, which leads to a low estimation efficiency.
High-frequency sampling of state data is difficult for the cobalt removal process. Meanwhile, the kinetic and thermodynamic parameters in chemical databases only apply to specific experimental conditions (e.g., temperature, solution composition, and reactive electrode material) and model structures, which makes it difficult to accurately estimate the value range of a given parameter using chemical databases. These limitations prevent the algorithms above from being directly used in estimating the parameters of a given mechanistic kinetic model of the cobalt removal process. In the case of an unknown range of parameter values, a wide range of parameter searching is required to improve the solution accuracy. However, the non-linear dynamic system is solved each time that the objective function is calculated making the wide-range search time-consuming and inefficient and thereby limiting the estimation accuracy.
To overcome the obstacles to kinetic model development and parameter estimation of the cobalt removal process, firstly, this study developed a mechanistic kinetic model of cobalt–hydrogen electrochemical competition during the cobalt removal process. This model was composed of three models for the cobalt removal process: an electrochemical rate model, a mixed potential model of zinc dust, cobalt ions, and hydrogen ions, and a hydrolysis rate model of zinc ions. These models were all constructed in accordance with the principles of microcells and electrochemical kinetics. Secondly, this study proposed a constrained estimation scheme for model parameters. Specifically, mechanistic equations were simplified according to experimental data, and were then used to obtain approximate estimation equations for experimental metrics. Next, value ranges of experimental metrics were estimated according to experimental data to impose constraints on parameter estimation and narrow the parameter search space followed by transforming such constrained parameter estimation problem to an easy-to-solve box-constrained optimization problem through quasi-linear mapping of the parameters to be estimated. That is, the estimation problem of a given parameter with a difficult-to-estimate value range was transformed to the estimation problem of an experimental metric whose value range would be easily estimated from available experimental data. Meanwhile, the constraint conditions provided a relational expression directly linking the experimental metrics to the model parameters thereby providing deeper insights into the model parameters for model users.
The proposed parameter estimation scheme has three advantages. First of all, compared with the conventional unconstrained identification algorithm, the proposed constrained parameter estimation scheme does not depend on the information about the possible range of the parameters to be estimated. It obtains the searching space of parameters by building constraints of parameters based on a reasonable approximation of the experimental metrics of which rough ranges are easy to be obtained from available experimental data. As a result, the time consumption for searching optimal parameter value is dramatically reduced. Secondly, compared to the identification algorithms based on high-frequency sampling data, such as SINDy or filtering-based parameter estimation methods, it requires only low-frequency sampling experimental data. Thirdly, the constraint conditions provided by the scheme directly link the experimental phenomenon metrics to the model parameters, which provide a sense of intuition about how to adjust the parameters while the phenomenon changes in actual processes for model users.
The rest of this paper is organized as follows. In Section 1, a mechanistic kinetic model of cobalt–hydrogen electrochemical competition in the cobalt removal process is developed. In Section 2, a state-space model for cobalt removal in batch-type reactors is established based on the kinetic model and the principle of conservation of matter followed by introducing constraints into the model to construct a constrained parameter estimation problem and then transforming the problem into an easy-to-solve box-constrained optimization problem. In Section 3, the accuracy and efficiency of the proposed constrained parameter estimation algorithm in estimating model parameters based on experimental data are verified versus a conventional algorithm.

1. Cobalt–Hydrogen Electrochemical Competition Model for the Cobalt Removal Process

1.1. Mechanism Analysis of Cobalt Removal Process

During zinc hydrometallurgy, the zinc ore is calcined and dissolved to form a zinc sulfate solution that is purified and sent for electrolysis to obtain pure zinc products. However, the zinc sulfate solution usually contains copper, cobalt, nickel, and other impurity ions. Of these, cobalt ions are the most difficult to remove, and excessive cobalt ions will cause a serious decrease in the efficiency of zinc electrolysis. Therefore, the cobalt removal step is a core step in the purification process of zinc metallurgy. The cobalt removal step is generally considered to involve electrochemical reactions on the surface of microcells as illustrated in Figure 1 [2,3,4]. Hydrogen ions have a high reactivity on the zinc and cobalt surfaces allowing hydrogen ions to compete with cobalt ions for electrons and thereby inhibit the displacement of cobalt. It is often necessary to add catalysts such as copper and antimony salts in the cobalt removal process to suppress the competitive hydrogen evolution on the zinc dust surface.
During the process of catalytic removal of cobalt by copper and antimony salts, the first reaction is the displacement of copper and antimony, which are deposited on the zinc dust surface to form active microcells. The displacement deposition of copper and antimony is very fast (complete within 5 min as reported by Lew [4]). Generally, the copper-antimony deposition is complete before cobalt begins to be deposited with cobalt deposition and hydrogen evolution on the microcells as well as zinc ion hydrolysis being the main reactions afterwards. The displacement of copper does not occur at the same time as that of copper and antimony; the competitive inhibitory effect of hydrogen ions on cobalt removal was the main focus of this study—we only investigated the electrochemical reactions of cobalt and hydrogen ions as well as zinc ion hydrolysis generating hydrogen ions. Three reversible half-cell reactions occur on the zinc-based microcell (Figure 1):
Zn2+ + 2e↔Zn
Co2+ + 2e↔Co
2H+ + 2e↔H2
Zinc ion hydrolysis occurs in the main solution as shown by the following formula:
Zn2+ + 2H2O↔Zn(OH)2 + 2H+
In the actual process of cobalt removal, the net direction of half-cell Reaction (1) is to the left providing the electrons required for the evolution of hydrogen and displacement deposition of cobalt. Cobalt ions are displaced and deposited through a half-cell Reaction (2). Hydron evolution occurs through half-cell Reaction (3) in which hydrogen ions compete with cobalt ions for electrons reducing the cobalt removal rate. Zinc ion hydrolysis replenishes hydrogen ions as they are reduced and evolve as hydrogen gas exerting a buffering effect and indirectly affecting the cobalt removal rate.

1.2. Reaction Kinetics of Cobalt Removal

Almost all the data published [2,3,4,5,6] showed that the activation energy of cobalt removal reaction was higher than 40 kJ/mol, so it must be a chemically controlled process rather than a diffusion-controlled one. The electrochemical reaction for cobalt removal occurs on the microcell surface and is driven by the potential difference between the microcell surface and the solution. Given the very small diameters of the microcells and the high electrical conductivity of zinc and copper as the major microcell electrodes, we assumed that the potential at different areas on the microcell surface is identical, which is referred to as mixed potential and denoted as E t in V. According to the principles of electrochemical kinetics—assuming that the total reactive surface area of microcells is proportional to the elemental zinc concentration—one can express the reverse rate of half-cell Reaction (1):
r 1 c t , E t =   k 1 c Zn , 0 c Zn 2 + t e x p ( 2 β 1 F E t R T b 1 c Zn t c Zn , 0 e x p ( β 1 F E t R T ) )
where c t represents the reactant concentration vector, c t =   [ c Zn 2 + t , c Zn t , c Co 2 + t , c Co t , c H + t , c Zn ( OH ) 2 t ] T ; c M t , M   =   Zn 2 + ,   Zn ,   Co 2 + ,   Co ,   H + ,   Zn ( OH ) 2 is the concentration of reactant M in mol/L; r i , i = 1 , , 4 is the rate of reaction (i), which is a function of c t and E t ; c Zn , 0 is the initial concentration of elemental zinc in mol/L; k 1 is the rate constant of Reaction (1); b 1 is the equilibrium constant of Reaction (1); β 1 is the anode transfer coefficient of Reaction (1); F is the Faraday constant (96,485 C/mol); R is the gas constant (8.314); and T is the reaction temperature (346 K in this study).
Assuming that cobalt displacement is determined by the electrochemical reaction and that the number of electrons involved is 2, the reaction rate of half-cell Reaction (2) can be expressed as:
r 2 c t , E t =   k 2 c Zn , 0 c Co 2 + t e x p ( α 2 E t F R T b 2 c Co t c Zn , 0 e x p ( 2 α 2 E t F R T ) )
where k 2 is the rate constant of Reaction (2), b 2 is the equilibrium constant of Reaction (2), and α 2 is the cathode transfer coefficient of Reaction (2).
Given that the reverse of hydrogen evolution Reaction (3) is usually weak and can be ignored, only the forward reaction is considered in this study. Accordingly, the rate of hydrogen evolution reaction is:
r 3 c t , E t =   k 3 c Zn , 0 c H + t e x p ( α 3 F E t R T )
where k 3 is the rate constant of Reaction (3), b 3 is the equilibrium constant of Reaction (3), and α 3 is the cathode transfer coefficient of Reaction (3).
According to the principle of an electric double layer (EDL), the rate of change of mixed potential of a microcell is proportional to the total electrochemical current on the microcell as follows:
E ˙ t =   C 1 F i = 1 3 2 r i c t , E t
where C is the capacitance of the EDL. The rate of hydrolysis Reaction (4) of zinc ions is:
r 4 c t , E t =   k 4 ( c Zn 2 + t b 4 c Zn ( OH ) 2 t c H + t ) 2
where k 4 is the rate constant of Reaction (4), and b 4 is the equilibrium constant of Reaction (4).
Formulas (5)–(9) constitute a kinetic model of cobalt–hydrogen electrochemical competition in the cobalt removal process, which contain many unknown parameters and whose estimation algorithms will be elaborated in the next section.

2. Constrained Parameter Estimation Algorithms for The Cobalt–Hydrogen Electrochemical Competition Model

For the cobalt–hydrogen electrochemical competition model, the value of hydrolysis rate constant k 4 was set to 1 × 10 8 in this study considering that its fluctuation within a certain range would have little impact on modeled concentration of cobalt and hydrogen ions. In addition, the charge and discharge time of a microcell was assumed to be less than the reaction characteristic time, i.e., F C 1 was relatively large. In such a scenario, the fluctuation of F C 1 within a certain range would have little impact on model results and accordingly its value was set to 1 × 104. The important parameter vector to be estimated to be:
p 0   =   β 1 , α 2 , α 3 , k 1 , k 2 , k 3 , b 1 , b 2 , b 4
In view of the great order of magnitudes in the fluctuation of reaction rate constants and equilibrium constants, the last six constants in p 0 were logarithm-transformed thereby leading to the following estimates of the parameter vector:
p 1   =   β 1 , α 2 , α 3 , l n ( k 1 , l n ( k 2 ) , l n ( k 3 ) , l n ( b 1 ) , l n ( b 2 ) , l n ( b 4 ) ]
Lew and colleagues [4] performed experimental tests under 20 conditions to explore the impacts of copper and antimony contents, pH, zinc dust dosage, and zinc dust particle size on the efficiency of batch removal of cobalt under catalysis by copper and antimony. They obtained abundant kinetic data on the cobalt removal process. Experimental data under five conditions regarding the impact of pH on cobalt removal rate in that study were taken as source data to estimate the parameters of the present mechanistic kinetic model. These experimental data were the monitored values of cobalt ion concentration at constant pH values of 3.0, 3.6, 4.0, and 4.4 as well as the monitored values of cobalt ion concentration and pH under an uncontrolled pH condition (Page 62, Figure 4-31; Page 47, Figure 4-10; page 42, Figure 4-4). Since the cobalt removal tests by Lew [4] were performed in batch reactors, a state-space model will be developed in Section 2.1 based on the cobalt–hydrogen competition model developed in Section 1 to describe the batch removal process of cobalt. Section 2.2 will construct a parameter estimation problem based on the state-space model and address the difficulty in solving the problem. Section 2.3 proposes constraint conditions to make the above parameter estimation problem become a constrained parameter estimation problem. Section 2.4 further transforms the problem into an easy-to-solve box-constrained optimization problem.

2.1. State Space Model for the Batch Removal Process of Cobalt

For a given half-cell reaction, its state function is constructed in terms of the cumulative concentration change of the reactant as follows:
x ˙ i t   =   r i c t , E t , i = 1 , , 4
where t represents time in min, and x i t the cumulative concentration changes of the reactant of reaction (i) in mol/L. The material balance equation in the batch reactor is:
c t   =   c 0 + Λ x t
where c 0 is the vector of the initial concentration of reactants added in batch:
c 0   = [ c Zn 2 + , 0 , c Zn , 0 , c Co 2 + , 0 , c Co , 0 , c H + , 0 , c Zn ( OH ) 2 , 0 ] T
Here, c M , 0 (M = Zn2+, Zn, Co2+, Co, H+, Zn(OH)2) is the initial concentration of reactant M in mol/L, and Λ is a stoichiometric coefficient matrix where column i represents the stoichiometric coefficients of all the six reactants for reaction (i), i = 1, 2, 3, and 4, based on Equations (1)–(4):
Λ   =   1 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 2 2 0 0 0 1
According to Equations (8) and (12), the mixed potential in the batch reactor is:
E t =   E 0 + F C 1 2 2 2 x t
where E 0 is the initial mixed potential in V. Considering that the experimental data used for model parameter estimation in this study included cobalt ion concentration and pH, the model output is:
y t   =   c Co 2 + t c H + t   =   0 0 1 0 0 0 0 0 0 0 1 0 c 0 + 0 1 0 0 0 0 2 2 x t
Equations (12)–(16) constitute a state-space model of the batch removal process of cobalt where the state vector is x and the output is y . For the convenience of description, function G is introduced to represent the relationship between the parameters, the initial concentration of reactants, and the model output in the state-space model (13) of the batch removal process of cobalt as follows:
y t   =   G ( t | p , c 0 )
Since the experimental data used for model parameter estimation in this study also included the experimental data of batch removal of cobalt under constant-pH conditions, it is necessary to develop a state-space model for such removal processes under constant-pH conditions. Accordingly, the hydrogen ion concentration is set to a constant value in the state space model Equation (13) followed by solving the equations to obtain the model output. Specifically, Equations (13) and (16) are replaced by Equations (18) and (19), respectively:
c t   =   c 0 + Λ * x t
y t   =   c Co 2 + t c H + t   =   0 0 1 0 0 0 0 0 0 0 1 0 c 0 + 0 1 0 0 0 0 0 0 x
In Equation (18), one has:
Λ *   =   1 0 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 1
To simplify subsequent expressions, the relationship between the parameters obtained based on Equations (12), (15), (18), (19) and (20), the initial concentration of the reactants, and the model output is expressed as:
y t   =   G * ( t | p , c 0 )

2.2. Parameter Estimation Problem of Cobalt–Hydrogen Electrochemical Competition System

For electrochemical rate Equations (5)–(7), the cathode and anode reaction transfer coefficients are confined in the following ranges:
β 1 0.7 , 1.5 , α 2 0.2 , 0.8 , α 3 0.2 , 0.8
In order to identify the model parameters, experimental data published in Lew [4], a doctoral thesis on the mechanism of the copper-antimony activated cobalt removal from zinc sulphate solutions, were used in this paper. In Lew [4], the cobalt removal experiments were carried out in a batch stirred reactor, as shown in Figure 2. The volume of the reactor is 4 L, and the stirring speed is 700 RPM. The main component of the reaction solution was ZnSO4, and a certain amount of copper, antimony and cobalt ions were added one time in advance according to the design of each experiment. Zinc powder was added at one time at the initial stage of the reaction. During the experiments, the cobalt ion concentration was measured by sampling using a 50-mL pipette at intervals of 5, 15, 30, 45, 60 and 90 min, and the pH values are monitored online. The data from five experiments are selected from Lew [4] for model identification: experiment with natural pH (initial pH = 3.7), controlled pH (pH = 3.0), controlled pH (pH = 3.6), controlled pH (pH = 4.0), and controlled pH (pH = 4.4). In general, the experimental setup of the data used by this study was performed under the following conditions:
  • 4 g/L loading with −100 + 140 mesh (126 to 174 micron) zinc dust;
  • The batch reactor was heated in a thermostated water bath and maintained to within 1 °C of the target value of temperature 73 °C;
  • Natural pH: the pH was allowed to come to its own equilibrium from a starting pH of 3.7;
  • Controlled pH: the pH was controlled to be within 0.2 units of the target value using a pH controller;
  • 26 mg/L Co;
  • 46 mg/L Cu, 1.5 mg/L Sb were added as catalysts.
Accordingly, the following parameter estimation problem is proposed:
m i n p 1 j = 1 5 i = 1 n Co , j 1 n Co , j l n ( c Co 2 + , 0 j c ^ Co 2 + j t i , Co 2 + j ) l n ( c Co 2 + , 0 j c Co 2 + , i j ) + λ pH n pH l = 1 n PH l o g 10 ( c ^ H + 1 t l , H + 1 ) pH l s . t . c ^ Co 2 + j t c ^ H + j t   =   G ( t | p 1 , c 0 j ) , if   j = 1 , G * ( t | p 1 , c 0 j ) , if   j > 1 , β 1 0.7 , 1.5 , α 2     0.2 , 0.8 , α 3 0.2 , 0.8 .
where j = 1,2,3,4,5 represent natural pH, controlled pH (pH = 3.0), controlled pH (pH = 3.6), controlled pH (pH = 4.0), and controlled pH (pH = 4.4), respectively. For the natural pH condition, cobalt concentration data (Page 47, Figure 4-10) and pH values (page 42, Figure 4-4) were collected while for the other four controlled-pH conditions (j = 2,3,4,5) only cobalt concentration data were collected (Page 62, Figure 4-31). c 0 j represents the initial concentration in test j; c ^ Co 2 + j t and c ^ H + j t represent the model-predicted concentration of cobalt ion and hydrogen ion in test j, respectively; c Co 2 + , i j , and pHl represent the i-th measurement value of cobalt ion concentration and the l-th measurement value of pH in test j, respectively; t i , Co 2 + j and t l , H + j represent the measurement time of cobalt ion concentration and pH in test j, respectively; λ pH is the weight coefficient of pH; n pH is the number of collected pH values in test 1; and n Co , j is the number of collected concentration values of cobalt ions in test j.
The model parameters can be estimated by solving Equation (22), which is very difficult to solve. The nonlinearity of mechanistic kinetic Equations (5)–(9) makes Equation (22) a non-convex optimization problem, which is difficult to directly solve via gradient-based optimization algorithms (such as sequential quadratic programming algorithms and interior-point algorithms); however, it is usually solvable by heuristic optimization algorithms only when the ranges of parameter values are known. However, since the kinetic and thermodynamic parameters in the standard chemical databases apply to specific experimental conditions, such as temperature, solution composition, electrode matrix composition, and kinetic models, it is difficult to find corresponding values from chemical databases for the present model parameters (i.e., k 1 , k 2 , k 3 , b 1 , b 2 , b 4 ) thereby making it impossible to estimate the reasonable value ranges of the parameters. To ensure that the optimal parameters are found, it is necessary to give a large parameter search range, but a large range search will result in low optimization efficiency. A more serious issue is that there is coupling between the competitive electrochemical reactions, the hydrogen evolution, and the zinc ion hydrolysis in the cobalt–hydrogen electrochemical competition mechanism model, which forms a highly nonlinear process. As a result, there would be large differences in reaction characteristic time between reactions (1)–(4) when model parameters are randomly set to a value, thereby causing the state-space model of batch reactor to achieve a very stiff dynamic system. A trial solution of such a system is time-consuming and results in low optimization search efficiency.
The key to overcoming the limitations above is to accurately determine the parameter value ranges. Although it is impossible to directly obtain the value ranges of the model parameters, it is still possible to experimentally estimate a reasonable value range using some experimental data measured under certain conditions such as the mixed potential within a certain period of time, the apparent first-order reaction rate constant, the equilibrium concentration, and the change of the rate of solid deposition or gas evolution at a certain time. Provided that an approximate relationship between these experimental data and the model parameters is obtained, it would be possible to further impose constraints on the parameters to rapidly determine a reasonable range of parameter values and improve the solution efficiency.
In the next sub-section, assumptions are made based on experimental data to simplify the mechanistic equations so that they can be partially yet directly solved. The solutions are directly used to establish approximate expressions linking the model parameters to some experimental metrics. Next, constraints are introduced for the model parameters by specifying value ranges of the experimental metrics based on experimental data, thereby leading to a constrained parameter estimation scheme.

2.3. Constrained Parameter Estimation Algorithm

2.3.1. Constraints on Electrochemical Parameters

In this sub-section, the cobalt removal experimental data at pH 3 reported by Lew [4] (Section 4, Page 60–62) will be analyzed in view of the test conditions so as to introduce proper consumptions for simplifying the reaction kinetic models. Next, the mixed potential, the apparent first-order reaction rate constant, and equilibrium cobalt concentration were estimated as experimental metrics according to the simplified kinetic equations to impose constraints on relevant electrochemical parameters of cobalt and hydrogen. The mixed-potential change rate Equation (8) is simplified. Based on the assumption that the charge and discharge of the EDL capacitor are fast (i.e., F C 1 is sufficiently large), the charge and discharge time is ignored thereby allowing Equation (8) to be approximated by a balance equation:
i = 1 3 r i c t , E t =   0
As indicated by the above equation, the total number of electrons lost through oxidation on a microcell is equal to the total number of electrons obtained through reduction. According to Lew [4] (Page 61, Table 4-2), the first-order reaction rate constant of cobalt was about 489 × 10 6   sec 1 pH 3. The first-order reaction rate constant of hydrogen was estimated here to be 767 × 10 5   sec 1 based on the early-stage portion (0–5 min) of the hydrogen evolution curve reported by Lew [4] (Page 70, Figure 4-42) with zero initial concentration of zinc ions. This was about 15 times that of cobalt. In the test at pH 3, the hydrogen ion concentration was approximately 2.26-times the cobalt ion concentration (26 mg/L). Considering that two electrons are consumed to displace a single cobalt ion while one electron is required for the reduction of a single hydrogen ion, the current of hydrogen evolution Reaction (3) is approximately 15 × 2.26 / 2 that of cobalt reduction (2). The concentration of cobalt ions became smaller with the passage of time. However, the concentration of hydrogen ions remained nearly constant under constant-pH conditions, which makes the current of Reaction (3) increasingly large relative to that of Reaction (2). Consequently, the current of Reaction (2) would have little impact on the mixed potential, which was largely affected by Reaction (3) and zinc dissolution Reaction (1). That is, the coefficient r 2 in Equation (23) can be ignored. In addition, the reverse rate of zinc dissolution Reaction (1) is assumed to be ignorable when estimating the mixed potential thereby allowing Equation (23) to be further simplified:
k 1 c Zn , 0 b 1 c Zn c Zn , 0 e x p ( β 1 F E R T ) + k 3 c Zn , 0 c H + e x p ( α 3 F E R T )   =   0
The mixed potential can be estimated from Equation (24):
E est   =   R T F 1 ( β 1 + α 3 ) 1 l n ( k 3 c Zn , 0 c H + ) l n ( b 1 k 1 c Zn )
The experimental data of Lew [4] (Page 61, Figure 4-29) showed that the potentiometer reading was approximately −0.6 V for sludge at pH 3 ( c H + = 10 3   mol / L ); thus, we assumed that E est 0.7 , 0.5 . In addition, the amount of zinc dust added during the cobalt removal reaction is excessive (more than 20 times the amount of zinc dust theoretically required for displacement of copper, antimony, and cobalt ions). Thus, we assumed that the content of zinc dust is roughly constant, namely c Zn c Zn , 0 . Substitution of this expression in Equation (25) leads to the following constraint:
β 1 + α 3 ) 1 l n ( b 1 k 1 k 3 1 + 3 l n ( 10 )     [ 0.7 F ( R T ) 1 , 0.5 F R T ) 1
Considering that the reverse rate of the displacement reaction of cobalt ions at the early stage is negligible compared to the forward rate, the displacement reaction rate of cobalt ions can be estimated using mixed-potential estimation Equation (25) as follows:
r 2     k 2 c Zn , 0 c Co 2 + ( b 1 k 1 c Zn ) α 2 β 1 + α 3 ( k 3 c Zn , 0 c H + ) α 2 β 1 + α 3
Assuming that the content of zinc dust is roughly constant, namely c Zn c Zn , 0 , the apparent first-order reaction rate constant of cobalt displacement reaction can be calculated as follows:
k ˜ 2     k 2 c Zn , 0 ( b 1 k 1 ) α 2 β 1 + α 3 ( k 3 c H + ) α 2 β 1 + α 3
The experimental data of Lew [4] (Page 61, Table 4-2) showed that at pH 3, the apparent first-order reaction rate constant of cobalt displacement reaction was 0.02934 min−1. Considering the model simplification error, one may let k ˜ 2 [ 0.015   min 1 , 0.060   min 1 ] . Based on Equation (28), the following constraint is obtained:
α 2 β 1 + α 3 ) 1 l n ( k 1 ) + l n ( b 1 ) l n ( k 3 ) + 3 l n ( 10 ) + l n ( k 2 + l n ( c Zn , 0 )     l n ( 0.015 , l n ( 0.060 ) ]
The rate of hydrogen evolution reaction is:
r 3     k 3 c Zn , 0 c H + ( b 1 k 1 c Zn ) α 3 β 1 + α 3 ( k 3 c Zn , 0 c H + ) α 3 β 1 + α 3
Accordingly, the apparent first-order rate constant of hydrogen evolution reaction is:
k ˜ 3     k 3 c Zn , 0 ( b 1 k 1 c Zn ) α 3 β 1 + α 3 ( k 3 c Zn , 0 c H + ) α 3 β 1 + α 3
As shown by the earlier analysis of the experimental data of Lew [4] in this sub-section, the rate constant of hydrogen evolution reaction was about 15 that of cobalt reduction at pH = 3. In view of the estimation error, the following constraint assumption is introduced for parameter estimation: At pH 3, the apparent pseudo-first-order rate of hydrogen evolution reaction is between 5–50 times the apparent first-order rate of cobalt reduction, namely k ˜ 3 k ˜ 2 1 5 , 50 . Taking logarithms of both sides based on Equations (31) and (28) while assuming that c Zn c Zn , 0 yields the following constraint:
α 3 α 2 β 1 + α 3 ) 1 l n ( b 1 k 1 k 3 1 ) + 3 l n ( 10 ) + l n ( k 3 k 2 1     l n ( 5 , l n ( 10 ) ]
Substituting mixed-potential estimation expression (25) into the reaction rate Equation (6) of cobalt displacement Reaction (2) and letting r 2 = 0 , the equilibrium concentration of cobalt can be calculated as:
c Co 2 + , eq   =   b 2 ( k 3 c Zn , 0 c H + ) 2 β 1 + α 3 ( b 1 k 1 c Zn ) 2 β 1 + α 3 b 2 ( k 3 c Zn , 0 c H + ) 2 β 1 + α 3 ( b 1 k 1 c Zn ) 2 β 1 + α 3 + c Zn , 0 c Co 2 + , 0
According to the experimental data of Lew [4] (Page 47, Figure 4-10), c Co 2 + , eq 0.1 c Co 2 + , 0 . Accordingly, the first term in the denominator of the above equation can be ignored. Moreover, assuming c Zn c Zn , 0 :
c Co 2 + , eq     b 2 ( k 3 c H + ) 2 β 1 + α 3 ( b 1 k 1 ) 2 β 1 + α 3 c Zn , 0 1 c Co 2 + , 0
According to the experimental data of Lew [4] (Page 47, Figure 4-10), the logarithmic ratio ( l n ( c Co 2 + , 0 c Co 2 + , eq 1 ) ) of the equilibrium to the initial concentration of cobalt ions was approximately 4.2 at pH 3. It is assumed that l n ( c Co 2 + , 0 c Co 2 + , eq 1 ) 3 , 8 considering the model simplification error. Accordingly, the following constraint can be imposed:
2 β 1 + α 3 1 l n ( k 1 b 1 k 3 1 ) + 3 l n ( 10 ) l n ( b 2 ) + l n ( c Zn , 0 )     3 , 8
Moreover, the forward rate of zinc dissolution Reaction (1) considered in the mixed-potential equation is assumed to be less than the reverse rate thereby leading to the following constraint:
c Zn 2 + e x p ( 2 β 1 F E est R T )     1 2 b 1 c Zn c Zn , 0 e x p ( β 1 F E est R T )
Mixed-potential estimation Equation (16) is substituted into the above equation while assuming c Zn c Zn , 0 . Meanwhile, given that the initial concentration of zinc ions (151 g/L) is far greater than the initial concentration of elementary zinc (4 g/L), it is further assumed that c Zn 2 + c Zn 2 + , 0 , i.e., the concentration of zinc ions remains constant. Accordingly, the following constraint can be imposed:
2 β 1 + α 3 1 l n ( b 1 k 1 k 3 1 ) + 3 l n ( 10 ) l n ( b 1 ) + l n ( c Zn 2 + , 0 )     l n ( 2 )

2.3.2. Constraints on Hydrolysis Parameters

The hydrolysis Reaction (4) affects the rate of cobalt displacement reaction mainly by releasing hydrogen ions and consequently alleviating the decreasing trend of hydrogen ion concentration. Hereinafter, the simplified model is analyzed to derive an equation to estimate the attenuation coefficient for the apparent rate of hydron ion consumption in the presence of zinc ion hydrolysis. Next, the estimation equation is used to derive a constraint on hydrolysis parameter b4. The hydrolysis Reaction (4) generally has large forward and reverse rate constants and thereby can be treated as a quasi-equilibrium reaction namely r4 = 0. Therefore:
c Zn 2 + b 4 c Zn ( OH ) 2 c H + 2   =   0
Taking the total differential of the above equation:
δ c Zn 2 + b 4 c H + 2 δ c Zn ( OH ) 2 2 b 4 c Zn ( OH ) 2 c H + δ c H + = 0
Taking the total differential of state Equation (12) and material balance Equation (13):
δ x i t = r i δ t , i   =   1 , 2 , 3 δ c Zn 2 +   =   δ x 1 t δ x 4 t δ c H +   =   2 δ x 3 t + 2 δ x 4 t δ c Zn ( OH ) 2   =   δ x 4 t
Substitution of Equation (40) into Equation (39) leads to:
δ x 4 t δ t   =   4 b 4 c Zn ( OH ) 2 c H + 1 + b 4 c H + 2 + 4 b 4 c Zn ( OH ) 2 c H + r 3 1 1 + b 4 c H + 2 + 4 b 4 c Zn ( OH ) 2 c H + r 1
A combination of Equation (41) with Equation (23) of equilibrium mixed potential:
δ x 4 t δ t   =   4 b 4 c Zn ( OH ) 2 c H + + 1 1 + b 4 c H + 2 + 4 b 4 c Zn ( OH ) 2 c H + r 3 + 1 1 + b 4 c H + 2 + 4 b 4 c Zn ( OH ) 2 c H + r 2
According to Equations (40) and (42), the rate of change of hydrogen ion concentration with time is:
c ˙ H +   =   δ c H + δ t   =   2 δ x 3 t + 2 δ x 4 t δ t =   2 b 4 c H + 2 1 + b 4 c H + 2 + 4 b 4 c Zn ( OH ) 2 c H + r 3 + 2 1 + b 4 c H + 2 + 4 b 4 c Zn ( OH ) 2 c H + r 2
The second term in equation (43) incorporates the impact of cobalt removal rate r 2 on the rate of change of hydrogen ion concentration. Close examination of the experimental data of Lew [4] (Page 58, Figure 4-27) reveals that the pH evolution curve is only slightly affected by cobalt ion concentration thereby allowing one to ignore the second term of the above equation. In addition, rearrangement of hydrolysis equilibrium Equation (38) gives:
c Zn ( OH ) 2   =   b 4 1 c Zn 2 + c H + 2
Substitution of Equation (44) into Equation (43) leads to Equation (45):
c ˙ H +   =   2 b 4 c H + 2 ( 1 + b 4 c H + 2 + 4 c Zn 2 + c H + 1 ) 1 r 3
As shown above, zinc ion hydrolysis (4) alleviates the declining trend of hydrogen ion concentration. Therefore, the attenuation coefficient for the apparent consumption rate of hydrogen ions relative to the rate of hydrogen ion reduction (3) is less than one:
λ H +   =   b 4 c H + 2 ( 1 + b 4 c H + 2 + 4 c Zn 2 + c H + - 1 ) 1
The t-pH curve generated under the condition of zero initial concentration of zinc ions by Lew [4] (Page 70, Figure 4-42) showed that the rising slope of pH was much greater when the initial concentration of zinc ions was low than when it was high in the early stage (0–5 min) (Page 42, Figure 4-4). This trend suggests that the presence of zinc ions has a significant impact on the apparent rate of hydrogen evolution. Therefore, the attenuation coefficient λ H + should be much less than 1 in the presence of zinc ions. Moreover, the third term of the denominator, which is a zinc ion-related term, is the largest one among the three terms: 4 c Zn 2 + c H + - 1 . Accordingly, the attenuation coefficient can be approximated as:
λ H +     b 4 c H + 2 ( 4 c Zn 2 + c H + - 1 ) 1
The experimental data of Lew [4] (Page 42, Figure 4-4) showed that when the pH was above 4.4, the slope of the pH curve was much smaller than that in the initial stage. It is assumed here that λ H + pH = 4.4 0.01 , 0.1 and c Zn 2 + c Zn 2 + , 0 . Taking the logarithm of λ H + , one has the following constraint on hydrolysis rate constant b 4 :
l n ( b 4 c Zn 2 + , 0 1 )     11.2 × l n ( 10 + l n ( 4 ) , 12.2 × l n ( 10 ) + l n ( 4 ) ]
In this section, to reduce the searching space of parameters, the constraints on parameters are derived based on the approximation of experimental phenomenon metrics. However, the approximation formula of experimental phenomenon metrics can also be useful in parameter adjustment and optimizing. For example, Equation (28) for apparent first-order reaction rate of cobalt removal, can be used for determining the rough range of the required zinc loading and pH setting value under the constraints about cobalt removal rates. Equations (28), (31), (34), (47) also provide some intuitive information about the relation between the model parameters and process dynamical behavior, and thus would be useful for adjustment of model parameters while the dynamic changes in practical cobalt removal process.

2.3.3. Constrained Parameter Estimation Problem

Introduction of constraints (Equations (26), (29), (32), (35), (37) and (48)) into the parameter estimation problem (22) leads to a constrained parameter estimation problem:
m i n p 1 j = 1 5 i = 1 n Co , j 1 n Co , j l n ( c Co 2 + , 0 j c ^ Co 2 + j t i , Co 2 + j ) l n ( c Co 2 + , 0 j c Co 2 + , i j ) + λ pH n pH l = 1 n PH l o g 10 ( c ^ H + 1 t l , H + 1 ) pH l s . t . c ^ Co 2 + j t c ^ H + j t   =   G ( t | p 1 , c 0 j ) , if     j = 1 , G * ( t | p 1 , c 0 j ) , if   j > 1 , β 1 0.7 , 1.5 , α 2     0.2 , 0.8 , α 3     0.2 , 0.8 , 26 , 29 , 32 , 35 , 37 , 48 .
Equation (49) contains nonlinear constraints (Equations (26), (29), (32), (35), (37) and (48)). Gradient-based constrained optimization algorithms such as the sequential quadratic programming algorithm and the interior-point algorithm can only handle convex constrained optimization or quasi-convex constrained optimization problems while Equation (49) is a non-convex constrained optimization problem and cannot be solved using such algorithms. Heuristic optimization algorithms are effective in solving non-convex, box-constrained optimization problems; i.e., each decision variable is bounded by two constant values as the upper and lower limits. However, because nonlinear constraints generally come in different forms and are difficult to handle in a unified manner, parameter optimization would be far less satisfactory under nonlinear constraints than under box constraints. A more serious problem is that most intelligent constrained optimization methods require sampling outside the feasible region such as various heuristic optimization algorithms with penalty functions.
In Equation (49), however, most of the parameters outside the feasible region are rigid parameters, which will cause the state-space model to be unsolvable and thus seriously affect the optimization efficiency. Therefore, the constraints contained in Equation (49) will be analyzed in the next sub-section to transform Equation (49) into an easy-to-solve box-constrained optimization problem so that a general heuristic optimization algorithm can be used to iteratively optimize the parameters within the feasible region of the constraints to achieve higher solution efficiency and accuracy.

2.4. Parameter Transformation before Estimation

Constraints (Equations (26), (29), (32), (35), (37) and (48)) will be linear constraints in which are linearly combined if are ignored. Optimization problems with linear constraints can be transformed to a box-constrained optimization problem through linear mapping of the parameters to be estimated. Let:
p 1   =   , l n ( k 1 , l n ( k 2 ) , l n ( k 3 ) , l n ( b 1 ) , l n ( b 2 ) , l n ( b 4 ) ] T
It is obvious that the following equation holds:
p 1   =   β 1 , α 2 , α 3 , ( P ( 1 , 2 ) ) T
Equation (49) is now re-formulated as:
m i n β 1 , α 2 , α 3 , p 1 , 2 j = 1 5 i = 1 n Co , j 1 n Co , j l n ( c Co 2 + , 0 j c ^ Co 2 + j t i , Co 2 + j ) l n ( c Co 2 + , 0 j c Co 2 + , i j ) + λ pH n pH l = 1 n PH l o g 10 ( c ^ H + 1 t l , H + 1 ) pH l s . t . c ^ Co 2 + j t c ^ H + j t   =   G ( t | p 1 , c 0 j ) , if     j = 1 , G * ( t | p 1 , c 0 j ) , if     j > 1 , β 1     0.7 , 1.5 , α 2 0.2 , 0.8 , α 3     0.2 , 0.8 , A β 1 , α 2 , α 3 p 1 , 2 + B β 1 , α 2 , α 3     z m i n , z m a x
Where
A β 1 , α 2 , α 3   =   ( β 1 + α 3 ) 1 0 ( β 1 + α 3 ) 1 ( β 1 + α 3 ) 1 0 0 α 2 ( β 1 + α 3 ) 1 1 α 2 ( β 1 + α 3 ) 1 α 2 ( β 1 + α 3 ) 1 0 0 α 3 α 2 ( β 1 + α 3 ) 1 1 β 1 + α 2 ( β 1 + α 3 ) 1 α 3 α 2 ( β 1 + α 3 ) 1 0 0 2 ( β 1 + α 3 ) 1 0 2 ( β 1 + α 3 ) 1 2 ( β 1 + α 3 ) 1 1 0 2 ( β 1 + α 3 ) 1 0 2 ( β 1 + α 3 ) 1 2 ( β 1 + α 3 ) 1 1 0 0 0 0 0 0 0 1
B β 1 , α 2 , α 3   =   l n ( 10 3 ) β 1 + α 3 l n ( 10 3 ) α 2 β 1 + α 3 + l n ( c Zn , 0 ) l n ( 10 3 ) α 3 α 2 β 1 + α 3 l n ( 10 6 ) β 1 + α 3 + l n ( c Zn , 0 ) l n ( 10 6 ) β 1 + α 3 + l n ( c Zn 2 + , 0 ) l n ( c Zn 2 + , 0 )
z m i n   =   [ 0.7 F R T   , ln 0.015 , ln 5 , 3 , , 11.2 × ln 10 + ln 4 ] T
z m a x   =   0.5   F R T   ,   l n 0.060 , l n 10 , 8 , l n 2 , , 12.2 × l n 10 + l n 4 T
The parameters to be estimated in Equation (52) are transformed through quasi-linear mapping:
z   =   A β 1 , α 2 , α 3 p 1 , 2 + B β 1 , α 2 , α 3
As indicated by the structure of A β 1 , α 2 , α 3 , this matrix is an invertible matrix. Accordingly:
p 1 , 2   =   A ( β 1 , α 2 , α 3 ) 1 z B β 1 , α 2 , α 3
Equation (52) now can be transformed to problem Equation (59) as follows:
m i n β 1 , α 2 , α 3 , z j = 1 5 i = 1 n Co , j 1 n Co , j l n ( c Co 2 + , 0 j c ^ Co 2 + j t i , Co 2 + j ) l n ( c Co 2 + , 0 j c Co 2 + , i j ) + λ pH n pH l = 1 n PH l o g 10 ( c ^ H + 1 t l , H + 1 ) pH l s . t . c ^ Co 2 + j t c ^ H + j t   =   G ( t | A β 1 , α 2 , α 3 ) 1 z B β 1 , α 2 , α 3 , c 0 j , if   j = 1 , G * ( t A β 1 , α 2 , α 3 ) 1 z B β 1 , α 2 , α 3 , c 0 j , if   j 1 , β 1 0.7 , 1.5 , α 2     0.2 , 0.8 , α 3 0.2 , 0.8 , z z m i n , z m a x
Equation (59) is a pure box-constrained optimization problem and such a problem can be solved using the general PSO algorithm [14]. Meantime, as indicated by the constraint construction process in Section 2.3.1 and Section 2.3.2, some parameters of z are actually linearly related to some experimental metrics (e.g., mixed potential, apparent first-order reaction rate constant of cobalt, equilibrium concentration); z m i n and z m a x are the transformed lower and upper limits of the experimental metrics, respectively. Therefore, the proper solution of Equation (59) is an estimation of value ranges for experimentally measurable metrics that are transformed from kinetic model parameters whose value ranges are difficult to estimate directly.
In summary, the proposed parameter estimation algorithm for cobalt–hydron electrochemical competition is as follows (Algorithm 1):
Algorithm 1: Constrained parameter estimation algorithm (CPEA)
The inputs include the following: monitored cobalt ion concentration, monitored pH c Co 2 + , i j , j = 1 , , 5 , i = 1 , , n Co , j ,   pH l , l = 1 , , n pH initial concentration vector c 0 j initial mixed potential E 0 weight coefficient λ pH Npop (the population size of the PSO algorithm), and MaxIters (the maximum number of iterations).
Output: Cobalt–hydrogen electrochemical competition model parameters p 1
Steps:
(1)
Use the PSO algorithm to solve Equation (59) for β 1 , α 2 , α 3 , z
(2)
Calculate p 1 , 2 according to Equation (58)
(3)
Calculate p 1 according to Equation (51)

3. Model and Algorithm Verification

The solution of Equation (59) requires one to know the initial concentration of the reactants and the initial mixed potential in each set. The initial concentration vector of test (j) is as follows:
c 0 j   =   2.310 , 6.12 × 10 2 , 0.44 × 10 3 , 0 , 10 p H 0 , j , 2.310 b 4 1 c H + , 0 j 2 T mol / L
where pH0 is the initial pH vector:
p H 0   =   3.7     3.0     3.6     4.0     4.4 T
The fifth term of Equation (60) represents the initial Zn(OH)2 concentration, which can be calculated from the equilibrium Equation (38): c Zn ( OH ) 2 , 0 = c Zn 2 + , 0 b 4 1 c H + , 0 2 . The initial mixed potential can be estimated by solving the equilibrium mixed-potential Equation (23) as follows:
E 0   =   a r g E i = 1 3 2 r i c 0 , E = 0
The weight coefficient λ pH is set to 50. The PSO algorithm is used to optimally solve Equation (59) with Npop set to 50 and MaxIters set to 50. The state-space model (13) is solved using the stiff differential equation solver ode15s in Matlab 2016a. During the optimization process, some randomly generated parameters may make the state-space model very stiff. To avoid wasting too much time on the solution of strongly stiff problems, the time step of the ode15s solver is set to 1 × 10 8 .
Table 1 lists the model parameters optimized by the constrained parameter estimation algorithm. Meanwhile, to evaluate the impact of constraints on the solution, the original parameter estimation problem PRO-1 without constraints is also solved by using the PSO algorithm directly but under two setting conditions—namely Npop = 50 and MaxIters = 50 versus Npop = 500 and MaxIters = 50. The PSO algorithm requires a pre-specified range of parameter values, but Equation (22) only specifies value ranges for β 1 , α 2 , and   α 3 . Therefore, the search range of p 1 , 2 is specified for the original parameter estimation problem using the results of the constrained parameter estimation:
p 1 , 2     p best 1 , 2 10 , p best 1 , 2 + 10
Here, p best 1 , 2 is the result of constrained parameter estimation with its component values listed in Table 1.
The curves of the best fitness values versus the number of iterations are compared between the proposed constrained parameter estimation algorithm and the original parameter estimation algorithm(OPEA) (Figure 3), and the two algorithms are also compared in terms of estimation accuracy and optimization time (Table 2). Table 2 shows that the original parameter estimation algorithm achieved a relative fitting error of 74.1% for the cobalt concentration curve under the setting condition of Npop = 50 and MaxIters = 50; this failed to find a meaningful solution. Only when the population size Npop increased to 500 could a meaningful solution be found, but the spent time substantially increased by nearly a factor of 8 versus the constrained parameter estimation algorithm. Meanwhile, the mean relative fitting error for the logarithmic concentration of cobalt ions was also larger for the conventional PSO algorithm. These observations indicated that the constrained parameter estimation algorithm significantly improved the estimation efficiency. Moreover, as shown by the curves in Figure 3, the original PSO algorithm with Npop = 50 failed to converge to a good solution. Only when the population size was increased to 500 could the conventional PSO algorithm achieve a parameter estimation accuracy close to that of the constrained PSO algorithm. However, the former algorithm still gave a slightly higher best fitness value than the latter algorithm indicating that constrained parameter estimation is more accurate. It was also reflected on the mean relative errors for fitting the curves of cobalt ion concentrations (Table 2): the MSE from the CPEA, 7.142%, was lower than that of the OPEA,8.775%.
The simulation was performed based on the results of constrained parameter estimation. Model-fit values versus experimentally measured values of cobalt ion concentration were plotted in Figure 4 and Figure 5. The model accurately fitted the curves of cobalt ion concentration versus time under different pH conditions with a mean relative fitting error of 7.142%. The cobalt displacement rate was the lowest at pH 3. The model accurately predicted the inhibitory effect of the competitive hydrogen evolution on cobalt removal when the pH was too high. The model was accurate in predicting the cobalt removal rate at pH 3 and pH 3.6. However, the model had a large error in predicting the cobalt removal rate at pH 4.4, which may be related to the “passivation” effect in the actual cobalt removal process. In other words, Zn(OH)2 is formed and covers the zinc dust surface at high pH, which causes the zinc dust to partially lose reactivity thereby decreasing the cobalt removal rate. The proposed model failed to consider this process and thereby overestimated the cobalt removal rate. The cobalt displacement Reaction (2) gradually reached equilibrium with time as the decrease in cobalt ion concentration gradually leveled off (Figure 4); this trend was well fit by the model.
The curve of monitored pH versus time was well fitted by the proposed model (Figure 6) with a mean relative fitting error of 0.729% and a goodness-of-fit of 0.86. In the initial stage, the pH rapidly increased due to massive hydrogen evolution. The addition of zinc dust promoted the forward reaction of zinc hydrolysis (4), which replenished hydrogen ions. As a result, the apparent consumption rate of hydrogen ions was far less than the actual hydrogen evolution rate, which led to a dramatic decrease in the rate of change of pH with time thereby leading to a monotonic and concave-down curve.

4. Conclusions

(1)
For the first time, a mechanistic kinetic model of cobalt–hydrogen electrochemical competition was proposed for the cobalt removal process in zinc hydrometallurgy by exploring the mechanism of the impact of hydrogen ions on the cobalt removal rate and the mechanism of zinc ion hydrolysis. The model parameters were estimated based on experimental data. The estimation results showed that the model accurately simulated the competitive inhibitory effect of hydrogen ions on cobalt removal and the trend of pH in the cobalt removal process. It shows a goodness-of-fit value of 0.982 on cobalt concentration values and that of 0.860 on pH values.
(2)
The difficulty in using heuristic optimization algorithms to estimate the parameters of reaction kinetic models with little information about the parameter value ranges was addressed. A new approach for estimating the parameters of strongly nonlinear and chemical reaction mechanism models was proposed. Specifically, parameter estimation constraints were first constructed based on an estimation of the value ranges of experimental metrics to narrow the search space. Next, the nonlinear constraints were transformed to simple box constraints through quasi-linear mapping, and a box-constrained parameter estimation scheme was constructed for the cobalt–hydrogen electrochemical competition model. Parameter estimation tests showed that the constrained parameter estimation algorithm was far more efficient than the conventional parameter estimation algorithm. Specifically, the constrained parameter estimation algorithm reduced the solution time by 90 percent. Furthermore, the proposed algorithm had a lower MSE on fitting the cobalt ion concentration curves than the conventional parameter estimation algorithm (7.142% vs. 8.775%).
(3)
The non-linearity of the electrochemical and hydrolysis reactions involved in the cobalt removal process as well as the high coupling between multiple reactions made the model incomprehensible. To overcome this limitation, we derived estimation equations for the value ranges of relevant experimental metrics—mixed potential, apparent first-order reaction rate of cobalt removal, equilibrium concentration, and attenuation coefficient for the apparent consumption rate of hydrogen ions—based on model simplification assumptions in the constraint construction process. These equations linked the experimental phenomenon metrics to the model parameters providing deeper insights into the model parameters adjustment for model users and controller design [22,23].
(4)
As stated above, the model proposed in this paper can accurately predict the change of cobalt ion concentration and the rate of hydrogen replacement reaction during the cobalt removal process, so it is helpful for optimizing the zinc powder and acid usage in the practical cobalt removal process of zinc hydrometallurgy, although this may require for adding extra equations about the relationship between dosages and the zinc powder concentration or pH. In addition, the identification framework proposed significantly reduces the time required for parameter identification of the model, which is also very helpful for improving the efficiency and accuracy of the modelling in the optimal control implementation.
(5)
The model does not consider the “passivation” effect of zinc ion, as a result, it has a large error in predicting the cobalt removal rate while the value of controlled pH is larger than 4.4. Therefore, the available pH value of the model should be lower than 4.4. In addition, the model does not consider the catalytic effect of copper and antimony, so it is not suitable for the process with large fluctuations in copper and antimony concentrations.

Author Contributions

Conceptualization, Y.L. (Yiting Liang) and Y.L. (Yonggang Li); methodology, Y.L. (Yiting Liang); software, Y.Z.; validation, Y.L. (Yiting Liang); formal analysis, Y.L. (Yiting Liang); investigation, Y.L. (Yiting Liang); resources, Y.L. (Yonggang Li); data curation, Y.Z.; writing—original draft preparation, Y.L. (Yiting Liang); writing—review and editing, Y.L. (Yonggang Li); visualization, Y.L. (Yiting Liang); supervision, Y.L. (Yonggang Li); project administration, Y.L. (Yonggang Li); funding acquisition, Y.L. (Yonggang Li). All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported by the National Key R&D Program of China(2019YFB1704703), the Natural Science Foundation of Hunan Province (Grant No. 2019JJ50823).

Data Availability Statement

Publicly available datasets were analyzed in this study, reference number [4]. It can be found here: https://open.library.ubc.ca/cIRcle/collections/ubctheses/831/items/1.0078522.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Davey, T.R.A.; Willis, G.M. Review of developments in extractive metallurgy of lead, zinc, and tin in 1978. JOM 1979, 31, 1–17. [Google Scholar] [CrossRef]
  2. Nelson, A.; Wang, W.; Houlachi, G.P.D.G. The removal of cobalt from zinc electrolyte by cementation: A critical review. Miner. Process. Extract. Metall. Rev. 2000, 20, 325–356. [Google Scholar] [CrossRef]
  3. Pas, V.V.D.; Dreisinger, D.B. A fundamental study of cobalt cementation by zinc dust in the presence of copper and antimony additives. Hydrometallurgy 1996, 43, 187–205. [Google Scholar]
  4. Lew, R.W. The Removal of Cobalt from Zinc Sulphate Electrolytes Using the Copper-Antimony Process. Ph.D. Thesis, University of British Columbia, Vancouver, BC, Canada, 1994. [Google Scholar]
  5. Karlsson, T.; Cao, Y.; Colombus, Y.; Steenari, B.-M. Investigation of the kinetics and the morphology of cementation products formed during purification of a synthetic zinc sulfate electrolyte. Hydrometallurgy 2018, 181, 169–179. [Google Scholar] [CrossRef]
  6. Tozawa, K.; Nishimura, T.; Akahori, M.; Malaga, M.A. Comparison between purification processes for zinc leach solutions with arsenic and antimony trioxides. Hydrometallurgy 1992, 30, 445–461. [Google Scholar] [CrossRef]
  7. Wang, L.Y.; Gui, W.H.; Teo, K.L.; Loxton, R.; Yang, C.H. Time delayed optimal control problems with multiple characteristic time points: Computation and industrial applications. J. Ind. Manag. 2009, 5, 705–718. [Google Scholar]
  8. Sun, B.; Gui, W.; Wu, T.; Wang, Y.; Yang, C. An integrated prediction model of cobalt ion concentration based on oxidation-reduction potential. Hydrometallurgy 2013, 140, 102–110. [Google Scholar] [CrossRef]
  9. Li, Y.G.; Gui, W.H.; Teo, K.L.; Zhu, H.Q.; Chai, Q.Q. Optimal control for zinc solution purification based on interacting CSTR models. J. Process. Control. 2012, 22, 1878–1889. [Google Scholar] [CrossRef]
  10. <named-content content-type="background:white">Sun, B.; Yang, C.; Wang, Y.; Gui, W.; Craig, I.; Olivier, L. A comprehensive hybrid first principles/machine learning modeling framework for complex industrial processes. J. Process. Control 2020, 86, 30–43. [Google Scholar]
  11. Mangan, N.M.; Brunton, S.L.; Proctor, J.L.; Kutz, J.N. Inferring Biological Networks by Sparse Identification of Nonlinear Dynamics. IEEE Trans. Mol. Biol. Multi-Scale Commun. 2016, 2, 52–63. [Google Scholar] [CrossRef] [Green Version]
  12. Ghahramani, Z.; Roweis, S.T. Learning Nonlinear Dynamical Systems using an EM Algorithm. Adv. Neural Inf. Process. Syst. 1999, 11, 431–437. [Google Scholar]
  13. Nüsken, N.; Reich, S.; Rozdeba, P.J. State and Parameter Estimation from Observed Signal Increments. Entropy 2019, 21, 505. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  14. Chai, Q.; Loxton, R.; Teo, K.L.; Yang, C. A unified parameter identification method for nonlinear time-delay systems. J. Ind. Manag. Optim. 2013, 9, 471–486. [Google Scholar] [CrossRef] [Green Version]
  15. Eberhart, R.; Kennedy, J. A new optimizer using particle swarm theory. In Proceedings of the Sixth International Symposium on Micro Machine & Human Science, Nagoya, Japan, 6 August 2002. [Google Scholar]
  16. <named-content content-type="background:white">Zhou, X.; Yang, C.; Gui, W. A Statistical Study on Parameter Selection of Operators in Continuous State Transition Algorithm. IEEE Trans. Cybern. 2019, 49, 3722–3730. [Google Scholar]
  17. Storn, R. Differential evolution-a simple and efficient heuristic for global optimization over continuous space. J. Glob. Optim. 1997, 11, 341–359. [Google Scholar] [CrossRef]
  18. <named-content content-type="background:white">Hu, W.; Yu, Y.; Wang, S. Parameters Estimation of Uncertain Fractional-Order Chaotic Systems via a Modified Artificial Bee Colony Algorithm. Entropy 2015, 17, 692–709. [Google Scholar]
  19. Zhang, B.; Yang, C.; Zhu, H.; Li, Y.; Gui, W. Kinetic Modeling and Parameter Estimation for Competing Reactions in Copper Removal Process from Zinc Sulfate Solution. Ind. Eng. Chem. Res. 2013, 52, 17074–17086. [Google Scholar] [CrossRef]
  20. Yang, C.; Deng, S.; Li, Y.; Zhu, H.; Li, F. Optimal Control for Zinc Electrowinning Process with Current Switching. IEEE Access 2017, 5, 24688–24697. [Google Scholar] [CrossRef]
  21. Liu, C. Modelling and parameter identification for a nonlinear time-delay system in microbial batch fermentation. Appl. Math. Model. 2013, 37, 6899–6908. [Google Scholar] [CrossRef]
  22. Wang, S.; Na, J.; Chen, Q. Adaptive Predefined Performance Sliding Mode Control of Motor Driving Systems with Disturbances. IEEE Trans. Energy Convers. 2020, 1. [Google Scholar] [CrossRef]
  23. Chen, Q.; Yu, X.; Sun, M.; Wu, C.; Fu, Z. Adaptive Repetitive Learning Control of PMSM Servo Systems with Bounded Nonparametric Uncertainties: Theory and Experiments. IEEE Trans. Ind. Electron. 2020, 1. [Google Scholar] [CrossRef]
Figure 1. The micro-battery reaction mechanism of the cobalt removal process.
Figure 1. The micro-battery reaction mechanism of the cobalt removal process.
Entropy 23 00387 g001
Figure 2. The batch reactor for cobalt removal experiments of Lew [4].
Figure 2. The batch reactor for cobalt removal experiments of Lew [4].
Entropy 23 00387 g002
Figure 3. The iteration curves of identification algorithms. CPEA: constrained parameter estimation algorithm, OPEA: original parameter estimation algorithm.
Figure 3. The iteration curves of identification algorithms. CPEA: constrained parameter estimation algorithm, OPEA: original parameter estimation algorithm.
Entropy 23 00387 g003
Figure 4. Comparing of the model-fit and experimental [14] dynamical cobalt concentration curves (experimental data come from Lew [4], Page 47, Figure 4-10) with uncontrolled pH started from 3.7; experimental time: 250 min.
Figure 4. Comparing of the model-fit and experimental [14] dynamical cobalt concentration curves (experimental data come from Lew [4], Page 47, Figure 4-10) with uncontrolled pH started from 3.7; experimental time: 250 min.
Entropy 23 00387 g004
Figure 5. Comparing model-fit and experimental dynamical cobalt concentration curves (experimental data from Lew [4], Page 62, Figure 4-31). The pH is controlled to be a constant value. Symbols 1, 3, 5, and 7 represent experimental data at pH 3, pH 3.6, pH 4, and pH 4.4, respectively; lines 2, 4, 6, and 8 represent fitted lines at pH 3, pH 4, pH 4, and pH 4.4, respectively.
Figure 5. Comparing model-fit and experimental dynamical cobalt concentration curves (experimental data from Lew [4], Page 62, Figure 4-31). The pH is controlled to be a constant value. Symbols 1, 3, 5, and 7 represent experimental data at pH 3, pH 3.6, pH 4, and pH 4.4, respectively; lines 2, 4, 6, and 8 represent fitted lines at pH 3, pH 4, pH 4, and pH 4.4, respectively.
Entropy 23 00387 g005
Figure 6. Comparing the model-fit and experimental [14] dynamical pH curves (experimental data come from Lew [4], Page 42, Figure 4-4) with uncontrolled pH started from 3.7.
Figure 6. Comparing the model-fit and experimental [14] dynamical pH curves (experimental data come from Lew [4], Page 42, Figure 4-4) with uncontrolled pH started from 3.7.
Entropy 23 00387 g006
Table 1. Results of constraints guide identification.
Table 1. Results of constraints guide identification.
ParameterValueParameterValueParameterValue
β 1 1.004 l n k 1 −11.00 l n ( b 1 ) 38.09
α 2 0.299 l n ( k 2 ) −8.298 l n ( b 2 ) 30.03
α 3 0.603 l n ( k 3 ) −13.87 l n ( b 4 ) 27.53
Table 2. Performances of parameter-identification algorithms.
Table 2. Performances of parameter-identification algorithms.
No. l n ( c C o 2 + , 0 c C o 2 + ) pHTs (min)
MSERsqMSERsq
17.142%0.9820.729%0.8606
274.1%−0.110.732%0.8597
38.775%0.9750.721%0.86356
1. Constrained parameter estimation algorithm (CPEA) with Npop = 50 and MaxIter s = 50; 2. Original parameter estimation algorithm (OPEA) with Npop = 50 and MaxIters = 50; 3. Original parameter estimation algorithm (OPEA) with Npop = 500 and MaxIters = 50; MSE: mean relative error; Rsq: goodness-of-fit; Ts, solution time.
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Liang, Y.; Zhang, Y.; Li, Y. Constrained Parameter Estimation for a Mechanistic Kinetic Model of Cobalt–Hydrogen Electrochemical Competition during a Cobalt Removal Process. Entropy 2021, 23, 387. https://doi.org/10.3390/e23040387

AMA Style

Liang Y, Zhang Y, Li Y. Constrained Parameter Estimation for a Mechanistic Kinetic Model of Cobalt–Hydrogen Electrochemical Competition during a Cobalt Removal Process. Entropy. 2021; 23(4):387. https://doi.org/10.3390/e23040387

Chicago/Turabian Style

Liang, Yiting, Yuanhua Zhang, and Yonggang Li. 2021. "Constrained Parameter Estimation for a Mechanistic Kinetic Model of Cobalt–Hydrogen Electrochemical Competition during a Cobalt Removal Process" Entropy 23, no. 4: 387. https://doi.org/10.3390/e23040387

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop