Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
PySWMM (Lessons + Exercises)
2 students

PySWMM (Lessons + Exercises)

Mastering PySWMM: Video Lessons and Exercises
Created byTim Nelson
Last updated 8/2026
English

What you'll learn

  • Create and run SWMM simulations programmatically using PySWMM and Python.
  • Access and analyze subcatchments, nodes, links, storage units, pumps, and other SWMM objects.
  • Extract rainfall, runoff, flow, depth, velocity, flooding, and water quality results.
  • Control simulations step-by-step and monitor system conditions during runtime.
  • Develop automated pump controls and dynamic operating rules using Python.
  • Modify model parameters and inputs programmatically for scenario analysis.
  • Automate SWMM simulations for batch runs, sensitivity analysis, and model calibration.
  • Integrate SWMM with NumPy, Pandas, and other Python tools for advanced data analysis and visualization.

Course content

2 sections • 25 lectures • 6h 56m total length
  • Download, Install and Test8:36
  • Simulation Module22:22
  • Nodes Module14:57
  • Links Module14:47
  • Subcatchments Module13:07
  • LidControls Modules11:52
  • LidGroups Modules13:52
  • Raingages Module9:55
  • System Module8:36
  • Output Module - Links18:12
  • Output Module - Nodes18:46
  • Output Module - Subcatchments15:50

Requirements

  • This course is designed for individuals with knowledge of and experience using EPA-SWMM. Prior experience with programming would be helpful, but not necessary. No prior experience with EPA-SWMM is necessary. We’ll start with the fundamentals and build from there.

Description

** All videos are downloadable **

Learn how to automate and analyze EPA SWMM models using PySWMM, a Python library that provides programmatic access to the EPA Storm Water Management Model (SWMM) simulation engine. Whether you're new to PySWMM or already familiar with EPA SWMM and want to incorporate Python into your modeling workflow, this course provides a practical, step-by-step approach to running simulations, accessing model data, modifying model inputs, and automating repetitive modeling tasks. You'll begin with the fundamentals, including how to install and configure PySWMM, load SWMM input files, run simulations, access model objects, and retrieve hydraulic and hydrologic results directly from Python.

As you progress, you'll learn how to work with SWMM subcatchments, nodes, links, storage units, pumps, and other model elements through Python. You'll learn how to retrieve time series data such as rainfall, runoff, flow, depth, velocity, and water quality variables, as well as modify model parameters and control model behavior during a simulation. The course also covers techniques for processing and analyzing SWMM results using Python, allowing you to move beyond the standard SWMM interface and incorporate modeling results into customized engineering workflows.

By the end of the course, you'll be able to independently use PySWMM to run and control EPA SWMM models, access and analyze simulation data, automate repetitive modeling tasks, modify model parameters programmatically, and develop customized Python-based workflows for stormwater and collection system analysis. You'll be equipped to integrate SWMM modeling with Python and apply automation, data analysis, and programming techniques to real-world stormwater engineering challenges.

Who this course is for:

  • This course is ideal for those who have experience with EPA-SWMM and are looking to expand their skills with PySWMM.