Tutorial M08: Difference between revisions
Content deleted Content added
Line 36:
<ol><font color="blue"><tt>Pause </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>Error: Scenario Name Not Valid </tt></font> <font color="green"><tt> ! Displays specified text if different scenario name is called </tt></font> <br></ol>
<font color="blue"><tt>End If </tt></font> <font color="green"><tt> ! End of if statement</tt></font> <br>
Line 60 ⟶ 61:
<ol><font color="blue"><tt>Pause </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>Error: Scenario Name Not Valid </tt></font> <font color="green"><tt> ! Displays specified text if different scenario name is called </tt></font> <br></ol>
<font color="blue"><tt>End If </tt></font> <font color="green"><tt> ! End of if statement</tt></font> <br>
Line 143 ⟶ 145:
<ol><font color="blue"><tt>Pause </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>Error: Scenario Name Not Valid </tt></font> <font color="green"><tt> ! Displays specified text if different scenario name is called </tt></font> <br></ol>
<font color="blue"><tt>End If </tt></font> <font color="green"><tt> ! End of if statement</tt></font> <br>
Line 165 ⟶ 168:
<ol><font color="blue"><tt>Pause </tt></font> <font color="red"><tt>== </tt></font> <font color="black"><tt>Error: Scenario Name Not Valid </tt></font> <font color="green"><tt> ! Displays specified text if different scenario name is called </tt></font> <br></ol>
<font color="blue"><tt>End If </tt></font> <font color="green"><tt> ! End of if statement</tt></font> <br>
Line 236 ⟶ 240:
</ol>)<br>
Note: The 'CSZ' and 'DES' are user defined batch file variables. The 'CSZ' refers to a cell size and 'DES' refers to a design scenario. <br>
Line 244 ⟶ 249:
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 [https://docs.tuflow.com/classic-hpc/manual/latest/ <u>TUFLOW manual</u>]. They are referenced by enclosing the variable name within << and >>. Example models using variables are provided in the [[TUFLOW Example Models#Bulk Simulation Management|<u>Bulk Simulation Management Example Model Dataset</u>]] on the TUFLOW Wiki.
<br>
{{Tips Navigation
| |||