modelHPSystemController

Model including both safety and HP controller

Information

This system controller aggregates the heat pump controller and relevant safety controls from AixLib.Controls.HeatPump to control the heat pump based on an ambient temperature and the current supply temperature.

Further, the COP is calculated. The icing factor used for air-source heat pumps is added to simulate defrost cycles.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.SpecificHeatCapacitycp_con4180specific heat capacity of condenser medium
System
Booleanuse_secHeaGentrueTrue if a bivalent setup is required
Heat Pump Control › Heating Curve
Booleanuse_tableDatatrueChoose between tables or function to calculate TSet
AixLib.DataBase.Boiler.DayNightMode.HeatingCurvesDayNightBaseDataDefinitionheatingCurveRecordAixLib.DataBase.Boiler.DayNightMode.HeatingCurves_Vitotronic_Day25_Night10()Record with information about heating curve data
Realdeclination2Declination of heating curve
Realday_hour6Hour of day at which day mode is enabled
Realnight_hour22Hour of day at which night mode is enabled
AixLib.Utilities.Time.Types.ZeroTimezerTimAixLib.Utilities.Time.Types.ZeroTime.NY2017Enumeration for choosing how reference time (time = 0) should be defined. Used for heating curve and antilegionella
Heat Pump Control › Anti Legionella
Booleanuse_antLegtrueTrue if Anti-Legionella control is considered
Modelica.Units.SI.ThermodynamicTemperatureTLegMin333.15Temperature at which the legionella in DWH dies
Modelica.Units.SI.TimeminTimeAntLegMinimal duration of antilegionella control
BooleanweeklytrueSwitch between a daily or weekly trigger approach
IntegertrigWeekDay5Day of the week at which control is triggered
IntegertrigHour3Hour of the day at which control is triggered
Safety Control › General
Booleanuse_sectrueFalse if the Safety block should be disabled
Safety Control › On-/Off Control
Booleanuse_minRunTimefalseFalse if minimal runtime of HP is not considered
Modelica.Units.SI.TimeminRunTime300Minimum runtime of heat pump
Booleanuse_minLocTimefalseFalse if minimal locktime of HP is not considered
Modelica.Units.SI.TimeminLocTime300Minimum lock time of heat pump
Booleanuse_runPerHoufalseFalse if maximal runs per hour of HP are not considered
IntegermaxRunPerHou3Maximal number of on/off cycles in one hour
Booleanpre_n_startfalseStart value of pre(n) at initial time
Safety Control › Operational Envelope
Booleanuse_opeEnvtrueFalse to allow HP to run out of operational envelope
Booleanuse_opeEnvFroRectrueUse a the operational envelope given in the datasheet
Obsolete.Year2024.DataBase.HeatPump.HeatPumpBaseDataDefinitiondataTableData Table of HP
Real[:,2]tableUppTable matrix (grid = first column; e.g., table=[0,2])
Modelica.Units.SI.TemperatureDifferencedTHystOperEnv5Temperature difference used for both upper and lower hysteresis in the operational envelope.
Safety Control › Defrost
Booleanuse_deFrotrueFalse if defrost in not considered
RealminIceFacMinimal value above which no defrost is necessary
RealdeltaIceFac0.1Bandwitdth for hystereses. If the icing factor is based on the duration of defrost, this value is necessary to avoid state-events.
Booleanuse_chillerfalseTrue if defrost operates by changing mode to cooling. False to use an electrical heater
Modelica.Units.SI.PowercalcPel_deFroCalculate how much eletrical energy is used to melt ice
Safety Control › Anti Freeze Control
Booleanuse_antFrefalseTrue if anti freeze control is part of safety control
Modelica.Units.SI.ThermodynamicTemperatureTantFre276.15Limit temperature for anti freeze control

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputT_odaOutdoor air temperature
AixLib.Obsolete.Year2024.Controls.Interfaces.VapourCompressionMachineControlBussigBusHP
Modelica.Blocks.Interfaces.RealInputTSupSupply temperature of HP system
Modelica.Blocks.Interfaces.RealOutputy_sin
Modelica.Blocks.Interfaces.RealOutputySecHeaGenRelative power of second heat generator, from 0 to 1
Modelica.Blocks.Interfaces.RealOutputy_sou

Components

TypeNameDefaultDescription
AixLib.Obsolete.Year2024.Controls.HeatPump.SafetyControls.SafetyControlsafetyControl
AixLib.Controls.HeatPump.HPControlhPControls
AixLib.Obsolete.Year2024.DataBase.HeatPump.PerformanceData.calcCOPcalcCOP
AixLib.Utilities.HeatTransfer.CalcQFlowcalcQHeatCalculates the heat flow added to the source medium
Modelica.Blocks.Routing.RealPassThroughrealPasThrSecNo 1. Layer
Modelica.Blocks.Math.MultiSummultiSum
AixLib.Obsolete.Year2024.DataBase.HeatPump.PerformanceData.IcingBlockicingBlock
Modelica.Blocks.Sources.Constantconst
Modelica.Blocks.Routing.BooleanPassThroughbooleanPassThroughModePass through for mode signal
Modelica.Blocks.Sources.ConstantconstTAmb

Contents

NameDescription
TSetToNSet
HeatingCurveFunction

Revisions

  • October 31, 2018  by Alexander Kümpel:
    Connection between controller and heat pump only via bus connector
  • November 26, 2018  by Fabian Wüllhorst:
    First implementation (see issue #577)