Dynamic Real-time Optimization and Control of an Integrated Plant