Patent ID: 8296118

Claim:
A non-transitory computer-readable medium storing instructions for execution on a processor to generate a linearized executable block diagram model, the medium storing instructions for: receiving one or more inputs specifying a plurality of conditions that may be satisfied during a simulation of an executable block diagram model representing a dynamic system, the plurality of conditions for triggering a linearization analysis of the executable block diagram model; starting the simulation of the executable block diagram model at a starting time; performing the linearization analysis of the executable block diagram model while the executable block diagram model is simulating, where the linearization analysis: is performed when one of the plurality of conditions is satisfied during the simulation of the executable block diagram model, and generates one or more results that include the linearized executable block diagram model; displaying the one or more results of the linearization analysis; storing the one or more results of the linearization analysis; replacing the executable block diagram model with the linearized executable block diagram model during the simulation of the executable block diagram model at a selected time after the starting time and before a stopping time of the simulation; and continuing the simulation using the linearized executable block diagram model for a predetermined time interval starting at the selected time, the linearized executable block diagram model being generated from the executable block diagram model.