TerminateSimulation

Terminate simulation if condition is fulfilled

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

In the parameter menu, a time varying expression can be defined via variable condition, for example "condition = x < 0", where "x" is a variable that is declared in the model in which the "TerminateSimulation" block is present. If this expression becomes true, the simulation is (successfully) terminated. A termination message explaining the reason for the termination can be given via parameter "terminationText".

Parameters (1)

terminationText

Value: "... End condition reached"

Type: String

Description: Text that will be displayed when simulation is terminated

Connectors (1)

condition

Type: BooleanOutput

Description: Terminate simulation when condition becomes true

Used in Components (2)

PathPlanning1

Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.Utilities

Generate reference angles for fastest kinematic movement

PathPlanning6

Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.Utilities

Generate reference angles for fastest kinematic movement