Design a PID Room Temperature Controller

Design a PID controller that maintains room temperature near 22 °C even with fluctuations of the outside temperature, modeled as a disturbance.

Enter the models:
Obtain the controller:
The disturbance to output transfer function:
Get the outside temperature history for a particular location:
The temperature as a continuous function of time:
Compute the regulated room temperature and sample it every minute:
Plot the room temperature and the outside temperature: