A Multi-Threaded Computing Algorithm for Pure Simulation of Complex Systems in SIMULINK 2007-01-1632
As dynamic system models become more complex, their computation times increase. Traditionally, the model, as a whole, would be evaluated at a single time step that would give the desired stability and accuracy for all states. It is hypothesized that the models be partitioned allowing different portions of the model be solved at different time steps, allowing each state to be evaluated at a time step that will give the desired stability and accuracy. Furthermore, with the model operating at several time steps, each time step could be solved on a separate processor of a multiple processor machine. Using a Simulink ® (Simulink) model of a multiple degree of freedom, spring, mass, damper system, multiple time steps were created through the use of rate transition blocks and discrete integrators. A multithreaded program was then created by modifying the rsim_main.C script.