blockOperationalEnvelope

Block which computes an error if the current values are outside of the given operatinal envelope

Extends from BaseClasses.PartialSafetyControl (Base Block), BaseClasses.BoundaryMapIcon (PartialModel for the icon of a boundary map).

Information

Model for checking if the given condenser return temperature and evaporator inlet temperature are in the given boundaries. If not, the heat pump will switch off.

Parameters

TypeNameDefaultDescription
Booleanuse_opeEnvFalse to allow HP to run out of operational envelope
Safety Control › Operational Envelope
Booleanuse_opeEnvFroRec (from BoundaryMapIcon)trueUse a the operational envelope given in the datasheet
Obsolete.Year2024.DataBase.HeatPump.HeatPumpBaseDataDefinitiondataTable (from BoundaryMapIcon)Data Table of HP
Real[:,2]tableUpp (from BoundaryMapIcon)Table matrix (grid = first column; e.g., table=[0,2])
Modelica.Units.SI.TemperatureDifferencedTHyst5Temperature difference used for both upper and lower hysteresis in the operational envelope.
Dynamic Icon
RealiconMin (from BoundaryMapIcon)-70Used to set the frame where the icon should appear
RealiconMax (from BoundaryMapIcon)70Used to set the frame where the icon should appear

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.Math.UnitConversions.To_degCtoDegCT_ret_co
Modelica.Blocks.Math.UnitConversions.To_degCtoDegCT_flow_ev
BaseClasses.BoundaryMapboundaryMap
Modelica.Blocks.Sources.BooleanConstantbooConOpeEnv

Revisions

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