You're reading the documentation for a development version. For the latest stable documentation, please have a look at v5.1.X.
Parameter Sensitivities#
Group /input/sensitivity#
NSENSNumber of sensitivities to be computed
Type: int
Range: \(\geq 0\)
Length: 1
SENS_METHODMethod used for computation of sensitivities (algorithmic differentiation)
Type: string
Range: \(\texttt{ad1}\)
Length: 1
Group /input/sensitivity/param_XXX#
SENS_UNITUnit operation index
Type: int
Range: \(\geq 0\)
Length: \(\geq 1\)
SENS_NAMEName of the parameter. Some parameters do not support sensitivities with every spatial discretization, see Unsupported sensitivities below. Requesting one of those is rejected with an error rather than silently answered with a wrong number.
Type: string
Length: \(\geq 1\)
SENS_COMPComponent index (\(-1\) if parameter is independent of components, see the multiplexing of the corresponding parameter, e.g.
FILM_DIFFUSION_MULTIPLEX)Type: int
Range: \(\geq -1\)
Length: \(\geq 1\)
SENS_PARTYPEParticle type index (\(-1\) if parameter is independent of particle types, see the multiplexing of the corresponding parameter, e.g.
PORE_DIFFUSION_MULTIPLEX)Type: int
Range: \(\geq -1\)
Length: \(\geq 1\)
SENS_REACTIONReaction index (\(-1\) if parameter is independent of reactions)
Type: int
Range: \(\geq -1\)
Length: \(\geq 1\)
SENS_BOUNDPHASEBound phase index (\(-1\) if parameter is independent of bound phases)
Type: int
Range: \(\geq -1\)
Length: \(\geq 1\)
SENS_SECTIONSection index (\(-1\) if parameter is independent of sections)
Type: int
Range: \(\geq -1\)
Length: \(\geq 1\)
SENS_ABSTOLAbsolute tolerance used in the computation of the sensitivities (optional, defaults to \(10^{-5}\)). Rule of thumb: \(\texttt{ABSTOL} / \texttt{PARAM_VALUE}\)
Type: double
Range: \(\geq 0.0\)
Length: \(\geq 1\)
SENS_FACTORLinear factor of the combined sensitivity (optional, taken as \(1.0\) if left out)
Type: double
Range: \(\mathbb{R}\)
Length: \(\geq 1\)
Unsupported sensitivities#
A parameter enters a spatial operator either through the residual, where the algorithmic differentiation carries its derivative along, or through an operator matrix that is assembled once in double precision, where the derivative is lost. The second case cannot be answered correctly and is rejected with an error. The alternatives below are the ones that have been checked against central finite differences.
Parameter |
Not available for |
Alternative |
|---|---|---|
|
every unit operation and discretization |
Approximate with finite differences, i.e. rerun the simulation with a shifted section time. The derivative is dominated by the jump the solution makes when the switch moves, which needs a sensitivity jump condition that is not implemented. |
|
DG discretized particles |
Use the finite volume particle discretization. |
|
exact integration DG ( |
Use collocation DG ( |
|
DG discretized radial flow and frustum columns |
Use the finite volume discretization. |
|
DG discretized radial flow and frustum columns |
Use the finite volume discretization, which rebuilds its cell geometry when the bed length changes. This requires an equidistant grid; a |
|
DG discretized radial flow and frustum columns |
Approximate with finite differences. The finite volume discretization of these geometries derives the end radii from the cross section areas and has no such parameter. |
|
DG discretized 2D column model |
Approximate with finite differences. Note that |