functionduring3

Return Satisfied when check is Satisfied as long as condition is true (check: 3-valued logic)

Extends from Modelica_Requirements.Interfaces.PropertyFunction (Icon for functions returning a variable of type Property).

Information

Syntax

during3(condition, check);

Description

If condition is true, the function returns check (which must be of type Property). Otherwise, it returns Undecided.

Example

The property is demonstrated with the following example calling the function as:

property = during3(condition,check)

results in

simulation result

Inputs

TypeNameDefaultDescription
BooleanconditionVerify check as long as condition = true
Modelica_Requirements.Types.PropertycheckAs long as condition is true, check should be Satisfied

Outputs

TypeNameDefaultDescription
Modelica_Requirements.Types.Propertyresult