Setting up test cases for generalized multi run simulations
Set up the test cases for a generalized multi-run simulation.
Tutorial resources
These downloadable resources will be used to complete this tutorial:
Step-by-step guide
In order to run a generalized multi-run simulation in InfoWorks WS Pro, the test cases must be configured first. The test cases provide results for different scenarios. This configuration is a database object that needs to be populated prior to setting up the simulation.
To set up test cases:
- Open a network and control.
- From the Model Group, right-click Model Group.
- Select Generalized Multi Run Group. A Generalized Multi Run group displays in the Model Group tree.
- Right-click the new Generalized Multi Run Group and select New > Generalized Multi Run Config.
- In the New Name popup, type “Valve Closures” for this exercise.
- Click OK.
- From the Model Group under Generalized Multi Run, right-click Valve Closures and select Open.
To specify multiple test cases in the grid of the Generalized Multi Run Configuration dialog box:
- Click the Test Cases tab.
- From the Model Group, drag Valves.
- Drop it into the Selection List.
- Expand the Object Type drop-down and choose Valve (Control). The test case grid populates with the corresponding object data.
Note: When using a selection list, the object must exist in the list. Then, test cases will be created for all objects of that type in the list.
- Select the fields to include in the test case. For this exercise, select the Opening (%) field.
- Optional: Set the value for each parameter. For this exercise, in the Value column, set the percentage to 0.0.
- Optional: In the Test case name field, enter a name to be used for all test cases. For this exercise, leave this field blank.
- Enable the option Append object ID to test case name. This uses the object ID as a test case naming convention.
- Click Add. The test cases are created and appear in the grid.
- Click Save.
IMPORTANT: If different test cases are given the same name, they will all be applied in the same run. Test cases with different names will be applied in separate runs.
Note: The wizard will not allow selection of individual objects. However, unwanted test cases can be deleted from the test case grid.
To remove test cases from the grid:
- Right-click the column of the unwanted test case.
- From the shortcut menu, select Delete Row. The test case is removed.