SlideShare a Scribd company logo
1 of 73
WWW.PTVap.COM BSTM-MM in VISUM Vikas Sharma, PTV Asia Pacific
BSTM is for Brisbane SD South East Queensland Brisbane SD Brisbane City Brisbane SD == BSTM “The Study Area”
BSTM Dimensions 1678 zones ,[object Object]
16 External Zones
169 Special Zones9788 nodes 24500 links 2304 PT lines ,[object Object],[object Object]
Trip Purposes Home based work (Blue Collar) Home based work (White Collar) Home based education (school) Home based education (uni/ tafe) Home based shopping Home based other Work based work Other non-home based
Private Vehicle Loading Links divided into various types based on Max Capacity of a lane (600 cars to 2100 cars) Free Flow Speed (20kmph to 100kmph) J Factor Congested time on links is found by Akcelik function t = to + 0.25 Tf[(V/C-1) + {(V/C-1)2 + 8 J (V/C) / (C Tf)}0.5]
Public Transport User Loading Frequency of a service to guess wait time Commuters using trains and ferries ‘doubly’ familiar than those using buses Wait time 2 times more onerous than travelling in the vehicle Commuters use walk (or bike) to reach a station/bus stop but walking is 1.4 times more onerous than travelling in the vehicle It takes 6 sec to board a train/ ferry but 9 sec to board a bus
Model Structure Basic Structure Sub-models: Commercial Vehicle Model External Movement Model Household Segmentation Model Based on workers & students Accessibility Model PT/ Walk to Work Vehicle Availability Model Park & Ride/ Kiss & Ride Time Period Split Trip Generation Trip Distribution Mode Split Assignment
Original Implementation in EMME Uses EMME’s network and matrix calculator through a series of macros A wrapper macro calls various other macros for different modules/ sub-models Multiple level of nesting: harnesses historical work done by recycling classical macros Uses multi-class equilibrium assignment for highway and multi-modal assignment for transit  with user defined ‘volume delay’ and  ‘transit time’ functions
Adaptation in VISUM A combination of  VISUM’s off-the-shelf procedures and  Custom scripts in Python Two levels of wrapping Various operations and scripts are bundled as ‘Procedure Parameter’ files Various ‘parameter files’ are loaded and ‘executed’ through a wrapper script Also used for convergence tests and A solution for RAM Fragmentation problems leading to ‘Memory Errors’
Folder Setup Model can be run at any location in the computer but A pfd needs to be designed and saved (as std.pfd) and copied at <../PTV_Vision/VISUM10/Exe> folder Folder carrying the model has two sub-folders matrices: (to keep most of the output matrices) tpfmatrices: (to keep time period factor matrices)
Files Parameter files (7) 00.par 01.par 02_MCP_AM_TD.par 03_MS.par 04_PNRLogit_KNRLogit.par 05_TP.par 06_Ass.par Filter files T2.fil T3.fil Normal bus roads.fil Normal buses_t2_t3.fil Version file (1) bstm.ver Time period factor matrix files (48) Six character name First two character for time period (am) Third character to mark if it is for Production or Attraction (a/p) Last two characters for the mode Cd (car driver) Cp (car passenger) Om (other modes)
Outputs Loads and paths in VISUM version file Matrices by purpose and mode A text log providing start and end time of every module Matrix sums Status of convergence criteria for every loop Continuously updated...can be opened and checked while model run is on
Scripts (60) TG* Trip Generation TD* Trip Distribution MCP* Mode Choice MS* Mode Split ASS* Assignment related CV* Commercial Vehicle EM* External Traffic Modelling VA* Vehicle Availability HS* Household Segmentation PNR*/ KNR* Park/ Kiss & Ride CA* Accessibility Calculations
Script Hierarchy if ATL change < 0.5%
Procedures 00 Initialisation/ TG Edit Attribute (link costs) Assignment Calculate Skim Matrix 01 Submodals CV Main zone modification Levelling/ Smoothening heavy truck productions/ attractions PnR Matrix Convolution (to find the best station) External Model Edit Attribute?
Procedures 03 Mode Split Set run and dwell times (turned off: only run in case of network changes) 06 Assignment Assignment Calculate Skim Matrix Read filters Edit Attributes (link PT run times) Set run and dwell times (only for segments which are NOT ferry, rail or busways)
Procedures/ Scripts to be run only when model is being modified 00 00a Initialisation Procedure 2-4: “Edit Attribute” to recalculate link costs 00c PT Fare matrix and Airtrain adjustments Procedure 11: PT Assignment with Fare matrix calculation Procedure 12: A script to adjust for Airtrain fares 03 Mode Split Procedure 2: Set PT runtime from EMME3 data Procedure 3: Set PT dwell times from EMME3 data
Pending Issues Station Choice sub-model (part of Park & Ride sub-model) is limited to two iterations Instead of original five A simplified script is available which bypasses station choice and dumps all trips marked for a station to it Calculation of fare matrix for PT is time consuming and is recycled at the moment Not a major issue as zonal fares do not change with change in the network Runtime for each iteration is 6 hours Time reduces to 3 hours if station choice model for PnR/ KnR is bypassed
Mode Share comparison
Trip Distribution - Workers
Trip Distribution - Shoppers
Assignment
How to use? Code new network Zones, connectors, links, lines, stops Recalculate fare matrix Recalculate link costs Split base matrices Time period factor matrices  Truck seed matrix Relatively simple operation Mostly, values will be repeated Can be automated EI.IE proportion matrix
Acquire data for new zones Households Population Children Total School Age Children Post Secondary Students Residents employed Total In blue collar industries In white collar industries Dependents per household aged 0-17 18-65 >65  Special Generators School Enrolments Primary/ Pre-primary Secondary Tertiary Employment Retail Service Professional Industrial Other Vehicles per household
Comparing EMME VISUM Car volumes
Comparing EMME VISUM Car volumes
Comparing EMME VISUM Car volumes
Python Object oriented programming/ scripting language Open source language Easily extensibel Interpreted language/ JITC Cross Platform Strong user base Often used to teach programming to non-programmers Easy to write and maintain code
Why use Python? Easy to learn Quick – written in C/C++ Abundance of libraries Matrices Graphics Simulation etc Popular ESRI Google Nokia NASA, etc Excellent for scientific applications Networks Data analysis Land use modelling, etc Guido van Rossum
Learning Python Easy to learn Clean syntax PTV Vision Tutorial Using Python with VISUM All files (with examples) included with VISUM PythonWin interactive shell Lots of web resources – www.python.org
Basic interaction with VISUM Visum object exposed when running script Access to just about everything in VISUM VisumPy import numpy as np import win32com.client import VisumPy.helpers as h import VisumPy.matrices as m z = np.array(h.GetMulti(Visum.Net.Zones,"No")) onhtrp=m.readBIMatrix(Visum.GetPath(69)+"onhtrp.mtx") np1=m.readBIMatrix(Visum.GetPath(69)+"wnp1.mtx") np2=m.readBIMatrix(Visum.GetPath(69)+"wnp2.mtx") np3=m.readBIMatrix(Visum.GetPath(69)+"wnp3.mtx")
Matrix manipulation Numpy – Python matrix library Basic operations Matrix indexing VisumPy.matrices Aggregate Trip Length Frequency Matrix Balancing More... #Car Driver hwyamt = np.array(h.GetSkimMatrix(Visum,"hwyamt","CAD")) hamcst = np.array(h.GetSkimMatrix(Visum,"hamcst","CAD")) pkcost = np.array(h.GetMulti(Visum.Net.Zones,"pkcost")) zoneah = np.reshape(h.GetMulti(Visum.Net.Zones,"zoneah"),(N,1)) zonevh = np.reshape(h.GetMulti(Visum.Net.Zones,"zonevh"),(N,1)) wbu1 = bmmtt * hwyamt+br />bcost * ( hamcst +0.5*(pkcost))+br />badvh * ( zoneah - zonevh )+br />bshftv
NumPy: Numerical Python An array/ matrix package for Python Well suited for demand modelling – one function can operate on the entire array Slicing by dimensions and applying functions to these slices – concise and straightforward Nearly 400 methods defined for use with NumPy arrays (e.g. Type conversions, mathematical, logical etc) Resources NumPy homepage: http://numpy.scipy.org/ NumPy download: http://www.scipy.org/Download NumPy tutorial (not complete): http://www.scipy.org/Tentative_NumPy_Tutorial NumPy Example List: http://www.scipy.org/Numpy_Example_List_With_Doc
Data Visualisation Wealth of Python extensions Excel charting Matplotlib library
Custom User Interfaces wxPython – GUI library Comprehensive C++ GUI toolkit
Looking ahead... Just about anything is possible with Python! Script sharing VisumPy will grow Exciting future ahead
Network Calculator
Matrix Calculator
Matrix Convolution
Matrix Balancing
PT Line Buffers / Google Transit Import
PyCrust in VISUM
VISUM Junction Editor? VISUM started as a strategic travel demand modelling software Classical node-link topology (or a graph of vertices and edges) A junction essentially remains abstracted as a node (a point) More demanding assignment algorithms required more precise junction delay assessments Dynamic User Equilibrium / Stochastic Dynamic etc Blocking Back Analysis Export to VISSIM for micro-simulation Need felt to let users manage junction attributes graphically Lets users view and manipulate a junction’s attributes Also lets manipulation of other network objects directly related to the junction Links, Turns, Legs, Lanes, Laneturns, Signal Controllers, Signal Groups, Signal Timings  44
The editor opens alongside the main network mapper... 45
And provides control over directly related network objects... 46
Graphical and tabular views are in sync 47
Attributes in tabular views can be edited...Set of attributes displayed can be fully customised... 48
Geometry view provides manipulation of junction specific network objects... 49
Signal controller and signal heads can be manipulated......added, deleted and assigned to lane-turns 50
An extended signal time editor (VISSIG) can be used for including multiple signal programs 51
A daily signal program ‘list’ can be generated 52
...and activated programmatically/ procedurally 53
‘One time’ global settings are specified separately... 54
Intersection Geometry Intersection performance (using HCM 2000/2010) Node impedance during assignment Micro-sim model generation
Intersection Performance Report
Intersection Performance Report
Intersection Performance Report
Intersection Performance Report
Node Impedance Turn VDF Turn VDF + Node VDF HCM 2010
Assignment algorithm with more details Blocking – back calculations (pseudo dynamic assignment) Static assignment with HCM 2010 Dynamic assignments Dynamic stochastic Dynamic user equilibrium Bi-criterion equilibrium assignments for toll investigations
Signal investigations Visualise signal settings through time-space diagrams Signal cycle and split optimisation Signal coordination
Public Transportation Improvements Incorporate the full time table (all systems) Visualise the timetable in its entirety Improve headway based assignment Headway calculation based on time table data Less volatility due to departure time variation in case of infrequent services
Visualise the time table
Perform time-table based assignment Take into account time-table coordination Precise PT performance indicator calculation Search connections for each OD pair Two alternative algorithms available for connection search Branch and bound Shortest path
Further improve headway based assignment Incorporate a choice model for boarding decision No information and exponentially distributed headways No information and constant headways Information on the elapsed wait times Information on the next departure times of the lines from the stop Complete information This can potentially incorporate behavioural effect of the ‘passenger information system’
Consolidate your stops Group stops as per the ground situation / real life modelling Manage walk connectors and walk times between group stopped easily Make do with less precise information System to system instead of stop to stop
Example: Queen St/ King George Sq All stops close-by / sharing platform grouped Connectors created Zero transfer time assumed All grouped stops can be further grouped if in vicinity Connector created Individual walk-times/ transfer times can be supplied....OR Generalised transfer times can be supplied
Incorporate more PT details Line coordination A headway of 20min means a wait of about 10min Effect of introducing a second line will depend on the exact departure time vis-a-vis the first line Line coupling/ split Managing coupled line route is made easier Changing one changes all other
Kinds of line coupling
Harness ticket data SEQ’s zone based fares and smart card deployment present a big opportunity A stop X stop (~ zone X zone) matrix can be generated  Selected data can be used to improve matrices Enhanced PT specific matrix estimator Can use stop boarding, stop alighting or line load data
Other possible PT improvements... Not directly beneficial to ITP/TMR but... Can increase models usability for sister organisations... Operational Indicator calculations Line costing (line by line) Revenue analysis (line by line) Profitability analysis (line by line) Time table optimisation Depot location/ dead kilometerage minimisation/ maximising fleet utilisation Vehicle Scheduling

More Related Content

What's hot

Sustainable transport planning
Sustainable transport planning Sustainable transport planning
Sustainable transport planning MOHIT PANCHAL
 
Transportation planning
Transportation planningTransportation planning
Transportation planningTousif Jaman
 
Capacity & level of service (transportation engineering)
Capacity & level of service (transportation engineering)Capacity & level of service (transportation engineering)
Capacity & level of service (transportation engineering)Civil Zone
 
inland waterways in india
inland waterways in indiainland waterways in india
inland waterways in indiaDaniel Josing
 
Intelligent Transport System
Intelligent Transport SystemIntelligent Transport System
Intelligent Transport SystemRajendra Naik
 
02-A Components of Traffic System [Road Users and Vehicles] (Traffic Engineer...
02-A Components of Traffic System [Road Users and Vehicles] (Traffic Engineer...02-A Components of Traffic System [Road Users and Vehicles] (Traffic Engineer...
02-A Components of Traffic System [Road Users and Vehicles] (Traffic Engineer...Hossam Shafiq I
 
Chapter 8 travel demand
Chapter 8 travel demandChapter 8 travel demand
Chapter 8 travel demandDharmes Patel
 
AICP Prep Course - Transportation Planning
AICP Prep Course - Transportation PlanningAICP Prep Course - Transportation Planning
AICP Prep Course - Transportation Planningguestd509af
 
Lec 07 Intersection Design (Transportation Engineering Dr.Lina Shbeeb)
Lec 07 Intersection Design (Transportation Engineering Dr.Lina Shbeeb)Lec 07 Intersection Design (Transportation Engineering Dr.Lina Shbeeb)
Lec 07 Intersection Design (Transportation Engineering Dr.Lina Shbeeb)Hossam Shafiq I
 
Intelligent transport system himanshi
Intelligent transport system   himanshiIntelligent transport system   himanshi
Intelligent transport system himanshiPreeti Rashmi
 
8 capacity-analysis ( Transportation and Traffic Engineering Dr. Sheriff El-B...
8 capacity-analysis ( Transportation and Traffic Engineering Dr. Sheriff El-B...8 capacity-analysis ( Transportation and Traffic Engineering Dr. Sheriff El-B...
8 capacity-analysis ( Transportation and Traffic Engineering Dr. Sheriff El-B...Hossam Shafiq I
 
TRAFFIC VOLUME STUDIES
TRAFFIC VOLUME STUDIESTRAFFIC VOLUME STUDIES
TRAFFIC VOLUME STUDIEStp jayamohan
 
5-Modal Split & Traffic Assignment-( Transportation and Traffic Engineering D...
5-Modal Split & Traffic Assignment-( Transportation and Traffic Engineering D...5-Modal Split & Traffic Assignment-( Transportation and Traffic Engineering D...
5-Modal Split & Traffic Assignment-( Transportation and Traffic Engineering D...Hossam Shafiq I
 
Transportation planning
Transportation planningTransportation planning
Transportation planningNikolaopi2
 
Traffic Volume Studies
Traffic Volume StudiesTraffic Volume Studies
Traffic Volume StudiesMd Tanvir Alam
 

What's hot (20)

Sustainable transport planning
Sustainable transport planning Sustainable transport planning
Sustainable transport planning
 
Traffic studies
Traffic studiesTraffic studies
Traffic studies
 
Transportation planning
Transportation planningTransportation planning
Transportation planning
 
Capacity & level of service (transportation engineering)
Capacity & level of service (transportation engineering)Capacity & level of service (transportation engineering)
Capacity & level of service (transportation engineering)
 
inland waterways in india
inland waterways in indiainland waterways in india
inland waterways in india
 
Intelligent Transport System
Intelligent Transport SystemIntelligent Transport System
Intelligent Transport System
 
The Future of Road Transport
The Future of Road TransportThe Future of Road Transport
The Future of Road Transport
 
02-A Components of Traffic System [Road Users and Vehicles] (Traffic Engineer...
02-A Components of Traffic System [Road Users and Vehicles] (Traffic Engineer...02-A Components of Traffic System [Road Users and Vehicles] (Traffic Engineer...
02-A Components of Traffic System [Road Users and Vehicles] (Traffic Engineer...
 
Chapter 8 travel demand
Chapter 8 travel demandChapter 8 travel demand
Chapter 8 travel demand
 
AICP Prep Course - Transportation Planning
AICP Prep Course - Transportation PlanningAICP Prep Course - Transportation Planning
AICP Prep Course - Transportation Planning
 
Lec 07 Intersection Design (Transportation Engineering Dr.Lina Shbeeb)
Lec 07 Intersection Design (Transportation Engineering Dr.Lina Shbeeb)Lec 07 Intersection Design (Transportation Engineering Dr.Lina Shbeeb)
Lec 07 Intersection Design (Transportation Engineering Dr.Lina Shbeeb)
 
Intelligent Transportation System
Intelligent Transportation SystemIntelligent Transportation System
Intelligent Transportation System
 
Intelligent transport system himanshi
Intelligent transport system   himanshiIntelligent transport system   himanshi
Intelligent transport system himanshi
 
O & d survey
O & d survey O & d survey
O & d survey
 
8 capacity-analysis ( Transportation and Traffic Engineering Dr. Sheriff El-B...
8 capacity-analysis ( Transportation and Traffic Engineering Dr. Sheriff El-B...8 capacity-analysis ( Transportation and Traffic Engineering Dr. Sheriff El-B...
8 capacity-analysis ( Transportation and Traffic Engineering Dr. Sheriff El-B...
 
Urban Mobility
Urban MobilityUrban Mobility
Urban Mobility
 
TRAFFIC VOLUME STUDIES
TRAFFIC VOLUME STUDIESTRAFFIC VOLUME STUDIES
TRAFFIC VOLUME STUDIES
 
5-Modal Split & Traffic Assignment-( Transportation and Traffic Engineering D...
5-Modal Split & Traffic Assignment-( Transportation and Traffic Engineering D...5-Modal Split & Traffic Assignment-( Transportation and Traffic Engineering D...
5-Modal Split & Traffic Assignment-( Transportation and Traffic Engineering D...
 
Transportation planning
Transportation planningTransportation planning
Transportation planning
 
Traffic Volume Studies
Traffic Volume StudiesTraffic Volume Studies
Traffic Volume Studies
 

Viewers also liked

En us ptv-vistro_brochure
En us ptv-vistro_brochureEn us ptv-vistro_brochure
En us ptv-vistro_brochuretedy2629
 
01_102808_I-390_Calibration_Report
01_102808_I-390_Calibration_Report01_102808_I-390_Calibration_Report
01_102808_I-390_Calibration_ReportKenneth J Meding
 
PTV Emissions &amp; Enviver
PTV Emissions &amp; EnviverPTV Emissions &amp; Enviver
PTV Emissions &amp; EnviverJulian Laufer
 
Continuous Flow Intersection
Continuous Flow IntersectionContinuous Flow Intersection
Continuous Flow Intersectionpankaj kumar
 
PTV Vissig Optimisation Share
PTV Vissig Optimisation SharePTV Vissig Optimisation Share
PTV Vissig Optimisation ShareJulian Laufer
 
Transport Modelling Workshop Software Innovation
Transport Modelling Workshop Software InnovationTransport Modelling Workshop Software Innovation
Transport Modelling Workshop Software InnovationJumpingJaq
 
Introduction to PTV Vistro
Introduction to PTV VistroIntroduction to PTV Vistro
Introduction to PTV VistroJongsun Won, PE
 
Presentation on Traffic Volume Survey
Presentation on Traffic Volume SurveyPresentation on Traffic Volume Survey
Presentation on Traffic Volume SurveyFiroz Ovi
 
VISSIM Manual ( Huong Dan Su Dung VISSIM)
VISSIM Manual ( Huong Dan Su Dung VISSIM)VISSIM Manual ( Huong Dan Su Dung VISSIM)
VISSIM Manual ( Huong Dan Su Dung VISSIM)NGUYEN Vinh Man
 

Viewers also liked (13)

Session 38 Martin Holmstedt
Session 38 Martin HolmstedtSession 38 Martin Holmstedt
Session 38 Martin Holmstedt
 
En us ptv-vistro_brochure
En us ptv-vistro_brochureEn us ptv-vistro_brochure
En us ptv-vistro_brochure
 
01_102808_I-390_Calibration_Report
01_102808_I-390_Calibration_Report01_102808_I-390_Calibration_Report
01_102808_I-390_Calibration_Report
 
What\'s new in Visum 11.5
What\'s new in Visum 11.5What\'s new in Visum 11.5
What\'s new in Visum 11.5
 
PTV Emissions &amp; Enviver
PTV Emissions &amp; EnviverPTV Emissions &amp; Enviver
PTV Emissions &amp; Enviver
 
Continuous Flow Intersection
Continuous Flow IntersectionContinuous Flow Intersection
Continuous Flow Intersection
 
Vissim
VissimVissim
Vissim
 
PTV Vissig Optimisation Share
PTV Vissig Optimisation SharePTV Vissig Optimisation Share
PTV Vissig Optimisation Share
 
Transport Modelling Workshop Software Innovation
Transport Modelling Workshop Software InnovationTransport Modelling Workshop Software Innovation
Transport Modelling Workshop Software Innovation
 
Introduction to PTV Vistro
Introduction to PTV VistroIntroduction to PTV Vistro
Introduction to PTV Vistro
 
Presentation on Traffic Volume Survey
Presentation on Traffic Volume SurveyPresentation on Traffic Volume Survey
Presentation on Traffic Volume Survey
 
Urban traffic management system assignment 2
Urban traffic management system assignment 2Urban traffic management system assignment 2
Urban traffic management system assignment 2
 
VISSIM Manual ( Huong Dan Su Dung VISSIM)
VISSIM Manual ( Huong Dan Su Dung VISSIM)VISSIM Manual ( Huong Dan Su Dung VISSIM)
VISSIM Manual ( Huong Dan Su Dung VISSIM)
 

Similar to BSTM-MM in VISUM

Parallel Programming Primer
Parallel Programming PrimerParallel Programming Primer
Parallel Programming PrimerSri Prasanna
 
Scalable, Fast Analytics with Graph - Why and How
Scalable, Fast Analytics with Graph - Why and HowScalable, Fast Analytics with Graph - Why and How
Scalable, Fast Analytics with Graph - Why and HowCambridge Semantics
 
Voyager Presentation
Voyager PresentationVoyager Presentation
Voyager PresentationAndrew Rohne
 
Parallel Programming Primer 1
Parallel Programming Primer 1Parallel Programming Primer 1
Parallel Programming Primer 1mobius.cn
 
Anti Collision Railways System
Anti Collision Railways SystemAnti Collision Railways System
Anti Collision Railways SystemAnkit Singh
 
ML and Data Science at Uber - GITPro talk 2017
ML and Data Science at Uber - GITPro talk 2017ML and Data Science at Uber - GITPro talk 2017
ML and Data Science at Uber - GITPro talk 2017Sudhir Tonse
 
Patterns and practices for real-world event-driven microservices by Rachel Re...
Patterns and practices for real-world event-driven microservices by Rachel Re...Patterns and practices for real-world event-driven microservices by Rachel Re...
Patterns and practices for real-world event-driven microservices by Rachel Re...Codemotion Dubai
 
Patterns and practices for real-world event-driven microservices
Patterns and practices for real-world event-driven microservicesPatterns and practices for real-world event-driven microservices
Patterns and practices for real-world event-driven microservicesRachel Reese
 
SoTM US Routing
SoTM US RoutingSoTM US Routing
SoTM US RoutingMapQuest
 
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
Mobility insights at Swisscom - Understanding collective mobility in SwitzerlandMobility insights at Swisscom - Understanding collective mobility in Switzerland
Mobility insights at Swisscom - Understanding collective mobility in SwitzerlandFrançois Garillot
 
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
Spark Summit EU talk by Francois Garillot and Mohamed KafsiSpark Summit EU talk by Francois Garillot and Mohamed Kafsi
Spark Summit EU talk by Francois Garillot and Mohamed KafsiSpark Summit
 
Sc13 comex poster
Sc13 comex posterSc13 comex poster
Sc13 comex posterhjjvandam
 
Introduction to NServiceBus
Introduction to NServiceBusIntroduction to NServiceBus
Introduction to NServiceBusAdam Fyles
 
Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...butest
 
Target updated track f
Target updated   track fTarget updated   track f
Target updated track fAlona Gradman
 
Chip Ex2010 Gert Goossens
Chip Ex2010 Gert GoossensChip Ex2010 Gert Goossens
Chip Ex2010 Gert GoossensAlona Gradman
 
Material Handling System
Material Handling SystemMaterial Handling System
Material Handling Systemwombaty
 
Mca5010 web technologies
Mca5010 web technologiesMca5010 web technologies
Mca5010 web technologiessmumbahelp
 
Mazda Use of Third Generation Xml Tools
Mazda Use of Third Generation Xml ToolsMazda Use of Third Generation Xml Tools
Mazda Use of Third Generation Xml ToolsCardinaleWay Mazda
 

Similar to BSTM-MM in VISUM (20)

Parallel Programming Primer
Parallel Programming PrimerParallel Programming Primer
Parallel Programming Primer
 
Scalable, Fast Analytics with Graph - Why and How
Scalable, Fast Analytics with Graph - Why and HowScalable, Fast Analytics with Graph - Why and How
Scalable, Fast Analytics with Graph - Why and How
 
Voyager Presentation
Voyager PresentationVoyager Presentation
Voyager Presentation
 
Parallel Programming Primer 1
Parallel Programming Primer 1Parallel Programming Primer 1
Parallel Programming Primer 1
 
Anti Collision Railways System
Anti Collision Railways SystemAnti Collision Railways System
Anti Collision Railways System
 
ML and Data Science at Uber - GITPro talk 2017
ML and Data Science at Uber - GITPro talk 2017ML and Data Science at Uber - GITPro talk 2017
ML and Data Science at Uber - GITPro talk 2017
 
Patterns and practices for real-world event-driven microservices by Rachel Re...
Patterns and practices for real-world event-driven microservices by Rachel Re...Patterns and practices for real-world event-driven microservices by Rachel Re...
Patterns and practices for real-world event-driven microservices by Rachel Re...
 
Patterns and practices for real-world event-driven microservices
Patterns and practices for real-world event-driven microservicesPatterns and practices for real-world event-driven microservices
Patterns and practices for real-world event-driven microservices
 
SoTM US Routing
SoTM US RoutingSoTM US Routing
SoTM US Routing
 
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
Mobility insights at Swisscom - Understanding collective mobility in SwitzerlandMobility insights at Swisscom - Understanding collective mobility in Switzerland
Mobility insights at Swisscom - Understanding collective mobility in Switzerland
 
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
Spark Summit EU talk by Francois Garillot and Mohamed KafsiSpark Summit EU talk by Francois Garillot and Mohamed Kafsi
Spark Summit EU talk by Francois Garillot and Mohamed Kafsi
 
Features
FeaturesFeatures
Features
 
Sc13 comex poster
Sc13 comex posterSc13 comex poster
Sc13 comex poster
 
Introduction to NServiceBus
Introduction to NServiceBusIntroduction to NServiceBus
Introduction to NServiceBus
 
Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...Machine Learning Approach to Report Prioritization with an ...
Machine Learning Approach to Report Prioritization with an ...
 
Target updated track f
Target updated   track fTarget updated   track f
Target updated track f
 
Chip Ex2010 Gert Goossens
Chip Ex2010 Gert GoossensChip Ex2010 Gert Goossens
Chip Ex2010 Gert Goossens
 
Material Handling System
Material Handling SystemMaterial Handling System
Material Handling System
 
Mca5010 web technologies
Mca5010 web technologiesMca5010 web technologies
Mca5010 web technologies
 
Mazda Use of Third Generation Xml Tools
Mazda Use of Third Generation Xml ToolsMazda Use of Third Generation Xml Tools
Mazda Use of Third Generation Xml Tools
 

BSTM-MM in VISUM

  • 1. WWW.PTVap.COM BSTM-MM in VISUM Vikas Sharma, PTV Asia Pacific
  • 2. BSTM is for Brisbane SD South East Queensland Brisbane SD Brisbane City Brisbane SD == BSTM “The Study Area”
  • 3.
  • 5.
  • 6. Trip Purposes Home based work (Blue Collar) Home based work (White Collar) Home based education (school) Home based education (uni/ tafe) Home based shopping Home based other Work based work Other non-home based
  • 7. Private Vehicle Loading Links divided into various types based on Max Capacity of a lane (600 cars to 2100 cars) Free Flow Speed (20kmph to 100kmph) J Factor Congested time on links is found by Akcelik function t = to + 0.25 Tf[(V/C-1) + {(V/C-1)2 + 8 J (V/C) / (C Tf)}0.5]
  • 8. Public Transport User Loading Frequency of a service to guess wait time Commuters using trains and ferries ‘doubly’ familiar than those using buses Wait time 2 times more onerous than travelling in the vehicle Commuters use walk (or bike) to reach a station/bus stop but walking is 1.4 times more onerous than travelling in the vehicle It takes 6 sec to board a train/ ferry but 9 sec to board a bus
  • 9. Model Structure Basic Structure Sub-models: Commercial Vehicle Model External Movement Model Household Segmentation Model Based on workers & students Accessibility Model PT/ Walk to Work Vehicle Availability Model Park & Ride/ Kiss & Ride Time Period Split Trip Generation Trip Distribution Mode Split Assignment
  • 10. Original Implementation in EMME Uses EMME’s network and matrix calculator through a series of macros A wrapper macro calls various other macros for different modules/ sub-models Multiple level of nesting: harnesses historical work done by recycling classical macros Uses multi-class equilibrium assignment for highway and multi-modal assignment for transit with user defined ‘volume delay’ and ‘transit time’ functions
  • 11. Adaptation in VISUM A combination of VISUM’s off-the-shelf procedures and Custom scripts in Python Two levels of wrapping Various operations and scripts are bundled as ‘Procedure Parameter’ files Various ‘parameter files’ are loaded and ‘executed’ through a wrapper script Also used for convergence tests and A solution for RAM Fragmentation problems leading to ‘Memory Errors’
  • 12. Folder Setup Model can be run at any location in the computer but A pfd needs to be designed and saved (as std.pfd) and copied at <../PTV_Vision/VISUM10/Exe> folder Folder carrying the model has two sub-folders matrices: (to keep most of the output matrices) tpfmatrices: (to keep time period factor matrices)
  • 13. Files Parameter files (7) 00.par 01.par 02_MCP_AM_TD.par 03_MS.par 04_PNRLogit_KNRLogit.par 05_TP.par 06_Ass.par Filter files T2.fil T3.fil Normal bus roads.fil Normal buses_t2_t3.fil Version file (1) bstm.ver Time period factor matrix files (48) Six character name First two character for time period (am) Third character to mark if it is for Production or Attraction (a/p) Last two characters for the mode Cd (car driver) Cp (car passenger) Om (other modes)
  • 14. Outputs Loads and paths in VISUM version file Matrices by purpose and mode A text log providing start and end time of every module Matrix sums Status of convergence criteria for every loop Continuously updated...can be opened and checked while model run is on
  • 15. Scripts (60) TG* Trip Generation TD* Trip Distribution MCP* Mode Choice MS* Mode Split ASS* Assignment related CV* Commercial Vehicle EM* External Traffic Modelling VA* Vehicle Availability HS* Household Segmentation PNR*/ KNR* Park/ Kiss & Ride CA* Accessibility Calculations
  • 16. Script Hierarchy if ATL change < 0.5%
  • 17. Procedures 00 Initialisation/ TG Edit Attribute (link costs) Assignment Calculate Skim Matrix 01 Submodals CV Main zone modification Levelling/ Smoothening heavy truck productions/ attractions PnR Matrix Convolution (to find the best station) External Model Edit Attribute?
  • 18. Procedures 03 Mode Split Set run and dwell times (turned off: only run in case of network changes) 06 Assignment Assignment Calculate Skim Matrix Read filters Edit Attributes (link PT run times) Set run and dwell times (only for segments which are NOT ferry, rail or busways)
  • 19. Procedures/ Scripts to be run only when model is being modified 00 00a Initialisation Procedure 2-4: “Edit Attribute” to recalculate link costs 00c PT Fare matrix and Airtrain adjustments Procedure 11: PT Assignment with Fare matrix calculation Procedure 12: A script to adjust for Airtrain fares 03 Mode Split Procedure 2: Set PT runtime from EMME3 data Procedure 3: Set PT dwell times from EMME3 data
  • 20. Pending Issues Station Choice sub-model (part of Park & Ride sub-model) is limited to two iterations Instead of original five A simplified script is available which bypasses station choice and dumps all trips marked for a station to it Calculation of fare matrix for PT is time consuming and is recycled at the moment Not a major issue as zonal fares do not change with change in the network Runtime for each iteration is 6 hours Time reduces to 3 hours if station choice model for PnR/ KnR is bypassed
  • 25. How to use? Code new network Zones, connectors, links, lines, stops Recalculate fare matrix Recalculate link costs Split base matrices Time period factor matrices Truck seed matrix Relatively simple operation Mostly, values will be repeated Can be automated EI.IE proportion matrix
  • 26. Acquire data for new zones Households Population Children Total School Age Children Post Secondary Students Residents employed Total In blue collar industries In white collar industries Dependents per household aged 0-17 18-65 >65 Special Generators School Enrolments Primary/ Pre-primary Secondary Tertiary Employment Retail Service Professional Industrial Other Vehicles per household
  • 27. Comparing EMME VISUM Car volumes
  • 28. Comparing EMME VISUM Car volumes
  • 29. Comparing EMME VISUM Car volumes
  • 30. Python Object oriented programming/ scripting language Open source language Easily extensibel Interpreted language/ JITC Cross Platform Strong user base Often used to teach programming to non-programmers Easy to write and maintain code
  • 31. Why use Python? Easy to learn Quick – written in C/C++ Abundance of libraries Matrices Graphics Simulation etc Popular ESRI Google Nokia NASA, etc Excellent for scientific applications Networks Data analysis Land use modelling, etc Guido van Rossum
  • 32. Learning Python Easy to learn Clean syntax PTV Vision Tutorial Using Python with VISUM All files (with examples) included with VISUM PythonWin interactive shell Lots of web resources – www.python.org
  • 33. Basic interaction with VISUM Visum object exposed when running script Access to just about everything in VISUM VisumPy import numpy as np import win32com.client import VisumPy.helpers as h import VisumPy.matrices as m z = np.array(h.GetMulti(Visum.Net.Zones,"No")) onhtrp=m.readBIMatrix(Visum.GetPath(69)+"onhtrp.mtx") np1=m.readBIMatrix(Visum.GetPath(69)+"wnp1.mtx") np2=m.readBIMatrix(Visum.GetPath(69)+"wnp2.mtx") np3=m.readBIMatrix(Visum.GetPath(69)+"wnp3.mtx")
  • 34. Matrix manipulation Numpy – Python matrix library Basic operations Matrix indexing VisumPy.matrices Aggregate Trip Length Frequency Matrix Balancing More... #Car Driver hwyamt = np.array(h.GetSkimMatrix(Visum,"hwyamt","CAD")) hamcst = np.array(h.GetSkimMatrix(Visum,"hamcst","CAD")) pkcost = np.array(h.GetMulti(Visum.Net.Zones,"pkcost")) zoneah = np.reshape(h.GetMulti(Visum.Net.Zones,"zoneah"),(N,1)) zonevh = np.reshape(h.GetMulti(Visum.Net.Zones,"zonevh"),(N,1)) wbu1 = bmmtt * hwyamt+br />bcost * ( hamcst +0.5*(pkcost))+br />badvh * ( zoneah - zonevh )+br />bshftv
  • 35. NumPy: Numerical Python An array/ matrix package for Python Well suited for demand modelling – one function can operate on the entire array Slicing by dimensions and applying functions to these slices – concise and straightforward Nearly 400 methods defined for use with NumPy arrays (e.g. Type conversions, mathematical, logical etc) Resources NumPy homepage: http://numpy.scipy.org/ NumPy download: http://www.scipy.org/Download NumPy tutorial (not complete): http://www.scipy.org/Tentative_NumPy_Tutorial NumPy Example List: http://www.scipy.org/Numpy_Example_List_With_Doc
  • 36. Data Visualisation Wealth of Python extensions Excel charting Matplotlib library
  • 37. Custom User Interfaces wxPython – GUI library Comprehensive C++ GUI toolkit
  • 38. Looking ahead... Just about anything is possible with Python! Script sharing VisumPy will grow Exciting future ahead
  • 43. PT Line Buffers / Google Transit Import
  • 45. VISUM Junction Editor? VISUM started as a strategic travel demand modelling software Classical node-link topology (or a graph of vertices and edges) A junction essentially remains abstracted as a node (a point) More demanding assignment algorithms required more precise junction delay assessments Dynamic User Equilibrium / Stochastic Dynamic etc Blocking Back Analysis Export to VISSIM for micro-simulation Need felt to let users manage junction attributes graphically Lets users view and manipulate a junction’s attributes Also lets manipulation of other network objects directly related to the junction Links, Turns, Legs, Lanes, Laneturns, Signal Controllers, Signal Groups, Signal Timings 44
  • 46. The editor opens alongside the main network mapper... 45
  • 47. And provides control over directly related network objects... 46
  • 48. Graphical and tabular views are in sync 47
  • 49. Attributes in tabular views can be edited...Set of attributes displayed can be fully customised... 48
  • 50. Geometry view provides manipulation of junction specific network objects... 49
  • 51. Signal controller and signal heads can be manipulated......added, deleted and assigned to lane-turns 50
  • 52. An extended signal time editor (VISSIG) can be used for including multiple signal programs 51
  • 53. A daily signal program ‘list’ can be generated 52
  • 55. ‘One time’ global settings are specified separately... 54
  • 56. Intersection Geometry Intersection performance (using HCM 2000/2010) Node impedance during assignment Micro-sim model generation
  • 61. Node Impedance Turn VDF Turn VDF + Node VDF HCM 2010
  • 62. Assignment algorithm with more details Blocking – back calculations (pseudo dynamic assignment) Static assignment with HCM 2010 Dynamic assignments Dynamic stochastic Dynamic user equilibrium Bi-criterion equilibrium assignments for toll investigations
  • 63. Signal investigations Visualise signal settings through time-space diagrams Signal cycle and split optimisation Signal coordination
  • 64. Public Transportation Improvements Incorporate the full time table (all systems) Visualise the timetable in its entirety Improve headway based assignment Headway calculation based on time table data Less volatility due to departure time variation in case of infrequent services
  • 66. Perform time-table based assignment Take into account time-table coordination Precise PT performance indicator calculation Search connections for each OD pair Two alternative algorithms available for connection search Branch and bound Shortest path
  • 67. Further improve headway based assignment Incorporate a choice model for boarding decision No information and exponentially distributed headways No information and constant headways Information on the elapsed wait times Information on the next departure times of the lines from the stop Complete information This can potentially incorporate behavioural effect of the ‘passenger information system’
  • 68. Consolidate your stops Group stops as per the ground situation / real life modelling Manage walk connectors and walk times between group stopped easily Make do with less precise information System to system instead of stop to stop
  • 69. Example: Queen St/ King George Sq All stops close-by / sharing platform grouped Connectors created Zero transfer time assumed All grouped stops can be further grouped if in vicinity Connector created Individual walk-times/ transfer times can be supplied....OR Generalised transfer times can be supplied
  • 70. Incorporate more PT details Line coordination A headway of 20min means a wait of about 10min Effect of introducing a second line will depend on the exact departure time vis-a-vis the first line Line coupling/ split Managing coupled line route is made easier Changing one changes all other
  • 71. Kinds of line coupling
  • 72. Harness ticket data SEQ’s zone based fares and smart card deployment present a big opportunity A stop X stop (~ zone X zone) matrix can be generated Selected data can be used to improve matrices Enhanced PT specific matrix estimator Can use stop boarding, stop alighting or line load data
  • 73. Other possible PT improvements... Not directly beneficial to ITP/TMR but... Can increase models usability for sister organisations... Operational Indicator calculations Line costing (line by line) Revenue analysis (line by line) Profitability analysis (line by line) Time table optimisation Depot location/ dead kilometerage minimisation/ maximising fleet utilisation Vehicle Scheduling
  • 74. Emission Modelling A set of emission factors from Germany, Switzerland and Austria (HBEFA 3.1) More countries joining-in Systematic descriptors for traffic situation (ARTEMIS) Assessment and Reliability of Transport Emission Models and Inventory Systems Simplifies mapping from transport models to emission models Urban/Rural, road hierarchy, free flow speed and LOS Readymade as well as customisable fleet composition Enables localisation Cold/ warm start distinction also possible Output can be exported as shape file for more detailed modelling

Editor's Notes

  1. Our big and coarse model is know as BSTM...stands for Brisbane Strategic Transportation Model. Its for the BSD...which the city and some full and part councils around it.
  2. This ‘study area’ is divided into 1500 internal zones. In addition to that it has 15 ‘gateway’ zones and about 170 special purpose zones (mostly rail and bus terminals).Network is made up of about 10,000 nodes and 25,000 links. It also has about 800 pt routes.
  3. Travel is described in terms of eight modes. Notice that Car appears twice and PT thrice. Also notice that PT is made up component systems (rail, bus, ferry etc).
  4. Also, and independently, travel is described in terms of its intent (or purpose). Notice how frequently the word ‘Home’ appears. Also notice that workers are divided by the colour of their collar....and student are divided between school and uni.
  5. Roads are grouped according some obvious attributes such as lanes and central divisionAnd some not so obvious ones such as .....how many cars can flow on each of its lane.....and how fast they will go unhindered....and how quickly this speed will fall with increasing volume.The complicated looking function ensures that time taken by a vehicle on a link increases with increasing volume (notice that every symbol except v is a constant). The complications of iterative procedures are taken care by modern day tools.
  6. Remember that PT is a single mode (Rail or Bus or Ferry is not an independent mode). A journey is made up of walk, in-vehicle travel and wait. Complications are taken care by modern day tools.Lot of these assumptions might sound very coarse but they are better than not having them at all.
  7. Basic structure is traditional and simple but many of the constituent sub-models are very modern.
  8. Has its own toolbar
  9. Demonstrate VISSIM Preview and ICA LOS analysis
  10. Line transfers for feeder services/ coordinated services