An integrated approach for real-time hazard mitigation in complex industrial processes. (August 2019)