This was a project I worked on as part of an HVAC modeling and controls course in the Spring of 2014. The goal was to develop a model predictive control simulation using Simulink, to optimally tune MPC parameters for the control of a tankless water heater for both high and low flow conditions, and compare the effectiveness to an optimally tuned PID controller. I worked with Janay Griego on this.