21
Capability-Enhanced PARAMICS Simulation with Developed API Library Lianyu Chu, Henry X. Liu, Will Recker California Partners for Advanced Transit and Highways (PATH) University of California, Irvine

Capability-Enhanced PARAMICS Simulation with Developed API Library

  • Upload
    micah

  • View
    79

  • Download
    0

Embed Size (px)

DESCRIPTION

Capability-Enhanced PARAMICS Simulation with Developed API Library . Lianyu Chu, Henry X. Liu, Will Recker California Partners for Advanced Transit and Highways (PATH) University of California, Irvine. Presentation Outline. Introduction Methodologies Capability enhancements - PowerPoint PPT Presentation

Citation preview

Page 1: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Capability-Enhanced PARAMICS Simulation with Developed API Library

Lianyu Chu, Henry X. Liu, Will Recker

California Partners for Advanced Transit and Highways (PATH) University of California, Irvine

Page 2: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Presentation Outline

Introduction Methodologies Capability enhancements Development of advanced API modules Applications Conclusions

Page 3: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Introduction

Microscopic simulation– PARAMICS– VISSIM– AIMSUN2

… Applications

– Evaluations– Testing models / algorithms

Page 4: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Motivations

Replicate the real-world traffic operations– e.g. actuated signal control, HOV, etc.

Model / Evaluate ITS– e.g. VMS, adaptive signal control, ramp

metering, bus rapid transit, etc. Test new models & algorithm

– e.g. a control strategy combining several ITS components

Page 5: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Two approaches

Modifying the source code API Programming

– API: Application Programming Interface

=> our practices of enhancing capabilities of PARAMICS via API

PARAMICS: high-performance, ITS-capable, user-programming micro-simulation package

Page 6: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Role of API

User

Developer

Output Interface

Input Interface

GUI Tools

Professional Community Oversight

Core Model API

(source: FHWA)

Page 7: Capability-Enhanced PARAMICS Simulation  with Developed API Library

How PARAMICS API works

N

Y

Use

r-de

velo

ped

basi

c A

PI m

odul

es

Start

At every time step:

Callback

Override

Overload

End of simulation ?

Stop

Adv

ance

d A

PI

mod

ules

Other applications e.g. database

Page 8: Capability-Enhanced PARAMICS Simulation  with Developed API Library

PARAMICS API Development: A Hierarchical Approach

Provided API Library Basic

controller

Basic API Modules

Advanced API Modules

Data Handling

Routing

Ramp

Signal

CORBA

Databases

Adaptive Signal Control

Adaptive Ramp Metering

Network Load Management...

Demand...

XML…

Page 9: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Current components of API-enhanced PARAMICS

Commercial Paramics Model

Dynamic Linking

Dynamic Linking

MOE

Actuated Signal

Ramp Metering

Loop data Aggregator Path-based

Routing

MyS

QL

Dat

abas

e

Advanced ATMIS Modules

Interface functions

Probe vehicle

Page 10: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Capability enhancements

1. Basic control modules2. Traffic data collection and communication3. Database connection4. Overall performance measures

Page 11: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Basic control modules

Signal (Actuated signal control)– Dual-ring, 8-phase logic– Signal controller: Interfaces with advanced signal modules

Ramp metering– Fixed-time, time-of-day basis– “n-cars-per-green”basis – HOV bypass– Ramp metering controller: Interfaces with advanced metering

algorithms Path-based routing

– Specified vehicles follow a given path

Page 12: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Data collection and broadcasting

Data collection:– Loop detector data collection and aggregation in

each polling cycle, emulating the real-world loop data collection

– Probe vehicle data: link / section travel time data collection at certain time interval

Data broadcasting to shared memory, accessible through interface functions

Page 13: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Database connection

MYSQL: highly efficient database Purposes of this module:

– Storing intermediate data during simulation and simulation results

– Exchange data with other API modules / outside programs

Page 14: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Overall performance measures

PARAMICS: powerful in MOE data collection MOE API can collect:

– System performance– Freeway performance– Arterial performance

Statistical Measures- Mean- Variance- Etc.

Page 15: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Development of advanced modules

Advanced API modules

Basic API modules

Provided API New rate

New rate Old metering rate Loop data

PARAMICS simulation

Advanced ramp-metering algorithms

Ramp metering Controller

Loop Data Aggregator

Page 16: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Development of advanced modules (contd.)

Interface from loop data aggregator:– LOOPAGG loop_agg (char *detectorName)

Interfaces from ramp metering controller(1) Get current metering rate:RAMP *ramp_get_parameters (char *rampnode)(2) Set a new metering rate:void ramp_set_parameters (RAMP *ramp, Bool status)

Page 17: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Developed advanced modules

Actuated signal coordination Adaptive ramp metering algorithms

– ALINEA, ZONE, BOTTLENECK, SWARM PARAMICS-DYNASMART Demand-responsive Transit

Page 18: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Sample Applications

Signal– Hardware-in-loop, testing 170 controller– On-line signal control based on real-time delay

estimation Ramp metering

– Evaluating adaptive ramp metering algorithms TMS master plan

– Evaluating potential ITS strategies

Page 19: Capability-Enhanced PARAMICS Simulation  with Developed API Library

User groups

Caltrans: Transportation planning & Traffic operation

California PATH headquarter at Berkeley UC Davis National University of Singapore Consultant companies:

– Dowling Associates– Cambridge Systematics

Page 20: Capability-Enhanced PARAMICS Simulation  with Developed API Library

Conclusions

Our practices on developing a capability-enhanced PARAMICS simulation environment

Accessible to the core models of micro-simulation – simulation shell

Applicability of the same mechanism to other micro-simulators