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
- Go to the Results menu, and select XP Tables. Alternatively, you can press the F2 key as a shortcut to access the XP Tables.
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.
Click the Close button when you are finished.
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.
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.
Click Append and you can see that Total Area is added to the Selected Variables dialog.
Follow the same steps to add the following:
Local Storm Multiples
ARBM Rainfall Loss
Catchment Mannings ‘n’
Local Storm Type
When finished, click OK and then click View on the XP Tables Options dialog.
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.
Double-click node A1 in the main network window to open the Node Control Data dialog.
Click Subcatchment Data, click FIRST Subcatchment, and then select the ARBM radio button.
Click the ARBM box to select rainfall losses called loss 1.
With loss 1 highlighted in the Select dialog, click Edit.
Select the Infiltration, etc. tab. Here you can enter the data for Upper Soil, Lower Soil Drainage Factor, and Groundwater Recession Factors.
Click OK to exit the dialog, and then click the cross on the right corner to close the Select dialog.
In the Subcatchment Data dialog, click Local Storm.
Select Multiple Hydsys Storms as shown in the following figure.
If you wish to see the data:
Click the Storm Name column.
Select HydSys/Prophet Storms.
Select Edit to open the Hydsys Storm dialog.
Click OK or the "X" button on the upper right corner to close the dialog.
Click OK to close all dialogs.
Viewing Weighted Rainfall Data for Individual Sub-Catchments
- In the main network window, select Global Data in the Configuration menu.
Select Nishi under HydSys/Prophet Storms, and then click Edit. Alternatively, you can double-click Nishi to open the Hydsys Storm dialog.
Click Edit to display and modify the Date, Time, and Rainfall information.
Click Graph to view the Hydsys graph for the station.
Repeat the steps for the Station Nanping.
Viewing Gauged Flow or Stage Data
- In the main network window, double-click the station Suoshi to open the Node Control Data dialog.
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.
With Suoshi highlighted, click Edit.
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.
Repeat the process for the Station Zaoshi.
- 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
- Select the nodes you wish to examine and then select Review Results from the Results menu. Alternatively, you can use the Review Results icon .
- 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.
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.