Terminate

Terminate simulation when input becomes $\mathrm{true}$

 Description The Terminate component terminates the simulation and displays a custom message in the console. It is activated by a transition from $\mathrm{false}$ to $\mathrm{true}$ in its Boolean input.
 Equations $\mathrm{msim/WHEN}\left(u,\mathrm{terminate}\left(\mathrm{msg}\right)\right)$

Connections

 Name Description Modelica ID $u$ Boolean input signal u

Parameters

 Name Default Units Description Modelica ID $\mathrm{msg}$ Message displayed on termination msg

 Modelica Standard Library The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.