modelTwoPointControlledHP

Controller gives full speed or stop signal depending on temperature hysteresis

Extends from AixLib.Controls.HeatPump.BaseClasses.PartialTSetToNSet (Partial model to convert set temperature to compressor speed of heat pump).

Parameters

TypeNameDefaultDescription
Booleanuse_secHeaGen (from PartialTSetToNSet)falseTrue to choose a bivalent system
RealbandwidthBandwith of hysteresis of controller
Heating limit temperature
Booleanuse_heaLim (from PartialTSetToNSet)true=false to disable moving average heating limit
Modelica.Units.SI.TemperatureT_heaLim (from PartialTSetToNSet)293.15Heating limit temperature. If the filtered outdoor air temperature surpasses this threshold, the device will be shut down
Modelica.Units.SI.TimemovAveTime (from PartialTSetToNSet)300Time span for building the average of the outdoor air temperature. Used for heating limit temperature

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputTSet (from PartialTSetToNSet)Set temperature
Modelica.Blocks.Interfaces.RealOutputnOut (from PartialTSetToNSet)Relative speed of compressor. From 0 to 1
AixLib.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBussigBusHP (from PartialTSetToNSet)
Modelica.Blocks.Interfaces.RealOutputySecHeaGen (from PartialTSetToNSet)Relative power of second heat generator, from 0 to 1
Modelica.Blocks.Interfaces.RealInputTMea (from PartialTSetToNSet)Actual temperature, control variable

Components

TypeNameDefaultDescription
Modelica.Blocks.Logical.SwitchswiNullHP (from PartialTSetToNSet)If HP is off, zero is passed
Modelica.Blocks.Sources.ConstantconZer (from PartialTSetToNSet)If an error occurs, the compressor speed is set to zero
AixLib.Utilities.Logical.SmoothSwitchswiNullsecHeaGen (from PartialTSetToNSet)If second heater is off, zero is passed
AixLib.Utilities.Math.MovingAveragemovAve (from PartialTSetToNSet)Moving average to account for fluctuations in the outdoor air temperature
Modelica.Blocks.Logical.AndandHeaLim (from PartialTSetToNSet)Check if control and heating limit temperature yield true to turn the device on
Modelica.Blocks.Logical.LessThresholdlessThreshold (from PartialTSetToNSet)
Modelica.Blocks.Sources.BooleanConstantbooleanConstant (from PartialTSetToNSet)
Modelica.Blocks.Logical.OnOffControlleronOffControllerHysteresis controller for set temperature
Modelica.Blocks.Sources.ConstantconOneConstant one for on off heat pump

Revisions

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