Achieving process optimization through simulation