The Infona portal uses cookies, i.e. strings of text saved by a browser on the user's device. The portal can access those files and use them to remember the user's data, such as their chosen settings (screen view, interface language, etc.), or their login data. By using the Infona portal the user accepts automatic saving and using this information for portal operation purposes. More information on the subject can be found in the Privacy Policy and Terms of Service. By closing this window the user confirms that they have read the information on cookie usage, and they accept the privacy policy and the way cookies are used by the portal. You can change the cookie settings in your browser.
This paper describes the implementation of sensitivity calculations in a general-purpose simulation program ESACAP. It is well known that exact derivatives of a steady state or time domain solution with respect to any parameter in a nonlinear dynamic system can be obtained at very little additional computational effort. The algorithm using already available Jacobians in a numerical integration scheme is applied to backward-differentiation formulas (BDFs) of variable step and order. Sensitivity calculation in the ESACAP version of the BDFs based on scaled differences is described. The main purpose of this paper is to identify the additional pieces of code required for sensitivity calculations in connection with a general problem-description language. The paper also describes the computation of exact derivatives in small-signal frequency-domain analyses including poles and zeros of transfer functions. Results from typical ESACAP simulations with sensitivities are presented.