blockSafetyControl
Block including all safety levels
Extends from BaseClasses.PartialSafetyControl (Base Block).
Information
Aggregation of the four main safety measurements of a heat pump. The order is based on the relevance to the real system. Only the AntiFreeze-Control is put last because of the relevance for the simulation. If the medium temperature falls below the critical value, the simulation will fail.
All used functions are optional. See the used models for more info on each safety function:
The safety function for the anti legionella control is placed inside the model HPControl
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| OnOffControl | |||
| Boolean | use_minRunTime | true | False if minimal runtime of HP is not considered |
| Modelica.Units.SI.Time | minRunTime | Mimimum runtime of heat pump | |
| Boolean | use_minLocTime | true | False if minimal locktime of HP is not considered |
| Modelica.Units.SI.Time | minLocTime | Minimum lock time of heat pump | |
| Boolean | use_runPerHou | true | False if maximal runs per hour HP are not considered |
| Integer | maxRunPerHou | Maximal number of on/off cycles in one hour | |
| Boolean | pre_n_start | true | Start value of pre(n) at initial time |
| Operational Envelope | |||
| Boolean | use_opeEnv | true | False to allow HP to run out of operational envelope |
| Boolean | use_opeEnvFroRec | true | Use a the operational envelope given in the datasheet |
| Obsolete.Year2024.DataBase.HeatPump.HeatPumpBaseDataDefinition | dataTable | Data Table of HP | |
| Real[:,2] | tableUpp | Upper boundary of envelope | |
| Modelica.Units.SI.TemperatureDifference | dTHystOperEnv | 5 | Temperature difference used for both upper and lower hysteresis in the operational envelope. |
| Defrost | |||
| Boolean | use_deFro | True if defrost control should be enabled(only air-source HPs) | |
| Real | minIceFac | Minimal value above which no defrost is necessary | |
| Real | deltaIceFac | 0.1 | Bandwitdth for hystereses. If the icing factor is based on the duration of defrost, this value is necessary to avoid state-events. |
| Boolean | use_chiller | true | True if defrost operates by changing mode to cooling. False to use an electrical heater |
| Modelica.Units.SI.Power | calcPel_deFro | Calculate how much eletrical energy is used to melt ice | |
| Anti Freeze Control | |||
| 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 |
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 | |
| Modelica.Blocks.Interfaces.RealOutput | Pel_deFro | Relative speed of compressor. From 0 to 1 | |
| Modelica.Blocks.Interfaces.IntegerOutput | ERR_opeEnv | ||
| Modelica.Blocks.Interfaces.IntegerOutput | ERR_antFre |
Components
Revisions
-
November 26, 2018 by Fabian Wüllhorst:
First implementation (see issue #577)