1 / 20

Customized Simulation Modeling Using PARAMICS Application Programming Interface

Customized Simulation Modeling Using PARAMICS Application Programming Interface. Henry Liu, Lianyu Chu & Will Recker. Overview. Introduction Why Customize? PARAMICS API Development Plug-ins Developed Wrap-up. User. Input Interface. Professional Community Oversight.

rianna
Télécharger la présentation

Customized Simulation Modeling Using PARAMICS Application Programming Interface

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Customized Simulation Modeling Using PARAMICS Application Programming Interface Henry Liu, Lianyu Chu & Will Recker

  2. Overview • Introduction • Why Customize? • PARAMICS API Development • Plug-ins Developed • Wrap-up

  3. User Input Interface Professional Community Oversight Output Interface GUI Tools Developer Introduction Core Model API

  4. Functional Interface Data Interface Introduction (Contd.) API provides users with a functional interface Simulation Program With API Command-based With GUI

  5. Introduction(Contd.) Role of a typical API Main simulation loop API Plugins function calls: vehicle related.. link related.. and others user-defined programs functions data Other applications /APIs

  6. Introduction(Contd.) More on the API… • API: the “soft key” to the black-box • Plug-and-play environment reusable and generic plugins • Customization pushing the limits

  7. Signal Control Systems Incident Detection Electronic Road Pricing Road Maintenance Scheduling & Monitoring Intelligent Parking Bus Scheduling Assistance Travel Time Prediction Transit Priority Why Customize? TESTBED

  8. Why Customize? (Contd.) Network Building Customize Performance Measurement Basic Functionality: signals etc Additional Functionality: ITS Elements

  9. Overload Functions Built-in Functions User Functions User Functions User Functions User Functions User Functions User Functions User Functions User Functions User Functions Override Functions Built-in Functions User Functions User Functions User Functions User Functions User Functions User Functions User Functions User Functions User Functions Callback Functions PARAMICS API SimulationLoop

  10. PARAMICS API (Contd.) Access via API At every timestep (or at intervals) When an event occurs in simulation Event triggered by user

  11. PARAMICS API Development A Hierarchical Approach Signal Ramp Provided API Library ATMIS Modules Routing Demand CORBA Developed API Library Data Handling Databases XML Adaptive Signal Control Advanced Algorithms Adaptive Ramp Metering Dynamic Network Loading

  12. Developed Basic API Library • Path-based Routing (Para-Dyn) • Paramics-CORBA Communication • Actuated Signal Controller • Time-based Ramp Metering • Paramics-MySQL Communication • Loop Aggregator • Performance Measurement

  13. Modules Developed Actuated Signal Control Plugin • Inputs: Signal Timing Plan, including phase sequence, initial green, maximum green, unit extension time and system recall phase, etc. Detectors need to be specified and associated with movements to be activated. • Standard During-ring Logic • Actuated Signal Coordination • Interface with some other signal optimization packages such as Transyt7F and SYNCHRO, etc.

  14. Modules Developed Ramp Metering • Basic Time-based Module: • Input: time-of-day ramp control plan such as 6-9 AM, cycle length 5 sec. • Logic: n-cars-per-green • Advanced Modules: • Demand-capacity strategy • Percent-occupancy strategy • ALINEA • BOTTLENECK • ZONE

  15. Utility Plugins Developed Paramics-MySQL Communication • Connecting PARAMICS simulation environment with MYSQL database • Includes a set of simple C routines programmed in MYSQL API functions. • The MYSQL database can be used in the following two folds: • API users can store the simulation outputs to database; • During a simulation process, MYSQL database can be used for storing intermediate simulation results, such as aggregated loop data, which can be queried by other external API modules at any time.

  16. Utility Plugins Developed Loop Aggregator Input: time interval, smooth factor, detector name Output: MYSQL database or ASCII file volume, percent occupancy, speed, flow, headway

  17. Utility Plugins Developed Performance Measurement Plugin To customize performance measurement for run-time interfacing with other tools such as data mining and signal optimization. MOE: vehicle count, travel time, stopped time, vehicle-spent time in a specific speed range, turn counts from intersections, cycle time, individual phase time etc. Data collected at a detector, node, link, corridor, OD pair or network levels, at specified time intervals, for specific type of vehicles where applicable. Output can be in the form of a spreadsheet, text file or on-screen reporting.

  18. Wrap up 1. While GUI helps in building a basic simulation network, API helps in customization of various functional aspects of simulation modeling. 2. Plugins provide users with more freedom to interrupt and control simulation processes and hence facilitates overcoming some of the challenges faced in modeling traffic scenarios of the ITS era.

  19. Publications • Liu, X., Chu, L., and Recker, W., “Paramics API Design Document for Actuated Signal, Signal Coordination and Ramp Control”, California PATH Working Paper, UCB-ITS-PWP-2001-11, University of California at Berkeley, 2001. • Chu, L., Liu, X., Recker, W., and Zhang, H. M., “Development of A Simulation Laboratory for Evaluating Ramp Metering Algorithms”, Accepted for the presentation at TRB 2002.

  20. PARAMICS API DEMO

More Related