Optimization and trouble shooting of combustion and process