This example shows how to model a simple house heating system consisting of a heater, thermostat, and a house structure with four thermally distinguishable parts: inside air, house walls, windows, and roof.
The house exchanges heat with the environment through its walls, windows, and roof. Each path is simulated as a combination of a thermal convection, thermal conduction, and the thermal mass. The heater starts pumping hot air if room temperature falls below 18 deg C and is turned off if temperature exceeds 23 deg C.
Run the simulation and open the "Results" scope to visualize the results. The heat cost and indoor versus outdoor temperatures are plotted on the scope. Time is given in units of hours.
The manual switch allows you to investigate system behavior with the heating system turned off.