.AixLib.Examples.Tutorial.SimpleHouse.SimpleHouse1

Information

A very simple building envelope model will be constructed manually using thermal resistors and heat capacitors. The house consists of a wall represented by a single heat capacitor and a thermal resistor. The boundary temperature are already included in AixLib.Examples.Tutorial.SimpleHouse.SimpleHouse0. The wall has a surface area of Awall=100 m2, a thickness of dwall=25 cm, a thermal conductivity of kwall=0.04 W/(m K), a density of ρwall=2000 kg/m3, and a specific heat capacity of cp,wall= 1000 J/(kg K)

These parameters are already declared in the equation section of AixLib.Examples.Tutorial.SimpleHouse.SimpleHouse0. You can use this way of declaring parameters in the remainder of this exercise, but this is not required.

The conductive thermal resistance value of a wall may be computed as R=d/(A*k). The heat capacity value of a wall may be computed as C=A*d*cp

Required models

Connection instructions

Connect one side of the thermal resistor to the output of PrescribedTemperature and the other side of the thermal resistor to the heat capacitor.

Reference result

If you correctly added the model of the heat capacitor, connected it to the resistor and added the parameter values for C, then you should be able to simulate the model. To do this, press the Simulation Setup and set the model Stop time to 1e6 seconds. You can now simulate the model by pressing the Simulate button.

You can plot individual variables values by clicking on their name in the variable browser on the left. Now plot the wall capacitor temperature value T. It should look like the figure below (1 Ms is around 12 days).

Wall temperature as function of time.

Revisions


Generated at 2024-11-25T19:25:37Z by OpenModelicaOpenModelica 1.24.2 using GenerateDoc.mos