modelHPControl

Control block which makes sure the desired temperature is supplied by the HP

Information

Model of a heat pump controller, setting a compressor signal and heat pump mode based on a given input temperarute. A heating curve is used to determine the supply temperature. This TSet is later converted to a signal nSet based on the acutal temperature in the system. Futhermore, a legionella protection for DHW-Simulation is implemented.

Using the control bus, more complex control strategies can easily be adapted.

Looking at the HeatPumpSystem, the task of the control block is also to control the pumps or fans and second heat generator if necessary.

Parameters

TypeNameDefaultDescription
Booleanuse_secHeaGenfalseTrue to choose a bivalent system
Heating Curve - Data
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 curve
Heating Curve - Night mode
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
Anti Legionella
Booleanuse_antLegTrue if Legionella Control is of relevance
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
IntegertrigWeekDayDay of the week at which control is triggered
IntegertrigHour3Hour of the day at which control is triggered

Connectors

TypeNameDefaultDescription
AixLib.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBussigBusHP
Modelica.Blocks.Interfaces.RealOutputyOutRelative compressor speed
Modelica.Blocks.Interfaces.RealInputT_odaOutdoor air temperature
Modelica.Blocks.Interfaces.RealOutputySecHeaGenRelative power of second heat generator, from 0 to 1
Modelica.Blocks.Interfaces.RealOutputy_sou
Modelica.Blocks.Interfaces.RealOutputy_sin
Modelica.Blocks.Interfaces.BooleanOutputheaHeating mode
Modelica.Blocks.Interfaces.RealInputTSupSupply temperature

Components

TypeNameDefaultDescription
AixLib.Controls.HeatPump.AntiLegionellaantiLegionella
Modelica.Blocks.Sources.ConstantconstHeating1If you want to include chilling, please insert control blocks first
AixLib.Controls.SetPoints.HeatingCurveheatCurve
TSetToNSetConvTSetToNSet
Modelica.Blocks.Routing.RealPassThroughrealPasThrAntLegNo Anti Legionella
Modelica.Blocks.Sources.BooleanConstantconstHeatingIf you want to include chilling, please insert control blocks first

Contents

NameDescription
TSetToNSet
HeatingCurveFunction

Revisions

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