modelSimpleHouse4

Heating model

Extends from SimpleHouse3 (Air model).

Information

The wall temperature (and therefore the room temperature) is quite low. In this step a heating system is added to resolve this. It consists of a radiator, a pump and a heater. The radiator has a nominal power of 3 kW for an inlet and outlet temperature of the radiator of 60°C and 40°C, and a room air and radiative temperature of 20°C. The pump has a (nominal) mass flow rate of 0.1 kg/s. Since the heating system uses water as a heat carrier fluid, the media for the models in the heating circuit should be set to MediumWater.

Required models

Connection instructions

The radiator contains one port for convective heat transfer and one for radiative heat transfer. Connect both in a reasonable way. Since the heating system uses water as a heat carrier fluid, the media for the models should be set to MediumWater.

The Boundary_pT model needs to be used to set an absolute pressure somewhere in the system. Otherwise the absolute pressure in the system is undefined. Pressure difference modelling may be disregarded in the heating circuit since the chosen pump sets a fixed mass flow rate regardless of the pressure drop.

Set the heater input to 1, meaning that it will produce 1 times its nominal power.

Implementation

The pump and the heater need a control input, which we set here to a constant of 1. However, in the next version of this model, we want to connect an actual controller to these models. We can therefore introduce a Boolean constant (or a Boolean parameter would also work), and use this to conditionally remove the Modelica block that outputs the control signal. When Modelica removes such a block, then all connections to it will also be removed.

Reference result

The result of the air temperature is plotted in the figure below. The temperature rises very steeply since the wall is relatively well insulated (k=0.04 W/(m*K)) and the heater is not disabled when it becomes too warm.

Air temperature as function of time.

Parameters

TypeNameDefaultDescription
Modelica.Units.SI.AreaAWall (from SimpleHouse0)100Wall area
Modelica.Units.SI.LengthdWall (from SimpleHouse0)0.25Wall thickness
Modelica.Units.SI.ThermalConductivitykWall (from SimpleHouse0)0.04Wall thermal conductivity
Modelica.Units.SI.DensityrhoWall (from SimpleHouse0)2000Wall density
Modelica.Units.SI.SpecificHeatCapacitycpWall (from SimpleHouse0)1000Wall specific heat capacity
Modelica.Units.SI.AreaAWin (from SimpleHouse2)2Window area
Modelica.Units.SI.VolumeVZone (from SimpleHouse3)8*8*3Zone volume
Modelica.Units.SI.MassFlowRatemAir_flow_nominal (from SimpleHouse3)1Nominal mass flow rate for air loop
Modelica.Units.SI.CoefficientOfHeatTransferhWall (from SimpleHouse3)2Convective heat transfer coefficient at the wall
Booleanuse_constantHeatertrueTo enable/disable the connection between the constant source and heater and circulation pump
Modelica.Units.SI.HeatFlowRateQHea_flow_nominal3000Nominal capacity of heating system
Modelica.Units.SI.MassFlowRatemWat_flow_nominal0.1Nominal mass flow rate for water loop

Connectors

TypeNameDefaultDescription
Buildings.BoundaryConditions.WeatherData.BusweaBus (from SimpleHouse0)Weather data bus

Components

TypeNameDefaultDescription
Buildings.BoundaryConditions.WeatherData.ReaderTMY3weaDat (from SimpleHouse0)Weather data reader
Buildings.HeatTransfer.Sources.PrescribedTemperatureTOut (from SimpleHouse0)Exterior temperature boundary condition
Modelica.Thermal.HeatTransfer.Components.HeatCapacitorwalCap (from SimpleHouse1)Thermal mass of wall
Modelica.Thermal.HeatTransfer.Components.ThermalResistorwalRes (from SimpleHouse1)Thermal resistor for wall: 25 cm of rockwool
Modelica.Blocks.Math.GaingaiWin (from SimpleHouse2)Gain for solar irradiance through the window
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowwin (from SimpleHouse2)Very simple window model
Modelica.Thermal.HeatTransfer.Components.ThermalResistorconRes (from SimpleHouse3)Thermal resistance for convective heat transfer
Buildings.Fluid.MixingVolumes.MixingVolumezon (from SimpleHouse3)Very simple zone air model
Buildings.Fluid.HeatExchangers.Radiators.RadiatorEN442_2radRadiator
Buildings.Fluid.HeatExchangers.HeaterCooler_uheaWatHeater for water circuit
Fluid.Movers.Preconfigured.FlowControlled_m_flowpumPump
Buildings.Fluid.Sources.Boundary_pTbouWatPressure bound for water circuit
Modelica.Blocks.Sources.ConstantconHeaGain for heater
Modelica.Blocks.Sources.ConstantconPumGain for pump

Revisions

  • September 4, 2023, by Jelger Jansen:
    First implementation.