Comparing the performance of a DDPG Reinforcement learning model to control temperature with that of a PID and a thermostat controller.
Find video of the training process here.
Find the Google Slides Link to the project presentation here.
- Run sldemo_househeat_data.m, and make sure variables exist on the workspace.
- Run house_thermostat.slx to generate a the plots for the control using a regular thermostat.
- Run house_PID.slx to generate a the plots for the control using a Discrete PID controller.
- Open the ddpg_live(new).mlx live notebook. Start running each cell individually. (Make sure the variable - training is set to true in the notebook.)
Make sure to have the following toolkits installed to be able to recreate these simulations successfully:
- Reinforcement Learning Toolkit.
- Machine Learning Toolkit.
- PID Tuner
You will be able to tune the reward function for the simulation by updating the Reward block in the RL_Heat_DDPG_test.slx file.
Use this link to set up base thermal model of the house from the MATLAB-SIMULINK website.


