Section 3 1D Solver - ESTRY

3.1 Arch Bridge

The 2023-03 Release includes support for arch bridges as 1D channels. The approach is based on the ‘Afflux at Arch Bridges’ (HR Wallingford, 1988). Arch bridges are defined in the 1d_nwk layer as a “BArch” type. The 1d_nwk attributes specific to an arch bridge are outlined below in Table 3.1. The remaining 1d_nwk attributes are consistent with other bridge channels.

Table 3.1: Arch Bridges 1D Model Network (1d_nwk) Attribute Descriptions
No.  Default GIS Attribute Name Description Type
2 Type “BArch” Char (36)
11 Inlet_type Relative path to arch properties .csv file Char (4)
14 Width Optional skew parameter Char (1)
15 Height Optional calibration coefficient Char (1)
17 HConF Discharge coefficient for orifice flow - use negative value to switch on. Float (15)
19 EntryC Lower transition distance for orifice flow Float (15)
20 ExitC Upper transition distance for orifice flow Float (15)

The .csv for the arch properties should contain the columns outlined in Table 3.2.

Table 3.2: Arch Bridge Properties .csv
Column Description
1 Start chainage for arch opening
2 End chainage for arch opening
3 Springing level
4 Soffit level

An example of the 1d_nwk attributes and “Inlet_type” .csv is shown in Figure 3.1.

**Example of 1d_nwk Attibutes and Inlet Type .csv.**

Figure 3.1: Example of 1d_nwk Attibutes and Inlet Type .csv.

3.1.1 Arch Bridge Editor

An arch bridge creator and editor tool has been developed for the QGIS TUFLOW Plugin, shown in Figure 3.2. This tool is available from the TUFLOW Plugin Version 3.7.

The documentation and examples for this tool can be found at the following TUFLOW Wiki page: https://wiki.tuflow.com/QGIS_TUFLOW_Arch_Bridge_Editor

Any and all feedback is welcome and can be addressed to .

**QGIS TUFLOW Plugin Arch Bridge Editor**

Figure 3.2: QGIS TUFLOW Plugin Arch Bridge Editor

3.1.2 Bug Fix with Modelling Multiple Arch Bridges

Build 2023-03-AB fixes a bug that occurred when using multiple arch bridges in the same model. This could cause either a ‘Should not be here’ error message or sometimes no error message, and the arch bridge curves would be applied incorrectly. This could occur when reading in multiple arch bridges in the same 1d_nwk layer or using multiple 1d_nwk layers.

If using the ‘BArch’ type, please update to the 2023-03-AB release.

3.1.3 Arch Bridge Error Message Number Assignment

Build 2023-03-AB correctly assigns error numbers to the CHECK/WARNING/ERROR messages produced when pre-processing arch bridge inputs. Previously, these may have been reported as ‘ERROR XXXX’.

3.2 Ability to Model Time Lag in Virtual Pipes

Build 2023-03-AB introduces the ability to lag virtual pipe flows from the inlet to the outlet. Two additional attributes are required, and these are output in empty files written with the 2023-03-AB version of TUFLOW. These additional 1d_pit attributes are described in Table 3.3 below. This data is input on the inlets (VPI).

Two approaches are available for lagging flows, these are “Shift” and “Decay”. For the shift method, the outflow is lagged shifted by the lag value time, but is otherwise unchanged.

The decay method is based on exponential filtering of the inflow. A “current internal volume” is tracked:

\[\begin{equation} Q(T) = \int_{0}^{T} [\dot{Q}_{in}\,(t)-\dot{Q}_{out}\,(t)]dt \tag{3.1} \end{equation}\]

The outflow rate is computed from the internal volume and the time constant (the Lag_Value attribute):

\[\begin{equation} \dot{Q}_{out}\,(t) = \frac{Q(t)}{Lag\_Value} \tag{3.2} \end{equation}\]

Figure 3.3 below shows the lag approaches applied with a lag value of 60 seconds which is input as 0.0167 hours.

Figure 3.3: Virtual Pipe Lag Methods

All pits with the same VP Network ID (i.e. form a local network) must use the same approach and Lag_Value.

Table 3.3: Additional Virtual Pipe Lag (1d_pit) Attribute Descriptions
No.  Default GIS Attribute Name Description Type
12 Lag_Approach

Sets the lag approach, as described above

“None” or Blank - no lag is applied

“Shift” – Shift method applied

“Decay” – Decay method applied
Char (8)
13 Lag_Value Lag value in hours. Float


3.3 Enhancement to Adverse Slope Culvert

Build 2023-03-AC includes an enhancement to adverse slope culvert flux calculation. Prior to 2023-03-AC, significant exit loss could be applied at the exit of an adverse slope culvert if the outlet node is dry or close to dry. This is caused by the mis-representation exit flow area and exit velocity. A fix has been introduced in the new Culvert Flow approach:

Culvert Flow == Method G

Please note that ‘Method E’ is still the default approach in build 2023-03-AC, but ‘Method G’ is likely be the default in the future releases.

3.4 Improvement to Structure Flow Level Options

Build 2023-03-AC includes a new option to use energy level at upstream node and water level at downstream node of 1D structures for flux calculation. This option can be applied globally using the .ecf command:

Structure Flow Levels == ENERGY UPSTREAM

Alternatively it can be changed individually with “EH” flag in the 1d_nwk “Type” attribute. The default option is “Energy”, i.e. using energy levels at both the upstream and the downstream nodes. This approach is applicable to 1D weirs, spillways, gates and dam failure channels.

3.5 Minor Enhancements and Bug Fixes

The 2023-03 Release includes a range of minor enhancements and bug fixes to the 1D solver.

3.5.1 Unused Manning’s n Value Set to Zero in nwk_C Check File and .eof

The 2023-03 Release will now show a Manning’s n value of zero in the nwk_C check file and the ESTRY Output File (.eof) if it’s not being used by TUFLOW. Previously if a user had specified a Manning’s n value for a channel type that doesn’t use it (e.g. weirs, bridges), this input value would be shown in some of the output files.

This change doesn’t affect any of the computations.

3.5.2 Fixes to Write Check Files [Exclude | Include | None | ALL] == [OFF]

The 2023-03 Release fixes the optional, additional commands to the ESTRY Control File (.ecf) command:

Write Check Files [Exclude | Include | None | ALL] == \(\langle\)file_path\(\rangle\) | \(\langle\)check_type\(\rangle\) | OFF

Previously, adding the keywords ‘Exclude’, ‘Include’, ‘None’, and ‘All’ to the command or setting the command to ‘OFF’ was not working. Adding these keywords will override any settings from the same command specified in the .tcf that affect ESTRY check files.

3.5.3 Pit_A Check File Incorrectly Reporting Width

The pit_A check file now correctly reports pit width for ‘Q’ type pits in the 2023-03 Release. This change doesn’t affect any of the computations.

3.5.4 Pit_A Check File Increased Type Attribute Length

The 2023-03 Release increases the length of the attribute ‘Type’ in the pit_A check file to eight, which was previously restricted to four.

3.5.5 Incorrect ‘B’ Type Bridge Form Loss Reported in the .eof

The 2023-03 Release fixes the form loss reporting in the .eof for ‘B’ type bridges. Previously this could be reported out of order if there were multiple ‘B’ bridges. This change doesn’t affect any of the computations.

3.5.6 Pump Inverts Reported in the .eof

The 2023-03 Release now correctly reports pump inverts in the .eof.

3.5.7 1D Pump Point Objects Now Produce ERROR 1438

The 2023-03 Release will produce ERROR 1438 when a point object is used as a 1D pump. Previously TUFLOW would ignore this object.

3.5.8 Pump Curves No Long Trigger ERROR 1092 and ERROR 1093

The 2023-03 Release no longer generates ERROR 1092 and ERROR 1093 when using pump curves in the pit inlet database. Previously these errors would occur if no width or area was specified for the pump curves (these attributes are not required for pumps).

3.5.9 ERROR 2056 Incorrectly Triggering

The 2023-03 Release fixes a bug that could incorrectly trigger ERROR 2056 when an inlet pit with an SX connection was located almost exactly on the 2D domain boundary.

3.5.10 WARNING 2039 Counts All Ignored SX Pit Connections

WARNING 2039, which reports the number of ignored pit/node SX connections, will now include SX pit connections that are located outside the 2D domain. Previously this warning message would only report the number of ignored pit SX connections that were located within the 2D domain, but not situated in an active 2D cell.

3.5.11 1D Operable Structures Linked to 2D Water Level (H2D) Updating on Map Update Interval

The 2023-03 Release fixes an issue with operable structures that were linked to 2D water levels using the H2D variable type in the .toc. Previously, the operable structure would only update and respond to changes in water level at the map output interval (which can be longer than desired). For the 2023-03 Release, the water levels will update at each timestep.

3.5.12 Linking 1D Operable Structures to 2D PO Points Not Functional as Described

The 2018 TUFLOW Manual describes an option to base operations on the results from a 2d_po point identifier, rather than coordinates. This functionality now works as described. Previously this would cause an error to be reported.

3.5.13 Bug Fix to Invert Levels used in PF Channel Flow Calculation

The 2023-03 Release fixes a bug that could apply incorrect channel inverts for the PF channel flow calculation. Previously, the 1D node inverts were used to determine whether the PF channel was submerged or unsubmerged. This could cause flow calculation issues when the upstream and the downstream nodes were snapped to another 1D channel with lower inverts. As of the 2023-03 Release, the PF channel inverts are now correctly applied.

3.5.14 ERROR 1261 Incorrectly Triggering for 1D PF/DF channels

The 2023-03 Release fixes a bug that could incorrectly trigger ERROR 1261 when the Manning’s n (“n_nF_Cd” attribute) is set as zero for 1D PF/DF channels. The 1D PF/DF channels do not require Manning’s n in their hydraulic calculation.

3.5.15 Enhancement and Bug Fix for PF/DF Channel Check Files

The 2023-03 Release fixes a bug in which the information reported by the nwk_C check file didn’t match the input attributes in the 1d_nwk file. The 2023-03 Release will also report the weir factor (Cd) and weir submergence factor (Csf) applied during the simulation to the _TSL_P result file. The bottom width of the DF channel cross-section will be reported in the _O.csv file for checking purpose.

3.5.16 Setting Initial State of 1D DF Channel

The 2023-03 Release implemented two .toc commands to set the initial breach status of a 1D DF channel:

Depth Breached == \(\langle\)initial breach depth in metres or feet\(\rangle\)

Top Width Breached == \(\langle\)initial breach width in metres or feet\(\rangle\)

Previously, a DF channel always must start from zero breach depth and width.

3.5.17 WARNING Message for Using Zero Pump Capacity

When pump capacity is set to zero using the “Pump Capacity ==” command, the “Pump Shutdown Speed ==” will be also set as zero. This does not turn off a pump that is already operating. The 2023-03 Release produces WARNING 1434 to notify users. The “Pump Operation == OFF” command should be used to turn off a pump completely.

3.5.18 Enhancement Reducing Memory Usage for Operational Channels

For operational control channels, the 2023-03 Release determines the number of operational channels in the model for memory allocation. Previous Releases allowed for up to 1,000 operational channels, meaning models with less than this will now use less memory.

The 2020-10-AE build of TUFLOW allowed this maximum to be set with the .tcf command:

Maximum Operational Controls == \(\langle\)number of operational channels/control definitions\(\rangle\)

This command is no longer required and should be removed from the .ecf. If this command is included, it will be ignored.

3.5.19 WARNING/ERROR Message for Using Wrong GIS Type in 1d_nwk

The 2023-03 Release produces WARNING/ERROR 2073 if wrong object type is used in 1d_nwk GIS layer to notify users. Only point, line and polyline objects are supported by TUFLOW input.

3.5.20 ERROR Message for Using Bridge Flow == Method A in Structure Routines == 2013 (Default)

Bridge Flow == Method A” is only supported in “Structure Routines == ORIGINAL”. The 2023-03 Release produces ERROR 1442 if “Bridge Flow == Method A” is used in “Structure Routines == 2013”, which replaces the “Should not be here [conchn_2_B_1]” message.

3.5.21 Bug fix for ERROR 1025

Fixes bug for models with ERROR 1025, which stopped the simulation with message “ERRORS found in 1D input data”. However, the ERROR message was not correctly output to the log or messages layer.

3.5.22 Bug fix for WARNING 2073

Fixes a bug that could spuriously report WARNING 2073 (Object ignored) for points or lines when a pit search distance was used. The points / lines were being read correctly; the message was spurious.

3.6 Minor Enhancements and Bug Fixes for 2023-03-AB

3.6.1 Operational Channel Memory Allocation Error

Build 2023-03-AB fixes an issue where memory for the operational channels was not correctly allocated in some circumstances leading to a crash in the model.

3.6.2 Operational Channels Handle Multiple AND or OR Statements on Same Line

2023-03-AB fixes a bug where operational channels did not work correctly if the logic included multiple AND statements or multiple OR statements on the same line.

3.6.3 Bug Fix for Virtual Pipe Model Not Writing Output

Build 2023-03-AB fixes an issue in HPC simulation with virtual pipes (VP) but no other 1D elements. This caused the 1D results files not to be written at the end of the simulation.

3.6.4 Bug Fix for WLL Should Not Be Here

Build 2023-03-AB fixes an issue with 1d_wll that cross multiple channels, this could occasionally cause a “Should not be here [no_in]” to be issued and the simulation to be halted in pre-processing.

3.7 Minor Enhancements and Bug Fixes for 2023-03-AC

3.7.1 Bug Fix to VPO Connected to 1D Channel

Build 2023-03-AC fixes an issue that VPO does not discharge water to 1D channel even if the VPO is snapped to the 1D channel node. Prior to build 2023-03-AC, any VPO outside the active 2D domain has been ignored. The 2D cells overlapping with 1D channels are often disabled (which is the correct configuration). This means the VPO located inside such deactivated 2D domain was not used in the simulation. Build 2023-03-AC now use all VPOs in the virtual pipe flow calculation even if they’re outside the active 2D domain.

Note that this could cause difference in simulation results for models that have intentionally put VPOs outside the active 2D domain.

CHECK 2435 - Virtual Pit Inlet/Outlet outside active 2D domain” message is now generated if any VPO is located outside the active 2D domain.

3.7.2 Bug Fix to Water Level Lines (WLL) when Virtual Pipes are Used

Build 2023-03-AC fixes an issue that Water Level Lines (WLL) are not generated correctly when virtual pipes are also used in the model.

References