Arc Map If Statements for Showing Flooding in InfoSWMM
You can use a combination of the Map Display in InfoSWMM and the Arc Map Label Properties to show the Maximum Ponded Volume at a node during am InfoSWMM simulation.
The label function in VBSCRIPT to show just non zero flooded volumes(Figure 1) is:
Function FindLabel ( [PONDED_VOL] )
If [PONDED_VOL] > 0 THEN
FindLabel = "" & FormatNumber([PONDED_VOL],2) & ""
END IF
End Function
and the values of Flooded Time, Maximum Flooded Rate and Maximum Ponded Volume can be found in the Junction Attribute Table(Figure 2) but not the Junction Summary Table of the InfoSWMM output report manager tables.
A VBSCRIPT function to show both ponded volume and flooded rate (Figure 3) is:
Function FindLabel ( [PONDED_VOL], [FLOOD_RATE] )
If [PONDED_VOL] > 0 THEN
FindLabel = "" & FormatNumber([PONDED_VOL],2) & " / " & FormatNumber([FLOOD_RATE],1)
END IF
End Function
You can use a combination of the Map Display in InfoSWMM and the Arc Map Label Properties to show the Maximum Ponded Volume at a node during am InfoSWMM simulation.
The label function in VBSCRIPT to show just non zero flooded volumes(Figure 1) is:
Function FindLabel ( [PONDED_VOL] )
If [PONDED_VOL] > 0 THEN
FindLabel = "" & FormatNumber([PONDED_VOL],2) & ""
END IF
End Function
and the values of Flooded Time, Maximum Flooded Rate and Maximum Ponded Volume can be found in the Junction Attribute Table(Figure 2) but not the Junction Summary Table of the InfoSWMM output report manager tables.
A VBSCRIPT function to show both ponded volume and flooded rate (Figure 3) is:
Function FindLabel ( [PONDED_VOL], [FLOOD_RATE] )
If [PONDED_VOL] > 0 THEN
FindLabel = "" & FormatNumber([PONDED_VOL],2) & " / " & FormatNumber([FLOOD_RATE],1)
END IF
End Function
Replies