Patent ID: 8630827

Claim:
One or more non-transitory computer-readable storage media, storing: one or more instructions that, when executed by a processor of a computing device, cause the processor to: receive one or more inputs specifying a plurality of conditions satisfied during a simulation of an executable block diagram model representing a dynamic system; trigger a linearization analysis of at least a portion of the executable block diagram model based on the plurality of conditions; start simulating the executable block diagram model; perform the linearization analysis of the at least the portion 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 while the executable block diagram model is simulating, and generates a result, the result including a linearized model of the at least the portion of the executable block diagram model; replace the at least the portion of the executable block diagram model with the linearized model of the at least the portion of the executable block diagram model when the executable block diagram model is simulating, the replacing occurring at a selected time during the simulating; and continue simulating the executable block diagram model using the linearized model of the at least the portion of the executable block diagram model.