 Both forms of DES contrast with continuous simulation in which the system state is changed continuously over time on the basis of a set of differential equations defining the rates of change of state variables.A common exercise in learning how to build discrete-event simulations is to model a queue, such as customers arriving at a bank to be served by a teller.In this example, the system entities are Customer-queue and Tellers.