Process modeling and simulation