---
title: "Tutorial 3 - Surface Water Hydraulics"
canonical: "https://help.innovyze.com/space/xps/19661575/Tutorial%203%20-%20Surface%20Water%20Hydraulics"
format: markdown
---
In Hydraulics mode, the program simulates the storage and transport of water through a drainage or sanitary sewer network. In this tutorial, you will learn how to utilize the various tools to layout the nodes and links in a simple collection network. Where possible, the tools are used to extract data from GIS files. The dialogs are used to add data to other objects.

This tutorial begins with the runoff collection model developed in [Tutorial 2 - Surface Water Hydrology](https://help-innovyze.atlassian.net/wiki/spaces/xps/pages/19661457). You are advised to review [Tutorial](https://help-innovyze.atlassian.net/wiki/spaces/xps/pages/19663006)[ 1](https://help-innovyze.atlassian.net/wiki/spaces/xps/pages/19663006)[ - Introduction to the Graphical User Interface](https://help-innovyze.atlassian.net/wiki/spaces/xps/pages/19663006) for an overview of the windows, menus, tools, and basic concepts for building and navigating a stormwater collection network with the graphical interface.

| **Level** | Beginner |
| --- | --- |
| **Objectives** | Introduce the steps required to:<br>- Layout links and nodes in Hydraulics mode
- Derive ground elevations and inverts from a DTM
- Calculate pipe lengths from the model coordinate system
- Enter the required data for links and nodes in dialogs
- Enter the basic configurations settings for solving in Hydraulics
- Obtain results from the output file and use the Review Results tool |
| **Time** | 1 hour |
| **Data files** | **Yarra30.xp** (From previous hydrology tutorial Yarra23m.xp)<br>**Contours.xptin** |


1. Make the Hydraulic network active:
  1. Launch the program. Open the file *Yarra23m.xp* and from the **File** menu, and **Save As ***Yarra30.xp*.
  2. Toggle the visible box for the **DTM** layer to improve visibility. Clear the visible boxes for the **Catchments **and **CAD Files**.
  3. Set the mode to **Hydraulics **(**Hdr**) by clicking the icon > Macro (inline-media-image)

.
  4. On the drawing tool, click the **Select All Links** and **Select All Nodes** icons and the **Add object to Node (+)** icon. Now all the nodes and links will be added to the **Hdr** mode.
  5. Right-click any link and select **Reverse Direction** to swap upstream and downstream nodes for all selected links.
2. Rename objects:
  1. Select a link. Right-click and select **Properties** from the menu.
  2. Edit the **Link Name** in the dialog to the label indicated in the figure below. Repeat for all links.
  3. Add a new link **Pipe 05** using the **Link **tool. Make sure that the directions of pipes are as per the following figure. To change the direction of the link, right-click and select the option **Reverse Direction** from the menu. For a group edit, you could use the **Select All Links** tool.> Macro (inline-media-image)
3. Generate ground elevations:
  1. From the **Tools** menu, select **Generate Ground Elevations From TIN**.
  2. In the dialog, uncheck all of the nodes below elevation 1280 and then click **OK**.  
> Macro (inline-media-image)
4. Modify invert elevations:
  1. Select all links and nodes above elevation 1280.
  2. In node **Junction**, right-click and select **Select Upstream Objects** from the menu.
  3. Hold the **<Ctrl>** key down and repeat at node **5/1**.
  4. From the **Tools** menu, select **Modify Elevations**.
  5. In the dialog, select **Drop Inverts From Node Spill Crest** and enter **2.6 m**. Select **Set Node Inverts** and **Set Link Inverts** and then click **OK. **The application will report the number of objects with modified inverts.
    > Macro (inline-media-image)

> Macro (inline-media-image)
5. Calculate conduit lengths:
  1. In the **Tools** menu, select **Calculate Conduit >** **Lengths**.
  2. Click the **All** radio button and then click **Calculate**. Click **OK**.  
> Macro (inline-media-image)
6. Enter node data in dialogs:
  1. Double-click node **3/1** to launch the **Node Data** dialog.
  2. Enter **1279** for the **Spill Crest** and **1276 **for the invert.  
> Macro (inline-media-image)
  3. In the **Node Data** dialog for node **3/375**, enter **1278** for the **Spill Crest** and **1275 **for the **Invert Elevation**.
  4. Click the **Outfall** button.   
> Macro (inline-media-image)
  5. Select **Type of Outlet Control** as** Type 1, Free Outfall** and **Use minimum of Y**<sub>**c**</sub>**-Y**<sub>**n**</sub><sub>.</sub>  
> Macro (inline-media-image)
  6. Click **OK** three times.
7. Enter link data in dialogs:
  1. Double-click link **Pipe 01**.
  2. Click **Conduit Profile**.  Alternatively, select the link and press **F3** to open the **Conduit Profile** dialog.  The upstream and downstream inverts and the length should have been entered in previous steps. Enter **0.5 **m as the pipe diameter.
  3. In the **Solve for** section, select **Slope** and click the** Solve** button. Note: this step is not required but serves as a check.
  4. Edit the data for each link according to the table below.  
> Macro (inline-media-image)
8. Add user inflow to nodes:
  1. Double-click node **3/1** to open the **Node Data** dialog.
  2. Click the **User Inflow** button in the **Time Series Inflow **section.
  3. Click the **Insert** button five times to add five blank data rows.
  4. Input the hydrograph data as shown in the figure below. This data represents the inflow from areas outside of the Yarra model.
  5. Add the same user inflow hydrograph to node **5/1**.  
> Macro (inline-media-image)
9. Add configuration settings:
  1. On the **Configuration** menu, select **Job Control** **>** **Hydraulics**.
  2. Select **Solve Runoff & Hydraulics Mode Simultaneously**. This option eliminates the need for interface files. Set the **Start** and **Stop** times equal to the values used in the **Runoff** mode. Click **OK**.
  3. Save your model as **Yarra31.xp**.  
> Macro (inline-media-image)
10. On the **Configuration** menu, select **Mode Properties**. In the **Solve Mode** section, select both **RUNOFF** and **HYDRAULICS**.  
> Macro (inline-media-image)
11. Make the **Rnf** mode active and make sure that all the links are inactive in the **Rnf **layer using the **Select All Links** tool and click the minus (**-**) tool. Also make sure that the newly added nodes (apart from the previous runoff nodes 5/2, 5/3, 5/4, 6/1, and 3/2) are inactive in the **Rnf** mode.  
> Macro (inline-media-image)
12. Solve the model.  In the **Analyze** menu, select **Solve**.The application will display the calculation dialog and return to the network view.
13. Obtain graphical results. Right-click **Pipe09** and select **Review Results** from the menu.  
> Macro (inline-media-image)
14. Obtain results from Output file: In the **Results **menu, select **Browse File** and open **Yarra31.out**.

**Questions**

Review the output file (*Yarra31.out*) to answer the following questions:

1. What is the total outflow at node 3/375? (Hint: Table E19.) ­­­­­                      _________
2. What is the maximum flow in link Pipe09? (Hint: Table E15a).                   _________