modelAntiFreeze

Model to prevent source from freezing

Extends from BaseClasses.PartialSafetyControl (Base Block).

Information

This models takes the minimum of the two temperatures evaporator outlet and condenser inlet. If this minimal temperature falls below the given lower boundary, the hystereses will trigger an error and cause the device to switch off.

Assumptions

Assuming that the outlet temperature of an evaporator is always lower than the inlet temperature(for the condenser vice versa).

Parameters

TypeNameDefaultDescription
Booleanuse_antFretrueTrue if anti freeze control is part of safety control
Modelica.Units.SI.ThermodynamicTemperatureTAntFre276.15Limit temperature for anti freeze control
RealdTHys2Hysteresis interval width

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputnSet (from PartialSafetyControl)Set value relative speed of compressor. Analog from 0 to 1
Modelica.Blocks.Interfaces.RealOutputnOut (from PartialSafetyControl)Relative speed of compressor. From 0 to 1
Interfaces.VapourCompressionMachineControlBussigBusHP (from PartialSafetyControl)Bus-connector for the heat pump
Modelica.Blocks.Interfaces.BooleanOutputmodeOut (from PartialSafetyControl)Heat pump mode, =true: heating, =false: chilling
Modelica.Blocks.Interfaces.BooleanInputmodeSet (from PartialSafetyControl)Set value of heat pump mode
Modelica.Blocks.Interfaces.IntegerOutputERR (from PartialSafetyControl)Integer for displaying number off Errors during simulation

Components

TypeNameDefaultDescription
AixLib.Utilities.Logical.SmoothSwitchswiErr (from PartialSafetyControl)If an error occurs, the value of the conZero block will be used(0)
Modelica.Blocks.Sources.ConstantconZer (from PartialSafetyControl)If an error occurs, the compressor speed is set to zero
Modelica.Blocks.MathInteger.TriggeredAdddisErr (from PartialSafetyControl)Used to show if the error was triggered
Modelica.Blocks.Logical.Notnot1 (from PartialSafetyControl)
Modelica.Blocks.Sources.IntegerConstantintConOne (from PartialSafetyControl)Used for display of current error
Modelica.Blocks.Sources.BooleanConstantbooConAntFre
Modelica.Blocks.Logical.Hysteresishysteresis
Modelica.Blocks.Math.Minmin

Revisions

  • November 26, 2018  by Fabian Wüllhorst:
    First implementation (see issue #577)