Difference between revisions of "TUFLOW Message 5057"

From Tuflow
Jump to navigation Jump to search
 
Line 3: Line 3:
 
|alt_msg=NA
 
|alt_msg=NA
 
|type=[[ERROR]]
 
|type=[[ERROR]]
|message_desc=Devices are defined in blocks that start with "<tt><font color="blue">Device </font><font color="red">==</font> [name]</tt>" and close with "<tt><font color="blue">End Device</font></tt>". The number of "<tt><font color="blue">Device </font><font color="red">==</font> [name]</tt>" and "<tt><font color="blue">End Device</font></tt>" commands are not the same.
+
|message_desc=Devices are defined in blocks that start with "<tt><font color="blue">Device </font><font color="red">==</font> <name></tt>" and close with "<tt><font color="blue">End Device</font></tt>". The number of "<tt><font color="blue">Device </font><font color="red">==</font> <name></tt>" and "<tt><font color="blue">End Device</font></tt>" commands are not the same.
 
|suggestions=In the The TUFLOW CATCH control file (.tcc), ensure all devices are defined as outlined above. For example:<br>
 
|suggestions=In the The TUFLOW CATCH control file (.tcc), ensure all devices are defined as outlined above. For example:<br>
:<tt><font color="blue">Device </font><font color="red">==</font> ALL</tt>
+
:<tt><font color="blue">Device </font><font color="red">==</font> Wetland1</tt>
 
::: <tt>... Treatment Parameterisation Properties ...</tt>
 
::: <tt>... Treatment Parameterisation Properties ...</tt>
 
:<tt><font color="blue">End Device</font></tt>
 
:<tt><font color="blue">End Device</font></tt>

Latest revision as of 11:28, 14 April 2025

TUFLOW Message
ERROR 5057 - Unbalanced "Device"/"End Device" count. Line "<no>"

Alternate Message
NA

Message Type
ERROR

Description
Devices are defined in blocks that start with "Device == <name>" and close with "End Device". The number of "Device == <name>" and "End Device" commands are not the same.

Suggestions
In the The TUFLOW CATCH control file (.tcc), ensure all devices are defined as outlined above. For example:

Device == Wetland1
... Treatment Parameterisation Properties ...
End Device


Up
Go-up.png 5xxx Messages