The Interrupt element provides a way to interrupt or pause a simulation. An Interrupt element is triggered by an event and responds by interrupting the simulation. The triggering event can be a discrete event signal or a conditional.
When the value of Reservoir1 hits 400 kg, the interrupt element will interrupt the simulation run and display a warning message.
To Open the Model File:
- Start GoldSim
- Click on the File and select Open Example...
- Browse to General Examples --> Events
- Select the file called Interrupt.gsm