Tutorial M09: Difference between revisions
Content deleted Content added
Line 127:
</ol>)<br>
Note: The 'AEP' and 'DUR' are user defined batch file variables. The 'AEP' refers to an event magnitude (Annual Exceedance Probability) and 'DUR' refers to an event duration.
Line 136 ⟶ 137:
Variables provide a way to define values once and reuse them across control files, which helps manage models with multiple scenarios and events.
Scenarios and events are automatically available as variables. Variables can also be defined using the <font color="blue"><tt>Set Variable </tt></font>command as described in Section 13.2.3 Variables of the TUFLOW manual. They are referenced by enclosing the variable name within << and >>.
Note: The <font color="blue"><tt>Set Variable </tt></font>command can only be specified in the .tcf or within a read file (.trd) referenced from the .tcf. The variables can then be used in all control files (.tcf, .tgc, .tbc, .ecf, etc).
Example models using variables are provided in the [[TUFLOW Example Models#Bulk Simulation Management|Bulk Simulation Management Example Model Dataset]] on the TUFLOW Wiki.
<br>
| |||