Discrete event system simulation