modelScrollWaterToWater_OneRoomRadiator
Heat pump with scroll compressor connected to a simple room model with radiator
Extends from Modelica.Icons.Example.
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
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.HeatFlowRate | Q_flow_nominal | 20000 | Nominal heat flow rate of radiator |
| Modelica.Units.SI.Temperature | TRadSup_nominal | 273.15 + 50 | Radiator nominal supply water temperature |
| Modelica.Units.SI.Temperature | TRadRet_nominal | 273.15 + 45 | Radiator nominal return water temperature |
| Modelica.Units.SI.MassFlowRate | mHeaPum_flow_nominal | Q_flow_nominal/4200/5 | Heat pump nominal mass flow rate |
| Modelica.Units.SI.Volume | V | 6*10*3 | Room volume |
| Modelica.Units.SI.MassFlowRate | mA_flow_nominal | V*1.2*6/3600 | Nominal mass flow rate |
| Modelica.Units.SI.HeatFlowRate | QRooInt_flow | 4000 | Internal heat gains of the room |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Buildings.Fluid.MixingVolumes.MixingVolume | vol | ||
| Modelica.Thermal.HeatTransfer.Components.ThermalConductor | theCon | Thermal conductance with the ambient | |
| Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlow | preHea | Prescribed heat flow | |
| Modelica.Thermal.HeatTransfer.Components.HeatCapacitor | heaCap | Heat capacity for furniture and walls | |
| Modelica.Blocks.Sources.CombiTimeTable | timTab | Time table for internal heat gain | |
| Buildings.Fluid.HeatExchangers.Radiators.RadiatorEN442_2 | rad | Radiator | |
| Buildings.Fluid.Sensors.TemperatureTwoPort | temSup | Supply water temperature | |
| Modelica.Thermal.HeatTransfer.Sensors.TemperatureSensor | temRoo | Room temperature | |
| Buildings.Fluid.Movers.FlowControlled_m_flow | pumHeaPum | Pump for radiator side | |
| Buildings.Fluid.Sensors.TemperatureTwoPort | temRet | Return water temperature | |
| Buildings.BoundaryConditions.WeatherData.ReaderTMY3 | weaDat | Weather data reader | |
| Buildings.BoundaryConditions.WeatherData.Bus | weaBus | Weather data bus | |
| Buildings.HeatTransfer.Sources.PrescribedTemperature | TOut | Outside temperature | |
| ScrollWaterToWater | heaPum | Heat pump | |
| Buildings.Fluid.Movers.FlowControlled_m_flow | pumHeaPumSou | Pump for heat pump source side | |
| Modelica.Blocks.Logical.Hysteresis | hysteresis | Hysteresis controller | |
| Modelica.Blocks.Logical.Not | not2 | Negate output of hysteresis | |
| Modelica.Blocks.Math.BooleanToReal | booToReaPum | Pump signal | |
| Modelica.Blocks.Logical.And | and1 | ||
| Modelica.Blocks.Logical.And | and2 | ||
| Modelica.Blocks.Math.BooleanToReal | booToReaPum1 | Pump signal | |
| Modelica.Blocks.Logical.Hysteresis | tesConHea | Test for flow rate of condenser pump | |
| Modelica.Blocks.Logical.Hysteresis | tesEvaPum | Test for flow rate of evaporator pump | |
| Buildings.Fluid.Sources.Boundary_pT | sou | Fluid source on source side | |
| Buildings.Fluid.Sources.Boundary_pT | sin | Fluid sink on source side | |
| Buildings.Fluid.Sources.Boundary_pT | preSou | Source for pressure and to account for thermal expansion of water |
Contents
| Name | Description |
|---|---|
| MediumA | Medium model for air |
| MediumW | Medium model for water |
Revisions
-
July 22, 2021, by Michael Wetter:
Removed assignmentspumHeaPum(y_start=1)andpumHeaPumSou(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.