Model-based optimization of sulfur recovery units