The results from XPRafts provide flow hydrographs at any point along the river over the simulation period. In this tutorial, you will use about five-month time series of data. The example can also be used in flood forecasting to predict flows in the future. XPRafts can also be directly linked to the hydraulic layer of XPSWMM to provide accurate water levels along each reach. The simulation can be dynamically replayed on screen.

Browse to the folder where you saved the Getting Started tutorial files. For example, C:\XPS\xprafts2013SP1\GettingStarted\Tutorial8 and open the file River Example.xp. 

In this tutorial, you will learn the following:

Adding Link and Node Data

  1. Go to the Results menu, and select XP Tables. Alternatively, you can press the F2 key as a shortcut to access the XP Tables.

  2. Select Link in the XP Table Options dialog and then click View. A window appears containing all information about links in the job, including Link type – Routing or Lagging, Channel routing X, Channel routing K, and Type of channel data entry direct or calculated.

  3. Click the Close button when you are finished.

  4. Open XP Tables from the Results menu. Click Add and enter New Table Name as Nodes.

    The table name is only used to identify different tables that may be saved within the project. You can name it according to your preference.

  5. Highlight Nodes and click Edit to open the Variable Selection dialog. Select Total Area under Node Data\General Data\SubCatchment on the Variable Selection dialog.

    You need to scroll down using the scroll bar located on the right side of the dialog.

  6. Click Append and you can see that Total Area is added to the Selected Variables dialog.

  7. Follow the same steps to add the following: 

    • Local Storm Multiples

    • ARBM Rainfall Loss

    • Catchment Mannings ‘n’

    • Percentage Impervious

    • Local Storm Type

    • Hydsys hydrograph

  8. When finished, click OK and then click View on the XP Tables Options dialog.

  9. After editing, click Close.

Adding Infiltration and Rainfall Data

Stations A1, A2, A3, A5, A6, and A7 in the following image represent the locations of the rainfall gauges. Suoshi and Zaoshi represent the flow gauging stations.

  1. Double-click node A1 in the main network window to open the Node Control Data dialog. 

  2. Click Subcatchment Data, click FIRST Subcatchment, and then select the ARBM radio button.

  3. Click the ARBM box to select rainfall losses called loss 1.

  4. With loss 1 highlighted in the Select dialog, click Edit.

  5. Select the Infiltration, etc. tab. Here you can enter the data for Upper Soil, Lower Soil Drainage Factor, and Groundwater Recession Factors.

  6. Click OK to exit the dialog, and then click the cross on the right corner to close the Select dialog. 

  7. In the Subcatchment Data dialog, click Local Storm

  8. Select Multiple Hydsys Storms as shown in the following figure. 

  9. If you wish to see the data:

    1. Click the Storm Name column.

    2. Select HydSys/Prophet Storms.

    3. Select Edit to open the Hydsys Storm dialog. 

    4. Click OK or the "X" button on the upper right corner to close the dialog. 

  10. Click OK to close all dialogs.

Viewing Weighted Rainfall Data for Individual Sub-Catchments

  1. In the main network window, select Global Data in the Configuration menu.

  2. Select Nishi under HydSys/Prophet Storms, and then click Edit. Alternatively, you can double-click Nishi to open the Hydsys Storm dialog.

  3. Click Edit to display and modify the Date, Time, and Rainfall information. 

  4. Click Graph to view the Hydsys graph for the station.

  5. Repeat the steps for the Station Nanping.

Viewing Gauged Flow or Stage Data

  1. In the main network window, double-click the station Suoshi to open the Node Control Data dialog.

  2. Double-click Gauged Hydrograph, select the Hydsys Hydrograph radio button, and then click the Hydsys Hydrograph box. In this example, it is labeled as suoshi.

  3. With Suoshi highlighted, click Edit.

  4. Click Edit again in the Hydsys Hydrograph dialog. You will need to wait a few seconds while the program loads the Hydsys file. When the data table is loaded, select Graph. You can now see the time series discharge data from Station Suoshi.

  5. Repeat the process for the Station Zaoshi.

Reviewing Results

  1. In the main network window, go to the Analyze menu and then select Solve to solve the network. Alternatively, you can click the Solve icon .
  2. Select the nodes you wish to examine and then select Review Results from the Results menu. Alternatively, you can use the Review Results icon 
  3. To select multiple nodes to view, as shown in the following figure, click the node first and then hold down the Ctrl key while you select subsequent nodes before selecting Review Results.

  4. To view the output file (*.out), select Browse File from the Results menu. Alternatively, you can use the Browse File icon . The following image shows the output file named River Example.out.