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.
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.
The result with and without the window model is plotted in the figure below.
