Beruflich Dokumente
Kultur Dokumente
1. Choose File > New or click on the Standard toolbar to display the New File dialog
box.
2. Choose Dataview from the list of file types and click OK to display the New Dataview
dialog box.
4. Click OK.
In particular, note the [TRAV TIME] field, which contains the time it takes for an
automobile to travel each section of street (in minutes), and the PARADE RTE field, which
contains a value of 1 if the section of the street will be closed during the parade, or is otherwise
empty. You will be using these fields later in your analysis.
Your Flintbury map has a hidden layer in it called Flintbury Nodes, which is a point layer
of intersections in the Flintbury Street layer. Let’s show this layer in the map.
37
2. Choose Map > Layers or click on the Standard toolbar.
5. Click Close.
TransCAD redraws the map, and the nodes are displayed. Let’s look at the data contained
in the Flintbury Nodes layer.
Note the field called Centroid. We’ll assume that all traffic flow into or out of any zone
begins or ends at a single point within the zone. These special points are called zone centroids.
The entry in the Centroid field designates whether or not each point is a zone centroid: all
zone centroid points contain an integer value in the Centroid field. Since there are only 12 zone
centroids and 1740 nodes, most of the Centroid column is empty.
Let’s create a selection set of the zone centroids to use later in the analysis. You will use
a different method than you used to create a selection set of bus riders earlier, but the type of
output — a list of elements in a single map layer or dataview — is the same.
38
4. Click OK.
TransCAD creates a selection set of zone centroids, and displays the selection set in the
dataview. TransCAD also highlights them in a different color on the map. You can create
selection sets in TransCAD many different ways.
You have a matrix file that contains the number of people traveling between any pair of zone
centroids, which represents travel in Flintbury on a typical day. Let’s open it.
4. Click Open.
TransCAD opens the matrix file and displays it in a matrix view. Take a moment to browse
through the matrix using the scroll bars and the arrow keys on your keyboard.
39
In this project, we’ll use several matrix tools. TransCAD contains a full line of powerful
tools to store, display, edit, and manipulate data in matrix form.
The final input necessary for your analysis is a network of the streets in Flintbury. A network
is a special TransCAD data structure that stores important characteristics of transportation
systems and facilities. TransCAD uses networks to solve transportation problems.
To Create a Network
1. Click on the Flintbury map window or choose Window > Flintbury Traffic.map-FLINTBURY
to make the map the active window.
2. Choose Flintbury Streets from the drop-down list on the Standard toolbar.
4. Choose Networks/Paths > Create to display the Create Network dialog box.
5. Click Choose Link Fields to display the Choose Link Fields dialog box.
6. Ctrl-click on [TRAV TIME] and PARADE RTE at the bottom of the Available Fields
scroll list, so that both [TRAV TIME] and PARADE RTE are highlighted.
7. Click Add>> to move the [TRAV TIME] and PARADE RTE fields to the Selected
Fields scroll list.
40
9. Click OK. TransCAD displays the Save Network As dialog box.
10. Choose the Tutorial folder on your hard disk, type “MY NETWORK” as the file name,
and click Save.
TransCAD creates the network file, and makes it the currently active network. The name of
the active network is shown in the status bar. You included the [TRAV TIME] and PARADE RTE
fields in the network, because you will be using the data in these fields in the following transportation
analysis.
7. Double-click on Output Matrix in the Output cell to display the Output Matrix Settings
dialog box.
8. Type “Typical TT” in the Matrix text box.
TransCAD solves the shortest path problem, and stores and displays the results. This matrix
looks a lot like the FL OD matrix that you opened earlier. The only difference is that this
matrix stores travel times, and the FL OD matrix stores traffic flows. TransCAD also displays
the Results Summary dialog box.
Click Close to close the Results Summary dialog box.
Next you must exclude the roads that will be closed from the network.
2. Choose Networks/Paths > Settings to display the Network Settings dialog box.
5. Choose By Expression from the Using drop-down list to display the Expression dialog
box.
43
7. Click OK three times to navigate through three successive dialog boxes.
TransCAD disables the parade route in the network. All subsequent analysis that you do
will use the updated network. Now you can calculate the travel times during the parade.
7. Double-click on Output Matrix in the Output cell to display the Output Matrix Settings
dialog box.
44
TransCAD finds the shortest paths, taking into account the closed streets, and stores and
displays the results. This matrix looks just like the previous two matrices, but it stores the
parade travel times.
TransCAD creates a new matrix file that contains all three matrices. You can select the
matrix that is visible by choosing a matrix from the drop-down list on the toolbar.
45
Before you continue with the analysis, let’s make a couple of cosmetic changes to the matrix.
First the labels. All of your matrices thus far have been labeled with ID values from the
Flintbury Nodes layer. You can easily label your matrices with other integer values or descriptive
strings. Let’s label this matrix with the ID of the zones.
2. Choose Flintbury Nodes from the drop-down list in the Dataview row.
4. Choose Centroid from the drop-down list in the Label With row.
5. Click OK.
TransCAD displays the matrix, labeling the rows and columns with the values found in the
Centroid field, which are, in this case, the zone IDs.
Now let’s sort the matrix rows and columns so that the zones are shown in order.
46
4. Click OK.
TransCAD sorts the matrix view, displaying the rows and columns in order by zone ID.
Now, back to the analysis. Let’s add an empty matrix to the new matrix file. You will use
this matrix to store the results of your data manipulation.
1. Choose Matrix > Contents or click on the Standard toolbar to display the Matrix
Contents dialog box.
2. Click Add Matrix. TransCAD adds the matrix, called Matrix 4, to the Matrix Name list.
3. Click on Matrix 4.
47
6. Click Close.
TransCAD adds another matrix called Results to the matrix file. Now let’s fill in the results.
2. Choose Matrix > Fill or click on the toolbar to display the Fill Matrix dialog box.
48
You can enter the formula by typing it directly into the Formula text box, or by using the
Formula Builder drop-down lists.
5. Click OK.
TransCAD computes the formula for each cell and writes the results in the Results matrix.
You have just filled in the extra person-hours of travel due to the parade for each pair of
zones. What you are really interested in is the total extra travel for the city of Flintbury, that
is, the sum of all the cells in the parade analysis Results matrix.
Congratulations! You’ve completed all three projects and have practiced the basics of
mapping, databases, layouts, charts, route systems, statistical analysis, networks, routing,
and matrices in TransCAD.
2. Choose File > Close All and click No to All at the prompt to close the windows without
saving changes.
49
Where to Go From Here
This Quick Start Tutorial has given you quite a bit of hands-on experience with TransCAD.
Where you go from here is up to you. Here are a few of your choices:
• Read the manual, one section at a time, learning all about TransCAD and its capabilities.
As you read a section, use the Tutorials for practice.
• Use the Table of Contents or the Index to find the parts of the book that tell you what
you want to learn.
• If your principal application is travel demand modeling, begin reading the Travel Demand
Modeling with TransCAD User’s Guide and trying the tutorials contained in it. If your
principal application is routing or logistics, begin reading the Routing and Logistics with
TransCAD User’s Guide and trying the tutorials contained in it.
• Forget about the rest of the book for now, and dive in and play with the software. If you
get stuck and need help, press F1 to use the TransCAD Help, or refer to the manual for
more information.
50
Chapter 3
The tutorials in this chapter will give you a chance to try out and learn some of the travel
demand modeling features of TransCAD. These “60-Second Tutorials” come from the TransCAD
documentation set and cover trip production, trip distribution, mode split, traffic assignment,
transit skims, and OD matrix estimation.
The tutorials in this chapter require you to use commands in the Planning and Transit
menus. If they do not appear on the menu bar, choose Procedures > Planning and Procedures
> Transit to display the respective menus.
2. Choose Planning > Trip Productions > Cross-Classification to display the Cross-Classification
dialog box.
5. Choose all three trip purposes that are shown in the Rate Fields scroll list.
7. Click Households in the Available Fields scroll list and click Add>>.
9. Choose [AUTO/HH] from the drop-down list in the [Avg Car/HH] column and [INC/HH]
from the drop-down list in the [Avg Inc/HH] column.
51
10. Click OK to display the Output File Settings dialog box.
11. Type “MYPROD1” as the Output Table file name in the Short File Name column and
click OK. TransCAD computes the productions for all zones and all purposes, and displays
a dataview of the cross-classification results in a joined view. The Results Summary dialog
box appears indicating the number of lines of text written to the master log and report
files. You will notice that there are six warnings. These warnings refer to the fact that
the external zones you see on the map are missing demographic data.
12. Click Close to close the dialog box, and scroll to the far right of the dataview to see the
trip productions.
13. Choose File > Close All to close the map and dataviews.
2. Choose Planning > Trip Distribution > Gravity Application to display the Gravity
Application dialog box.
3. Choose TAZ from the Table drop-down list, FRICTION FACTORS from the FF Table
dropdown list, TIME from the FF Time drop-down list, Doubly from the Constraint
drop-down list, Shortest Path from the Impedance Matrix drop-down list, and None
from the FF Matrix and K Matrix drop-down lists.
4. Change the name of the Purpose 1 purpose, home-based work trips, by typing “HBW”
in the cell in the Purpose row and press the Enter key. HBW P is automatically chosen
in the Production row and HBW A is automatically chosen in the Attraction row.
5. Make the following changes to the HBW purpose: - Click on the cell in the Method row
and choose Gamma from the drop-down list. - Type ”20” in the Iteration row. This
52
limits the procedure to a maximum of 20 iterations for this trip purpose. - Type 28507
for the value of a, 0.02 for the value of b, and 0.123 for the value of c. - Verify that
Shortest Path - FF Time is the chosen field in the Impedance Core row.
7. Change the name of the new purpose, home-based non-work trips to “HBNW” and press
Enter. HBNW P is automatically chosen in the Production row and HBNW A is
automatically chosen in the Attraction row.
8. Make the following changes to the HBNW purpose: - Click on the cell in the Method row
and choose Inverse from the drop-down list. - Type 1.4 for the value of b. - Verify that
Shortest Path [FF Time] is the chosen field in the Imp Core row.
10. Change the name of the new purpose to “NHB” and press the Enter key. NHB P is
automatically chosen in the Production row and NHB A is automatically chosen in the
Attraction row.
11. Make the following changes to the NHB purpose: - Click on the cell in the Method row and
choose Table from the drop-down list. - Click on the cell in the F Factor row and choose
NHB FF from the drop-down list. - Verify that Shortest Path [FF TimeTime] is the
chosen field in the Imp Core row.
13. Type ”my graveval” as the Output file name in the Short File Name cell and click OK.
TransCAD evaluates the three models, displays a Results dialog box with the model
convergence results.
14. Click Close. TransCAD displays the Results Summary dialog box.
53
15. Click Close. TransCAD displays a matrix view containing the results.
16. Choose File > Close All to close all of the windows.
2. Choose Planning > Mode Split > Logit Model Application to open the Logit Model
Application dialog box.
3. Click the Load button, choose the model file Nested Logit Aggregate Model.mdl, and click
Open.
4. Click the Apply tab and select additional outputs by checking the “Output Logsum Values”
and “Output Utility Values” boxes.
5. Check the “Open Outputs” box to ensure that the output files are opened after the model
has been applied.
6. Choose either trip purpose in the Segments frame or click Select All to choose both
purposes.
54
7. Click Run. Click Yes in the Confirmation dialog box to save the changes, type “My NLM”
as the file name, and click Save. The Mode Choice Model Application Outputs dialog box
is displayed with file names for each of the desired outputs.
8. Check the “Overwrite all files” box and click OK. TransCAD applies the Nested Logit
model, reports the results in a report form, and displays the Results Summary dialog box.
9. Click Close. TransCAD opens the Utility, Logsum, Probability and Applied Totals matrices.
10. Choose File > Close All to close all of the windows.
2. Choose Planning > Static Traffic Assignment > Traffic Assignment to display
the Traffic Assignment dialog box.
3. Choose N-Conjugate UE from the Method drop-down list, AM Peak Period Trips
from the Matrix File drop-down list, Total (7-9) from the Matrix drop-down list, and
type “100” in the Iterations edit box.
4. In the Field column of the grid view, verify that [Freeflow Time] is chosen for Time
and [AB AMCapacity/BA AMCapacity] is chosen for Capacity drop-down list. The
other settings are correct.
55
5. Click Options to display the Options dialog box.
6. Check the Create Themes box, type “3” in the Max V/C edit box, and click OK.
8. Type “My Assign” as the Flow Table file name in the Short File Name cell and click OK.
TransCAD assigns the flow to the links in the network, and displays the Results Summary
dialog box.
9. Click Close. TransCAD displays the results in a joined view, and displays a color theme
of the volume-to-capacity ratio and a scaled-symbol theme of flow on the map.
10. Choose Planning > Assignment Utilities > Convergence Chart to open the Convergence
Chart dialog box.
12. Choose File > Close All and click No to close the map, dataview, and matrix without
saving changes.
56
Performing Multi-Modal Assignment
1. Choose File > Open Workspace, then open the workspace Traffic Assign Multi Modal
SE MA.wrk in the Tutorial folder. TransCAD displays a map of highways in Massachusetts,
along with a flow matrix for cars, light trucks and heavy trucks, and a toll matrix describing
tolls between entry and exit nodes on the Massachusetts Turnpike. A network is also
loaded. You want to assign the multiple-mode flow matrix to the network using fixed tolls
and the toll matrix.
2. Choose Base Year Network from the drop-down list on the Standard toolbar.
3. Choose Planning > Static Traffic Assignment > Multi-Modal Multi-Class Assignment
to display the Multi-Modal Multi-Class Assignment dialog box.
4. Verify that N Conjugate UE is chosen from the Method drop-down list, Bureau of
Public Roads (BPR) is chosen from the Delay Function drop-down list, and AM Peak
Period Trips is chosen from the O-D Matrix drop-down list.
5. Click Tolls to display the Toll Settings dialog box, choose SR24 Toll Schedule from
the Toll Matrix drop-down list, and click OK to return to the Multi-Modal Multi-Class
Assignment dialog box.
6. Click on the Choose OD Classes button, highlight all available matrices, and click on the
Add >> button to select The Auto (7-9) and the Truck (7-9) matrices and click OK.
9. In the Delay Function Parameters grid, verify that [Freeflow Time] is the field chosen
for Time and [AB AMCapacity/BA AMCapacity] is the field chosen for Capacity.
The other settings are correct.
57
10. Click OK to display the Output File Settings dialog box.
11. Type “My Boston” in the File Prefix edit box and click OK. TransCAD assigns the flows
to the links in the network and displays the Results Summary dialog box.
13. Choose Planning > Assignment Utilities > Create Flow Map, to display the Create
Flow Map dbox.
15. Choose File > Close All and click No to All to close all of the windows without saving.
58
Creating Transit Skim Matrices
1. Choose File > Open Workspace and open the workspace TRANSIT SKIMS.WRK in
the Tutorial folder. The transit network TRANSIT.TNW is also opened.
3. Choose Transit > Skimming > Shortest Path to display the Transit Skims dialog
box. If it is your first time opening this dialog box, you will automatically be directed
to the Shortest Path Network Settings dialog box. In this case, click OK to display the
Transit Skims dialog box.
8. Type “My Transit Skim” as the file name in the Short File Name cell and click OK.
TransCAD solves the transit skims and displays the Results Summary dialog box
10. Choose a matrix from the drop-down list on the toolbar to see any of the five skim variables
you chose in step 5.
11. Choose File > Close All to close the map and matrix.
59
Estimating an O-D Matrix from Traffic Counts
1. Choose File > Open Workspace, then open the workspace ODME FROM TRAFFIC
COUNTS.WRK in the Tutorial folder. TransCAD displays a map of traffic zones in
UTOWN, along with a seed matrix to use as a starting point for estimation. You want to
estimate an O-D matrix using network link information, including observed traffic counts.
3. Choose Planning > OD Matrix Estimation > Single Class Matrix Estimation
to display the Single Class Matrix Estimation dialog box.
4. Choose User Equilibrium from the Method drop-down list and Bureau of Public
Roads (BPR) from the Delay Function drop-down list.
5. Choose OD FLOW MATRIX from the Matrix File drop-down list and Seed OD
Values from the Matrix drop-down list.
6. Select [[AB Count Peak Hour]/[BA Count Peak Hour]] for the Count field.
8. Under Assignment Settings, type 20 for Iterations and 0.01 for the relative gap.
9. Under O-D Matrix Estimation Settings, choose Multiple Paths, and make sure that
Iterations and Convergence are set to 10 and 0.0001 respectively.
10. Click Options to display the Options dialog box, check the Create Themes box, and click
OK to return to the O-D Matrix Estimation dialog box.
13. Click OK. TransCAD estimates the O-D matrix, displays the O-D matrix and a joined
view showing the link flows associated with the estimated O-D matrix, and displays the
Results Summary dialog box.
60
14. Click Close to close the Results Summary dialog box.
15. Choose Window > Matrix > Estimated OD Matrix (Seed OD values) to see the
estimated matrix.
16. Choose File > Close All and click No to close all of the windows.
Model Manager
While various travel demand modeling (TDM) components may be configured and run interactively
through TransCAD’s graphical user interface, they may also be assembled into a compact and
integrated model. Such a model automatically launches the entire TDM at the touch of a button.
This can also be an efficient way to manage model input files and parameters, analyze multiple
scenarios, archive output results and reports, and conduct what-if/sensitivity tests.
TransCAD’s flowchart model interface provides flexible tools to define individual steps,
associate each step with macros that perform specific actions, and connect these steps in a
logical sequence reflecting the desired TDM structure. Feedback iterations, where the model is
re-run from a previous step until convergence, can also be easily incorporated and configured.
2. Change the file type to Planning Model and open the file PlanningModel.model
61
This will open the structure of a simple 4-step planning model and its scenario manager
3. To run the model, click , type a description of the model run and click OK.
4. Click to open the data manager window. The data manager lets you view reports, logs
and input and output files associated with the model and your specific run.
5. Click Assignment to expand the assignment section and then right click on Assign FlowTable
and choose Visualize to create a map showing model flows and congestion levels.
6. To view individual files click on a section to expand it and double click on the file parameter
to open it.
62
Chapter 4
The tutorials in this chapter will give you a chance to try out and learn some of the network
and route system features of TransCAD. These ”60-Second Tutorials” come from the TransCAD
documentation set and cover finding shortest paths and toll shortest paths, solving a traveling
salesman problem, partitioning a network, creating network bands, modifying route systems,
and creating strip charts.
The tutorials in this section require you to use commands in the Networks/Paths and
Route Systems menus. If they do not appear on the menu bar, choose Procedures >
Networks/Paths and Procedures > Route Systems to display the respective menus.
1. Choose File > Open or click on the Standard toolbar, then open the map SHORTEST
PATH.MAP in the Tutorial folder.
2. Make sure that Highway shows in the drop-down list on the Standard toolbar.
3. Choose Networks/Paths > Shortest Path Toolbox or click on the Standard toolbar
to display the Shortest Path toolbox.
4. Click to display the Network Settings dialog box. Verify that NES HWY.NET is the
active network and click OK.
5. Click to display the Route Options dialog box, choose [Route 1] from the Direction
Field drop-down list, and click OK.
7. Click , then click on the map at the point labeled HERE and click again at the point
labeled THERE.
8. Click Find Route. TransCAD displays the shortest path based on travel time.
9. Click , then click on the middle of the path to add a stop and drag it to the point labeled
THROUGH POINT. TransCAD updates the shortest path to include the stop.
10. Right-click on the first stop in the Shortest Path toolbox and choose Choose as End.
11. Click Yes to confirm that you want the first stop to also be the last stop.
63
12. Click Optimize. TransCAD updates the shortest path to include the return trip.
13. Click in the Shortest Path Toolbox next to one or more stops to see the directions.
14. Click on the Standard toolbar to close the Shortest Path toolbox and click Drop when
prompted.
15. Choose File > Close and click No to close the map without saving any changes.
2. Choose Base Year Network from the drop-down list on the Standard toolbar.
3. Choose Networks/Paths > Toll Shortest Path to display the Toll Shortest Path
toolbox.
5. Click in the Toll Shortest Path dialog box to display the Toll Skim Settings dialog box.
6. Ctrl-Click Generalized Cost, Entry/Exit Toll, and AutoToll in the scroll list to
highlight them and click OK.
8. Verify that SR24 Toll Schedule is chosen in the Toll Matrix drop-down list, Auto is
chosen in the Matrix Core drop-down list, and Endpoints (Entry) is chosen in the Row
Index and Endpoints (Exit) Column Index drop-down lists. Choose AutoToll from the
Toll Field drop-down list and click OK.
9. Click to display the Network Settings dialog box and click the Toll tab.
10. Verify that the In network radio option is chosen in both radio lists and click OK.
12. Click on the map first at the point marked “Here” and then at the point marked “There.”
13. Click . TransCAD finds the shortest path that minimizes the travel time and displays
it on the map. TransCAD also displays the skim results.
14. Click the Close button in the top right corner of the Toll Shortest Path toolbox to close it
and the Shortest Path Results window.
15. Choose File > Close All and click No to close the workspace without saving changes.
64
Traveling Salesman Problem
1. Choose File > Open or click on the Standard toolbar, and then open the map
TRAVELING SALESMAN.MAP in the Tutorial folder. TransCAD displays a map
of highways and stops and opens the network NES HWY.NET.
3. Choose Networks/Paths > Shortest Path Toolbox or click to display the Shortest
Path toolbox.
4. Make sure that [Travel Time] is selected in the Minimize drop-down list.
5. Click on the Shortest path toolbar to add stops, and choose STOPS (8) from the
Features drop-down list.
7. Right click on the seventh listed stop (in the Shortest Path Toolbox). Click Choose as
Start. Scroll to the same stop, now listed as the first stop. Right click it, and click
Choose as End.
8. Click Optimize. TransCAD finds the shortest path, based on travel time, going from
HOME to each of the stops, and back to HOME. The path is displayed on the screen, and
a message window displays the total travel time.
9. Choose File > Close and click No to close the map without saving any changes.
Partitioning a Network
1. Choose File > Open or click on the Standard toolbar, then open the map NETWORK
PARTITIONING.MAP in the Tutorial folder. TransCAD displays a map of city streets
with three ambulance locations and opens the network NET PART.NET.
2. Make sure that Streets is shown in the drop-down list on the Standard toolbar.
5. Check the Create Zone Layer box, the Create Link Table box, and the Display
Theme boxes.
7. Click OK to use the default names for link table and zone layer. TransCAD partitions
the streets into three zones, one for each ambulance, displays a color theme to show the
three zones, and displays the zone layer.
8. Choose File > Close All and click No to All to close the map and dataview without
saving any changes.
65
Creating Travel Bands
1. Choose File > Open or click on the Standard toolbar, then open the map NETWORK
PARTITIONING.map in the Tutorial folder. TransCAD displays a map of city streets
and opens the network NET PART.NET.
2. Make sure that Streets is shown in the drop-down list on the Standard toolbar.
3. Choose Networks/Paths > Travel Bands or click on the Standard toolbar to display
the Travel Bands toolbox.
6. Click . TransCAD adds a network band for one mile/kilometer around the point where
you clicked.
8. Click and verify that Street Node is chosen in the Layer drop-down list and Ambulance
is chosen in the Using drop-down list.
9. Click . TransCAD adds network bands around the three selected nodes.
10. Choose File > Close and click No to close the map without saving any changes.
1. Choose File > Open or click on the Standard toolbar, then open the map shipping.map
in the Tutorial folder. TransCAD displays a map showing a warehouse and shipping routes.
2. Choose the Route System layer from the layer list on the Standard toolbar.
4. Choose 3.5 from the Width drop-down list and choose Around Centerline from the
Offsets drop-down list.
5. Click OK. TransCAD redraws the map, with a separate line for each of the 15 routes.
8. Click OK. TransCAD redraws the Map. Routes with the same Territory value are
displayed on top of one another.
9. Choose File > Close and click No to close the map without saving any changes.
66
Working with Strip Charts
1. Choose File > Open or click on the Standard toolbar, then open the map LRS.MAP
in the Tutorial folder. TransCAD displays a map of southern New England. The Route
System layer contains 3 Interstate highway routes. A linear referencing layer named
HIGHWAY LRS is attached to the Route System layer.
2. Choose Route System from the drop-down list on the Standard toolbar.
3. Choose Route Systems > Linear Referencing > Strip Chart to display the Strip
Chart toolbox.
8. Click . TransCAD opens a new window containing a strip chart showing the highway
pavement, flow, number of lanes, and speed by milepost, along I - 90.
9. Choose File > Close All and click No to All to close the map and strip chart without
saving any changes.
67