modelAntiLegionella

Control to avoid Legionella in the DHW

Information

This model represents the anti legionella control of a real heat pump. Based on a daily or weekly approach, the given supply temperature is raised above the minimal temperature required for the thermal desinfection (at least 60 °C) for a given duration minTimeAntLeg.

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

Parameters

TypeNameDefaultDescription
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
IntegertrigHourHour of the day at which control is triggered
AixLib.Utilities.Time.Types.ZeroTimezerTimEnumeration for choosing how reference time (time = 0) should be defined
IntegeryearRef2016Year when time = 0, used if zerTim=Custom

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutputTSet_outSet value for the condenser outlet temperature
Modelica.Blocks.Interfaces.RealInputTSet_inInput of TSet
Modelica.Blocks.Interfaces.RealInputTSupActInput of actual supply temperature

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.GreaterEqualTConLessTLegMinCompare if current TCon is smaller than the minimal TLeg
AixLib.Utilities.Logical.SmoothSwitchswitchTLegSwitch to Legionalla control if needed
Modelica.Blocks.Sources.ConstantconstTLegMinTemperature at which the legionella in DWH dies
Modelica.Blocks.Logical.TimertimeAntiLegTime in which legionella will die
Modelica.Blocks.Logical.GreaterThresholdgreaterThreshold
Modelica.Blocks.Logical.Prepre1
AixLib.Utilities.Time.DaytimeSwitchdaytimeSwitchIf given day and hour match the current daytime, output will be true
Modelica.Blocks.MathInteger.TriggeredAddtriggeredAddSee info of model for description
Modelica.Blocks.Sources.IntegerConstantintConPluOneValue for counting
Modelica.Blocks.Logical.LessThresholdlessThresholdChecks if value is less than one
Modelica.Blocks.Math.IntegerToRealintToRealConverts Integer to Real