<s>
SimPy	B-Application
is	O
a	O
process-based	O
discrete-event	B-General_Concept
simulation	I-General_Concept
framework	O
based	O
on	O
standard	O
Python	B-Language
.	O
</s>
<s>
SimPy	B-Application
is	O
released	O
as	O
open	B-Application
source	I-Application
software	I-Application
under	O
the	B-License
MIT	I-License
License	I-License
.	O
</s>
<s>
Its	O
event	O
dispatcher	O
is	O
based	O
on	O
Python	B-Language
's	O
and	O
can	O
also	O
be	O
used	O
for	O
asynchronous	O
networking	O
or	O
to	O
implement	O
multi-agent	O
systems	O
(	O
with	O
both	O
,	O
simulated	O
and	O
real	O
communication	O
)	O
.	O
</s>
<s>
Simulations	O
can	O
be	O
performed	O
“	O
as	O
fast	O
as	O
possible	O
”	O
,	O
in	O
real	O
time	O
(	O
wall	O
clock	O
time	O
)	O
or	O
by	O
manually	O
stepping	O
through	O
the	O
events.Though	O
it	O
is	O
theoretically	O
possible	O
to	O
do	O
continuous	O
simulations	O
with	O
SimPy	B-Application
,	O
it	O
has	O
no	O
features	O
to	O
carry	O
out	O
that	O
.	O
</s>
<s>
However	O
,	O
SimPy	B-Application
is	O
overkill	O
for	O
simulations	O
with	O
a	O
fixed	O
step	O
size	O
where	O
your	O
processes	O
do	O
n't	O
interact	O
with	O
each	O
other	O
or	O
with	O
shared	O
resources	O
—	O
use	O
a	O
simple	O
while	O
loop	O
in	O
this	O
case	O
.	O
</s>
<s>
SimPy	B-Application
is	O
a	O
Python	B-Language
library	O
used	O
for	O
discrete-event	B-General_Concept
simulation	I-General_Concept
,	O
which	O
enables	O
users	O
to	O
model	O
active	O
components	O
such	O
as	O
customers	O
,	O
vehicles	O
,	O
or	O
agents	O
as	O
simple	O
Python	B-Language
generator	O
functions	O
.	O
</s>
<s>
Additionally	O
,	O
SimPy	B-Application
provides	O
different	O
types	O
of	O
shared	O
resources	O
to	O
simulate	O
congestion	O
points	O
that	O
have	O
limited	O
capacity	O
,	O
such	O
as	O
servers	O
,	O
checkout	O
counters	O
,	O
and	O
tunnels	O
.	O
</s>
<s>
In	O
version	O
3.1	O
and	O
above	O
,	O
SimPy	B-Application
also	O
offers	O
monitoring	O
capabilities	O
to	O
assist	O
in	O
collecting	O
statistics	O
about	O
processes	O
and	O
resources	O
.	O
</s>
<s>
Simpy	B-Application
3.0	O
requires	O
Python	B-Language
3	O
.	O
,	O
while	O
Simpy	B-Application
4.0	O
requires	O
Python	B-Language
3.6	O
+	O
.	O
</s>
<s>
SimPy	B-Application
distribution	O
contains	O
tutorials	O
,	O
documentation	O
,	O
and	O
examples	O
.	O
</s>
<s>
The	O
following	O
is	O
a	O
SimPy	B-Application
simulation	O
showing	O
a	O
clock	O
process	O
that	O
prints	O
the	O
current	O
simulation	O
time	O
at	O
each	O
step	O
:	O
</s>
