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

From Tuflow
Jump to navigation Jump to search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== TUFLOW SWMM Control File (TSCF) ===
+
== TUFLOW SWMM Control File (TSCF) ==
The TUFLOW SWMM Control File (TSCF) is used to control the SWMM input data flow. All 1D SWMM files and commands are referenced in the TUFLOW SWMM Control File.<br>
+
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.
+
<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>
<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>
 +
<li> Save the TSCF.
 
<br><br>
 
<br><br>
'''<<Video>>'''
+
{{Video|name=Animation_XPtoTUFLOW_Sim_Control_01a.mp4|width=1350}}
 
<br>
 
<br>
 
</ol>
 
</ol>
 +
 +
 +
{{Tips Navigation
 +
|uplink=[[XPSWMM_Conversion_TUFLOW_Boundary_Control_File_(TBC) | Continue to Next Step: "TUFLOW Boundary Control File (TBC)"]]
 +
}}
  
 
{{Tips Navigation
 
{{Tips Navigation
|uplink=[[XPSWMM_to_TUFLOW-SWMM#TUFLOW_Control_File_Updates| Back to XPSWMM to TUFLOW Conversion Page]]
+
|uplink=[[XPSWMM_to_TUFLOW-SWMM#TUFLOW_Control_File_Updates| Back to Main XPSWMM to TUFLOW Conversion Page]]
 
}}
 
}}

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