Open access peer-reviewed chapter

Dynamic Process Model Parameter Estimation by Global System Analysis

Written By

Shigeru Kashiwaya

Submitted: 08 August 2017 Reviewed: 30 January 2018 Published: 02 May 2018

DOI: 10.5772/intechopen.74635

From the Edited Volume

New Insights into Bayesian Inference

Edited by Mohammad Saber Fallah Nezhad

Chapter metrics overview

1,566 Chapter Downloads

View Full Metrics

Abstract

Global system analysis (GSA) was applied to parameter estimation of dynamic process models. First, the posterior distribution of the model parameters was estimated by quasi-Monte Carlo (QMC) simulations or uncertainty analysis. The expected variance of the estimated parameters by GSA was in general smaller than those were obtained by local search for the maximum likelihood. Second, sensitivity analysis was performed as an alternative application of GSA for the same mathematical models and testing data. The total effect index should serve as a quantitative measure of the robustness of each estimated parameter. Two process models were studied to demonstrate effectiveness of the proposed methodology based on GSA: a bio-reactor and a catalytic reactor. Parallelised computation allowed for sampling as many as 500,000 combinations of the model parameters in reasonable amount of time.

Keywords

  • parameter estimation
  • global system analysis
  • quasi-Monte Carlo
  • sensitivity analysis
  • high-performance computation

1. Introduction

We try to interpret, understand, and extract knowledge by analysing the data obtained from measurements, experiments and recording the behaviour of various processes that we encounter in the industries and real life.

Parameter estimation of dynamic process models is investigated in this study. To validate a mathematical process model, we need to match the model prediction with the measurement or the experiment data.

We assume that we can construct a certain mathematical or a first principle model to represent a chemical or biochemical process by a set of algebraic (either linear or nonlinear) and differential (either ordinary or partial) equations, that is, differential algebraic equations (DAEs).

The Bayesian statistics provides an ideal framework for the estimation of the mathematical parameters of predictive models, which is inherently stochastic in that all models make imperfect predictions because of the process variance, observation errors, model selection uncertainties, and so on.

The uncertainty of the estimated parameters must be evaluated in terms of accuracy or posterior distribution in the Bayesian statistics context.

Although maximum likelihood estimation (MLE) has been the standard tool for solving the parameter estimation problems, some shortcomings have been recognised in terms of its properties and the conventional solution algorithms for the MLE (see [1]):

  1. Gradient-based methods (GBM) may miss the global optimum or true MLE because of the nature of such solvers that are based on local search mechanisms.

  2. The confidence region for the parameters can be very large when the curvature of the likelihood function at an optimal point is extrapolated without knowing the global distribution of the likelihood function around the point estimate.

  3. If the model equations contain singularities or structural redundancy, correlations among the estimated parameter may be observed.

Global system analysis (GSA) is designed to provide advanced features compared with the conventional analytical methods such as GBM and MLE. GSA is not precisely the same theoretical framework as Bayesian method; however, we can apply GSA as a version of computational Bayesian methodology to estimate model parameters.

First, GSA is a global search procedure as opposed to GBM such as Newton’s method where we must start the search with some initial guess so that the solution can be trapped by a local optimal point that is not necessarily the global optimum.

Second, the Bayesian Cramer-Rao (BCR) bounds offer tighter lower bounds than the conventional Cramer-Rao lower bound that is based on Fisher information. GSA can calculate BCR with assumption of a prior that can be uniform (non-informative) or any probability distribution such as Gaussian.

Third, the posterior distribution of the estimated model parameters obtained by GSA correctly reflects the non-linearity of the process. Some process kinetics equations such as Arrhenius equation present structural correlation, for example, between pre-exponent factors and activation energies. Even in such a case, GSA can correctly capture the interdependency among the parameters so that the posterior distribution of the parameters accuracy is evaluated properly.

Since GSA algorithm is deterministic, one can decide the required number of samples prior to numerical simulation depending on the required accuracy or convergence. The computation can also be parallelised so that the actual CPU time can be significantly accelerated. This is a clear advantage over Markov Chain Monte Carlo (MCMC) sampling where we need to monitor the convergence to make sure the sample distribution approached the intended convergence criterion.

GSA is applied to parameter estimation taking the likelihood function as the response to the factors, which are in fact model parameters that are considered stochastic variables in the Bayesian statistics framework. The parameter search space may be either non-informative or informative in GSA: low discrepancy sequence (LDS) such as Sobol sequence is considered non-informative; or normal (Gaussian) distribution may also be assumed to perform sampling in the multidimensional parameter space (more distribution functions such as gamma or inverse-gamma will be available in the GSA tool that was used for this study).

Posterior of the model parameters can be calculated simply by integrating the sampled likelihood (response) over the entire parameter space (factors). We can then calculate posterior mean and variance as well as maximum a posterior (MAP) estimate.

Sensitivity analysis can also be performed by sampling in the hyper-dimensional space just like in the case of uncertainty analysis. The factor sensitivity table gives information about the influence of each parameter on the response, which is the likelihood function of the model postulated for the investigation.

If the process model contains some singularity or correlations among the parameters, the parameter estimation work gets very difficult, if not theoretically impossible. Although a number of different procedures have been proposed for re-parameterisation of the process models, since such manipulations are not essential in the physical significance of the processes of interest, the estimated parameters that are reformulated would not be very useful to understand the fundamental principles of the actual processes.

Since GSA is computational resource intensive, parallelisation should be considered to make the analysis tractable. Recent advance in the software technology made it possible to run relatively large GSA with as many as 500,000 samples executed even on a common laptop PC with a multi-core CPU

Advertisement

2. Parameter estimation by global system analysis

GSA helps to investigate the global behaviour of any system models. In contrast to simulation, in which specific values are assigned to system inputs and the values of key outputs are reported, in GSA, it is possible to specify a range of input values of interest and therefore obtain a range of outputs.

GSA can perform three types of analysis:

  • Scenario or parametric

  • Uncertainty

  • Sensitivity

The purpose of each type of analysis differs widely as follows:

  • Scenario or parametric sensitivity analysis is a series of simulations where the values of one or more factors are varied over a grid to investigate the resulting changes in one or more responses. It allows an assessment of the impact of different factors on each response.

  • Uncertainty analysis propagates the uncertainty in the factors to the responses. The values returned represent the actual uncertainty associated with the responses.

  • Sensitivity analysis provides metrics which indicate how factors and their uncertainty influence responses. However, the values obtained do not represent actual sensitivities.

When the likelihood function is taken as the objective or the only output from the system whereas the model parameters are given as inputs, GSA can be utilised as a global search and uncertainty evaluation for the model parameter estimation. The uncertainty analysis was used to identify the parameter point estimates and confidence intervals. In addition, the sensitivity analysis was performed to quantify the influence of each parameter on the output or prediction of the process models that are investigated.

2.1. Parameter estimation

Bayesian approach to the model parameter estimation can be presented as Eq. 1.

πθyLyθpθE1

where pθ designates a prior distribution of the model parameters, Lyθ is the likelihood with which one observes response yŷijk, and πθy is the posterior.

When certain a priori knowledge is available about the process, it can be incorporated in the Bayesian framework as a prior. In this study, however, we assumed a flat or homogeneous prior over the parameter search space.

The MAP estimate is defined by the parameter that maximises the posterior probability given as Eq. 2.

θMAP=argmaxθπθyE2

The system responses are parameterised by a set of parameters in the following equation, where θ denotes true parameters that characterise the system. We assume additive errors that are i.i.d, that is, independent and identically distributed following a normal distribution.

ŷijk=gjxiθ+εijki=12NEE3

The probability f with which one observes measurement ŷijk is formulated as Eq. 4.

fŷijkθσijk2=2πσijk21/2expŷijkgjxiθ22σijk2E4

The log-likelihood LLθ is defined as the logarithm of likelihood LθLyθ=ijkfŷijkθσijk2 that is a function of parameters θθ1θq.

LLθlogLθ=logi=1NEj=1NVik=1NMijfŷijkθσijk2=n2log2π+12i=1NEj=1NVik=1NMijlogσijk2+ŷijkgjxiθ2σijk2E5

where fŷijkθσijk2, likelihood of measurement ŷijk in normal (Gaussian) error with mean θ and variance σijk2; gjxi, simulated model response of variable j in experiment i; LLθlogLyθ, logarithmic likelihood function; n, number of measurements taken during all experiments; NE, number of experiments performed; NMij, number of measurements of the j-th variable in experiment i; NVi, number of variables measured in the i-th experiment; q, number of model parameters; xi, operating conditions of the i-th experiment; ŷijk, k-th measured value of variable j in experiment i; εijk2, variance of the k-th measurement of variable j in experiment i; θ=θθ1θq, model parameters to be estimated; and σijk2, variance of the k-th measurement of variable j in experiment i.

The MLE is defined by the parameter that minimises the log-likelihood function:

θMLE=argminθLLθE6

2.2. Global system analysis

GSA is based on drawing samples from the system under study; that is, taking different values for each factor and calculating the corresponding response values. One of the features and basic principles underlying GSA is that extracting random samples from a system permits the estimation of its mean value

Considering the atypical surface shown in Figure 1 below on the left, Figure 2 on the right indicates what its average value will be for a number of random sample points. The dispersion of the values is due to the fact that this process is repeated 100 times for each number of samples, each time generating a different random set of sample points. This is indicative of how accurate the results will be for different numbers of samples

Figure 1.

Response surface for two inputs.

Figure 2.

Spread of averages for different number of samples.

It is clear that by increasing the number of points, values gradually become closer to the true mean value of the surface. Increasing the number of sample points will generally lead to more accurate results.

2.3. Uncertainty analysis

An uncertainty analysis can be used to determine what effect the uncertainty in the factors has on the uncertainty in the responses. This type of analysis can be accomplished using the Monte Carlo method. The Monte Carlo method performs multiple model evaluations (simulations) with deterministic and/or probabilistic factors. The results of these evaluations are then used to determine the uncertainty in the responses. This method is appropriate for any type of model, regardless of complexity.

Pseudo-random sampling generates a more realistic random sample, that is, resembling a sample drawn from a distribution. This method should be used to represent realistic sampling, for example, a clinical trial in which 200 people are sampled from the general population.

Quasi-random (Sobol) sampling (Figure 3) allows for better coverage of space compared to pseudo-random sampling (Figure 4). Sobol sampling is recommended unless a more realistic random behaviour is required.

Figure 3.

Quasi-random (Sobol) sampling.

Figure 4.

Pseudo-random sampling.

2.4. Sensitivity analysis

Sensitivity analysis can be used to determine which factor contributes the most to the uncertainty in a response. In GSA, the calculated sensitivity measures are sensitivity indices rather than mathematical sensitivities (derivatives). For example, consider the following equation

y=x12+3x2E7

where all variables are algebraic and both x1 and x2 are assumed to have values between 0 and 10. Their mathematical sensitivities are given by:

yx1=2x1E8
yx2=3E9

where y,xi, algebraic variables; and yxi, partial derivative of y with respect to xi.

These mathematical sensitivities are informative at the point where they are computed, but are limited when the factors are uncertain, and the model is of unknown linearity, as they do not provide for an exploration of the rest of the input factor space. In contrast, GSA calculates sensitivity measures that are averages over the entire space of interest. Two different indices are available: elementary effects and variance-based indices, which provide relative metrics.

In both cases, indices for the first order and total effect are calculated. According to Sobol [2, 3], any function expressed either as follows:

y=fu1unfE10

where f, function; nf, number of factors; ui, factor i; and y, response.

or as a combination of different functions:

y=f0+i=1nffiui+i<jnffijuiuj++f1,2,,nfu1u2unfE11

where fi, first-order function; fij, second-order function; and f1,2,,nf, nf th order function.

The first-order effect of factor ui is fi. In contrast, the total effect is the sum of all functions of all orders where ui appears as an argument

Elementary effects are an efficient method for larger, more complex models with a large number of factors. This method requires a limited number of samples. However, it is not as accurate as the variance-based method and should only be used to identify the most important factors.

For elementary effects, the sensitivity indices are calculated based on the following approximation.

EEi,j=yju1ui+Δunyju1uiunΔi1nE12

where EEi,j, elementary effect for factor i for sample j; ui, factor i; yj, response of sample j; and Δ, difference.

The mean values are calculated as follows:

μi=1nj=1nEEi,jE13

where n, number of samples; and μi, mean elementary effect for factor i.

Although this appears to be an approximation of the mean partial derivative, it is typically not an accurate estimate of the actual mean sensitivity. Among other differences, the elementary effect also considers the variance in each factor. For example, considering the following equation y = x1 + x2, the value of the mathematical sensitivity for both x1 and x2 is one, but if the variance in x1 is larger than x2, then μ1 > μ2.

The elementary effects method also calculates the standard deviation as follows.

σi=1n1j=1nEEi,jμi2E14

where σi is the standard deviation of elementary effect for factor i.

The advantage of elementary effects analysis is that it is a numerically efficient way to screen many factors at the expense of accuracy. It has been shown in practice that the relative value of the sensitivity is fairly accurate, so values sorted from high to low do typically follow the order of the most influential to the least influential factor.

Variance-based methods are more accurate but more computationally demanding and require (many) more samples than the elementary effects method. The variance-based method was applied to the following numerical examples.

The metrics used are based on variances and are indicative of what part of the variance, in the response, is attributed to the variance in each factor. Note that the relative contribution of the factors to the variance in the response can be sorted differently for each response.

This method distinguishes between first order and total effect indices. Generally, one can split any function.

Variance-based sensitivity indices measure the influence of individual factors on responses. The variance-based sensitivity analysis method is based on the Saltelli’s method [4], and the formulae used to estimate the sensitivity indices are those proposed in [5]. There are two types of variance-based sensitivity indices (see [2, 3])

  • The first-order effect, that is, the direct effect of factor i on response y:

Si=σi,y2σy2E15

where Si, first-order effect index for factor i; σi,y2, variance attributed to factor i on response y; and σy2, variance observed for response y.

  • The total effect, that is, the total effect of factor i on response, y:

Si,T=σi,T,y2σy2E16

where Si,T, total effect index for factor i; and σi,T,y2, variance attributed to factor i on response y through all factors.

In this case, the influence of factor i through other variables is taken into consideration.

In variance-based sensitivity analysis, the sensitivity indices are based on variances. Note that the relationships below can be inferred from the definitions of the factors:

ifactorsSj,i1E17
Sj,i,TSj,iE18
ifactorsSj,i,T1E19

where Sj,i, first-order effect index for factor i in response j; and Sj,i,T, total effect index for factor i in response j.

It is clear that mathematical sensitivities and sensitivity indices have very different meanings. For simplicity, consider the sensitivity index as a normalised metric which indicates what part of the variance in the response can be attributed to which factor.

Advertisement

3. Numerical case studies

gPROMS®, a general-purpose DAE solver for process modelling, was used to compute the likelihood function values based on the measurement data with some artificial errors for the demonstration purposes. It was also used to compute the MLE (by GBM) to set a reference for comparison with the results by the proposed method, GSA-based inference.

3.1. Case study ‘A’: bioreactor

A benchmark problem in genome research in [6] is reproduced. They applied bootstrapping to minimise the expected variance of the estimated parameters.

3.1.1. Problem statement

In silico experimental data for an organism in a chemostat as shown in Figure 5 is presented. A mathematical model is set up based on a fictive network structure.

Figure 5.

Bioreactor.

After reaching a steady state, the flow rates qin, qout as well as the concentration of the substrate in the feed cin are changed. Measurements are available for three metabolites, M1, M2, and M3 that function as an enzyme E, representing a small biochemical network of the organism, and for biomass B and substrate S (Table 1).

‘Known’ kineticsParameterValueUnit
Synthesis of M1 valuesr1max2.4 × 104μmol/g/h
KS0.4437μmol/g
Affinity M1 – E valueKM112.2μmol/g
Degradation of M2 valuesr3max3.0 × 106μmol/g/h
KM210μmol/g

Table 1.

Additional information – ‘known’ parameters.

Those parameters as listed in Table 2 are assumed known prior to the experiment.

Time [hour]cin [g/litre]qin, qout [litre/h]
0–2020.25
20–3020.35
30–600.50.35

Table 2.

Experimental procedure.

Since number of such experiments that can be performed is rather limited in reality, GSA or a Bayesian approach is anticipated to perform better than MLE or minimum mean square error (MMSE) methods in that the latter tends to provide overfitting of the parameters in terms of the observation or measured data, whereas the former should calculate more robust estimate of parameters that are integrated over the posterior distribution.

V̇=qinqoutE20
Ḃ=μqinVBE21
Ṡ=qinVcinSr1MwBE22
r1=r1maxSKS+SE23
r2=k2EM1KM1+M1E24
r3=r3maxM2KM2+M2E25
rsyn=ksynmaxKIBKIB+M2E26
Ṁ1=r1r2μM1E27
Ṁ2=r2r3μM2E28
Ė=rsynμEE29
μ=YX/Sr1E30

where B, biomass concentration, (g/litre); cin, substrate concentration in feed, (g/litre); E, enzyme (=M3) concentration, (μmol/g); k2, turnover number to produce M2, (litre/h); KIB, inhibition of enzyme synthesis by M2, (μmol/g); KM1, Michaelis constant - M1 uptake, (μmol/g); KM2, Michaelis constant - M2 uptake, (μmol/g); KS, Michaelis constant - substrate uptake, (μmol/g); ksynmax, maximum enzyme synthesis rate, (μmol/g/h); Mi, metabolite i (i = 1, 2, 3) concentration, (μmol/g); Mw, molar mass of substrate (243.3 × 10−6), (g/μmol); qin, feed flow rate, (litre/h); qout, product flow rate, (litre/h); r1max, maximum rate constant–reaction 1, (μmol/g/h); r3max, maximum rate constant - reaction 3, (μmol/g/h); ri, uptake rate to produce Mi (i = 1, 2, 3), (μmol/g/h); rsyn, enzyme synthesis rate, (μmol/g/h); S, substrate concentration, (g/litre); V, reactor holdup volume, (litre); YX/S, biomass yield coefficient, (g/μmol); and μ, biomass specific growth rate, (h−1).

The feed flow rate and the substrate concentration in feed are changed as shown in Table 3 and Figure 6.

Figure 6.

Operating conditions of the experiments.

3.1.2. Numerical study

GSA-based parameter estimation was attempted as well as the gradient-based method or local search as the benchmark. In Figures 711, each dot in blue shows an individual measurement in dynamic experiments. The error bar on each dot signifies standard deviation of the measurement data (linear variance model). The solid lines in red are MLE estimation by the GBM solver (gPROMS®).

Figure 7.

Overlay plot for trajectory of substrate S.

Figure 8.

Overlay plot for trajectory of biomass B.

Figure 9.

Overlay plot for trajectory of enzyme E (M3).

Figure 10.

Overlay plot for trajectory of metabolite M1.

Figure 11.

Overlay plot for trajectory of metabolite M2.

A constant linear variance model is assumed for each point of the measurement data where ω = 0.02.

σ2=ω2z2E31

GSA sampling was performed by Sobol sequence involving four parameters YX/S, k2, ksynmax, KIB. A total of 500,000 sample points were generated in terms of combinations of these four parameters. Marginal posterior for each parameter is plotted in Figures 1215.

Figure 12.

Marginal posterior (YX/S).

Figure 13.

Marginal posterior (k2).

Figure 14.

Marginal posterior (ksynmax).

Figure 15.

Marginal posterior (KIB).

Figures 1621 are 3D presentation of the posterior in terms of the likelihood function.

Figure 16.

2D marginal posterior (YX/S vs. k2).

Figure 17.

3D posterior plot (YX/S vs. k2).

Figure 18.

2D marginal posterior (YX/S vs. ksynmax).

Figure 19.

3D posterior plot (YX/S vs. ksynmax).

Figure 20.

2D marginal posterior (k2 vs. ksynmax).

Figure 21.

3D posterior plot (k2 vs. ksynmax).

Both YX/S and k2 are seen to follow rather smooth distributions as shown in Figures 12 and 13 respectively. ksynmax also seems to follow a nice and smooth distribution, but with a few outliers scattering here and there as shown in Figure 14.

Note that those variance or confidence intervals for YX/S, k2, ksynmax by GSA are smaller than what was obtained by local search or the conventional GBM.

KIB on the other hand presents totally different picture (Figure 15), that is, the model is almost insensitive to the variation of this parameter. We can actually confirm this by running sensitivity analysis separately as summarised in Table 4.

YX/Sk2ksynmaxKIB
Maximum likelihood estimators
Likelihood =−485
MLE7.00E-056.43E + 066.80E-030.2
Std. Dev.6.24E-071.85E + 055.70E-040.2
Empirical Bayes estimators (GSA)
Likelihood =−476
MAP6.91E-056.70E + 066.26E-032.7
Posterior Mean6.94E-056.65E + 066.31E-035.3
Posterior Variance5.70E-071.21E + 051.30E-044.8
Factor sensitivity table
First order effect0.0210.020.0540.003
Total effect0.7680.6970.9060.006

Table 3.

Case study ‘A’ estimated parameters.

An important finding here is that the local search was trapped by the local minimum, but it is not necessarily a robust estimate because of the spread as shown in Figure 15.

3.2. Case study ‘B’: catalytic synthesis of methanol from CO and H2

A laboratory integral reactor with fixed bed catalyst was studied. Model parameter estimation was attempted by the conventional maximum likelihood approach as well as the newly proposed GSA methodology. Pseudo experiment data were prepared by introducing artificial measurement errors.

3.2.1. Problem statement

The following main reaction can be accomplished by several side and consecutive reactions (see [7]). A large number of kinetic expressions have been proposed in the literature [8]. We assumed the rate determining step (29) as the dominant reaction mechanism.

CO+2H2=CH3OH+2SE32

where * denotes component as adsorbed state; S is an adsorbed site.

A Langmuir-Hinshelwood type kinetics as described by Eq. 13 was assumed for the study.

rMethanol=kϕCOϕH22ϕMethanol/Keq1+AϕCO+BϕH2+CϕMethanol2E33
k=krexpErRTE34
A=kCOexpECORTE35
B=kH2expEH2RTE36
C=kMethanolexpEMethanolRTE37

where Ci, molar concentration of component i, (mol/m3); Ej, activation energy of jth reaction, (J/mol); kj, reaction pre-exponent factor of jth reaction, (1/sec); rj, reaction rate of jth reaction, (mol/sec/m3); R, universal gas constant, (J/K/mol); t, time, (sec); and T, reaction (operating) temperature, (K).

The molar concentrations of the species are measured with Gaussian errors with mean at 0 and variance σ2.

σ2=ω2z2E38

where, z is the measured data and ω (=0.02) is the standard deviation of the linear variance model.

The reactor with a fixed catalyst bed was operated under three different temperatures (475, 500, 525, 550 K). Two different initial conditions were assumed, either being filled with the feed gas compositions or an empty/inert state. There were eight sets of experiment data for the study. Feed rates were controlled as shown in Figure 22.

Figure 22.

Feed rates profile.

We can observe that the GSA or Bayesian approach correctly captures the process kinetics as described by Arrhenius equations that contains some interdependency among the activation energies and the pre-exponent factors.

3.2.2. Numerical study

Figures 23 and 24 show measurement data in a dynamic experiment (designated by the blue dots in the plots). Notice that the vertical bar attached to each dot denotes the measurement error that we assumed. The red dots are the simulation results of the final iteration for the MLE estimation by the GBM.

Figure 23.

Trajectory of carbon monoxide yield.

Figure 24.

Trajectory of methanol yield.

The model parameters were estimated firstly by gPROMS®, a conventional solution engine or GBM to maximise the likelihood function (minimising the log-likelihood). Confidence regions or intervals for the estimated parameters are evaluated based on Cramer-Rao lower bounds.

Second, posterior likelihood of the model parameters is computed by GSA. Figures 2530 are 3D plots of likelihood for a few pairs of parameters to be identified. The projection of those 3D points to 2D planes in the former plots are 2D marginal distributions as shown in Figures 3136, respectively.

Figure 25.

3D posterior plot (ECO vs. Er).

Figure 26.

3D posterior plot (EH2 vs. Er).

Figure 27.

3D posterior plot (EMethanol vs. Er).

Figure 28.

3D posterior plot (ECO vs. kCO).

Figure 29.

3D posterior plot (EH2 vs. kH2).

Figure 30.

3D posterior plot (EMethanol vs. kMethanol).

Figure 31.

2D marginal posterior (ECO vs. Er).

Figure 32.

2D marginal posterior (EH2 vs. Er).

Figure 33.

2D marginal posterior (EMethanol vs. Er).

Figure 34.

2D marginal posterior (ECO vs. kCO).

Figure 35.

2D marginal posterior (EH2 vs. kH2).

Figure 36.

2D marginal posterior (EMethanol vs. kMethanol).

The parameters are correlated in one way or another. Nonetheless, the pair of parameters such as ECO and Er are still identifiable based on the posterior distribution of the likelihood function (Figure 31). The pair of EH2 and Er presents a little different profile, but they can also be estimated by taking MAP or averaging over the entire sampling space (Figure 32).

One noticeable finding was that the posterior variances of the GSA in this particular case were much smaller than those were estimated by local search or GBM (Table 5). Since the pre-exponent factors and the activation energies in the Arrhenius-type kinetics are highly correlated as can be seen in Figures 3436, parameter estimation is difficult in its nature of the mathematical formulation.

ECOEH2EMethanolErkCOkH2kMethanolkr
Maximum likelihood estimators
Likelihood =−3348
MLE6.72E + 045.13E + 047.16E + 041.22E + 057.05E + 053.41E + 031.97E + 061.01E + 09
Std. Dev.1.65E + 041.69E + 041.61E + 044.92E + 042.95E + 061.46E + 048.07E + 061.26E + 10
Empirical Bayes estimators (GSA-based)
Likelihood =−3397
MAP6.56E + 044.86E + 047.29E + 041.21E + 058.35E + 053.59E + 034.47E + 064.58E + 09
Posterior Mean6.55E + 044.86E + 047.29E + 041.21E + 058.35E + 053.60E + 034.47E + 064.58E + 09
Posterior Variance6.48E + 024.49E + 026.93E + 021.67E + 031.21E + 041.20E + 028.04E + 042.26E + 07
Factor sensitivity table
First order effect0.004−0.011−0.0310−0.043−0.0190.02−0.042
Total effect0.6070.2560.690.8850.1790.0780.2710.209

Table 4.

Case study ‘B’ estimated parameters.

Advertisement

4. Conclusions

We applied GSA to parameter estimation for dynamic process models. Numerical case studies were performed for a couple of different processes with a set of simulated or artificial data. We demonstrated the advantage of the proposed methodology that is based on global search, over the conventional ones that are based on local search.

GSA calculates posterior distribution of the model parameters based on any measurement data available for the study. The estimated confidence region or intervals are in general narrower than those were calculated by the local search.

In case where some parameter is not affecting the system response significantly, GSA would still correctly evaluate the distribution or the probable spread of the model parameters. On the contrary, local search or GBM might find an optimal point for the same problem that can however be elusive in that the estimated variance around the solution is erroneously small due to lack of global information for the point estimate.

When a set of parameters are structurally correlated as in the case for the activation energy and pre-exponential coefficient, confidence region or confidence interval by the conventional local search methods can be very large thus smearing out the point estimate. Even under such circumstances, GSA can provide legitimate information about the accuracy of the estimated parameters. The posterior variance by GSA can be significantly smaller than Cramer-Rao lower bounds.

Therefore, we can conclude that GSA can provide more robust location parameters compared to the local search methods. But to be fair, because GBM can still find the optimal solution more precisely, it is advised to use both the methods complementarily: local search or GBM can initially be used to search for MLE. GSA can then provide a global view of the posterior probability of the point estimation to make sure the solution is stable and robust. GSA can also be used for sensitivity study to make sure the estimated parameters or the variances of those are reasonable.

Since GSA is computation-intensive, parallel computation must be considered to practice such a method for a study of real-life problems. We made use of parallel computation on a single PC with multi-cores (employed four workers). GSA with 500,000 points sampling took CPU time of 9530 s (2.6 h) and 128,752 s (35.8 h) for the abovementioned example cases ‘A’ and ‘B’ respectively (performed on PC with Intel i7-5600 U @2.6GHz).

Advertisement

Advertisement

A.1. Numerical implementation of Bayesian analysis: review of the incumbent method

Although we proposed a new way of calculating posterior probability by GSA as described in Section 2.2, it is worthwhile to review the incumbent method.

A.1.1. Markov chain Monte Carlo

Markov Chain Monte Carlo (MCMC) is a sampling method searching in a space. It is particularly important in Bayesian analysis for surveying a space with an arbitrary probability measure. When the posterior distribution is not obtained in a closed form, we need to rely on numerical sampling in the parametric space.

MCMC draws random samples from their marginal posterior distributions. With the introduction of prior distribution, we can compute the posterior distribution based on the Bayes’ theorem.

A.1.2. Sampling from the posterior distribution

Metropolis-Hastings is an accept-reject sampling. Designing a good proposal distribution is the key to the success of such a sampling method. This concept is illustrated in the following pseudo steps.

  1. Propose a value θ (*) for the parameter.

  2. Compute the posterior probability ratio for the proposed value θ (*) against the previous value θ (k−1).

  3. Accept the proposed value with the probability in the previous step (i.e. θ (k) = θ (*)). In case the proposal is not accepted, then retain the previous value (i.e. θ (k) = θ (k−1)).

where full conditionals are conjugate, Gibbs sampling can be used. A sufficient number of repetitions converge on the posterior distributions much more rapidly than by the Metropolis-Hastings sampling. When conditional distributions are not conjugate, we use Metropolis-Hastings.

A.1.3. Shortcomings of MCMC

Although MCMC has become a standard tool for Bayesian analysis, several problems have also become obvious particularly in the numerical implementation of the method [9]. While MCMC provides an almost automatic way of sampling the posterior distribution, it often converges too slowly or get stuck within one mode of a multi-modal parametric space. Moreover, it is oftentimes difficult to determine if a chain has reached stationarity or still hovering in a certain region of the parameter space.

The computation of the likelihood function can be complicated as in the physical process systems that are described by a set of mathematical equations, which can also be dynamic or time-variant rather than stationary or time-invariant. Therefore, the sampling must be efficient for the numerical implementation of MCMC to be applied to analysis of chemical, biological or physical systems that we encounter in real life.

Advertisement

A.2. Global sensitivity analysis: example calculations

A couple of example calculations of GSA sensitivity analysis are shown below (refer to Section 2.4).

A.2.1. Elementary effects sensitivity analysis

Applying elementary effects sensitivity analysis on equation y = x12 + 3x2 returns the results in Table 5.

A.2.2. Variance-based sensitivity analysis

Applying variance-based sensitivity analysis on equation y = x12 + 3x2 returns the results in Table 6. While variance-based values do not have an exact meaning, the most influential factors are correctly identified.

μσμσ
0 < xi < 100 < xi < 1
x111160.51.110.65
x23013.43.01.34

Table 5.

Elementary effects sensitivity analysis.

SiSi,TSiSi,T
0 < xi < 100 < xi < 1
x10.921.020.030.12
x2−0.010.080.880.97

Table 6.

Variance-based sensitivity analysis.

References

  1. 1. Kashiwaya S. A Quasi-Monte Carlo approach to Bayesian parameter estimation for nonlinear dynamic process models. Journal of Chemical Engineering of Japan. 2013;46(7):467-479. DOI: 10.1252/jcej.12we202
  2. 2. Sobol’ IM. Sensitivity estimates for nonlinear mathematical models. Mathematical Modelling and Computational Experiments. 1993;1(4):407-414
  3. 3. Sobol’ IM. Global sensitivity indices for nonlinear mathematical models and their Monte Carlo estimates. Mathematical Modelling and Computational Experiments. 2001;55(1):271-280
  4. 4. Andrea S et al. Global Sensitivity Analysis: The Primer. London: John Wiley & Sons; 2008
  5. 5. Andrea S et al. Variance based sensitivity analysis of model output. Design and estimator for the total sensitivity index. Computer Physics Communications. 2010;181(2):259-270
  6. 6. Andreas K et al. A benchmark for methods in reverse engineering and model discrimination: Problem formulation and solutions. Genome Research. 2004;14(9):1773-1785
  7. 7. Kuczynski M et al. Reaction kinetics for the synthesis of methanol from CO and H2 on a copper catalyst. Chemical Engineering and Processing. 1987;21(4):179-191
  8. 8. Falbe J, editor. New Synthesis with Carbon Monoxide. Berlin: Springer; 1980. pp. 309-320
  9. 9. Guan Y et al. Markov chain Monte Carlo in small worlds. Statistics and Computing. 2006;16(2):193-202

Written By

Shigeru Kashiwaya

Submitted: 08 August 2017 Reviewed: 30 January 2018 Published: 02 May 2018