modelScrollWaterToWater_OneRoomRadiator

Heat pump with scroll compressor connected to a simple room model with radiator

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

Example that simulates one room equipped with a radiator. Hot water is produced by a 24 kW nominal capacity heat pump. The source side water temperature to the heat pump is constant at 10°C.

The heat pump is turned on when the room temperature falls below 19°C and turned off when the room temperature rises above 21°C.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.HeatFlowRateQ_flow_nominal20000Nominal heat flow rate of radiator
Modelica.Units.SI.TemperatureTRadSup_nominal273.15 + 50Radiator nominal supply water temperature
Modelica.Units.SI.TemperatureTRadRet_nominal273.15 + 45Radiator nominal return water temperature
Modelica.Units.SI.MassFlowRatemHeaPum_flow_nominalQ_flow_nominal/4200/5Heat pump nominal mass flow rate
Modelica.Units.SI.VolumeV6*10*3Room volume
Modelica.Units.SI.MassFlowRatemA_flow_nominalV*1.2*6/3600Nominal mass flow rate
Modelica.Units.SI.HeatFlowRateQRooInt_flow4000Internal heat gains of the room

Connectors

TypeNameDefaultDescription
Buildings.BoundaryConditions.WeatherData.BusweaBusWeather data bus

Components

TypeNameDefaultDescription
Buildings.Fluid.MixingVolumes.MixingVolumevol
Modelica.Thermal.HeatTransfer.Components.ThermalConductortheConThermal conductance with the ambient
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowpreHeaPrescribed heat flow
Modelica.Thermal.HeatTransfer.Components.HeatCapacitorheaCapHeat capacity for furniture and walls
Modelica.Blocks.Sources.CombiTimeTabletimTabTime table for internal heat gain
Buildings.Fluid.HeatExchangers.Radiators.RadiatorEN442_2radRadiator
Buildings.Fluid.Sensors.TemperatureTwoPorttemSupSupply water temperature
Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensortemRooRoom temperature
Buildings.Fluid.Movers.FlowControlled_m_flowpumHeaPumPump for radiator side
Buildings.Fluid.Sensors.TemperatureTwoPorttemRetReturn water temperature
Buildings.BoundaryConditions.WeatherData.ReaderTMY3weaDatWeather data reader
Buildings.HeatTransfer.Sources.PrescribedTemperatureTOutOutside temperature
ScrollWaterToWaterheaPumHeat pump
Buildings.Fluid.Movers.FlowControlled_m_flowpumHeaPumSouPump for heat pump source side
Modelica.Blocks.Logical.HysteresishysteresisHysteresis controller
Modelica.Blocks.Logical.Notnot2Negate output of hysteresis
Modelica.Blocks.Math.BooleanToRealbooToReaPumPump signal
Modelica.Blocks.Logical.Andand1
Modelica.Blocks.Logical.Andand2
Modelica.Blocks.Math.BooleanToRealbooToReaPum1Pump signal
Modelica.Blocks.Logical.HysteresistesConHeaTest for flow rate of condenser pump
Modelica.Blocks.Logical.HysteresistesEvaPumTest for flow rate of evaporator pump
Buildings.Fluid.Sources.Boundary_pTsouFluid source on source side
Buildings.Fluid.Sources.Boundary_pTsinFluid sink on source side
Buildings.Fluid.Sources.Boundary_pTpreSouSource for pressure and to account for thermal expansion of water

Contents

NameDescription
MediumAMedium model for air
MediumWMedium model for water

Revisions

  • July 22, 2021, by Michael Wetter:
    Removed assignments pumHeaPum(y_start=1) and pumHeaPumSou(y_start=1).
    This is for #1498.
  • April 21, 2021, by Michael Wetter:
    Corrected error in calculation of design mass flow rate.
    This is for #2458.
  • May 2, 2019, by Jianjun Hu:
    Replaced fluid source. This is for #1072.
  • March 3, 2017, by Michael Wetter:
    Changed mass flow test to use a hysteresis as a threshold test can cause chattering.
  • January 27, 2017, by Massimo Cimmino:
    First implementation.