modelSimpleHouse2

Building window model

Extends from SimpleHouse1 (Building wall model).

Information

The window has a surface area of 2 m2. In this simple model we will therefore assume that two times the outdoor solar irradiance is injected as heat onto the inside of the wall.

Required models

Connection instructions

To be able to use the value of the outdoor solar irradiance you will need to access the weather data reader. To do this, make a connection to the weaBus. In the dialog box, select HDirNor, which is the direct solar irradiance on a surface of 1 m2, perpendicular to the sun rays. Set the gain factor k to 2, in order to get the solar irradiance through the window of 2 m2.

Make a connection with the PrescribedHeatFlow as well. This block makes the connection between the heat flow from the gain, represented as a real value, and a heat port that is compatible with the connectors of the thermal capacitance and resistance.

Reference result

The result with and without the window model is plotted in the figure below.

Wall temperature as function of time, with (blue) and without (red) window.

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.AreaAWin2Window area

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.GaingaiWinGain for solar irradiance through the window
Modelica.Thermal.HeatTransfer.Sources.PrescribedHeatFlowwinVery simple window model

Revisions

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