modelPartialSafetyWithCounter

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

Extends from PartialSafety (Safety control with I/O).

Information

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

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputySet (from PartialSafety)Input for relative compressor speed from 0 to 1
Modelica.Blocks.Interfaces.RealOutputyOut (from PartialSafety)Output for relative compressor speed from 0 to 1
BuildingSystems.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBussigBus (from PartialSafety)Bus-connector for the heat pump
Modelica.Blocks.Interfaces.IntegerOutputerrInteger for displaying number of errors during simulation

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.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)