blockDelayFlag

Provides an extended fault flag fO which adds a post-fault value 2 to the input fault flag fI for a set duration of tD
Diagram of DelayFlag

Parameters

TypeNameDefaultDescription
Types.TimetDDelay time constant in s, specifies the duration of post-fault flag
Types.TimetSIntegration time step in s
BooleanFI0Initial input fault flag (boolean)
IntegerFO0Initial output fault flag (value 0, 1 or 2)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.BooleanInputfIInput fault flag (boolean)
Modelica.Blocks.Interfaces.IntegerOutputfOOutput fault flag (value 0, 1 or 2)

Components

TypeNameDefaultDescription
Modelica.Blocks.Nonlinear.FixedDelayfixedDelay
Modelica.Blocks.Logical.Timertimer
Modelica.Blocks.Logical.Switchswitch18
Modelica.Blocks.Logical.Lessless1
Modelica.Blocks.Sources.Constantconst7
Dynawo.NonElectrical.Blocks.NonLinear.SwitchIntegerswitch1
Modelica.Blocks.Sources.IntegerConstantintegerConstant
Dynawo.NonElectrical.Blocks.NonLinear.SwitchIntegerswitch2
Modelica.Blocks.Math.BooleanToIntegerbooleanToInteger
Modelica.Blocks.Logical.Notnot1