Вы находитесь на странице: 1из 20

TRex

Feb-12 45 TRex

Copyright © 2012 Bentley Systems, Incorporated


Feb-12 46 TRex
Copyright © 2012 Bentley Systems, Incorporated
Feb-12 47 TRex
Copyright © 2012 Bentley Systems, Incorporated
Feb-12 48 TRex
Copyright © 2012 Bentley Systems, Incorporated
Feb-12 49 TRex
Copyright © 2012 Bentley Systems, Incorporated
Feb-12 50 TRex
Copyright © 2012 Bentley Systems, Incorporated
Feb-12 51 TRex
Copyright © 2012 Bentley Systems, Incorporated
Feb-12 52 TRex
Copyright © 2012 Bentley Systems, Incorporated
Importing Elevations using
TRex
Module Overview
In this workshop you will obtain elevation data from a digital elevation model and
import it into a model. The model you will be starting with has been constructed
without elevation data. The digital elevation model (DEM) that you will bring in
using Terrain-Extractor (TREX) is provided to you as a shapefile.

Note: The course material has been developed for the WaterCAD/GEMS V8i
SELECTseries 3 platform, specifically the software version 08.11.03.17. Users
currently using versions prior to version 08.11.03.17 may experience slight
differences in course material.

Module Prerequisites
• Modeling Basics

Module Objectives
After completing this module, you will be able to:
• Import elevations for a water network using the TRex tool

Feb-12 53 Importing Elevations using TRex

Copyright © 2012 Bentley Systems, Incorporated


Getting Started

Getting Started
In this section you will open the basic WaterGEMS starter file that does not have
elevation data loaded into it. You will review the data and view your elevation
shapefile as a background layer.

 Exercise: Opening the WaterGEMS starter file


1 Start WaterCAD V8i or WaterGEMS V8i.
2 Click Open Existing Project on the Welcome dialog or select File > Open.
3 Browse to C:\Bentley Workshop\WaterDistMetric\Starter\TRex and open
the TRexStart.wtg file.

 Exercise: Viewing the elevation shapefile as a background layer


1 Select View > Background Layers.
2 Click the New button and select New File.
3 Browse to the TRex starter folder and select the dempts.shp file.
4 Confirm the Unit is set to meters.

Feb-12 54 Importing Elevations using TRex


Copyright © 2012 Bentley Systems, Incorporated
Getting Started

5 Select a Line Color of grey.

6 Click OK and you should see the model file directly overlay the shapefile.

Note: A few nodes fall outside the DEM; you will enter those elevations manually in
the next few steps.

 Exercise: Reviewing the junction data


1 Select Report > Element Tables > Junction.

Feb-12 55 Importing Elevations using TRex


Copyright © 2012 Bentley Systems, Incorporated
Getting Started

This will open the Junction FlexTable.

Note: The Elevation column has no data.


2 Close the Junction FlexTable.

Feb-12 56 Importing Elevations using TRex


Copyright © 2012 Bentley Systems, Incorporated
TRex

TRex
Now you are ready to generate model elevation data. You will now Populate
WaterGEMS elevations from the shapefile data source.

 Exercise: Importing elevations using TRex


1 Select the TRex button or select Tools > TRex.
This will open the TRex Wizard.
2 For Data Source Type, select ESRI Shapefile.
3 Select the ellipsis (…) for File.
4 Browse to C:\Bentley Workshop\WaterDistMetric\Starter\TRex select
dempts.shp and click Open.
5 Set the following:
Select Elevation Field: DEMMETE
X-Y Units: meters
Z Units: meters
6 Leave the rest of the fields with their default values.

Feb-12 57 Importing Elevations using TRex


Copyright © 2012 Bentley Systems, Incorporated
TRex

Your window should look like the one below:

Note: The Spatial Reference field is set to Unknown. This is correct because the DEM
and model already are on the same spatial reference, which you saw when you
overlaid the model and DEM (shapefile in this case).
7 Click Next.
At this point, you will see the calculation window and TRex will begin
extracting elevations.
You will receive the following message:

8 Click OK.

Feb-12 58 Importing Elevations using TRex


Copyright © 2012 Bentley Systems, Incorporated
TRex

On the next screen you can preview the elevation data and see that there
are now elevations assigned to particular nodes.

9 Select the Use Existing Alternative radio button and select Base-Physical
from the dropdown menu.
10 Click Finish to export these elevations to the chosen alternative.

 Exercise: Reviewing the imported junction elevations


1 Select View > FlexTables.

Feb-12 59 Importing Elevations using TRex


Copyright © 2012 Bentley Systems, Incorporated
TRex

2 Double click the Junction Table to open it.

Note: The elevation data has been transferred to the model.


3 Right click on the Elevation (m) column and select Filter > Custom.
4 Select Elevation in the left pane and double click it to add it to the query
below.
5 Click the equals sign and then type 0 for the value.

6 Click OK.
7 Right click the Elevation (m) column again and select Global Edit.

Feb-12 60 Importing Elevations using TRex


Copyright © 2012 Bentley Systems, Incorporated
TRex

8 Set an elevation of 2555 meters at each of these nodes and click OK.

9 Right click the Elevation (m) column again and select Filter (Active) > Reset
to display all junctions again.
10 Click Yes to reset the filter.
11 Minimize the Junction FlexTable.

 Exercise: Computing the model and reviewing the results


1 Back on the main drawing window, click Compute to run the Base
scenario.
2 Close the Calculation Summary.
3 Restore the Junction FlexTable and review the pressures.

4 Complete the Results Table and answer the questions at the end of the
workshop.

Feb-12 61 Importing Elevations using TRex


Copyright © 2012 Bentley Systems, Incorporated
Importing Elevations using
TRex - Q and A
Workshop Review
Now that you have completed this workshop, let’s measure what you have
learned.

Results Table

Node Elevation (m) Pressure (kPa)

Node-1

Node-1374

Node-1836

Questions
1 For a model this size, how long do you think it would take to read off all
the 2000+ elevations manually?
Enter your answer below:

Feb-12 62 Importing Elevations using TRex - Q and A

Copyright © 2012 Bentley Systems, Incorporated


Workshop Review

2 Look at the number of digits past the decimal place that elevation data are
reported. Is that precision justified?
Enter your answer below:

Feb-12 63 Importing Elevations using TRex - Q and A


Copyright © 2012 Bentley Systems, Incorporated
Workshop Review

Answers

Node Elevation (m) Pressure (kPa)

Node-1 2555.0 440

Node-1374 2566.2 325

Node-1836 2549.3 489

1 For a model this size, how long do you think it would take to read off all
the 2000+ elevations manually?
At 2 minutes per node, about a week.

2 Look at the number of digits past the decimal place that elevation data are
reported. Is that precision justified?
No, most of those digits are meaningless.

Feb-12 64 Importing Elevations using TRex - Q and A


Copyright © 2012 Bentley Systems, Incorporated

Вам также может понравиться