Simple Simulation Example
A programming tool that provides a programming approach can be evaluated by how easy it is for a user with no experience to make the first step.
In traditional programming languages, the simplest example is printing "Hello, world!" to the screen.
In
discrete-event simulation, however, such an example should be represented by a model.
Therefore, the simplest suitable model is selected.
A single-server loss system is a suitable model.
In this system, entities arrive at a single server according to a Poisson process, so the interarrival time is exponentially distributed.
The service time is also exponentially distributed.
This is a classic example of the simplest system of queuing theory.
It should be noted that this is a degenerate (edge) case, since there is no queue in this system.
According to Kendall's notation, this is an
M/M/1/1 system.
Here is
a block simulation model of the
M/M/1/1 loss system.
Alternatively:
a Simula-like simulation model of the same system.