Table of Contents Author Guidelines Submit a Manuscript
Scientific Programming
Volume 2 (1993), Issue 4, Pages 157-169

Sensitivity Analysis of a Dynamical System Using C++

Donna Calhoun1 and Roy Overstreet2

1Computer Sciences Corporation, Seattle, WA 98115, USA
2National Oceanic and Atmospheric Administration, Seattle, WA 98115, USA

Received 29 April 1993; Accepted 29 June 1993

Copyright © 1993 Hindawi Publishing Corporation. This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.


This article introduces basic principles of first order sensitivity analysis and presents an algorithm that can be used to compute the sensitivity of a dynamical system to a selected parameter. This analysis is performed by extending with sensitivity equations the set of differential equations describing the dynamical system. These additional equations require the evaluation of partial derivatives, and so a technique known as the table algorithm, which can be used to exactly and automatically compute these derivatives, is described. A C++ class which can be used to implement the table algorithm is presented along with a driver routine for evaluating the output of a model and its sensitivity to a single parameter. The use of this driver routine is illustrated with a specific application from environmental hazards modeling.