In simulation, this interaction is accomplished by passing messages between software tools, each tool simulating a different subsystem. The simulation interval is divided into many small steps, and the simulation tools communicate with each other by passing data structures that represent the explicit and implicit interconnections in the physical system. This method can be used to obtain a discrete time approximation to the coupled dynamics that arise when the physical system is operating.