Process Integration and Optimization with Reliability, Safety, and Cost Analyses