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

From Tuflow
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
The TUFLOW SWMM Control File (TSCF) is used as the file that references all EPA SWMM inputs.
 
The TUFLOW SWMM Control File (TSCF) is used as the file that references all EPA SWMM inputs.
 
<ol>
 
<ol>
<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 (e.g. '''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>
Line 8: Line 8:
 
<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>
 +
<li> Save the TSCF.
 
<br><br>
 
<br><br>
'''<<Video>>'''
+
{{Video|name=Animation_XPtoTUFLOW_Sim_Control_01a.mp4|width=1350}}
 
<br>
 
<br>
 
</ol>
 
</ol>

Latest revision as of 14:13, 22 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 (e.g. 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
  3. Save the TSCF.



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