Difference between revisions of "XPSWMM Conversion TUFLOW SWMM Control File (TSCF)"

From Tuflow
Jump to navigation Jump to search
Line 4: Line 4:
 
<li> In Windows File Explorer, navigate to the '''TUFLOW\model''' folder and create a new blank text file with the extension .tscf (for example 1D2D_Urban_001.tscf).
 
<li> In Windows File Explorer, navigate to the '''TUFLOW\model''' folder and create a new blank text file with the extension .tscf (for example 1D2D_Urban_001.tscf).
 
<li> Open the TSCF into a Text Editor (Notepad++ is recommended) and add the following commands.<br>
 
<li> Open the TSCF into a Text Editor (Notepad++ is recommended) and add the following commands.<br>
<font color="blue"><tt>Read SWMM </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>..\swmm\1D2D_Urban_HDR_001.inp </tt></font> <font color="green"><tt> ! 1D SWMM Pipe Network input file</tt></font><br>
+
<font color="blue"><tt>Read SWMM </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>swmm\1D2D_Urban_HDR_001.inp </tt></font> <font color="green"><tt> ! 1D SWMM Pipe Network input file</tt></font><br>
<font color="blue"><tt>Read SWMM </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>..\swmm\1D2D_Urban_RNF_001.inp </tt></font> <font color="green"><tt> ! 1D SWMM Hydrology input file</tt></font><br>
+
<font color="blue"><tt>Read SWMM </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>swmm\1D2D_Urban_RNF_001.inp </tt></font> <font color="green"><tt> ! 1D SWMM Hydrology input file</tt></font><br>
<font color="blue"><tt>Read SWMM </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>..\swmm\swmm_inlet_curves_XP_001.inp </tt></font> <font color="green"><tt> ! 1D SWMM Inlet Curves input file</tt></font><br>
+
<font color="blue"><tt>Read SWMM </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>swmm\swmm_inlet_curves_XP_001.inp </tt></font> <font color="green"><tt> ! 1D SWMM Inlet Curves input file</tt></font><br>
<font color="blue"><tt>Read GIS SWMM Inlet Usage</tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>..\swmm\swmm_iu_XP_001.gpkg >> inlet_usage </tt></font> <font color="green"><tt> ! 1D SWMM Pipe Network Inlet Usage layer</tt></font>
+
<font color="blue"><tt>Read GIS SWMM Inlet Usage</tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>swmm\swmm_iu_XP_001.gpkg >> inlet_usage </tt></font> <font color="green"><tt> ! 1D SWMM Pipe Network Inlet Usage layer</tt></font>
 
<br><br>
 
<br><br>
 
'''<<Video>>'''
 
'''<<Video>>'''

Revision as of 10:00, 19 February 2024

TUFLOW SWMM Control File (TSCF)

The TUFLOW SWMM Control File (TSCF) is used as the file that references all EPA SWMM inputs.

  1. In Windows File Explorer, navigate to the TUFLOW\model folder and create a new blank text file with the extension .tscf (for example 1D2D_Urban_001.tscf).
  2. Open the TSCF into a Text Editor (Notepad++ is recommended) and add the following commands.
    Read SWMM == swmm\1D2D_Urban_HDR_001.inp  ! 1D SWMM Pipe Network input file
    Read SWMM == swmm\1D2D_Urban_RNF_001.inp  ! 1D SWMM Hydrology input file
    Read SWMM == swmm\swmm_inlet_curves_XP_001.inp  ! 1D SWMM Inlet Curves input file
    Read GIS SWMM Inlet Usage == swmm\swmm_iu_XP_001.gpkg >> inlet_usage  ! 1D SWMM Pipe Network Inlet Usage layer

    <<Video>>


Up
Go-up.png Continue to Next Step: "TUFLOW Boundary Control File (TBC)"
Up
Go-up.png Back to Main XPSWMM to TUFLOW Conversion Page