<?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_Reconfigure_SWMM_Junctions_Archive</id>
	<title>XPSWMM Conversion Reconfigure SWMM Junctions 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_Reconfigure_SWMM_Junctions_Archive"/>
	<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=XPSWMM_Conversion_Reconfigure_SWMM_Junctions_Archive&amp;action=history"/>
	<updated>2026-04-29T06:09:06Z</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_Reconfigure_SWMM_Junctions_Archive&amp;diff=40493&amp;oldid=prev</id>
		<title>Chris Huxley: /* Selectively Update SWMM Nodes--Junctions Attributes */</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=XPSWMM_Conversion_Reconfigure_SWMM_Junctions_Archive&amp;diff=40493&amp;oldid=prev"/>
		<updated>2024-08-19T23:34:24Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Selectively Update SWMM Nodes--Junctions Attributes&lt;/span&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:34, 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 35:&lt;/td&gt;
  &lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 35:&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;The final step in setting the &#039;&#039;&#039;Nodes--Junctions&#039;&#039;&#039; attributes requires updating the Ymax (maximum depth) attribute to zero (0) for the nodes within &#039;&#039;&#039;Nodes--Junctions&#039;&#039;&#039; that are &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; connected to the 2D surface via a Pipe Network Pit (Inlet Usage) connection point. Setting the value to zero adjusts the junction node&#039;s Ymax to match the distance from its invert to the top of the highest connecting link. &amp;lt;br&amp;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;The final step in setting the &#039;&#039;&#039;Nodes--Junctions&#039;&#039;&#039; attributes requires updating the Ymax (maximum depth) attribute to zero (0) for the nodes within &#039;&#039;&#039;Nodes--Junctions&#039;&#039;&#039; that are &amp;lt;u&amp;gt;&#039;&#039;&#039;not&#039;&#039;&#039;&amp;lt;/u&amp;gt; connected to the 2D surface via a Pipe Network Pit (Inlet Usage) connection point. Setting the value to zero adjusts the junction node&#039;s Ymax to match the distance from its invert to the top of the highest connecting link. &amp;lt;br&amp;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;&amp;lt;br&amp;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;&amp;lt;br&amp;gt;&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;We can implement this update using a point selection workflow similar to the one described in the &#039;&amp;lt;u&amp;gt;[[&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;XPSWMM_Conversion_Reconfigure_SWMM_Pipe_Network_Data&lt;/del&gt; |Correct the SWMM Nodes--Junction/Outfall Model Design]]&amp;lt;/u&amp;gt;&#039; section.&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;We can implement this update using a point selection workflow similar to the one described in the &#039;&amp;lt;u&amp;gt;[[&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;XPSWMM_Conversion_Reconfigure_SWMM_Pipe_Network_Data_Archive&lt;/ins&gt; |Correct the SWMM Nodes--Junction/Outfall Model Design]]&amp;lt;/u&amp;gt;&#039; section.&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;&amp;lt;ol&amp;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;&amp;lt;ol&amp;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;&amp;lt;li&amp;gt; In the QGIS Layers panel, select (left click) &#039;&#039;&#039;Nodes--Junctions&#039;&#039;&#039; and toggle on editing.&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;&amp;lt;li&amp;gt; In the QGIS Layers panel, select (left click) &#039;&#039;&#039;Nodes--Junctions&#039;&#039;&#039; and toggle on editing.&lt;/div&gt;&lt;/td&gt;
&lt;/tr&gt;

&lt;!-- diff cache key mediawiki:diff:1.41:old-40492:rev-40493: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_Reconfigure_SWMM_Junctions_Archive&amp;diff=40492&amp;oldid=prev</id>
		<title>Chris Huxley: Created page with &quot;== Bulk Update SWMM Nodes--Junctions Attributes == The following GIS feature updates to the &#039;&#039;&#039;Nodes--Junctions&#039;&#039;&#039; attributes will finalize the SWMM portion of the TUFLOW mode...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.tuflow.com/w/index.php?title=XPSWMM_Conversion_Reconfigure_SWMM_Junctions_Archive&amp;diff=40492&amp;oldid=prev"/>
		<updated>2024-08-19T23:34:04Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Bulk Update SWMM Nodes--Junctions Attributes == The following GIS feature updates to the &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; attributes will finalize the SWMM portion of the TUFLOW mode...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Bulk Update SWMM Nodes--Junctions Attributes ==&lt;br /&gt;
The following GIS feature updates to the &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; attributes will finalize the SWMM portion of the TUFLOW model. This is typically the final step in the model building process, as the recommended attributes for a junction node vary depending on whether the node is associated with inlet usage connections, 1D/2D culvert connections, and SWMM hydrology sub-catchments. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In the QGIS Layers panel, select (left click) &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; and toggle on editing.&lt;br /&gt;
&amp;lt;li&amp;gt; In the Processing Toolbox, select the &amp;#039;Edit Features In-Place&amp;#039; tool. This allows the editing of an existing layer, instead of the creation of a new layer.&lt;br /&gt;
&amp;lt;li&amp;gt; Go to TUFLOW &amp;gt;&amp;gt; SWMM in the processing tool list and select the &amp;#039;&amp;lt;u&amp;gt;[[QGIS_SWMM_Junctions_Set_Attributes |Junctions - Set attributes]]&amp;lt;/u&amp;gt;&amp;#039; processing tool. This opens the dialog shown below.&lt;br /&gt;
:* Input Subcatchment layers: If available, select &amp;#039;&amp;#039;&amp;#039;Hydrology--Subcatchments&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
:* Input Inlet Usage Layers: If available, select the inlet usage layer (e.g. &amp;#039;&amp;#039;&amp;#039;swmm_iu_XP_001&amp;#039;&amp;#039;&amp;#039;).&lt;br /&gt;
:* Input BC Connection Layers: If available, select the 2d_bc connection layer (e.g. &amp;#039;&amp;#039;&amp;#039;1D2D_Urban_001_2d_bc_L&amp;#039;&amp;#039;&amp;#039;).&lt;br /&gt;
:* General Options: &lt;br /&gt;
:::* Maximum Depth Option (Ymax): &amp;#039;Leave as is (applies to edit in place only)&amp;#039;&lt;br /&gt;
:::* Nodes receiving subcatchment flows option (if connected to 2D): &amp;#039;Based on options selected below&amp;#039;&lt;br /&gt;
:* Nodes connected to 2D without Inlets (through embankment culvert):&lt;br /&gt;
:::* Ysur: 0&lt;br /&gt;
:::* Area of ponding: This value should match the 2D cell area associated with 1D/2D culvert connections (100 in the example dataset).&lt;br /&gt;
:* Nodes connected to 2D with Inlets (underground pipe network):&lt;br /&gt;
:::* Maximum depth (Ymax) option: &amp;#039;Use global option&amp;#039;&lt;br /&gt;
:::* Ysur: 0&lt;br /&gt;
:::* Area of ponding: This value should match the 2D cell area associated with the Inlet Usage connections (25 in the example model).&lt;br /&gt;
:* Nodes without 2D Connection (underground pipe network):&lt;br /&gt;
:::* Surcharge Depth: This value should be a value higher than any expected water level in the model (99 in the example model).&lt;br /&gt;
:::* Area of ponding: 1&lt;br /&gt;
&lt;br /&gt;
&amp;lt;li&amp;gt;Select &amp;#039;Modify All Features&amp;#039;. Once the tool has finished, click &amp;#039;Close&amp;#039;.&lt;br /&gt;
&amp;lt;li&amp;gt;Turn off editing to save the edits.&lt;br /&gt;
&amp;lt;li&amp;gt;View the attributes within &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; to verify the data processing has been completed correctly. &amp;lt;br&amp;gt;&lt;br /&gt;
For a summary of the attributes associated with the &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; layer, refer to &amp;lt;u&amp;gt;[https://docs.tuflow.com/classic-hpc/release/2023-03-AD/SWMM-Input-Detailed-1.html#tab:tab-SWMM-Input-Junctions TUFLOW 2023-03-AD Release Notes (Table A.30)]&amp;lt;/u&amp;gt; and the &amp;lt;u&amp;gt;[https://downloads.tuflow.com/SWMM/SWMM5_Reference_Manual_Volume2_Hydaulics_P100S9AS.pdf SWMM Reference Manual - Volume 2 (Hydraulics)]&amp;lt;/u&amp;gt;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_XPtoTUFLOW_1D_model_13a.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;
== Selectively Update SWMM Nodes--Junctions Attributes ==&lt;br /&gt;
The final step in setting the &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; attributes requires updating the Ymax (maximum depth) attribute to zero (0) for the nodes within &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; that are &amp;lt;u&amp;gt;&amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039;&amp;lt;/u&amp;gt; connected to the 2D surface via a Pipe Network Pit (Inlet Usage) connection point. Setting the value to zero adjusts the junction node&amp;#039;s Ymax to match the distance from its invert to the top of the highest connecting link. &amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
We can implement this update using a point selection workflow similar to the one described in the &amp;#039;&amp;lt;u&amp;gt;[[XPSWMM_Conversion_Reconfigure_SWMM_Pipe_Network_Data |Correct the SWMM Nodes--Junction/Outfall Model Design]]&amp;lt;/u&amp;gt;&amp;#039; section.&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In the QGIS Layers panel, select (left click) &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; and toggle on editing.&lt;br /&gt;
&amp;lt;li&amp;gt; Use the &amp;#039;Select Features&amp;#039; tool to select all nodes included in the &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; layer. When selected, this will change their color to bright yellow.&lt;br /&gt;
&amp;lt;li&amp;gt; In the Processing Toolbox, go to &amp;#039;Vector Selection&amp;#039; and select &amp;#039;Select within distance&amp;#039;. This opens the dialog shown below.&lt;br /&gt;
:* Select features from: &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; (this is prepopulated as &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; is the active dataset).&lt;br /&gt;
:* By comparing to the features from: Click the dropdown menu and select the inlet usage layer (e.g. &amp;#039;&amp;#039;&amp;#039;swmm_iu_XP_001&amp;#039;&amp;#039;&amp;#039;).&lt;br /&gt;
:* Where the features are within: &amp;#039;0.1 meters&amp;#039;.&lt;br /&gt;
:* Modify current selection by: &amp;#039;removing from current selection&amp;#039;.&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;li&amp;gt; In the QGIS Layers panel, right click &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039; and select &amp;#039;Open Attribute Table&amp;#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; In the attribute table, only some of the junction nodes will be selected. To update the Ymax for the selected nodes:&lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; Set the target update column to &amp;#039;&amp;#039;&amp;#039;Ymax&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; In the expression box, set the update value to &amp;#039;&amp;#039;&amp;#039;0&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;li&amp;gt; Click &amp;#039;Update Selected&amp;#039;.&lt;br /&gt;
&amp;lt;/ol&amp;gt; &lt;br /&gt;
&amp;lt;li&amp;gt; Close the attribute table. &lt;br /&gt;
&amp;lt;li&amp;gt; Toggle editing off to save the edits to &amp;#039;&amp;#039;&amp;#039;Nodes--Junctions&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
{{Video|name=Animation_XPtoTUFLOW_1D_model_14b.mp4|width=1350}}&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
For the provided example dataset, the above workflow should have updated the Ymax value for the junction nodes highlighted red in the image below.&amp;lt;br&amp;gt;&amp;lt;br&amp;gt;&lt;br /&gt;
[[File: XPSWMM_to_TUFLOW_set_junctions_attributes_01a.png]]&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Save the QGIS Workspace ==&lt;br /&gt;
In preparation for the next steps of the conversion process, ensure your QGIS workspace has been saved. &lt;br /&gt;
&amp;lt;ol&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt; In QGIS, go to Project &amp;gt; Save from the top dropdown menu options.&lt;br /&gt;
&amp;lt;/ol&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[XPSWMM_Conversion_Export_SWMM_INP_Archive | Continue to Next Step: &amp;quot;Export Updated SWMM INP Files&amp;quot;]]&lt;br /&gt;
}}&lt;br /&gt;
{{Tips Navigation&lt;br /&gt;
|uplink=[[XPSWMM_to_TUFLOW-SWMM_Archive#One Dimensional_(1D)_SWMM_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>