SimPy Tutorials — SimPy 2.3.1 documentation

### Navigation

- index
- next |
- previous |
- SimPy 2.3.1 documentation »

# SimPy Tutorials

There are two styles of modelling using SimPy. The first, which we call the Classical style, uses user-defined Process objects each representing an active entity of the simulation. The simulation is started by creating one or more entities, activating their Process Execution Methods and then, in a main block of the program, calling the `simulate()` function to start the simulation. This simpler style seems to be more acceptable to many users.

In the second style, referred to as the OO Style, a user-defined object of a Simulation class is created and executed. This object executes the whole simulation. This is particularly suitable for running replications of the simulation and the execution of a simulation object is independent of others.

- The Bank: Examples of SimPy Simulation
- The Bank Tutorial part 2: More examples of SimPy Simulation
- Tutorial: An Object Oriented Approach to Using SimPy
- The Bank (Object Oriented version)
- The Bank Tutorial (OO API) Part 2: More examples of SimPy Simulation
- SimPy Course on the Web

### Navigation

- index
- next |
- previous |
- SimPy 2.3.1 documentation »