modelPartialSafetyWithCounter

Safety control which adds an error counter to the I/O

Extends from PartialSafety.

Information

This block counts the number of errors occurred in a specific safety block.

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.SwitchswiErrSwitches to zero when an error occurs
Modelica.Blocks.Sources.ConstantconZerConstant zero
Modelica.Blocks.MathInteger.TriggeredAdddisErrUsed to show if the error was triggered
Modelica.Blocks.Interfaces.IntegerOutputerrInteger for displaying number of errors during simulation
Modelica.Blocks.Logical.NotnotVal=true indicates a error
Modelica.Blocks.Sources.IntegerConstantintConOneUsed for display of current error
Modelica.Blocks.Routing.BooleanPassThroughbooPasThrUsed to keep the connection to the counter

Revisions

  • November 26, 2018 by Fabian Wuellhorst:
    First implementation (see issue AixLib #577)