TUFLOW SWMM Tutorial M04: Difference between revisions

Content deleted Content added
Line 12:
= Simulation Control Files =
TUFLOW's automated event management operates by introducing wildcard referencing into the boundary condition database.<br>
A new control file, called the "'TUFLOW Event File"' (TEF) is added. It lists all event titles that are applied to the wildcard character in the boundary condition database. It also lists unique commands to associate with the specific events.<br>
Models are executed using a batch file, with the event specifically listed as a variable in the batch file syntax.
 
This tutorial example will upgrade our single simulation model to run six (six) event simulations. The simulations will cater for three (3) Annual Exceedance Probability (AEP) event magnitudes: 5%, 2% and 1% AEP. (inIn Average Recurrence Interval (ARI) terminology, this translates to the 1 in 20, 50 and 100 year ARI events). These three design events will be simulated for two (2) event storm durations: 1 and 2 hourhours.
=== TUFLOW Boundary Condition Database (bc_dbase) ===
The first task when upgrading a model to include Event Management functionality is to decide on a naming convention for the event wildcard characters to be used in the bc_dbase.csv :.
:* Event Magnitude: = '''AEP'''
:*Event Duration: = '''DUR '''
<ol>
<li>Navigate to the '''TUFLOW_SWMM_Module_04\Tutorial_Data''' folder. Copy and paste the following files to the ''' TUFLOW_SWMM_Module_04\TUFLOW\bc_dbase''' folder. These files contain the inflows and rainfall for each event magnitude and duration.
<li>We will use the following wildcard characters to represent the Events in our model:
:*'''TS04_inflow_05p1hr.csv'''
* Event Magnitude = AEP
:*'''TS04_inflow_05p2hr.csv'''
 
:*'''TS04_inflow_02p1hr.csv'''
*Event Duration = DUR
:*'''TS04_inflow_02p2hr.csv'''
<li>Navigate to the '''TUFLOW_SWMM_Module_04\Tutorial_Data''' folder. Copy and paste the following files to the ''' TUFLOW_SWMM_Module_04\TUFLOW\bc_dbase''' folder. These files contain the inflows and rainfall for each event magnitude and duration.
:*'''TS04_inflow_01p1hr.csv'''
:*TS04_inflow_05p1hr.csv
:*'''TS04_inflow_01p2hr.csv'''
:*TS04_inflow_05p2hr.csv
:*'''TS04_rainfall_05p1hr.csv'''
:*TS04_inflow_02p1hr.csv
:*'''TS04_rainfall_05p2hr.csv'''
:*TS04_inflow_02p2hr.csv
:*'''TS04_rainfall_02p1hr.csv'''
:*TS04_inflow_01p1hr.csv
:*'''TS04_rainfall_02p2hr.csv'''
:*TS04_inflow_01p2hr.csv
:*'''TS04_rainfall_01p1hr.csv'''
:*TS04_rainfall_05p1hr.csv
:*'''TS04_rainfall_01p2hr.csv''' <br>
:*TS04_rainfall_05p2hr.csv
The files with 'inflow' in their name are flow hydrograph boundary conditions sourced from an external hydrology model, such as HEC-HMS, RORB, URBS, WBNM etc. The files with 'rainfall' in their name are rainfall depth hyetographs used to define rainfall timeseries in the SWMM urban hydrology section of the model.<br>
:*TS04_rainfall_02p1hr.csv
The files with 'rainfall' in their name are rainfall depth hyetographs used to define rainfall timeseries in the SWMM urban hydrology section of the model.
:*TS04_rainfall_02p2hr.csv
:*TS04_rainfall_01p1hr.csv
:*TS04_rainfall_01p2hr.csv <br>
The files with 'inflow' in their name are flow hydrograph boundary conditions sourced from an external hydrology model, such as HEC-HMS, RORB, URBS, WBNM etc. The files with 'rainfall' in their name are rainfall depth hyetographs used to define rainfall timeseries in the SWMM urban hydrology section of the model.
 
 
<li>Save a copy of the '''bc_dbase.csv''' as '''bc_dbase_TS04_001.csv'''.
<li>Open the file and make the following updates to the 'Source' column. Note,The '''AEP''' and '''DUR''' wildcards must be between the special character '''~''' to function as a variable. Note, columns E to I are to remain blank. The final '''bc_dbase_TS04_001.csv''' should look like this: <br>
<br>
[[File:SWMM_M04_Event_bcdbase_001.JPG||500px]]<br>
<br>
<li>Save '''bc_dbase_TS04_001.csv'''.
<br><br>
{{Video|name=|width=1235}}
<br>
</ol>
<br>
'''<<Video>>'''
 
=== TUFLOW Event File (TEF) ===