XPSWMM to TUFLOW-SWMM: Difference between revisions

Content deleted Content added
 
(2 intermediate revisions by 2 users not shown)
Line 45:
:* Output File Format: 'ASCII Grid File Format'.
:* Cell Size Value: Choose a suitable DTM resolution. This resolution should be finer than the hydraulic model resolution. Typically, a DTM resolution is 1/5th to 1/10th of the hydraulic model 2D cell size is common (1 in the example dataset).
''Note: XPSWMM requires an integer cell size value for this export step. For example, Cell Size Values of 1, 2, 3, 4, 5 ... are suitable. The XPSWMM export will not function if you specify a decimal cell size value (ege.g. 0.5, 2.5, etc.).''
<li> Click 'Export'.
<li> Save the file under an appropriate name (e.g. '''1D2D_Urban_Grid.asc''') to the folder where XPSWMM writes the .tcf during its simulation preprocessing. By default, this is the '''2D\Data''' folder. <br>
Line 66 ⟶ 67:
<ol>
<li> In XPSWMM, in the top dropdown menu options, navigate to File > Import/Export Data > Export XPX Data. This will open a dialog. Leave all options as default and click 'Export'.
<li> When prompted, save the file under an appropriate name (ege.g. '''1D2D_Urban_001.xpx''') to the folder where the XPSWMM model is located.
<br><br>
{{Video|name=Animation_XPtoTUFLOW_Export_Data_03b.mp4|width=1350}}
<br>
 
</ol>
 
Line 140 ⟶ 142:
<li>Create a new text file in the '''TUFLOW\runs''' folder and save as '''_run_HPC.bat'''.
<li>Open the '''_run_HPC.bat''' in a text editor and include a file path to the TUFLOW executable and the TCF name: <br>
<font color="blue"><tt>set </font>exe<font color="red">=</font>"..\..\exe\20252026.20.10\TUFLOW_iSP_w64.exe"<br>
<font color="blue"><tt>set </font>run<font color="red">=</font>start "TUFLOW" /wait <font color="orange">%exe%</font> -b<br>
<font color="orange">%run%</font> -e1 100yr 1D2D_Urban_001_~e1~.tcf</tt></font></tt> <br>