Process systems analysis and control