
After this lecture you will have a thorough understanding of what learning outcomes you will develop by completing this course.
Learn what knowledge you should ideally have in place before starting this course to get the most out of it.
Tips and hints for getting the most out of this course.
Overview of the benefits of Jupyter Notebooks.
Honing in on the benefits of Google Colab specifically.
How to use Google Colab.
Honing in on the benefits of Jupyter Notebooks run on your local machine.
How to install Jupyter Notebooks locally.
How to fire up and use Jupyter notebooks locally.
A comparison table between Google Colab and local Jupyter Notebooks.
Let's define modelling and go over a few examples. We will also talk about model fidelity and abstraction.
Let's define simulation and cover some examples. We will also cover why simulation is so important for saving money in projects, and how it fits into the project. We finish with a discussion around the the systems engineering V-lifecycle and where simulation ideally fits in.
Learn when it is a good time to deploy modelling and simulation.
Learn when it's best to back off from a modelling and simulation project.
Gain an understanding of the concepts behind discrete-event simulation.
Learn the key differences between discrete-event and discrete-time simulations and the advantages and limitations of each.
A brief overview of Agent-Based Simulation.
An example of a population infection simulation. This could also be adapted to be an information spread model.
Introducing System Dynamics.
An example of System Dynamics modelling the growth of a population with a carrying capacity.
A quick overview the constant time step simulations also known as discrete-time or continuous simulations.
An example of simulating the temperature change over time of a piece of metal being heated. This is a simple linear model that shows the approach of constant time step simulations.
Introducing SimPy including how to install it and where the source code can be found.
An overview of the core building blocks in SimPy.
Learn what a Python generator function is and how the "yield" statement works. These are key to SimPy, it is highly recommended that you take this lesson before proceeding if you are unfamiliar with generator functions.
A simple simulation of trucks completing a journey. Get your first exposure to the timeout method and see a whole end-to-end simulation.
Events are the core of SimPy’s simulation capabilities, allowing processes to interact and synchronise in complex ways.
Timeouts are the most common events used in SimPy simulations and also one of the most simple. This quick overview shows you how they're used.
Generic events provide an ability to decouple processes within SimPy. Learn how to define and use them.
Learn how to make an event which will be conditional on other events using SimPy's AllOf and AnyOf.
Callbacks allow you to add custom functions onto a list of things to be executed when an event succeeds. They can allow you to create custom behaviour to be executed after an event, while maintaining access to that event's data.
A process has the ability to interrupt another process, let's learn how that's done.
A simple example of a traffic light system with cars waiting for a green light, entirely modelled with events.
Understand what resources are and why we use them. Learn about the main categories of resource in SimPy.
Learn how to specify a regular resource in SimPy, understand the capacity parameter and learn about two useful properties of resources which you can use to evaluate utilisation and bottlenecks in your simulation.
Learn the two methods for requesting and releasing regular resources and some pros and cons for each.
This example shows a common simulation pattern of a single server with queueing behaviour. Customers arrive to be served by a desk with a single customer service assistant. We will walk through the simulation and try changing some parameters to improve the system performance. You can then try modifying the simulation code yourself to reinforce your understanding of bottlenecks, randomness and the impact of changing simulation parameters.
A more complex case study of a steel production process using multiple regular resources.
A quick overview of the different advanced resources we will cover in this section which will help you build simulations for virtually any use case.
Learn how priority resources work.
An example simulation of a hospital emergency room receiving and triaging patients based on the severity of their accident or illness.
Learn how Preemptive resources in SimPy work.
Explore a practical example of simulating a GPU server processing computational tasks with PreemptiveResource.
Compare the different varieties of regular resources in a table and download the PDF for reference.
Learn about one of the most useful resource types in SimPy: containers.
Explore the SimPy Container class in hydrogen as we model a green hydrogen production, storage and export system.
Stores provide a resource that allows you to hold any Python object and access this on a first-in-first-out (FIFO) basis.
In this example we will simulate a library with books being borrowed and returned. We will show two variations with the SimPy Store being used to represent the library itself.
Introducing priority stores: for when the first-in-first-out behaviour of regular stores doesn't work for your use case and you need to specify a priority for the objects you are storing.
if (engineer or analyst or operations_researcher or data_scientist_dealing_with_processes) and wants_to_model_systems_effectively:
print("Welcome! You've found the most direct path to powerful simulation skills.")
else:
print("This course focuses on SimPy for system simulation. Feel free to explore if you're curious!")
Build Useful Simulations, Faster.
# Are you wrestling with complex systems? Need to test 'what-if' scenarios *before* a costly real world implementation?
What’s Included:
Bite-Sized, Focused Lessons: Forget dense theory dumps. Get clear, concise video lessons (~5 min avg.) designed for busy professionals who need practical skills, now.
Real-World System Modeling: Apply concepts immediately to relatable scenarios – logistics, queues, manufacturing, resource contention – mirroring challenges you face.
Master the SimPy Toolkit: Learn industry-standard Discrete-Event Simulation techniques using SimPy, covering everything from basic events and resources to advanced stores, preemption, and priority handling.
Comprehensive Project Portfolio: Go beyond exercises. Build four distinct simulation projects (Smart Warehouse, Mining Operation, Smoothie Production, Clinic) to showcase your skills and understanding across different domains.
Lifetime Access & Focused Resources: Get downloadable code, quizzes to check your understanding, and lifetime access to all course materials and future updates.
Free Copy of My Book: Simulation in Python with SimPy (usually $9.99-$19.99 on Amazon): Downloadable as a PDF within the course upon enrolment.
3 Reasons Why This SimPy Course is Your Best Investment:
Built for Practical Application, by Practitioners: Designed based on experience applying simulation in real-world scenarios. Skip the purely academic or overly simplistic tutorials like the "bank teller" or "coffee shop" and instead dive into proper heavy industry examples. Get straight to building useful models that answer real questions.
Gain Modeling Confidence, Step-by-Step: The structured approach ensures you grasp fundamentals before tackling complexity. Understand why simulation works and how to use SimPy effectively, moving logically from basic concepts to advanced features and full projects.
Unlock Powerful Insights & Optimize Systems: Simulation is key for understanding system dynamics, identifying bottlenecks, and making data-driven decisions. Add this essential skill to your toolkit and tackle complex operational challenges with confidence. Stop guessing, start simulating!
Ready to transform complex systems into clear, actionable simulation models? Enroll today and unlock the power of SimPy!