|
==== Convert Exported Data into TUFLOW SWMM Format ====
<ol>
<li> In Windows File Explorer, navigate to the '''TUFLOW\model\swmm''' folder. Drag and drop '''XPSWMM_Node_Export_001.shp''' into QGIS.
<li> Open QGIS and load '''XPSWMM_Node_Export.shp'''
<li> LeftIn clickthe '''XPSWMM_Node_Export''' in theQGIS Layers panel, toselect make(left itclick) the active dataset'''XPSWMM_Node_Export_001'''.
<li> If you closedIn the Processing Toolbox, aftergo theto previousTUFLOW model>> conversionSWMM steps,and select '''Processing <u>[[QGIS_SWMM_Convert_XPSWMM_GIS_Inlet_Layers_to_SWMM Toolbox''|Convert - XPSWMM GIS inlet layers to SWMM]]</u>'. This fromopens the topdialog dropdownshown menu optionsbelow.
:* GIS layer with inlet information: '''XPSWMM_Node_Export_001''' (this is prepopulated as '''XPSWMM_Node_Export_001''' is the active dataset).
<li> Select '''TUFLOW >> SWMM >> <u>[[QGIS_SWMM_Convert_XPSWMM_GIS_Inlet_Layers_to_SWMM | Convert - XPSWMM GIS Inlet Layers to SWMM]]</u>''' in the processing tool list.
:* Inlet name field: 'Node Name'
<li> Select the following in the dialog box.
:* Inlet elevation field: 'Ground'
:*GIS Layer with inlet information: XPSWMM_Node_Export (this entry should already be populated if you left clicked the layer before selecting the tool)
:* Inlet Field2d Name:capture Nodeflag field: Name'NodeIn'
:* Inlet Elevationdischarge Fieldequation coefficient field: '''Ground''Coeff'
:* Inlet 2Ddischarge captureexponent flagfield: '''NodeIn''Exponent'
:* Inlet connection width: '''This defines the number of 2D cells associated with the 1D/2D connectconnections. Typically, itthis is set toshould match yourthe 2D cell size of the model. ''' ▼
:*Inlet discharge coeffecient field: '''Coeff'''
:* CRS: '''ChooseSelect yourthe modelmodels' s Coordinate Reference System ''' (CRS).▼
:*Inlet discharge exponent field: '''Exponent'''
:* SWMM inp file:
▲:*Inlet connection width: '''This defines the number of 2D cells associated with the 1D/2D connect. Typically, it is set to match your 2D cell size.'''
<ol>
▲:*CRS: '''Choose your model's Coordinate Reference System'''
:: *<li> Click ' ...' , and select 'Save to File...' '' .▼
:*SWMM inp file (for inlet definition and curves):
::<li> Navigate to the '''TUFLOW\model\swmm''' folder. Choose an appropriate .inp file name. For example, '''swmm_inlet_curves_XP_001.inp'''.
▲::*'''Save to File...'''
::<li> Click 'Save'.
::*Save within the '''TUFLOW/model/swmm''' folder
</ol>
::*Choose an appropriate '''inp''' file name (for example: swmm_inlet_curves_XP_001.inp).
:*Geo-Package GeoPackage file for inlet usage (for inlet placement):
<ol>
::*<li> Click '...', and select 'Save to File...''' .
::*Save within the '''TUFLOW/model/swmm''' folder
::<li> Navigate to the '''TUFLOW\model\swmm''' folder. Choose an appropriate .gpkg file name. It is recommended to use the same name as the .inp file. For example, '''swmm_inlet_curves_XP_001.gpkg'''.
::*Choose an appropriate '''gpkg '''file name (for example:swmm_iu_XP_001.gpkg)
::<li> SelectClick 'RunSave'.
</ol>
<li> Click 'Run'. Once the tool is finished, click 'Close'.
<li> <font color="red"> Up to here - have not run this tool in my dataset </font>
<li>Open '''swmm_iu_XP_001.gpkg''' and '''swmm_inlet_curves_XP_001.gpkg''' in QGIS. Inspect the attributes associated with the objects in both layers.
</ol>
|