Chemical process identification and control