EPA SWMM to TUFLOW

From Tuflow
Jump to navigation Jump to search

Introduction

TUFLOW has supported 1D/2D dynamic coupling since its initial 2D solver development in 1989. Traditionally, 1D linking and associated modeling has been applied using the TUFLOW 1D (ESTRY) solver. New in the 2023-03-AD Release, TUFLOW's 1D linking and solver options have been expanded to support the EPA Storm Water Management Model (referred to herein as EPA SWMM).

As a result of the 1D EPA SWMM inclusion within TUFLOW, modellers working with EPA SWMM files now have a variety of options available:

  1. Use EPA SWMM, coupled directly to TUFLOW.
  2. Conversion of EPA SWMM 1D geometry to a TUFLOW compatible format for use by TUFLOW 1D (ESTRY) solver.

EPA SWMM inclusion in TUFLOW (2023-03-AD or newer)

If you wish to model EPA SWMM coupled dynamically to TUFLOW 2D, please refer to the TUFLOW SWMM Tutorials. Tutorials are provided for the following topics:

Conversion of EPA SWMM to TUFLOW 1D (ESTRY)

As an alternative to direct coupling of EPA SWMM with TUFLOW, a free utility tool is also available to assist with the conversion of EPA SWMM inp files into a TUFLOW compatible format for simulation using TUFLOW 1D (ESTRY). The SWMM_to_TUFLOW utility is available for download from the TUFLOW website.

The EPA SWMM_to_TUFLOW utility automates the conversion of EPA SWMM 1D model geometry for culverts, pipes and open channels into a TUFLOW 1D (ESTRY).

Note: TUFLOW 1D does not include an inbuilt hydrology engine. As such, EPA SWMM hydrology and boundary condition information is not processed by this utility. If EPA SWMM hydrology or boundary condition information is important for your model construction, please consider direct coupling of EPA SWMM with TUFLOW.

Download

This page outlines some utilities that may be used to convert EPA SWMM model files into a format which is compatible with TUFLOW. The utilities are available for download from the TUFLOW website.

Model Conversion Utility (swmm_to_gis.exe)

The swmm_to_gis.exe utility converts EPA SWMM files (.inp) to TUFLOW compatible GIS (mif and shp) format. The utility outputs include:

  • T

Utility Execution

The utility requires GIS projection information to correctly translate the SWMM file (.inp) from format to *mif or *.shp format. This is done by including either a projection or header file in the same folder directory as the batch file. The utility will use the projection information from this file for the data conversion.

  1. mif format input requirement: Projection.mif or Header.mif
  2. shp format input requirement: Projection.prj or Header.prj

The following error message will be produced if projection information is not available:

ERROR - A Header.prj or Projection.prj file does not exist in folder

Example Syntax

Utility Output

Example Output