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
| Type | Name | Default | Description |
|---|---|---|---|
| Boolean | use_antFre | true | True if anti freeze control is part of safety control |
| Modelica.Units.SI.ThermodynamicTemperature | TAntFre | 276.15 | Limit temperature for anti freeze control |
| Real | dTHys | 2 | Hysteresis interval width |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | nSet (from PartialSafetyControl) | Set value relative speed of compressor. Analog from 0 to 1 | |
| Modelica.Blocks.Interfaces.RealOutput | nOut (from PartialSafetyControl) | Relative speed of compressor. From 0 to 1 | |
| Interfaces.VapourCompressionMachineControlBus | sigBusHP (from PartialSafetyControl) | Bus-connector for the heat pump | |
| Modelica.Blocks.Interfaces.BooleanOutput | modeOut (from PartialSafetyControl) | Heat pump mode, =true: heating, =false: chilling | |
| Modelica.Blocks.Interfaces.BooleanInput | modeSet (from PartialSafetyControl) | Set value of heat pump mode | |
| Modelica.Blocks.Interfaces.IntegerOutput | ERR (from PartialSafetyControl) | Integer for displaying number off Errors during simulation |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| AixLib.Utilities.Logical.SmoothSwitch | swiErr (from PartialSafetyControl) | If an error occurs, the value of the conZero block will be used(0) | |
| Modelica.Blocks.Sources.Constant | conZer (from PartialSafetyControl) | If an error occurs, the compressor speed is set to zero | |
| Modelica.Blocks.MathInteger.TriggeredAdd | disErr (from PartialSafetyControl) | Used to show if the error was triggered | |
| Modelica.Blocks.Logical.Not | not1 (from PartialSafetyControl) | ||
| Modelica.Blocks.Sources.IntegerConstant | intConOne (from PartialSafetyControl) | Used for display of current error | |
| Modelica.Blocks.Sources.BooleanConstant | booConAntFre | ||
| Modelica.Blocks.Logical.Hysteresis | hysteresis | ||
| Modelica.Blocks.Math.Min | min |
Revisions
-
November 26, 2018 by Fabian Wüllhorst:
First implementation (see issue #577)