Complex optimization of CHP plants becomes a very important issue in research and implementation, particularly in the context of increasing environmental requirements. The process in industrial CHP plants could be decomposed into several subprocesses, which could be optimized individually using dedicated solutions. The article presents the results of work of complex, multi-modular optimization project of one CHP plant located in petrochemical and refinery plant in Poland. The scope of the project is economical load dispatch optimizer aimed to increase economical profit of CHP operation, combustion optimization for boiler efficiency increase and NOX emission reduction, steam temperature advanced control for improved control quality, sootblowing optimization for reduction of steam demand for sootblowing process. The solution includes also measurement validation and correction system, which is based on data reconciliation algorithm and on-line performance monitoring system.