Power Generation Control System Analysis and Optimization