Debian Codegraph @

docs/source/SimPy_Tutorials.rst

raw
1 ===============
2 SimPy Tutorials
3 ===============
4
5 There are two styles of modelling using SimPy. The first, which we
6 call the Classical style, uses user-defined Process objects each
7 representing an active entity of the simulation. The simulation is
8 started by creating one or more entities, activating their Process
9 Execution Methods and then, in a main block of the program, calling
10 the ``simulate()`` function to start the simulation. This simpler
11 style seems to be more acceptable to many users.
12
13 In the second style, referred to as the OO Style, a user-defined
14 object of a Simulation class is created and executed. This object
15 executes the whole simulation. This is particularly suitable for
16 running replications of the simulation and the execution of a
17 simulation object is independent of others.
18
19 .. toctree::
20 :maxdepth: 1
21
22 Tutorials/TheBank
23 Tutorials/TheBank2
24 Tutorials/OO_Approach
25 Tutorials/TheBankOO
26 Tutorials/TheBank2OO
27 OnLineSimPyCourse
28