modelVCLib4DAirToWater_OneRoomRadiator

Air to water heat pump with 4D data based on VCLib

Extends from Modelica.Icons.Example (Icon for runnable examples), BaseClasses.PartialOneRoomRadiator (Simple room model with radiator, without a heat pump).

Information

This example demonstrates how to use the AixLib.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.TableData4DDeltaT refrigerant cycle model with dynamic frosting and defrosting models. Please check the associated documentation for further information.

Note, it is important to add the QEva_flow and relHum to the signal bus in order for the frosting models to work properly.

Please check the documentation of AixLib.Fluid.HeatPumps.ModularReversible.Examples.BaseClasses.PartialOneRoomRadiator for further information on the example.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.HeatFlowRateQ_flow_nominal (from PartialOneRoomRadiator)20000Nominal heat flow rate of radiator
Modelica.Units.SI.TemperatureTRadSup_nominal (from PartialOneRoomRadiator)273.15 + 50Radiator nominal supply water temperature
Modelica.Units.SI.TemperatureTRadRet_nominal (from PartialOneRoomRadiator)273.15 + 45Radiator nominal return water temperature
Modelica.Units.SI.MassFlowRatemCon_flow_nominal (from PartialOneRoomRadiator)Q_flow_nominal/4200/5Heat pump nominal mass flow rate in condenser
Modelica.Units.SI.MassFlowRatemEva_flow_nominal (from PartialOneRoomRadiator)Heat pump nominal mass flow rate in evaporator
Modelica.Units.SI.VolumeV (from PartialOneRoomRadiator)6*10*3Room volume
Modelica.Units.SI.MassFlowRatemAirRoo_flow_nominal (from PartialOneRoomRadiator)V*1.2*6/3600Nominal mass flow rate of room air
Modelica.Units.SI.HeatFlowRateQRooInt_flow (from PartialOneRoomRadiator)Q_flow_nominal/5Internal heat gains of the room
BooleanwitCoo (from PartialOneRoomRadiator)true=true to simulate cooling behaviour

Connectors

TypeNameDefaultDescription
AixLib.BoundaryConditions.WeatherData.BusweaBus (from PartialOneRoomRadiator)Weather data bus
AixLib.Fluid.HeatPumps.ModularReversible.BaseClasses.RefrigerantMachineControlBussigBusHeaPumBus with the most relevant information for hp frosting calculation

Components

TypeNameDefaultDescription
AixLib.Fluid.MixingVolumes.MixingVolumevol (from PartialOneRoomRadiator)
Modelica.Thermal.HeatTransfer.Components.ThermalConductortheCon (from PartialOneRoomRadiator)Thermal conductance with the ambient
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowpreHea (from PartialOneRoomRadiator)Prescribed heat flow
Modelica.Thermal.HeatTransfer.Components.HeatCapacitorheaCap (from PartialOneRoomRadiator)Heat capacity for furniture and walls
Modelica.Blocks.Sources.CombiTimeTabletimTab (from PartialOneRoomRadiator)Time table for internal heat gain
AixLib.Fluid.HeatExchangers.Radiators.RadiatorEN442_2rad (from PartialOneRoomRadiator)Radiator
AixLib.Fluid.Sensors.TemperatureTwoPorttemSup (from PartialOneRoomRadiator)Supply water temperature
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensortemRoo (from PartialOneRoomRadiator)Room temperature
AixLib.Fluid.Movers.Preconfigured.FlowControlled_m_flowpumHeaPum (from PartialOneRoomRadiator)Pump for radiator side
AixLib.Fluid.Sensors.TemperatureTwoPorttemRet (from PartialOneRoomRadiator)Return water temperature
AixLib.BoundaryConditions.WeatherData.ReaderTMY3weaDat (from PartialOneRoomRadiator)Weather data reader
Modelica.Thermal.HeatTransfer.Sources.PrescribedTemperatureTOut (from PartialOneRoomRadiator)Outside temperature
AixLib.Fluid.Movers.Preconfigured.FlowControlled_m_flowpumHeaPumSou (from PartialOneRoomRadiator)Pump for heat pump source side
Modelica.Blocks.Math.BooleanToRealbooToReaPumCon (from PartialOneRoomRadiator)Pump signal
AixLib.Fluid.Sources.Boundary_pTsou (from PartialOneRoomRadiator)Fluid source on source side
AixLib.Fluid.Sources.Boundary_pTsin (from PartialOneRoomRadiator)Fluid sink on source side
AixLib.Fluid.Sources.Boundary_pTpreSou (from PartialOneRoomRadiator)Source for pressure and to account for thermal expansion of water
Modelica.Blocks.Math.BooleanToRealbooToReaPumEva (from PartialOneRoomRadiator)Pump signal
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowpreHeaCoo (from PartialOneRoomRadiator)Prescribed heat flow to trigger cooling
Modelica.Blocks.Sources.PulsecooLoa (from PartialOneRoomRadiator)Cooling load with step
AixLib.Fluid.HeatPumps.ModularReversible.Examples.BaseClasses.OneRoomRadiatorHeatPumpControloneRooRadHeaPumCtr (from PartialOneRoomRadiator)Control block for single room heat pump control
Modelica.Blocks.Sources.BooleanConstantconPumAlwOn (from PartialOneRoomRadiator)Let the pumps always run, due to inertia of the heat pump
AixLib.Fluid.HeatPumps.ModularReversible.ModularheaPumLarge scale water to water heat pump
Modelica.Blocks.Sources.PulseTAirSouSteAir source temperature step for cooling phase
Controls.Defrost.ZhuTimeBasedDefrostzhuDef
Modelica.Blocks.Routing.RealPassThroughreaPasThrTo connect bus signals

Revisions

  • August 27, 2024 by Fabian Wuellhorst:
    First implementation (see issue #1576)