U.S. Department of Transportation
Federal Highway Administration
1200 New Jersey Avenue, SE
Washington, DC 20590
202-366-4000
Federal Highway Administration Research and Technology
Coordinating, Developing, and Delivering Highway Transportation Innovations
TECHBRIEF |
This techbrief is an archived publication and may contain dated technical, contact, and link information |
Publication Number: FHWA-HRT-17-027 Date: January 2017 |
Publication Number: FHWA-HRT-17-027 Date: January 2017 |
PDF Version (574 KBB)
PDF files can be viewed with the Acrobat® Reader®
Publication No. FHWA-HRT-17-027 | HRDO-20/1-17(200)E FHWA Contact: Joe Bared; 202–493–3314 | joe.bared@dot.gov |
This document is a technical summary of the Enhanced Surrogate Safety Assessment Model (SSAM) software; originally developed by the Federal Highway Administration (FHWA), FHWA-HRT-08-051.
This TechBrief describes the development of an open source surrogate safety assessment model (SSAM) software with improved safety measures, 3D conflict graphics, and advanced computing enhancements.
The ETFOMM (Enhanced Transportation Flow Open Source Microscopic Model) Cloud Service (ECS) is a software product sponsored by the U.S. Department of Transportation in conjunction with the “Microscopic Traffic Simulation Models and Software—An Open Source Approach” project. ETFOMM’s primary components are the core microscopic traffic Simulation Engine (ESE), a graphical user input editor (ETEditor), a 3D traffic visualization tool (ETAnimator), and a database in cloud service environment. Moreover, the SSAM is being converted into open source software, enhanced, and integrated as part of ESE.
SSAM is a popular safety tool box that utilizes the microscopic traffic simulation vehicle trajectories to generate safety performance measures such as:
These safety performance measures are shown on a vehicle trajectory plot, graphing time vs. distance in figure 1.
Figure 1. Graph. SSAM Safety Measure.
Vehicle trajectories from ETFOMM are collected and converted into SSAM input files; the trajectories are then analyzed by the SSAM program.
The SSAM algorithm source code was reprogramed from Java to C++ and restructured to separate declaration and definition of classes. Referenced Java libraries are replaced with C++ libraries, and memory management modules were added. The C++ version of SSAM has reduced analysis time up to 50 percent.
The C++ source code was designed to facilitate parallel computing by using OpenMP directives. The new parallel computing capabilities decreases the computation time up to 90 percent. Table 1 shows the analysis time improvement.
Vehicle Trajectory Records Used in Comparison | Improvement (percent) * |
---|---|
119,458 | 90.63 |
656,710 | 88.91 |
694,527 | 88.45 |
67,472,183 | 87.69 |
*Percent improvement represents the improvement of computation time from the original SSAM 2.16 in Java to the new parallel implementation in C++. |
The conflict map from the original SSAM was converted from 2D Java graphics into a 3D display, programmed using OpenSceneGraph library based on OpenGL. Conflict points are illustrated on detailed intersections generated from the ETFOMM Intersection Model. An optional image can be imported as the background map, as shown in figure 2.
Figure 2. SSAM 3D Conflict Map.(1)
Researchers—This software was developed by New Global Systems for Intelligent Management Corporation, Contract No. SBIR DTRT5715C10005. The president is: Dr. Li Zhang (662–341–5725, ngsim@ngsim.com). The FHWA Contracting Office Representative is Joe Bared (202–493–3314, joe.bared@dot.gov); contact him with any questions.
Distribution—This TechBrief is being distributed according to a standard distribution. Direct distribution is being made to FHWA Division Offices and Resource Centers.
Availability—The publication associated with this TechBrief is “Surrogate Safety Assessment Model (SSAM) and Validation: Final Report”, Report No. FHWA-HRT-08-051. It is available in print for specific distribution, and online at www.fhwa.dot.gov/publications/research/safety/08051/08051.pdf.
Keywords— Surrogate Safety Assessment Model, vehicle conflict analysis, and traffic simulation.
Notice—This document is disseminated under the sponsorship of the U.S. Department of Transportation in the interest of information exchange. The U.S. Government assumes no liability for the use of the information contained in this document. The U.S. Government does not endorse products or manufacturers. Trademarks or manufacturers’ names appear in this report only because they are considered essential to the objective of the document.
Quality Assurance Statement— The Federal Highway Administration (FHWA) provides high-quality information to serve Government, industry, and the public in a manner that promotes public understanding. Standards and policies are used to ensure and maximize the quality, objectivity, utility, and integrity of its information. FHWA periodically reviews quality issues and adjusts its programs and processes to ensure continuous quality improvement.