<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tuflow.com/w/index.php?action=history&amp;feed=atom&amp;title=XPSWMM_Conversion_TUFLOW_Structure_Archive</id>
	<title>XPSWMM Conversion TUFLOW Structure Archive - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tuflow.com/w/index.php?action=history&amp;feed=atom&amp;title=XPSWMM_Conversion_TUFLOW_Structure_Archive"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=XPSWMM_Conversion_TUFLOW_Structure_Archive&amp;action=history"/>
	<updated>2026-04-21T22:12:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=XPSWMM_Conversion_TUFLOW_Structure_Archive&amp;diff=40488&amp;oldid=prev</id>
		<title>Chris Huxley at 23:31, 19 August 2024</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=XPSWMM_Conversion_TUFLOW_Structure_Archive&amp;diff=40488&amp;oldid=prev"/>
		<updated>2024-08-19T23:31:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 09:31, 20 August 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 62:&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br /&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Tips Navigation&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Tips Navigation&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|uplink=[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;XPSWMM_Conversion_Load_TUFLOW_Model_Manual&lt;/del&gt;| Continue to Next Step: &quot;Load TUFLOW Model in QGIS&quot;]]&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|uplink=[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;XPSWMM_Conversion_Load_TUFLOW_Model_Archive&lt;/ins&gt;| Continue to Next Step: &quot;Load TUFLOW Model in QGIS&quot;]]&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;}}&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Tips Navigation&lt;/div&gt;&lt;/td&gt;
  &lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;
  &lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{{Tips Navigation&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-40485:rev-40488:wikidiff2=table:1.14.1:bc2a06be --&gt;
&lt;/table&gt;</summary>
		<author><name>Chris Huxley</name></author>
	</entry>
	<entry>
		<id>https://wiki.tuflow.com/w/index.php?title=XPSWMM_Conversion_TUFLOW_Structure_Archive&amp;diff=40485&amp;oldid=prev</id>
		<title>Chris Huxley: Created page with &quot;= Convert XPSWMM Model to Recommended TUFLOW Structure = When XPSWMM writes its TUFLOW files, it consolidates all the information into a single folder, typically the &#039;&#039;&#039;2D\Dat...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=XPSWMM_Conversion_TUFLOW_Structure_Archive&amp;diff=40485&amp;oldid=prev"/>
		<updated>2024-08-19T23:30:32Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Convert XPSWMM Model to Recommended TUFLOW Structure = When XPSWMM writes its TUFLOW files, it consolidates all the information into a single folder, typically the &amp;#039;&amp;#039;&amp;#039;2D\Dat...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Convert XPSWMM Model to Recommended TUFLOW Structure =&lt;br /&gt;
When XPSWMM writes its TUFLOW files, it consolidates all the information into a single folder, typically the &amp;#039;&amp;#039;&amp;#039;2D\Data&amp;#039;&amp;#039;&amp;#039; folder. This is not the standard TUFLOW structure. The standard structure used by the majority of TUFLOW modelers globally includes the following subfolders:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; width=&amp;quot;80%&amp;quot; style=&amp;quot;text-align:center&amp;quot;&lt;br /&gt;
!style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| &lt;br /&gt;
!style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Folder&lt;br /&gt;
!style=&amp;quot;background-color:#005581; font-weight:bold; color:white;&amp;quot;| Folder Purpose&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|rowspan=&amp;quot;10&amp;quot;|[[File:TUFLOW_Folder_Structure.JPG]]&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|&amp;#039;&amp;#039;&amp;#039;Folders typically saved to the network within a folder titled TUFLOW&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| runs || TUFLOW Control File(s) (.tcf), the primary file(s) used to run TUFLOW simulations, are saved here. &lt;br /&gt;
|-&lt;br /&gt;
| runs\log || TUFLOW simulation log and error/warning message files are written here during a model simulation.&lt;br /&gt;
|-&lt;br /&gt;
| bc_dbase || Input boundary condition database(s) and time-series data for 1D and 2D domains are saved here.&lt;br /&gt;
|-&lt;br /&gt;
| model || TUFLOW&amp;#039;s second level control files (.tgc, .tbc, .tscf, .ecf) are saved here.&lt;br /&gt;
|-&lt;br /&gt;
| model\gis &amp;lt;br&amp;gt; model\grid &amp;lt;br&amp;gt; model\mi &amp;lt;br&amp;gt; model\swmm || GIS layers defining the input spatial datasets are saved here.&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|&amp;#039;&amp;#039;&amp;#039;Folders typically saved to a computers local drive in a Project folder&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
|-&lt;br /&gt;
| results || TUFLOW simulation results are written here during a model simulation.&lt;br /&gt;
|-&lt;br /&gt;
| check || TUFLOW simulation check files are written here during a model simulation.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
To simplify the process of converting the XPSWMM model to the recommended TUFLOW SWMM folder structure, we have developed a processing tool. This tool converts the GIS format written by XPSWMM (mif/mid) into a more user friendly GeoPackage Database format, creates the recommended TUFLOW folder structure, and saves the converted model files to their correct locations.&lt;br /&gt;
&lt;br /&gt;
For more information on the processing tool, see &amp;lt;u&amp;gt;[[Convert_TUFLOW_Model_GIS_Format | Convert TUFLOW Model GIS Format]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Open QGIS. If you do not have QGIS installed:&lt;br /&gt;
:*Install QGIS 3.34 or later: &amp;lt;u&amp;gt;[https://www.qgis.org/en/site/forusers/download.html Latest 64-bit version of QGIS]&amp;lt;/u&amp;gt;. &lt;br /&gt;
:*Install the QGIS TUFLOW Plugin by following the instructions, &amp;lt;u&amp;gt;[[TUFLOW_QGIS_Plugin | QGIS TUFLOW Plugin Installation]]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;li&amp;gt; In QGIS, go to Processing &amp;gt; Toolbox from the top dropdown menu options to open the Processing Toolbox.&lt;br /&gt;
&amp;lt;li&amp;gt; Go to &amp;#039;TUFLOW&amp;#039; in the processing tool list and select &amp;#039;Convert TUFLOW Model GIS Format&amp;#039;. This opens the dialog shown below.&lt;br /&gt;
:* TCF: Click &amp;#039;...&amp;#039; and navigate to the XPSWMM .tcf. This should be located in the &amp;#039;&amp;#039;&amp;#039;2D\Data&amp;#039;&amp;#039;&amp;#039; folder. &lt;br /&gt;
:* Output Vector Format: &amp;#039;GPKG&amp;#039;&lt;br /&gt;
:* Output Raster Format: &amp;#039;GTIFF&amp;#039;&lt;br /&gt;
:* Output  Profile: Any option can be used. &amp;#039;ALL IN ONE&amp;#039; is used in this example for model design consistency with the &amp;lt;u&amp;gt;[[Tutorial_Introduction | TUFLOW SWMM Tutorials]]&amp;lt;/u&amp;gt;. &lt;br /&gt;
:* Output Folder: Click &amp;#039;...&amp;#039; and navigate to an appropriate location to save your TUFLOW model. In this location, create a new folder called &amp;#039;&amp;#039;&amp;#039;TUFLOW&amp;#039;&amp;#039;&amp;#039; and select it. &lt;br /&gt;
:* Advanced Parameters:&lt;br /&gt;
::* Tick on &amp;#039;Write empty files&amp;#039;.&lt;br /&gt;
::* Output CRS: Select an appropriate Coordinate Reference System (CRS) for the model. For the demonstration model, the CRS is &amp;#039;EPSG:32760 - WGS 84 / UTM zone 60S&amp;#039;.&lt;br /&gt;
::* Tick on &amp;#039;Force TUFLOW Directory Structure&amp;#039;.&lt;br /&gt;
::* TUFLOW Directory Structure Settings: Click &amp;#039;...&amp;#039;. Under &amp;#039;Folder Structure&amp;#039;, click the [[File: convert_model_GIS_plus_icon_01a.png | 30px]] icon to add a folder. Set &amp;#039;Key&amp;#039; to &amp;#039;&amp;#039;&amp;#039;swmm&amp;#039;&amp;#039;&amp;#039;, and &amp;#039;Path&amp;#039; to &amp;#039;&amp;#039;&amp;#039;./model/swmm&amp;#039;&amp;#039;&amp;#039;. Tick on this new &amp;#039;&amp;#039;&amp;#039;swmm&amp;#039;&amp;#039;&amp;#039; folder. &lt;br /&gt;
&amp;lt;li&amp;gt; Click &amp;#039;Run&amp;#039;. Once the tool is finished, click &amp;#039;Close&amp;#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_XPtoTUFLOW_2D_model_03d.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Inspect the tool output to familiarize yourself with the TUFLOW model folder and file structure. &lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_XPtoTUFLOW_2D_model_04d.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[XPSWMM_Conversion_Load_TUFLOW_Model_Manual| Continue to Next Step: &amp;quot;Load TUFLOW Model in QGIS&amp;quot;]]&lt;br /&gt;
}}&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[XPSWMM_to_TUFLOW-SWMM_Archive#Two_Dimensional_(2D)_Model_Elements| Back to Main XPSWMM to TUFLOW Conversion Page]]&lt;br /&gt;
}}&lt;/div&gt;</summary>
		<author><name>Chris Huxley</name></author>
	</entry>
</feed>