An optimal control-based safety system for cost efficient risk management of chemical processes · Study