init (EventController)

Syntax

<Path>.init

The method init makes the EventController designated by <Path> execute all Methods in your simulation model that are named init. Plant Simulation initializes the simulation model using the method Init before it executes the next scheduled event.

Plant Simulation does not execute the Init immediately, but only when all methods being executed at the moment have been executed all the way. This includes the method, which has triggered the Init. The methods reset and start behave like this as well.

Example

root.EventController.Init

Related Topics

Start/Stop Simulation

init, method in SimTalk