We look into the design of the model for closed loop control of the buck converter and look into the compilation of the model with just 3 clicks.