Modeling Simulation and Optimization of Complex Processes