Real-time optimal control of a boiler-turbine system using pseudospectral methods