modelPartialTSetToNSet

Partial model to convert set temperature to compressor speed of heat pump

Parameters

TypeNameDefaultDescription
Booleanuse_secHeaGenfalseTrue to choose a bivalent system
Heating limit temperature
Booleanuse_heaLimtrue=false to disable moving average heating limit
Modelica.Units.SI.TemperatureT_heaLim293.15Heating limit temperature. If the filtered outdoor air temperature surpasses this threshold, the device will be shut down
Modelica.Units.SI.TimemovAveTime300Time span for building the average of the outdoor air temperature. Used for heating limit temperature

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTSetSet temperature
Modelica.Blocks.Interfaces.RealOutputnOutRelative speed of compressor. From 0 to 1
AixLib.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBussigBusHP
Modelica.Blocks.Interfaces.RealOutputySecHeaGenRelative power of second heat generator, from 0 to 1
Modelica.Blocks.Interfaces.RealInputTMeaActual temperature, control variable

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.SwitchswiNullHPIf HP is off, zero is passed
Modelica.Blocks.Sources.ConstantconZerIf an error occurs, the compressor speed is set to zero
AixLib.Utilities.Logical.SmoothSwitchswiNullsecHeaGenIf second heater is off, zero is passed
AixLib.Utilities.Math.MovingAveragemovAveMoving average to account for fluctuations in the outdoor air temperature
Modelica.Blocks.Logical.AndandHeaLimCheck if control and heating limit temperature yield true to turn the device on
Modelica.Blocks.Logical.LessThresholdlessThreshold
Modelica.Blocks.Sources.BooleanConstantbooleanConstant

Revisions

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