A Proportional Integral Derivative (PID) controller is designed for a highly nonlinear system (chemical reactor). The steps are to (1) perform a step test, (2) fit a dynamic model, (3) obtain initial PID tuning parameters, (4) implement the controller, and (5) tune the controller. See http://apmonitor.com/do/index.php/Main/NonlinearControl for source files.