Sensitivity Analysis

OPTFEKO calculates upon termination of an optimisation, a sensitivity analysis of the goal function with relation to each parameter.

The sensitivity analysis is calculated using the particle swarm optimisation (PSO), generic algorithm (GA) or Simplex method, if sufficient information is available. The calculated sensitivity values are indicated on the screen output, and stored in the text .log file. If no sensitivity analysis is performed, the reason is indicated on the screen output, but no indication is written to the text .log file.
Figure 1. Sensitivity analysis of the goal function f with relation to the parameter x.


Figure 1 shows an example goal function f that varies as a function of the parameter x. The sensitivity with relation to the parameter x can be described by the following equation:

S(x)= f x | x 0 ±Δx
with Δx equal to 1
Δ x = 0.01 ( x max x min )
Solving the equation, however, gives a near zero value when the solution space is well converged. We therefore rather compute the second derivative from which the sensitivity parameter can be computed through integration
S ( x ) f x | x 0 ± Δ x 2 f x 2 | x 0 Δ x
to finally give the sensitivity with relation to x as
S(x) f ( x 0 )0.001( x max x min )

A sensitivity analysis will only be performed if at least 2N +1 samples are available for a problem with N parameters and these samples should all be within a 5% radius of the optimum. If the samples under consideration are scattered outside of a 5% radius of the optimum, the stored data is considered insufficient for proper sensitivity analysis. It should also be realised that as this computation makes use of already computed samples only, the accuracy of the reported sensitivity number depends on how well the algorithm has converged.