Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine
description
Transcript of Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine
![Page 1: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/1.jpg)
Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for
Open-Source DTALite Engine
NEXTA: Network EXplorer for Traffic Analysis
This tutorial is prepared by
Dr. Xuesong Zhou and Mingxin Li at Univ. of Utah
![Page 2: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/2.jpg)
2
Major Components of Software Package
NEXTA (Network EXplorer for Traffic Analysis) is a graphical user interface to facilitate preparation, post-processing and analysis of simulation-based dynamic traffic assignment datasets. NEXTA is extended from DYNASMART-P Graphical Input Editor (DSPEd) 1.0, which was initially developed by ITT Industries, Inc. for the Federal Highway Administration (FHWA) in 2004. Dr. Xuesong Zhou has been maintaining and enhancing its capabilities since then. NEXTA is distributed as Freeware, and it is now also used as the visualization program for TRANSIMS, an open-source software package for transportation analysis and simulation.
DTALite is a fast open-source dynamic traffic assignment engine, which aims to assist transportation planners to effectively utilize advanced dynamic traffic analysis tools with limited hardware and time resources. It uses a computationally simple but theoretically rigorous traffic queuing model in its lightweight mesoscopic simulation engine. DTALite is distributed as open-source software using the GNU General Public License (GPL). Its source code is available athttp://sourceforge.net/projects/dtalite/
DTALite: Open-source Assignment/Simulation Engine
NEXTA: GUI for Visualization and Data Preparation
![Page 3: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/3.jpg)
Sample Data Set: Portland Network and Demand Data
3
# of Zones = 2,013# of Nodes = 10,094# of Links = 25,804# of Vehicles = 1.1M for 4 hours
Total computation time for 10 iterations: 4 hours
Computation time per iteration: 24 min
Computer Settings:Intel Core 2 Duo CPU (2 processors)2.26 GHz 4 GB of RAM
![Page 4: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/4.jpg)
Sample Vehicle Plot
4
![Page 5: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/5.jpg)
Sample MOE Display
5
![Page 6: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/6.jpg)
Sample Link MOE Plot
6
![Page 7: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/7.jpg)
Sample Vehicle-path Analysis Plot
7
![Page 8: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/8.jpg)
8
Tutorial Outline
Software installation
Exercise 1: View simulation results
Exercise 2: Running traffic simulation and understand output files
Exercise 3: Prepare input data from Excel spreadsheet
![Page 9: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/9.jpg)
Install NEXTA for DTALite (1)
Step 1: Install NEXTA “C:\Program Files\NEXTA_for_DTALite”
Step 2: Install Visual C++ 2008 redistribution packageGo to folder C:\Program Files\NEXTA_for_DTALite \VisualC++_RedistributionPackageand click on “vcredist_x86.exe” to install.
Step 3: Install “Data Access Object” redistribution packageGo to C:\Program Files\ NEXTA_for_DTALite\VisualC++_RedistributionPackage\DISK1, click on “Setup.exe” to install.
9
![Page 10: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/10.jpg)
Install NEXTA for DTALite (2)
10
Remarks:1) You need an Administrator account to install the NEXTA
package.2) Please save your DTALite data set to a “writable” folder (e.g.
C:\DTALite\DataSets\”. Folder “Program Files” could be set to “read-only” by your Windows operating systems.
3) Please visit http://docs.google.com/View?id=drpjtjx_112d99s3mgc for the
latest NEXTA for DTALite software release and additional data set.
4) The release data of your current NEXTA package can be found at menu -> Help -> About.
![Page 11: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/11.jpg)
Details at Installation Folder
11
Graphical User Interface
Dynamic Traffic Assignment Engine
Datasets
![Page 12: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/12.jpg)
Hardware and Software Requirements
Hardware recommendations Minimum memory of 512 MB. Recommended options for large-scale network: 4GB of RAM
Remarks: An insufficient amount of RAM can cause your computer to continually read data from disk instead of physical memory, please ensure there is sufficient memory for very large networks.
Operating system requirements Windows 2000 Windows XP Windows Vista (32 bit/64 bit) Windows 7
12
![Page 13: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/13.jpg)
Exercise 1: Visualization
13
What we will learn:
Step 1: Import Data from Excel SpreadsheetStep 2: Save a projectStep 3: Run Traffic Simulation/AssignmentStep 4: Resize the NetworkStep 5: Double-Click a Link to Show Link PropertyStep 6: Display Capacity and Demand AttributesStep 7: Select Display Mode to View Simulation Results (Density, Speed, Queue and Volume)Step 8: Select Vehicle Display ModeStep 9: Show Simulation Results at a Given Time PeriodStep 10: Play AnimationStep 11: Double-Click a Link to Show MOE ProfileStep 12: Configure MOE Display DialogStep 13: Multi-link ComparisonStep 14: Network-level MOE
Step 15: Vehicle-path AnalysisStep 16: Find Paths in NEXTAStep 17: View Summary.logStep 19: Change Link CapacityStep 20: Save the changesStep 21: Re-run SimulationStep 22: Save to Another FolderStep 23: Re-load previous datasetStep 24: Compare Capacity Change VisuallyStep 25: Compare Network MOEsStep 26: Run Simulation: Check Network-level MOEStep 27: Check Link-level MOEStep 28: Locate Other MOE filesStep 29: Read On-line Document
![Page 14: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/14.jpg)
Step 1: Import Data from Excel Spreadsheet
14
• Filename: SampleNetwork.xls• Dataset folder: C:\Program Files\
NEXTA_for_DTALite\DataSets• The data structure of the spreadsheet will be
explained in Exercise 3.
![Page 15: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/15.jpg)
Step 2: Save a project
15
Suggested folderC:\DTALite\DataSets\Sample2
![Page 16: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/16.jpg)
Step 3: Run Traffic Simulation/Assignment
16
Run Traffic Simulation/Assignment
![Page 17: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/17.jpg)
Step 4: Tool bar -> Zoom In /Out, Resize the Network
17
View Tools
DistanceMove Network PanZoom In Zoom Out Show Entire Network Show/Hide Grid Show/Hide NodeShow/Hide Zone
![Page 18: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/18.jpg)
Step 5: Double-Click a Link to Show Link Property
18
![Page 19: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/19.jpg)
Step 6: Display Capacity and Demand Attributes
19
Display link capacity Display OD volume
![Page 20: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/20.jpg)
Step 7: Select Display Mode to View Simulation Results (Density, Speed, Queue and Volume)
20
![Page 21: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/21.jpg)
Step 8: Select Vehicle Display Mode
21
![Page 22: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/22.jpg)
Step 9: Show Simulation Results at a Given Time Period
22
First number is current time stamp
Second number is simulation horizon
Clock Bar Slider
![Page 23: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/23.jpg)
23
Step 10: Play Animation
Rewind, play, pause, stop
Remarks: Simulation clock is advanced in 1-min interval
![Page 24: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/24.jpg)
24
Step 11: Double-Click a Link to Show MOE Profile
Time axis (unit: min)Green line indicates the current simulation time
Upstream node -> Downstream node (# link ID)
![Page 25: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/25.jpg)
25
Step 12: Configure MOE Display Dialog
• Select MOE: Density, Speed, Queue Length, Volume• Start Time, End Time, Max Y
• Change Background color• Export data to Excel
![Page 26: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/26.jpg)
26
Step 13: Multi-link Comparison
Select multiple links (by using Ctrl+ mouse click) to display MOE time profiles simultaneously for multiple selected links, in the same or different projects.
![Page 27: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/27.jpg)
Step 14: Display Network-level MOE
27
![Page 28: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/28.jpg)
Step 15: Vehicle-path Analysis
28
OD to paths
Paths to vehicles
Vehicles –to list of links
Select a path from path list to highlight the path on the background network
![Page 29: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/29.jpg)
Step 16: Find Paths in NEXTA
29
Define Origin Define Destination Find Paths
![Page 30: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/30.jpg)
Step 17: View Summary.log
30
![Page 31: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/31.jpg)
Step 18: Change Link Capacity
31
Change capacity from 900 into 800
![Page 32: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/32.jpg)
Step 19: Change Demand
32
Increase overall demand level Change demand of individual OD pairs
Change Overall Multiplication Factor from 1.0 into 1.5
Change OD demand (14) from 5000 into 6000
![Page 33: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/33.jpg)
Step 20: Save the changes
33
![Page 34: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/34.jpg)
Step 21: Save to Another Folder
34
C:\DataSets\Sample\After_Increase_Demand\After_Increase_Demand.dlp
![Page 35: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/35.jpg)
Step 22: Re-run Simulation
35
![Page 36: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/36.jpg)
Step 23:Re-load Previous Dataset
36
previous dataset Window Tile Vertically
![Page 37: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/37.jpg)
Step 24: Compare Capacity Change Visually
37
![Page 38: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/38.jpg)
Step 25: Compare Network MOEs
38
![Page 39: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/39.jpg)
Step 26: Run Simulation: Network-level MOE
39
![Page 40: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/40.jpg)
Step 27: Run Simulation: Link-level MOE
40
![Page 41: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/41.jpg)
Step 28: Locate Other MOE files
41
![Page 42: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/42.jpg)
Step 29: Read On-line Document
42
![Page 43: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/43.jpg)
Advanced Topic 1: Scenario Configuration Locate major output files
43
![Page 44: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/44.jpg)
Step 1: Configuring DTASettings.ini
44
Global multiplication factor will multiply each OD pair by that factor.
![Page 45: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/45.jpg)
Running Simulation: Illustration of Demand Loading/Simulation Horizon, Departure Time Interval
45
![Page 46: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/46.jpg)
Step 2: View AssignmentMOE.csv
46
1. Iteration2. Time stamp in minute3. Cumulative in-flow count4. Cumulative out-flow count5. Number of vehicles in the network6. Flow in a minute7. Average trip-time in minute
![Page 47: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/47.jpg)
Step 3: LinkMOE.csv
47
1. Iteration2. From-node ID3. To-node ID4. Timestamp in minute5. Travel time in minute6. Delay in minute7. Link volume in vehicle8. Link volume in vehicle/hour/lane (vehphpl)9. Density in vehicle/mile/lane10.Speed in mph11. Exit queue length12.Cumulative arrival count13.Cumulative departure count
![Page 48: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/48.jpg)
Step 4: Vehicle.csv
48
1. Iteration2. Vehicle ID3. Origin zone ID4. Destination zone ID5. Departure time6. Arrival time7. Complete flag8. Trip time9. Vehicle type
10.Occupancy11.Information type12.Value of time13.Minimum path cost14.Distance in mile15.Number of nodes16.Node id17.Node arrival time
![Page 49: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/49.jpg)
Advanced Topic: Import and Change Time-dependent Demand
49
Time-of-Day
Tota
l Am
ount
of T
rips
Sample time-of-day demand profile
![Page 50: Step-by-Step Tutorial NEXTA: Simulation Data Visualizer for Open-Source DTALite Engine](https://reader034.fdocuments.us/reader034/viewer/2022042500/5681692a550346895de069a7/html5/thumbnails/50.jpg)
Running Simulation: Change OD Demand Distribution
50