swmm-knowledge-infrastructure

Automate EPA SWMM 5.2 model assembly, validation, execution, and results extraction.

1|Updated Mar 31, 2026
One-click install
npx skills add https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill swmm-knowledge-infrastructure
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: swmm-knowledge-infrastructure
Source: https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation/tree/main/models/SWMM
Command: npx skills add https://github.com/lzwei196/KISS---Knowledge-Infrastructure-for-Scientific-Simulation --skill swmm-knowledge-infrastructure

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pyswmm, swmm-toolkit, geopandas, rasterio, numpy, pandas, netCDF4.

What problem does it solve?

Automates end-to-end autonomous operation of EPA SWMM 5.2 for urban stormwater modeling.

Core Features & Use Cases

  • 7-stage pipeline coverage (subcatchment delineation, drainage network, rainfall forcing, LID setup, model assembly, execution, and model coupling) with tool orchestration.
  • INP assembly, validation, execution, and results extraction, plus model coupling with VIC/CaMa-Flood for integrated rural-urban flood scenarios.
  • Built-in diagnostics and error handling leveraging a diagnostic triplet catalog to guide remediation and ensure data integrity.

Quick Start

Assemble inputs, validate, and run a full SWMM 5.2 simulation with pyswmm.

Frequently Asked Questions about swmm-knowledge-infrastructure

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate EPA SWMM 5.2 simulations for urban drainage analysis?

You can automate EPA SWMM 5.2 simulations end-to-end using pyswmm to configure, run, and evaluate urban drainage models covering hydrology, hydraulics, and LID setups.

What is the best way to validate an INP file before running a SWMM model?

Validating an INP file before running a SWMM model involves a built-in assembly workflow with diagnostic triplets and error handling to guide remediation and ensure data integrity.

Can I couple SWMM with VIC or CaMa-Flood for integrated rural-urban flood scenarios?

Yes, SWMM supports model coupling with VIC and CaMa-Flood to enable integrated rural-urban flood simulations across a 7-stage pipeline from subcatchment delineation to execution.

Do I need geopandas and rasterio to set up SWMM subcatchments and rainfall forcing?

Setting up SWMM subcatchments and rainfall forcing requires geopandas, rasterio, and numpy to process geospatial data and assemble inputs for the urban stormwater model.

Why does my pyswmm workflow fail during INP assembly and model execution?

Pyswmm workflow failures during INP assembly often stem from data integrity issues, which built-in diagnostics and a triplet catalog help identify and guide remediation for.

Does swmm-toolkit support autonomous LID setup and results extraction?

Swmm-toolkit supports autonomous LID setup and results extraction as part of a 7-stage pipeline that automates model assembly, execution, and evaluation for urban stormwater.