WOLFRAM SYSTEM MODELER
    HouseHeatingScenarioExample modeling heating of a complete house.  | 
     | 

SystemModel["IndustryExamples.Energy.HouseHeating.HouseHeatingScenario"]

This model is of a house with four rooms. It models the temperature changes, including a radiator in each room, controlled by a single thermostat. The model also incorporates the notion of changing outside temperature.
Using weather data from Mathematica data paclets, compare temperatures inside and outside between Illinois (left) and Arizona (right):

Using electricity cost data from Wolfram|Alpha, analyze the cost of different indoor temperatures, depending on heating strategies:

In order to get the full experience of this example, you need a desktop Wolfram Language product. A free trial download is available at www.wolfram.com/mathematica/trial/
For the full example, open the accompanying notebook HouseHeating.nb.
| radiatorPower | 
         Value: 1500 Type: Power (W) Description: Radiator power output  | 
    
|---|---|
| roomConvectionCoefficient | 
         Value: 35 Type: Real (W/K) Description: Convection coefficient for room connections  | 
    
| locationSwitch | 
         Value: false Type: Boolean Description: Switch house location, true = Champaign, IL; false = Sun Lakes, AZ  | 
    
| heatAllDay | 
         Value: false Type: Boolean Description: Heat house while not home  | 
    
| outsideTemperature | 
         Type: OutsideTemp Description: Models the temperature in the outside world  | 
    |
|---|---|---|
| livingroom | 
         Type: LivingRoom Description: Models the living room  | 
    |
| thermostat | 
         Type: Thermostat Description: Models a thermostat switching heating on and off  | 
    |
| kitchen | 
         Type: Kitchen Description: Models the kitchen  | 
    |
| roomConnection3 | 
         Type: RoomConnection Description: Models the connection between rooms  | 
    |
| roomConnection2 | 
         Type: RoomConnection Description: Models the connection between rooms  | 
    |
| bedroom | 
         Type: Bedroom Description: Models the bedroom  | 
    |
| roomConnection1 | 
         Type: RoomConnection Description: Models the connection between rooms  | 
    |
| study | 
         Type: Study Description: Models the study  | 
    |
| timerCircuit | 
         Type: TimerCircuit Description: Switches heating on depending on parameters or time of day  | 
    |
| averageTemperature | 
         Type: AverageTemperature Description: Averages the temperature in all the rooms  |