Planning and control system design