Rainfall Time Series in EPA SWMM: Setup, Formats, and Common Mistakes
Rainfall is the foundation of every hydrologic model in EPA SWMM. Every runoff calculation, hydrograph, and hydraulic response begins with how rainfall is defined and applied to your model.
If rainfall is configured incorrectly, everything downstream—peak flow, volume, timing—can be wrong.
In this article, we’ll walk through how rainfall time series work in SWMM, how to set them up properly, and the most common mistakes to avoid.
Why Rainfall Time Series Matter
In SWMM, rainfall is the primary input that drives:
runoff generation
peak discharge
hydrograph timing
downstream hydraulic behavior
Rainfall is applied to subcatchments through rain gauge objects, and its accuracy directly determines the reliability of your model results.
What Is a Rainfall Time Series?
SWMM represents rainfall as a time series, meaning precipitation values are assigned to specific points in time at defined intervals.
These time series can represent:
measured rainfall data (e.g., weather stations)
synthetic design storms (e.g., from IDF curves)
Two Ways to Input Rainfall:
Internal time series (within the SWMM project file)
External time series files (typically .DAT or text files)
The Role of Rain Gauges in SWMM
Rainfall enters SWMM exclusively through rain gauge objects.
A rain gauge defines:
the source of rainfall data (internal or external)
the recording interval (e.g., 5-min, 15-min, hourly)
the data type (intensity, volume, or cumulative)
Each subcatchment must reference a rain gauge to receive rainfall.
Key Insight:
One rain gauge can serve multiple subcatchments
Multiple gauges can represent spatial variability
If a subcatchment has no rain gauge assigned, it will produce no runoff.
Rainfall Data Types in SWMM
Understanding rainfall data format is critical. SWMM supports three types:
1. Intensity
Rainfall rate over the time interval
Example: inches/hour or mm/hour
2. Volume
Total rainfall depth during the interval
3. Cumulative
Running total rainfall since the last dry period
Why This Matters:
If your data format does not match your rain gauge settings, your results will be incorrect—even if SWMM runs without errors.
Creating Rainfall Time Series (Internal)
You can define rainfall directly in SWMM using the Time Series Editor.
Each entry includes:
date
time
rainfall value
Format Options:
absolute date/time
relative time
Best Use Case:
short-duration design storms
For large datasets (e.g., years of rainfall), this method becomes inefficient.
Using External Rainfall Files
For continuous modeling, rainfall is typically stored in external text files.
Key Requirements:
plain text format
values separated by spaces or tabs
one time step per line
Example Format:
MM/DD/YYYY HH:MM valueAdditional Notes:
comments can be added using a semicolon (;)
file is referenced in the rain gauge object
Advantages:
easier to manage large datasets
separates data from model file
Risks:
incorrect file paths
formatting errors
Formatting Rules (Critical for Accuracy)
SWMM is strict about rainfall formatting.
Requirements:
chronological order
month/day/year format
24-hour time format
consistent time intervals
Common Issues:
hidden spreadsheet characters
incorrect delimiters
inconsistent timestamps
Even if SWMM doesn’t throw an error, bad formatting can silently produce incorrect results.
Matching Units and Time Intervals
Rainfall data must align with:
the unit system in your SWMM project
the recording interval defined in the rain gauge
Example Problems:
using hourly data but defining a 5-minute interval
mixing inches and millimeters
mismatching intensity vs volume
These errors can significantly distort:
runoff volume
peak flow
Assigning Rainfall to Subcatchments
Each subcatchment must reference a rain gauge.
Options:
single gauge for entire model
multiple gauges for spatial variation
Critical Check:
If rainfall is not assigned correctly, the model will:
produce no runoff
or produce misleading results
Event-Based vs Continuous Simulation
SWMM supports two modeling approaches:
Event-Based Modeling
single storm event
used for design storms
Continuous Simulation
long-term rainfall records
evaluates system performance over time
Important Requirement:
Rainfall time series must cover the entire simulation period.
If not:
parts of the simulation will have no rainfall input
Common Rainfall Setup Mistakes
Many modeling errors trace back to rainfall configuration.
Frequent Issues:
incorrect date/time format
using 12-hour instead of 24-hour time
mismatched rainfall type (intensity vs volume)
inconsistent intervals
duplicate timestamps
broken file paths
Careful setup and review can prevent most of these problems.
Verifying Rainfall Data (Best Practice)
Before analyzing results, always verify rainfall input.
Check:
total rainfall depth
duration of the storm
alignment with simulation period
Use SWMM Tools:
rainfall plots
time series summaries
This step is one of the most effective quality control measures in hydrologic modeling.
Final Thoughts
Rainfall time series are the foundation of every SWMM model.
To summarize:
Rainfall is applied through rain gauge objects
Time series define rainfall over time
Data can be internal or external
Format, units, and intervals must align
Verification is essential before trusting results
If rainfall is wrong, your entire model is wrong—so this step deserves careful attention.
Want to Learn SWMM Faster?
We offer a free EPA SWMM course with 20+ lessons covering setup, modeling workflows, and best practices.
Check the link in the description to get started.

