Development of a planning and control system for major plant shutdowns