To create an observer, create a class that derives from the
You can use observers to implement animators to visualize model simulation,
To help understand queue impact, visualize entities moving through the model during simulation,
Develop presentation tools showing model simulation via an application-oriented interface, such as restaurant queue activity.
Debug and examine entity activity.
Examine queue contents.
simevents.SimulationObserver object provides
methods that let you:
Create observer or animation objects.
Identify model blocks for notification of run-time events.
Interact with the event calendar.
Perform activities when a model pauses, continues after pausing, and terminates.
SimEvents® models call these functions during model simulation.
Create an application file.
Define a class that inherits from the
Create an observer object that derives from this class.
implement the functions you want for your application. This application
comprises your observer.
Open the model.
Create an instance of your class.
Run the model.