Sensitivity testing involves studying model response for a set of changes in model formulation, and for a selected model parameter combinations. Analytical methods involve either the differentiation of model equations and subsequent solution of a set of auxiliary sensitivity equations, or the reformulation of original model using stochastic algebraic/differential equations. On the other hand, the sampling based methods involve running the original model for a set of input/parameter combinations (sample points) and estimating the sensitivity/uncertainty using the model outputs at those points. Yet another sensitivity analysis method is based on direct manipulation of the computer code of the model, and is termed automatic differentiation. These methods are elaborated in the following.
Sistla et al.[189] and Al-Wali et al. [4] used this approach for the sensitivity analysis of urban air quality models. Roselle [173] used this approach to study the effect of biogenic emission uncertainties by performing model simulations at three emission biogenic estimate levels. Vieux et al. [207] and Vanderperk [206] have used a similar approach in water quality modeling.
The primary advantage of this approach is that it accommodates both qualitative and quantitative information regarding variation in the model. However, the main disadvantage of this approach is that detailed information about the uncertainties is difficult to obtain using this approach. Further, the sensitivity information obtained depends to a great extent on the choice of the sample points, especially when only a small number of simulations can be performed.
The analytical methods require access to the governing model equations, and may involve writing additional computer code for the solution of the auxiliary equations, which may be impractical and sometimes impossible. For example, reformulating an existing computational model developed by others could require prohibitive amounts of resources.
Since these methods require a large number of samples (or model runs), their applicability is sometimes limited to simple models. In case of computationally intensive models, the time and resources required by these methods could be prohibitively expensive.2.1. A degree of computational efficiency is accomplished by the use of Modified Monte Carlo (MMC) methods that sample from the input distribution in an efficient manner, so that the number of necessary solutions compared to the simple Monte Carlo method is significantly reduced.
The Latin Hypercube Sampling [107,146,194] is one such widely used variant of the standard Monte Carlo method. In this method, the range of probable values for each uncertain input parameter is divided into ordered segments of equal probability. Thus, the the whole parameter space, consisting of all the uncertain parameters, is partitioned into cells having equal probability, and they are sampled in an ``efficient'' manner such that each parameter is sampled once from each of its possible segments. The advantage of this approach is that the random samples are generated from all the ranges of possible values, thus giving insight into the extremes of the probability distributions of the outputs. A detailed description of the implementation of Latin Hypercube Sampling is presented in Section 3.8.1.
Monte Carlo methods and Latin Hypercube Sampling have been applied in probabilistic assessment of risk in physiologically based pharmacokinetic models by considering uncertainty in the estimates of the model parameters [44,67,187]. These methods have also been applied in groundwater contamination models [14,89,172,157,143], in air pollution modeling [48,74,34,179,190,84], in process engineering [169,215], and in the reliability assessment of structures [8].
Guidelines for the application of Monte Carlo and Latin Hypercube Sampling methods in risk assessment are provided by the U.S.EPA [204,203]. Several computer packages containing routines for Monte Carlo and Latin Hypercube Sampling methods are reported in the literature [112,108]. The EPA approved FORTRAN package for Latin Hypercube Sampling by Iman et al. [108] is available through the EPA's Exposure Models Library [202]. Commercial plugins based on spreadsheet software include Crystal ball [46], @RISK [218], RISKMAN [162], and MonteCarlo [164]. This list is only representative of the available software tools. In the present work, a Latin Hypercube Sampling utility in FORTRAN has been developed as a part of the implementation of the Stochastic Response Surface Method, and is freely available to the research community.
Fourier Amplitude Sensitivity Test (FAST) is a method based on Fourier
transformation of uncertain model parameters into a frequency domain, thus
reducing the a multi-dimensional model into a single dimensional one. For a
model with
model parameters,
,
and
outputs,
,
such that
The outputs are then approximated as:
![]() |
(2.6) |
These integrals are evaluated by repeatedly sampling the parameter space of
,
which corresponds to the sampling in the multidimensional model
parameter space. The details of the transformation of model
parameters into the frequency domain, and the subsequent sampling are
explained by Koda et al. [127], and a computational implementation
of FAST is presented by McRae et al. [149].
FAST has been applied in the sensitivity/uncertainty analysis of atmospheric photochemical mechanisms [66], in conjunction with land surface processes in global climate models models [145,40], and in the disposal of radioactive waste [124]. A review article by Helton [96] reports that Monte Carlo methods are more widely applicable than FAST.
For a model with random parameters
If the joint probability density function for the set
is given by
,
then the probability of failure is given by the
-fold
integral:
FORM and SORM use analytical schemes to approximate the probability integral, through a series of the following simple steps, as illustrated by Bjerager [20]:
These methods are reported to be computationally very efficient compared to Monte Carlo methods, especially for scenarios corresponding to low probabilities of failure [92]. Further, SORM is more accurate than FORM, but computationally more intensive, since it involves a higher order approximation. These methods have been applied to problems of ground-water flow and contaminant transport [111,92,91,90] and to problems in safety assessment [39,147].
The main drawbacks of FORM and SORM are that the mapping of the failure function on to a standardized set, and the subsequent minimization of the function, involve significant computational effort for nonlinear black box numerical models [82]. In addition, simultaneous evaluation of probabilities corresponding to multiple failure criteria would involve significant additional effort. Furthermore, these methods impose some conditions on the joint distributions of the random parameters [92], thus limiting their applicability.
Helton [96] studied the applicability of response surface methods in performance assessment of radioactive waste disposal. It has also been used in conjunction with soil erosion modeling [33], with vegetative plant growth modeling [141], and with structural reliability problems [27].
Computer algebra based methods involve the direct manipulation of the computer code, typically available in the form of a high level language code (such as C or FORTRAN), and estimation of the sensitivity and uncertainty of model outputs with respect to model inputs. These methods do not require information about the model structure or the model equations, and use mechanical, pattern-matching algorithms, to generate a ``derivative code'' based on the model code. One of the main computer algebra based methods is the automatic differentiation, which is sometimes also termed automated differentiation.
Automatic differentiation involves direct manipulation of a model code to generate a corresponding ``derivative calculating code''. Given the source code, and the information about what the dependent and independent variables of interest are, the automatic differentiation tools can generate derivative information without further user intervention. This approach is essentially a ``black-box'' approach, as it does not require access to the model formulation or model equations. The main advantages of this approach are that partial derivatives can be calculated with the accuracy of the machine precision [17], and this approach results in substantial computer time savings [113,105].
An overview of the methodology and applications of automatic differentiation is presented by Griewank [85,86]. In addition, various reviews of automatic differentiation in the fields of engineering design, process engineering and numerical analysis can be found in the literature [13,35,109]. A large number of packages for automatic differentiation of model codes written in various programming languages are currently available. Table 2.4 lists a majority of the automatic differentiation tools currently available, along with some of their applications reported in the literature.
Two of the notable automatic differentiation tools that have been applied in conjunction with transport-transformation models are GRESS and ADIFOR. GRESS (GRadient Enhanced Software System) [100] is a Fortran preprocessor system that searches the model equations based on the appearance of the ``='' symbol, and analyzes the functional dependence of independent and dependent variables. The differentiation is carried out for each statement and the results are stored numerically at each stage of computation. This method has been applied to models describing transport of radionuclides through groundwater [156,161]. It has also been applied a model describing the atmospheric dispersion of radionuclides, AIRDOS [98,152]. The main limitation of GRESS is that the particulars of every operation performed in the code are stored in the memory at each step. This interpretation overhead associated with the storage, and the potentially great memory demands, can sometimes limit its applicability [16].
ADIFOR (Automatic DIfferentiation of FORtran) [17] applies the rules of automatic differentiation, and rewrites the original code, inserting statements for computing the first-order derivatives. The generated code can then be compiled just like a normal program, and can be executed to calculate derivatives in the model, along with the model outputs. This approach avoids the limitation of GRESS, with respect to the interpretation overhead.
In the area of photochemical air quality modeling, Carmichael et al. [29] applied the ADIFOR method to calculate the sensitivity of ozone levels to the initial concentrations (84 species) and all reaction rate constants (178 chemical reactions) for six different chemical regimes. Further, Hwang et al. [105] studied the applicability of automatic differentiation techniques in numerical advection schemes in air quality models. They calculated the sensitivity of concentration to a global perturbation of wind velocity in advection models and comparing that with other methods. Their results indicate that ADIFOR-generated code can produce exact sensitivity information up to the machine epsilon, and that the CPU requirements were lower for the ADIFOR method.
ADIFOR has also been applied in several other research areas, such as groundwater modeling [214], in weather modeling [18], in biostatistics [110], and in aeronautics [101].
The details of the ADIFOR approach and its application are presented in Chapter 4 where the coupling of the Stochastic Response Surface Method and ADIFOR is described.