Simulating Real-World Processes in Python With SimPy (Overview)
The real world is full of systems, like airports and highways, that frequently experience congestion and delay. When these systems are not optimized, their inefficiency can lead to countless unhappy customers and hours of wasted time. In this course, you’ll learn how to use Python’s simpy
framework to create virtual simulations that will help you solve problems like these.
In this course, you’ll learn how to:
- Use a simulation to model a real-world process
- Create a step-by-step algorithm to approximate a complex system
- Design and run a real-world simulation in Python with
simpy
00:00
Hello, and welcome to the Real Python course on simulating processes using simpy
. simpy
is a library that allows you to simulate real-world processes using Python. Throughput issues are very common across many different processes, and simulation will allow you to find the ideal balance of resources to address these problems.
00:19
If you’ve ever been in a traffic jam or waited too long at an airport security gate, you’ve experienced the types of issues that simpy
can help you with. In this course, you’ll see how to set up simpy
, how to define a simulation, how to set up the simulation environment, how to define the processes within that environment, how to run the simulation, how to calculate metrics, how to select parameters, and finally, you’ll start experimenting with the simulation.
00:46 Let’s go ahead and get started by setting up the development environment.
Become a Member to join the conversation.