Analytic Derivatives#
In order to use PCE efficiently with optimization through OpenMDAO, UQPCE provides analytical derivatives. This allows users to optimize a system under uncertainty while avoiding the expense penalty of using derivatives with the finite difference method. This section will explain how derivatives for UQPCE are calculated.
Implementation#
The uncertain variables are constant throughout the optimization process and are unaffected by changes in the design variables. The only UQPCE inputs affected by the design variables are the responses that each PCE model is build on. Because of this, we follow the partial derivatives throughout UQPCE with respect to the response vector, \(y\), to get the needed derivatives from UQPCE.
The derivative chain for the mean with respect to the responses is given by
The derivative chain for the variance with respect to the responses is given by
Because the derivatives on the bound of uncertainty require driving a residual to zero, a framework like OpenMDAO must be used to accurately account for these derivatives. The needed derivatives for the uncertainty interval are given by the below equations