For the reality of thermal power units and the training needs of operating crew, introduce the PID regulator on the thermal power plant simulation machine. Depending on the various needs of simulation modeling, introduce the PID regulator control algorithm and some auxiliary functions. Through simulation of the actual unit, Verify that the controller has good dynamic performance and robustness.