Professional Documents
Culture Documents
03 PDF
03 PDF
• Cubeisacompletetravelforecastingfamilyofsoftwareproductsthatprovides
exceptionalandeasytousecapabilitiesforthecomprehensiveplanningof
transportationsystems
• MadeofmanyFunctionalLibraries:
• CubeBase
• CubeVoyager
A2-1
• CubeAnalyst
DiscoverCube • CubeAvenue
• CubeDynasim
theGISTransportationPlanningSystem • CubeCargo
• CubeLand
• DevelopedbyCitilabs(Usa/UK)
Citilabs&itsclients Citilabs&itsclients
• WithMorethan2500usersin70countries,Cubeisonethemostusedtravel
• Citilabswascreatedatthebeginningof2002viamerger forecastingsystemsintheworld
ofUAG(asoftwarecompanybasedintheUS)andthe
• Advancedmethods:
softwaredivisionofMVA(UKcompany)
• Cubeisamodular,integrated,fullfeaturedproductlineforthetransportationplanning
• CompanyisownedbytheFrenchengineeringgroup process(passengerdemand,freightdemand,microsimulation,airquality,reporting).
Systra(RATP/SNCF) • providesanswerstoalltheplanningquestionsfromtestingnewpublictransitalternativesto
roadpricingstrategies.
• Mainoffices:
A2-2
• Tallahassee Cube Base
• London
• Milan
• Paris
• Mumbai Washington SanFrancisco
• Beijing
HongKong Paris
Cube Dynasim
Sydney London
IntroductiontoCube IntroductiontoCube
Acomprehensivetransportationplanningsystem Acomprehensivetransportationplanningsystem
A2-3
• addfunctionsasrequired...
• IntegratedwithESRIArcGIS
• ...withouttheneedtolearnanew
interfaceorcreatemultipleplanning
databases
• Cubeisseamlesslyintegratedwith:
• ArcGISsoftware(ESRI),
• MicrosoftOffice
• Userprograms
IntroductiontoCube
Acomprehensivetransportationplanningsystem
• CubeFunctionallibraries
• Voyager:passengerforecasting
• Land:integratedlanduse– transport
forecasting
• Analyst:MatrixEstimation
A2-4
• Dynasim:dynamic,multimodalmicro
simulation
• Cargo:commoditybasedfreight Cubeindetail
forecasting
• Avenue:mesoscopicassignment
CubeBase CubeBase
CubeBase
•CubeGIS
•ApplicationManager CubeGIS providesunlimited
•ScenarioManager layering,signing,intersection
codingandanalysis,unmatched
networkeditingandanalysis,
charting,linkstodigitalmedia
A2-5
ScenarioManagermakes
creating,managingandrunning
scenariosveryeasytodo FlowChartprovides
extremelyeasytousemodel
interfaceforbuilding,
runninganddocumentation
CubeBase:ApplicationManager CubeBase:ScenarioManager
ApplicationManagerusesaflowchartsystemfordesigning,coding,documentingandrunningthe ScenarioManagerhighlightskeymodel
model.Inputandoutputdataisshowninthecontextofthemodelandcanbeimmediatelyviewedor parametersanddataforeasycreationandtesting
editedbydoubleclickingonit.
ofscenarios.
• ApplicationManagermakesiteasytopresenta
modelinaclearwaytoothers.Featuresinclude – AsetofinputdataisaScenario,and“ScenarioManager”
isthegraphicinterfaceforscenariocreation,editingand
• Apulldownmenutochooseyourmodel
functions.Eachmodelstephasinputdataon management
theleft,outputdataontheright.
• FileLinkage(networks,zonaldata,etc.)and – Forecastinghasneverbeeneasier.Highlightthe
A2-6
filescreationsforintermediatesteps,thendrag parametersanddatainyourmodelthatyouwishto
andlinkdatafromonemodelsteptoanother. changebetweenscenarios.
• Acompletedataeditingandvisualization
system. – Cubeautomaticallylocatesthesevaluesandcreates
• Aneasytouseinterfacetorunpartofthe menuprompts.Aneasytousegraphicalinterfaceallows
modelorthewholeprocess userstorunspecificorallscenarioswithnoadditional
intervention.
CubeVoyager CubeVoyager:Network&Highway
Advancedmethodsforpassengerforecasting Createsdetailedrepresentationsofroadwaysegments,intersectionsandramps.
CubeVoyagercombinesthelatestinCitilabs'technologiesfortheforecastingofpersonal Thismodulecreatesacomprehensiveroadwayandjunctiondatabase
travel. Capabilitytoestimatepointtopointpathsandassociatedtraveltimes,costs,anddistances.
CubeVoyagerusesamodularandscriptbasedstructureallowingtheincorporationofany Highways:usedtoestimatezonetozonepathsandmatricesofimpedancesforuseinanalysisandin
modelmethodologyrangingfromstandardfourstepmodels,todiscretechoicetoactivity demandmodels.
basedapproaches.
– Pathscanbebuiltusingavarietyofmethodologies:All
A2-7
orNothing,Allshortestpaths,Stochastic
Advancedmethodologiesprovidejunctionbasedcapacityrestraintforhighwayanalysisand
– Capacityrestraint:intersection,linkorbothusing
discretechoicemultipathtransitpathbuilding andassignment.CubeVoyagerincludeshighly
standardprocessesorusersuppliedcurvesor
flexiblenetworkandmatrixcalculatorsforthecalculationoftraveldemandandforthe
equations.
detailedcomparisonofscenarios.
– Junctionbasedassignment:CubeVoyagerincludes
methodsforperformingintersectionconstrained
CubeVoyagerwasdesignedtoprovideanopenanduserfriendlyframeworkformodelinga assignments.Thisprocessprovidesthebestestimateof
widevarietyofplanningpoliciesandimprovementsattheurban,regionalandlongdistance travelflows,delaysandqueuesinurbanlocations
level.
CubeVoyager:Highway CubeVoyager:Highway
AkeyelementinCubeVoyageristheabilityto Attheendoftheassignmentprocess,foreachdetailedjunction,Cubegivesinformationas
representjunctionsas:
– Signaledandnonsignaledcontrolled – Totaldelayperapproachandforthejunction
intersections asawhole
– Priorities
– Stop – Maximumandeffectivecapacity
– Roundabouts
– Volume/Capacityratiopersingleapproach
A2-8
Cubecalculatejunctioncapacityonthebaseof: andforthejunctionasawhole
– Geometriccharacteristics(numberoflanes – HCMLevelofservice
perapproach,lanesharing,circlediameter…)
– Functionalcharacteristics(signaltype,cycle – Maximumassignedflow
duration,green/redtimes…)
– HCMSettings(Visibility,grade,pedestrianand – Maximumandcumulativequeue
bus…)
CubeVoyager:Highway CubeVoyager:PublicTransport
OneofthemostinnovativeCubecharacteristics'isthe“pathanalysis”tool.A“path”filecontainsall CubePublicTransitfunctionallibraryprovidesadvancedfunctionalityforthestudyofpublictransit
therelevantinformationaboutthepathbuildingprocessandtheassignmentprocess.Itisthen systems.
possible: – providesthecapacitytostudyeventhelargestandmostcomplexpublictransportsystems
– Tounderstandthemodificationsamong – Unlimitedlines,unlimitedlinksandunlimitedmodes.
differentiterationsinacapacityrestraint – Automatedprocessesforcreatingwalk,automobileandtransferlinksbetweenservices.
assignmentprocess – Abilitytorepresentinfrequentandtimecoordination.
– Tofullyanalyzedifferentclassesbehaviorand
networkuse
A2-9
Pointtopointpathsarefoundusingavarietyof
– selectlink/node/path“onscreen” techniques:
– Bestpathandpathoptimization – Discreteroutepathsbasedon
– ... – Allornothing,
– Stochasticmultipath
– TheDiscreterouteprocessofCubeallowsto
retainalltheroutinginformationforsubsequent
analysis
CubeVoyager:PublicTransport CubeVoyager:PublicTransport
PTModelingFeatures PTModelingFeatures
– Advancedfaresmodeling – Transitaccessgeoprocessing:
– Combiningfaresystemsformodes,operators,lines – calculateandsavezonelevelaccesstotransitstops
– Advancedcrowd/congestionmodeling – Getselectedlink/nodetriptables
– Usercontroloverallaspectsofthepublictransport – LinkSpecific
model – NodeSpecific
– PreparationofaPTNetworkforPublic – Modespecific
Transport's modelingfunctionality – Linespecific
– OperatorSpecific
A2-10
– GenerationofthenontransitelementofthePT
network,i.e.access,egress,transferandparkandride – Anycombinationoftheabove
legs – Usefulforevaluatingprojectdemand
– Demandstratificationbyuserclass – Canidentify/outputpercentorprobabilityoftripsIJ
– Results/Analyses usingtheselection
– Skimming,networkwideandmodespecific,composite
andaveragejourneycosts,andcomponentsofcosts
– Loadinganalyses transfersbetweenmodes,operators,
lines,entryexitstations
CubeVoyager:DemandModelling
CubeVoyagerDemandprocesseszonaldataandmatricesaccordingtouserspecified
expressions.Zonaldataandmatricesareinput,andmatricesandreportsareoutput.
Therearenodefaultprocesses.Thepowerfulscriptinglanguagecombinedwithuser
friendlywizards,allowsfortheapplicationofalltypesofcommonlyuseddemand
processes:
– multinomialandhierarchicalchoice
models
A2-11
– crossclassificationandregressionmodels
– gravitymodels
CubeAnalyst
– matrixfrataring
MatrixEstimation:CubeAnalyst MatrixEstimation:CubeAnalyst
Oneofthemostvaluablepiecesofdataintraveldemandforecastingisthematrix RigorousMethodology
representingexistingtravel.Itisthebasisforforecastingandforalmostall – CubeAnalystusesthemaximumlikelihoodstatisticalmethod.
importantcomparativeanalyses – Apowerfuloptimizerallowsindividualcellstobeestimatedwithprecisionthecalculationisself
calibrating
– CubeAnalystistheCubefunctionallibrarydeveloped
specificallyforestimatingandupdatingbaseyear DataPreparation
automobile,truckandpublictransittripmatrices. – Thetypeandquantityofdatainputtotheestimationprocessis
– CubeAnalystenablestheusertoexploitawide lefttotheusertodetermine.
varietyofdatathatcontributetomatrixupdatingand – themoredataprovided,themoreaccuratetheresulting
A2-12
matrixdevelopment. estimatedmatrixwillbe,butitispossibletoachieveworthwhile
– CubeAnalysthasbeenusedsuccessfullyonmanyand resultswithlimiteddata.
variedstudiesaroundtheworld.
– Thetripmatricesareestimatedonacellbycellbasis IntegralQualityAssurance
usingthesupplieddata. – effectsandimplicationsontheestimatedmatrixofdifferentinput
– Statisticalsummariesareoutputgivingindicatorsof datamaybestudied
thequalityoftheestimation. – specialisttoolsindicatethequalityoftheestimatedmatrix
– Extensivereportingoptionsenableuserstoestablish – qualityanalysisofestimatedmatrixguidescosteffectiveand
theirownconfidenceintheresults selectivedatasurveyswhenrequired
Microsimulationmodel:CubeDynasim
CubeDynasimisamicrosimulationsystemdevelopedbyCitilabsandDynalogic(France)in
partnership.Dynalogicspecializedinmicrosimulationfor10yearsandnowDynasimisfully
integratedinCubesoftwaresuite
• Cubeextensionforthemicrosimulationand
visualizationofvehicleandpedestrianflows.
• Used‘inhouse’inFranceandItalysincetheearly
90’s
• MarketedworldwideasapartoftheCubeSystem
A2-13
since2003
CubeDynasim • Currentlyisusedinmanycountriesfor
microsimulation:Australia,China,CzechRepublic,
France,HongKong,Italy,Singapore,Switzerland,
Portugal,Spain,Thailand,UnitedKingdom,United
States...
Microsimulationmodel:CubeDynasim Microsimulationmodel:CubeDynasim
• ScenariobasedSimulation CubeDynasimcapturesalloftheintricaciesoftrafficbehaviorandisabletoperform
detailedoperationalanalysisofcomplextrafficflowswhilerealisticallyemulatingthe
• OnlyoneDynasimprojectforallsimulationalternatives
flowsofautomobiles,trucks,buses,rail,bicyclesandpedestrians.
• Eliminatesredundancy
• Ensuresconsistency
• AnalysisofMultipleRunsinherenttothe
system
• Automaticallyperformsmultiplerunsandsummarizesresults
A2-14
• Ensuresarobustanalysiswithnoadditionalburdenontheuser
• InteractiveResults
• CompletedsimulationsmaybeexportedtoaDynaViews
program
• InteractiveAnimationswiththesamefeaturesasDynasim
• Freelydistributable
Dynasim:IntegrationwithinCube Dynasim:IntegrationwithinCube
CubeVoyagercalculatesvehicleflowsandpathsformultiplevehicleclasses Thepassagefromthemacromodeltothemicrosmodelrequiresin
CubeDynasimtakesflows,paths,transit,andintersectioninformationfor Cubejustafewsteps:
microsimulation 1. Identifysubareaandrunanalysis(flowsandrouting)
VoyagermayimportdatafromCubeDynasimforfeedbackorvisualization 2. UseCubeAnalysttocorrectforprojections,counts,orsurveys
Allowsforafullyintegratedmodelingsystem 3. Loadbackgroundlayers(images,shape,dxf)
4. Confirmgeometricinformation(JunctionEditor)
5. Confirmcontrolinformation(JunctionEditor,Import)
A2-15
6. ExtractsubareanetworktoDynasim
7. Extractandappendadditionalscenarios
8. Cleanuptheimporteddata
9. Simulatescenarios
10.ExtractoutputdatabackintoCUBEforvisualization
CubeDynaviews
Shareandexportmicrosimulation results
• Simulations’ animations and data may be exported
• Exported simulations may be freely distributed
• Play animations at any speed
• Zoom, pan, and navigate within the animations
A2-16
CubeAvenue
Why“mesoscopic”models? Howmesoscopic/macroscopicmodelsdiffers
Transportmodellingismostlydoneonastrategic‘macro’level Traditionaltransportationmodels usemacroscopictechniquesto
studytheflowoftrafficfrompointtopoint volumeoftraffic
betweenanOriginandDestination=singleunit
Cancoveraverylargearea,but...
some“inability”tomodeltherequiredlevelofdetailincongested Computethelowestcostpathforthetrafficvolume
areas. Computecongestioneffects(throughvolumecapacityratiosand
A2-17
resultingspeeds)
Fortrafficengineering/trafficcontrol/intelligenttrafficmanagement
‘micro’modelshavebecomeverypopularanduseful
Captureperfectlyextremelevelofdetails,but...
sufferdatahungrinessandcanhardlybeappliedatawidescale
HighwayTrafficFlow Howmesoscopic/microscopicmodelsdiffers
Microscopictechniquespresentthemostdetail
Microsimulationtoolsmodeleachvehicleexplicitlyandcaptures
detailedmovementsandinteractions
A2-18
Toolsfordetailedstudies,but...
detailedresultsrequireextremelydetailedinputs(rubbishin/rubbish
outmorethanever!)
MesoscopicModels MesoscopicModels
Mesoscopictechniquescanstudytrafficflowsovertime Amesoscopicmodelallowstocompletenewtypesofanalyses:
PlannerspecifiesthelevelofdetailforVehicle,Time,Networkdetails
Quantifyimpactsofupstreamtrafficcongestion
MesoscopicmodelinCubeAvenuecomputesthelowestcostpathfor
Measurequeuingatintersectionsandmergepointsinanetwork
eachvehicleunit ,basedonitsdeparturetime
Isolatesecondaryimpactsfromoneintersectionthroughanother
Computesinteractionsamongvehicleunits EvaluatethebenefitsofITS(intelligenttransportationsystem)projects
A2-19
Simulatealternativeinfrastructure,operational,andpolicychangestooptimize
Emergencyevacuationplansandstrategies
Teststrategiestoimprovearrivalanddeparturefromstadiumsandotherspecial
Requireslessdetailedinputs thanMicroscopic eventfacilities
ProvidesbetterdetailsthanMacroscopic ...
MesoscopicModelinginCubeAvenue MesoscopicModelinginCubeAvenue
CubeAvenueisadynamicequilibriumassignmentmodel Dynamicbandwidths:
Loadsandtracksthemovementofvehiclepacketsthroughoutthe flows
highwaynetwork.Itmodels: queues
Vol/Cap ratio
trafficsignals,
...
roundabouts,
stopcontrolledintersections,
A2-20
Dynamicdataatjunctions:
rampmerges.
Level of service and delays
Vehiclepacketsmove,stop,andqueuethroughupstreamroadsand Queues
intersections.CubeAvenuecalculatesoptimalnetworkconditions Turning Volumes
...
MesoscopicModelinginCubeAvenue
Cube Avenue application: Sundsvall Municipality
Packetsofvehicles
canbeanimated
Itispossibletoset
selectionsbasedon:
Use of links/nodes
A2-21
Origins
Destinations
Time Period
Cube Avenue application: Sundsvall Municipality Cube Avenue application: Sundsvall Municipality
A2-22
CubeAvenueapplication:Houstonevacuationplan CubeAvenueapplication:Houstonevacuationplan
InSeptember2005,HurricaneRitalanded
eastofHouston
Wellover1millionpeopleattemptedto
evacuatefromtheeightcountyregion
Severecongestionasaresults
US 290 WB FM 1960 to Barker Cypress
A2-23
80
70
60
50
40
30
Speed
20
10
0
0.00 4.00 8.00 12.00 16.00 20.00 24.00 28.00 32.00 36.00 40.00 44.00 48.00
A2-24
• Studyareaofinteresttoolargeandcomplex
• Toomuchdataandmemoryrequired
• Toomanyuncertaintiestomodelaccurately
CubeAvenueapplication:Houstonevacuationplan
Challenge ModelSize
• 8countyregionwith4.7millionpopulationin2000.
• 3000zonesand43,000links
• Around14,000,000dailytripsmodeled
A2-25
CubeLand
LandUsemodelingwithCubeLand LandUsemodelingwithCubeLand
CubeLandisafunctionallibrarythatmodelsland • CubeLandcangenerateextensive
use,pricesandhousehold/firmlocationby informationaboutthemarketunder
simulatingrealestatemarkets: differentscenarios.
• CubeLandiseconomiclandusemodelingsoftwaredesigned • Itprocessessupply,demand,andspaceina
especiallyforlanduseandtransportinteractionmodels disaggregatedmanner,basedonthe
• BasedupontheMUSSAIIframework characteristicsthatdescribe:
A2-26
• DevelopedbyDr.FranciscoMartinezandresearchersatthe • Activities to be localized
UniversityofChile • Real estate supply
• CitilabsdistributesCubeLandasalibrarycoupledwiththe • Location of said activities on the properties
powerfulCubeBaseinterfaceformodelingandGIS • Values of the resulting land uses
• YoucanadaptCubeLandtostudyanyarea
bydefiningtheproperzoningandcity
planningpolicies,suchasgovernment
incentivesorregulation
LandUsemodelingwithCubeLand
• CubeLandcanforecastthelocationofmany
differenttypesofagents.Forexample,CubeLand
canforecast
• the locations of homes, which have different
socioeconomic characteristics,
• the locations of firms, which have different industrial
activities.
A2-27
• WithCubeLand,youcanincludepossiblechanges Cube:
tothetransportationsystemandstudyhowsuch
changesaffectpopulationlocationandthe
Makingtheintelligentchoice
compositionoftheregion
Cube– theintelligentchoice Cube– theintelligentchoice
CompleteFunctionality
1. CompleteFunctionality Cubepackstechnicallyadvancedmethodswithinanintegratedenvironmentforthe
2. CompletelyOpen forecastingandsimulationofpersonaltravel,freightandenvironmentalimpacts.Its
scriptinglanguageprovidestheultimateinuserflexibilityforrepresentingeventhe
3. AdvancedModelingFunctions mostcomplexmethodologies.
CompletelyOpen
4. ThePowerofGIS
Cubeallowsexternaloruserdevelopedapplicationstobeseamlesslyintegratedinside
5. EasytoUse themodel.Theyappearonthepulldownmenuandhavethesamelookandfeelasall
A2-28
otherCubeExtensions,makingthedevelopmentofcustomizedCubemodelssimple
6. Transparent andeasy.
7. Speed AdvancedModelingFunctions
CubeExtensionsusethelatestinmethodologiesfortheforecastingofpassengerand
8. Reliable freightflows.Featuresrangefromaninnovativemultipathandmultimodeapproach
formodelingpublictransitpathbuildingandassignmenttodynamictrafficassignment
9. MadeandSupportedbyModelers toatruecommoditybasedfreightsystem.
10. BasedonIndustryStandards
Cube– theintelligentchoice Cube– theintelligentchoice
ThePowerofGIS Speed
CubeBaseseamlesslylinksdatabetweenthemodelandArcGISfromESRI,theworldleaderin Cuberunsapplicationsfaster.Inmostcases,entiresetsofscenarioswillbecompletedmore
GIStechnology. quickly.
EasytoUse Reliable
Fromitsfresh,newlooktoitsintuitivescenariobaseddesign,Cubemakesiteasierthanever Bybuildingonprovenforecastingsystems,Cubedeliversareliablefoundationyoucancount
todevelop,produceandcomparescenarios.You’llbeabletogetmoredoneinlesstimewith ontoproducecomprehensiveandaccurateforecasts.
integratedscenarioandapplicationtools,manageyourdatainasnap,andarrangeprojects MadeandSupportedbyModelers
anddatainawaythatmakessensetoyou.Simplyput,Cubehelpsyouworksmarter.
A2-29
Developedandsupportedbytransportationplannersandengineers,expertsintheareasof
Transparent passengerdemandforecasting,commodityforecasting,microsimulationandenvironmental
Saygoodbyetotheblackbox.WhileCubemaintainstheindustrystandardstepbystep impacts.
approachtotravelforecasting,thearchitectureofthemodelisclearlyshownaswellasthe BasedonIndustryStandards
flowofdata.Doubleclickonthemodelparametersandeasilyunderstandhowtheforecasts
aremade. Fromdataformatstosoftwarearchitecturetoforecastingmethodologies,Cubeeithersetsor
followsthestandards.InputandoutputdatacanbeexchangedinESRI,Excel,anddBase
formats.
What’s GIS – introduction to GIS
• GIS: Geographic information system
• A geographic information system
(GIS), geographical information system,
or geospatial information system is any system
that
A2-30
• Captures,
Integrate GIS and Transportation • stores,
• analyzes,
Planning • manages,
• presents data that are linked to location
What’s GIS – introduction to GIS What’s GIS – introduction to GIS
• GIS is the merging of cartography, statistical • The possibly earliest use of
analysis, and database technology. the geographic method: the
• GIS systems are used in cartography, remote cholera outbreak in London
sensing, land surveying, public (John Snow – 1854)
utility management, natural resource
management, photogrammetry, geography, urban • Modern GIS technologies
planning, emergency management, navigation, use digital information
A2-31
and localized search engines.
• In a general sense, the term GIS describes
any information system that integrates, stores,
edits, analyzes, shares, and
displays geographic information for
informing decision making.
Drawn by Dr John Snow about 1854; shown in Stamp, L. D. 1964, A Geography of Life and Death.
What’s GIS – introduction to GIS Integrate GIS and Transportation Planning
• A GIS helps you answer questions and solve • Transportation professionals over the world have
problems by looking at your data in a way that is discovered and embraced GIS as an important
quickly understood and easily shared: tool in:
• Map Where Things Are • Managing
• Map Quantities • Planning
• Map Densities • Evaluating
A2-32
• Find What's Inside • Maintaining transportation systems
• Find What's Nearby • GIS for Transportation, named GIS-T by the
• Map Change American Association of State Highway and
Transportation Officials, has been used for
diverse purposes, such as:
• Modeling travel demand
• Improving transit service
• Evaluating new road scheme
Integrate GIS and Transportation Planning Integrate GIS and Transportation Planning
• In order to predict changes • Changes to travel demand:
to travel demand, we build • Alternative developments
models • land use (GIS)
• trip production (GIS)
• Main Inputs: • trip distribution (GIS)
• Data/changes in • Alternative policies
demographics • Alternative solutions for:
A2-33
• Economic development • roads (GIS)
• public transport networks (GIS)
• Social development
• Policies
Integrate GIS and Transportation Planning Integrate GIS and Transportation Planning
• Planning: • What – If ? analyses:
• need to accommodate • Planners develop alternative
demand on public solutions
infrastructure / responsibility • Models used for testing the
to preserve quality of life and alternative solutions
environmental sustainability • What if we choose solution A?
• GIS provides a framework to
A2-34
• How much better is A
inform models compared to B, C and D?
• Shed light on the various
transport alternatives
Integrate GIS and Transportation Planning Integrate GIS and Transportation Planning
• What We Do With GIS • What We Do With Cube
• Authoring & editing • Developing models of
geographic data transportation systems
• Managing spatial databases • Developing input data
• Designing processes
Planning
• Analyzing & modeling spatial
• Writing scripts
relationships
• Applying existing models to
A2-35
• Basic mapping & cartography
analyze scenarios
• Editing input data Finance
• Running alternatives
• Viewing results
A2-36
Personal
File Standards
SDE MDB
o Developer Tools
Scripting (Python etc…) GDB Operations Research
Automation (VBA etc…)
Extensions
Applications
ESRI SHP Citilabs GDB
ArcGIS
ArcGIS EngineCube
Integrate GIS and Transportation Planning Integrate GIS and Transportation Planning
• Planning Agencies develop long-range plans
under fiscal constraint
• Maintain a database of projects with description,
implementation year, funding source, and total
cost
A2-37
• Want to map system alternatives by year and
generate reports relating performance to cost
• Add “Project network” with node, link changes
and common Project_ID
• Also add Corridor_ID and relate to feature class
to tabulate/map by system segment
Integrate GIS and Transportation Planning Integrate GIS and Transportation Planning
• Consultants are charged with forecasting revenues for
financial planning & analysis
• Studies can be data-intensive and complex
• Origin-destination surveys
• Traffic counts by time of day, day of week, month of year
• Speed and delay studies (GPS data collection)
A2-38
• Independent socio-economic data compilation & review
• Many alternative toll configurations & rates
• Add a Station_ID field to relate data collection sites to network
links / system segments
• Store toll system (plazas/gates/sections) in geodatabase to
streamline revenue tabulations
Integrate GIS and Transportation Planning Integrate GIS and Transportation Planning
• Adverse effects of transportation projects on other systems • Geoprocessing : how you compute with data, connecting data
(air, water, ecological, social) must be identified and to tools to derive new information
addressed • GIS based systems:
• Many disparate issues and themes must be related to • They store and manage data.
transportation project of interest • They let you visualize data in a variety of ways.
• They make it easy to compute with data
A2-39
• Use geodatabase to enable exploratory analysis of
interactions between different systems
• Aerial and satellite imagery (raster data)
• Natural resource inventories (wetlands, habitats, protected)
• Historical landmark places
• Socially and economically disadvantaged areas
• Health and safety hazards
• Air quality model outputs
Integrate GIS and Transportation Planning Integrate GIS and Transportation Planning
• For all users – both newbies and “old pros” • Buffer
A2-40
produces a new dataset as the result of the tool. or portions of features which overlap in all layers and/or feature classes will
be written to the Output Feature Class.
A2-41
• Clip — Use the clip tool to extract features or parts of features from a
feature class, such as resident population in a range of a specific buffer • The GIS in Cube is an extremely powerful transportation GIS
• Intersect — Use the intersect tool for overlay analysis of feature classes. system that is directly compliant with ESRI technologies and
• Union — Use the union tool for overlay analysis of feature classes.
provides many of ArcGIS’s capabilities, for example, on-the fly
• Multi to Single Part — Use the multi to single part tool to convert a
multipart feature class into a single-part feature class supported by
projections.
Cube Base.
What is transport planning?
all useful processes to define and analyze
project scenarios Travel
Costs
definition of strategies and intervention
policies
Introduction to Transportation Planning directing the transport system towards Supply Demand
optimum configurations Model Model
A2-42
Always remember that, no matter the efforts
we put in our analysis:
All forecasts are wrong, some forecasts are more
wrong than others.
All forecasts are wrong, some forecasts are useful.
1
What does transport planning aim at? What does transport planning aim at?
Defining whether a system/service is actually useful defining costs
Quantifying the possible number of users building costs or initial investment
yearly management costs
Dimensioning the service
recurrent modernization costs
Choosing the transport system - examples:
defining revenues
by road: building a road: infrastructure, toll, maintenance
revenues from fares (tickets, car parks, …)
Public Transport by road: buses management: vehicles, personnel, maintenance
other revenues (advertising, …)
A2-43
Public Transport by rail: infrastructure, fare, vehicles, management, maintenance
funding
Defining the route or lines contributions
Defining service levels
number of lanes
type
stops
timetable
frequency
number of vehicles
2
Who benefits from transport planning? Who benefits from transport planning?
Public institutions Private or Public Operators
Municipalities infrastructures owners or managing companies (such as motorway concessionaires)
Urban Traffic Plans/Mobility Plans feasibility studies
Analysis of traffic for special interventions, ex. technical/economic analysis of a new infrastructure
shopping centers, traffic restriction in historic centers, PT services, etc. Public Transport operators
parking plans for historic centers Analysis of the transport demand
special services plans, ex. in touristic areas technical/economic analysis of a new service
A2-44
Provinces, regions Tourist boards, …
Transport Regional Plan feasibility of dedicated transport services
Viability Regional Plan trading operators, tour operators, etc.
Feasibility studies technical/economic analysis of dedicated services
Analysis of the transport demand analysis of traffic required by institutions (ex. shopping centres, tourist parks, multiplex cinemas,
Ministries etc.)
Transport and Logistics General Plan links with stations/airports and tourist destinations
Road Safety National Plan
3
Who carries out transport planning? Carrying out a transport system
The institution who is interested directlly Planning
Specialized consulting offices quantification of traffic flows on the network
analysis of alternative solutions
Specialized institutions
feasibility analysis
Operators who are directly interested drawing up of outline plans
Dimensioning
definition of project specifications
A2-45
Design
drawing up of the executive plan
Contract, construction
carrying out and implementation of the system
4
The planning procedure The planning procedure
Phase 1 - Analysis of the current situation Phase 2 - Definition of intervention scenarios
delimitation of the plan and study areas definition of the future tendency socio-economic planning
zoning of the areas representation of the future transport demand with no interventions
analysis of the physical, geological and geotechnical environment of the plan area simulation of the non-intervention planning and definition of critical elements
survey of the regional planning definition of objectives and restraints
survey of the transport infrastructures and services offered definition of intervention strategies
analysis of the socio-economic planning design of project alternatives of intervention – intervention scenarios
A2-46
estimate of the mobility demand for passengers and goods estimate of implementation costs for intervention scenarios
importance of relations between places of origin and destinations estimate of the resources available
importance of relations according to means of transport, reason, time span
importance of traffic flows on transport networks, importance of critical elements
5
The planning procedure - Scenarios The planning procedure
Current scenario Phase 3 - Simulation of interventions and evaluation of their effects
current planning of the transport-territory system (T-T) simulation of the several intervention alternatives
load conditions of networks interaction demand-offer
Non-intervention scenario (Zero Scenario) functional evaluation of effects on modal networks
Future planning of the T-T system with no interventions economic-financial evaluation – analysis of costs and benefits
effect of the tendential evolution of: territory, activity ® demand evaluation of the effects on environment and consumption of resources
effect of interventions on the system evaluation of the effects on business and employment
A2-47
evaluation of the effects on safety
Intervention Scenario
comparison between project alternatives
future planning of the T-T system after plan alternatives
definition of priorities
prescriptive and organizational modifications, new infrastructures
6
The planning procedure The planning procedure
Phase 4 – Carrying out of interventions Phase 5 – Survey of effects
Prescriptive level Survey of intervention effectiveness
fulfillment of administrative and decisional procedures, comparison of interested parts Improvement of the plan process
approval by executive branches: Ministries, Council of Ministers, local councils recalibration and validation of simulation models
approval by legislative branches: Parliament, Regional, Provincial, Municipal Councils comparison between expectations and real changes of the system
Infrastructural level evaluation of the decision-making process
final project Characteristics of the environment external to the transport system
A2-48
impact evaluations Characteristics of the transport offer
executive project
Characteristics of the mobility demand
contract, site setting up, construction, tests
Quality of the balance demand/offer
Organizational level
definition of prices and fares
definition of maintenance plans
implementation of user information services
…
7
The planning procedure Basic concepts in model development
A2-49
redefinition of interventions
8
General Framework of Transport Modelling Transportation Model Databases
Roots in transportation economics and theory Travel Transport Analysis Zones (TAZ)
Costs
of supply / demand equilibrium. Study area definition
Transportation supply = roads, bridges, trains, Internal zonal data (socio-economic factors)
buses, airports, boats, planes, … External stations
Supply Demand
Transportation demand is derived from Model Model Transport networks
Directed graph (node-link connectivity)
A2-50
demand for activities (goods & services).
Centroids and connectors
Transportation costs = expected time, Junctions / intersections
distance, money, and other penalties Public transport lines and stops
associated with using some travel option
Skimming is the process of tracing (summing)
¾ The combination of these costs is called “Generalised
Cost” link values across the network along the
minimum cost path between each zone pair
Costs increase with demand – congestion.
(origin-destination)
Demand decreases with cost – diversion.
Source: Transport Models: TAG Unit 3.1.2.
Department for Transport, June 2005
17 18
9
Components of the system Components of the system
Offer system Demand system: all users who use the service offered by a transport system
infrastructural components over a prearranged time span and with specific characteristics
road networks, railway networks, airline networks, sea networks, LPT networks
car parks, road junctions, stations and calls, branches
Traffic system: traffic flows travelling on every element of the offer system
interchanges, intermodal terminals, freight terminals, airport hubs, port centres
derived from the interactions between demand and offer
organizational components
road traffic, railway, airline and sea regulations
A2-51
- systems to control traffic and safety
- routes, lines, timetable and fares of collective transport
- user information systems
- emergency management systems
10
Representation of the offer
Physical components
network structure/Transportation Supply
Functional components
Representation of the offer cost functions
A2-52
transport network
offer model
all mathematical relations that correlate transport costs and flows of the links of
a network
21
11
Transportation Supply Transportation Supply
Graph of the network Centroids
graphical scheme associated to a fictitious nodes representing OD zones
database Centroid: balance of flows 0
Components of the graph Aim: correspondence between graph
links and structure of the OD matrix
linear elements of the graph that internal centroid: centroid of a zone
reproduce the basic sections of real inside the study area
A2-53
transport infrastructures external centroid: centroid of a zone
Nodes outside the study area
points on the graph that reproduce Connecting links
the intersections and terminals fictitious elements that connect
definition of node: null balance of Centroids to physical nodes
flows they do not have any physical or
functional characteristics
12
Transportation Supply Transportation Supply
Information associated to a graph Public transport
physical (or geometrical) characteristics of links Information that describe the PT system:
Length, section, number of lanes Services or data about PT Lines
…
Line Paths description
functional characteristics of links
Transit Stops description
hierarchical level, administrative
Frequency of collective transport services
competence, direction, no entries
Capacity of collective means of transport
A2-54
Speed, Capacity, traffic Flow curve
“Not Transit” Links (“NT Legs”), with information for
Physical characteristics of nodes
each PT mode regarding:
type of intersection: right of way, traffic
Enter a Public Transport System
light, roundabout,…
Quit a Public Transport System
number of branches, number of lanes, no
turning or no left turns… Change from a Public Transport System to
another one.
Functional characteristics of nodes
A full, extensive Geodatabase
speed of lanes, capacity of lanes, traffic
lights timing, green percentage
A full, extensive Geodatabase
13
Elements of the offer Elements of the offer
Transport Cost/General cost Individual transport
Cost to cover a distance or section monetary cost of fuel
Made of several components that represent the uselessness associated to the covering of cost of motorway tolls
a section cost of paid parking areas
Public transport journey time
pedestrian access and leaving time to and from stops time to find a parking space
waiting time at stops time spent in a queue
A2-55
journey time on vehicles risk of an accident
cost of fare (Fares modeling)
Lack of comfort due to crowding (Crowd modeling) Cost functions
Discharge curves
14
Elements of the offer Elements of the offer
Cost function Cost function: connection between
cost c charged to the user when travelling on a certain link l flow or flow/capacity
it can be a function of the flow f that travels on this link and possibly of the flow travelling on time, speed (inverse cost) or other components
adjacent branches
cl (f) = col + cvl (f)
f = vector of flows
col = fixed cost independent of flow, ex: toll
A2-56
cvl (f) = variable cost due to congestion
15
Elements of the offer The Cost Function
representation of congestion Cost of the link
Cl = 1×tl + 2×cml
A2-57
cml = monetary cost of the link l
1 and 2 = coefficients of reciprocal substitution (Homogenization):
reduction of the cost to only one scaled quantity
Cost of the route
Ck = Cl
16
Cost functions - Homogenization Cost functions - Highway
Cost charged to a user: quantities xi that are not homogeneous
reduction of the cost to only one scaled quantity
homogenization by means of dimensional coefficients tr = journey time
Ci= i (i·xi ) tnf = waiting time at the final node
dimension of coefficients: inverse with respect to the dimension of variables cm = monetary cost
A2-58
VOT: Value of Time
Cgeneral= t + cm Journey of a pedestrian
Cg= 1 ×t + 2 ×cm
tp = journey time
1 = [h-1] and 2 = [€-1]
Cg= VOT × t + 2 × cm
17
Cost functions - Highway Cost functions - Highway
Traffic flow curves: they represents a connection between Motorways Urban Roads
flow or flow/capacity
clearing average speed
Typical curves: BPR
A2-59
18
Cost functions – Public Transport Cost functions – Public Transport
tacc/leav = access/leaving time Access/leaving time: time necessary for the user to:
ts = getting on time reach the stop to get on from the origin of his/her journey
reach the destination of his/her journey from the stop where he/she gets off
tw = waiting time at a stop
A2-60
tb = journey time on board
tt = transfer time
td = getting off time
cm = monetary cost
Lacc/leav = access/leaving distance
Vc,acc/leav = commercial speed of the means of transport chosen by a user
along access/leaving branches
19
Cost functions – Public Transport Cost functions – Public Transport
Getting off/on time: time necessary for the user at a stop to get on/off a Journey time or time on board: time spent by the user during the journey on
vehicle board from the end of the getting on time to the beginning of the getting off
time
A2-61
Waiting Time: time necessary for the user at a stop waiting for a service that L = distance run on board
is from the instant he/she arrives until the instant when he/she starts getting vm = commercial speed of the transport system
on
20
Cost functions – Public Transport
Monetary Cost: price paid by the user to buy the right to travel, for example: Representation of the Demand
fare, pass, etc.
A2-62
42
21
Representation of the Transport demand Representation of the Transport demand
System of activities – functions distributed over the territory Education
type and dimensions of schools of several type and level
number and dimensions of universities
Residence
quantity of people on a given portion of territory Entertainment
type and density of houses type and dimensions of gyms, cinemas, etc.
Settlements Tourism
A2-63
type and dimensions of settlements of production or tertiary type and dimensions of tourist attractions, etc.
working activities (factories, shops, offices)
number of local units Related disciplines
number of employees town planning
Services (commercial, financial, social…) science of territory
type and number of shops, bank branches, surgeries, etc. statistics
hospital beds economy
22
Representation of the Transport demand Representation of the Transport demand
Characterization of the demand Characterization of the demand
Origin and Destination of the journey Time or time band of the journey
Category of user that makes the journey (User Classes): morning rush hour, evening rush hour
Worker afternoon moderate flow hour, …
Student Recurrence of the journey
Tourist. commuting, irregular, occasional
Reason of the journey Frequency of the journey
A2-64
Topicality of the journey several times a day
current: it takes place at the same time as the analysis of the demand every day of the week, every working day
potential: it supposedly takes place under certain conditions of the offer to simulate and assess sometimes in a month, ...
future: it takes place at a future time reference Type of transport used for the journey
collective transport
individual transport
Vehicles used for each type
tram, underground, train
car, motorbike, bicycle
Route followed
23
Origin-Destination (OD) Matrix The structure of a OD Matrix
Zoning of the area
IE
A2-65
EE
II
EI
24
Components and characteristics of the OD matrix
structure of the matrix
OD zones: structuring of the territory and of the data of the analysis
sectors of the matrix
progressive numbering of zones inside/outside
journeys inside the area of intervention (II) Path building and Assignment
outwards journeys (IE)
inwards journeys (EI)
A2-66
crossing journeys (EE)
intrazonal journeys – main diagonal (zoneI=zoneJ)
margins of the matrix
total per line and column (Trip Ends)
total journeys generated from the zones of origin (Productions))
total journeys attracted by the zones of destination (Attractions)
50
25
Path building / Assignment
A typical assignment process:
builds paths based upon link costs (impedances)
assigns trips to those paths for each origin zone.
After all origin zones have been processed, link costs are updated based
upon the level of congestion on each link. The Four-Step Modelling Process
The entire path and assignment process is repeated until some criteria for
A2-67
termination is reached. Different criteria are used to determine when enough
iterations have been performed.
The volumes from each iteration are combined to form a weighted
assignment.
Almost all of the operations follow a fixed pattern, and are driven by basic
parameters. Various options are usually available to provide the user with
additional outputs.
Specific courses and literature available…
52
26
The Four-Step Modelling Process Trip Generation
Answers the question “how many trips are
One (extremely common) method of
Generation produced by and attracted to each zone”.
forecasting travel demand.
Trip ends (productions and attractions) are
Productions and attractions are a function of 150 HH
socio-economic attributes of the zone, such 500 EMP…
generated based upon socio-economic and
Distribution as households and employment. 1300 “trips”
demographic factors.
Categories of trips:
These are distributed between zones based
A2-68
Home-based-work (commute)
upon aggregate travel costs. Mode Home-based-other (e.g. social/recreational)
Logit models are used to split person trips Choice
Non-home-based (e.g. mid-day errands)
between different travel modes.
Typical model forms:
Trips by mode are factored by time of day and Network Cross-classification (average trip rates by household
assigned to specific network paths. Assignment and employment category)
Modern versions of this process feedback Linear regression (least-squares estimation)
costs from assignment to earlier steps. Ordered logit (discrete choice)
53
27
Trip Distribution Mode Split
Answers the question “where do trips Answers the question, “how do trips get from
produced by zones go, and where do trips D1 productions to attractions, given the available
attracted by zones come from?” set of network options?”
Function of activity concentrations and zone- Possible modes: public transit, personal
to-zone travel costs. vehicle, non-motorized transport, as well as
A2-69
Process calibrated to match an observed trip detailed path/vehicle type options.
D4 Origin
length distribution (e.g. from surveys). The probability of selecting a given mode is a
Typical forms: function of the relationship between its cost
D3 D2
FRATAR – iterative proportional fitting (IPF) and the cost of competing modes.
Gravity model – IPF with friction factors Typical forms:
Destination choice – random utility model (logit) Multinomial logit (random utility model)
Nested or hierarchical logit
Incremental logit (based on changes in cost)
55 56
28
Time-of-Day Factoring Highway and Transit Assignment
Answers the question “when do trips between Answers the question “what specific routes or
Time Segment 1
origins and destinations occur?” Time Segment S links are used by trips, and at what level of
Time
D1 Segment
Di Dz N
Trip Generation, Distribution, and Mode Split D1 Di Dz intensity?”
O1 T1,1D1 T1,iDi T1,zDz
create square trip tables in production- O1 T1,1 T1,i T1,z Function of interaction between travel demand
O T T
Oi 1 Ti,1 1,1Ti,i 1,iTi,z T1,z
attraction format, where each cell represents Oi Ti,1 Ti,i Ti,z and transportation supply including congestion
Oz Oi Tz,1Ti,1Tz,i Ti,i Tz,zTi,z
A2-70
both outbound and return. Oz Tz,1 Tz,i Tz,z and crowding effects.
Oz Tz,1 Tz,i Tz,z
To translate into origin-destination format, the Equilibrium: all used paths have equal and
trip tables must be transposed, added minimum travel cost; no trip can unilaterally
together, and divided by two. divert without increasing cost.
Time-of-day factors are simultaneously Typical forms:
applied, representing probability that the All-or-nothing (shortest paths only)
outbound or return portion of a trip occurs User equilibrium (convex combinations)
during the time period to be analyzed. Route choice (transit multi-path analysis)
57 58
29
Limitations of Trip Based Models
With Person-trips as the unit of analysis:
No interactions between trips made in the same trip chain
No interactions between trip chains made during the same day
No interactions between the trips made by people in the same household
Activity Based Models Spatial aggregation of Trips:
Trip origins and destinations modeled as if they are located at the same point in space
A2-71
Demographic aggregation:
All households within a given zone are treated as identical or segmented along a few
dimensions
Temporal aggregation:
Only a few periods of the day are considered
Proportion of trips made in each period treated as constant
59
30
Activity Based Models Activity and Tour Based Modeling
Early recognition that travel is a derived demand Alternative to four-step modeling approach
Auto Ownership Model
derived from a person’s desire to engage in activities that are spatially separated popular in the academic transportation
Focus of the model should be on the underlying behavior: What people want to do, not research community and becoming more
where people want to go common in practice (although still less than
4SM) Activity Day-Pattern
Choice
Early attempts at implementing tour based models Disaggregate simulation using synthetic
A2-72
San Francisco Bay Area, The Netherlands, Boise Idaho, Stockholm, New Hampshire, Italy populations based upon micro-data
Complete tours, or chains of trips, are Tour Generation &
Current implementations of activity-based travel demand model systems analyzed, rather than individual trips Time-of-Day
Portland OR, San Francisco County CA, New York City, Columbus OH, Atlanta, San e.g. Home > Work > Shop > Home
Francisco Bay Area (MTC) Activity location and scheduling models
Joint Mode/Destination
Mode choice applies to entire tour Choice
Ideally suited for dynamic traffic assignment
and meso-simulation
31
Activity-Based Approach(es) Activity Patterns (Schedule)
Activity-Based Approach A sequence of activities, or a schedule, defines a path in space and time
Think and model activities first (the motivation) What defines a person’s activity pattern?
Consider interactions among activities and agents (people) Total amount of time outside home
Derive travel as a result of activity participation (derived demand) Number of trips per day and their type
Consider linkages among activities and trips (interactions) Allocation of trips to tours
Allocation of tours to particular HH members
Departure time from home
A2-73
Demand for activities <-> time allocation
By definition a dynamic relationship with feedbacks Arrival time at home in the evening
Most approaches imply thinking in terms of temporal hierarchies Activity duration
Activity location
Mode of transportation
Travel party
What else?
32
Time versus Space patterns Time versus Space patterns
Spatial pattern Temporal pattern Spatial pattern Temporal pattern
activities activities
y y
W W
L L
L L
S S
A2-74
H W H W
S H S H
time time
x x Each activity = one episode
Real path Real path
Simplified path Simplified path A trip is an episode too
Activities: Activities:
H … Home W … Work L … Leisure S … Shopping H … Home W … Work L … Leisure S … Shopping
33
Activities in Time and Space A typical Model Structure
1. Population synthesizer
Time
2. Zonal accessibility measures
3. Activity and travel simulator
4. Travel aggregator
5. Traffic assignment
6. Feedback loop / equilibration
A2-75
W
H L
Activities:
H … Home W … Work L … Leisure S … Shopping 67
34
The typical model development workflow
A2-76
Specify, estimate and calibrate mathematical relationships using statistical tools & methods
4. Link data and processes with interface
Lay out application groups and programs
Sequence steps and link common data files
Create catalog; run, review, revise as needed
69 70
35
Training – Cube Base v5 Training – Cube Base v5
Catalog area
– Scenarios
– Data
– Applications
Flow chart
Introduction to Cube (apps)
– The model
Cube Base – model application and data Data window
A2-77
– Network/PT
Lines
– Reports
– Databases
Keys
– Scenario
specific inputs
A2-78
– Network/PT
Lines
– Reports
– Databases
Keys
– Scenario
specific inputs
Overview of Scenario Editing and Network Development Steps Scenario development steps
1 ; in catalog area, ‘Scenarios’, right click on ‘Base’ scenario and choose ‘Add Child’
2 ; name the new scenario, e.g. ‘Year 2004’ and put in scenario code, e.g. ’04’ and
Sc STEP 1
description, then OK In catalog area,
‘Scenarios’, right
3 ; open input network from the ‘Edit’ button and choose to copy parent network/open
click on ‘Scenario
as appropriate
Tree’ and choose
4 ; check and change the ‘Edit’ … ‘Options’ settings (from Cube menu …) ‘Add Child’
5 ; check the ‘View’ … ‘Layer Information’ settings (from Cube menu …)
6 ; create workspace (data layers, colours, styles, legends etc.)
A2-79
7 ; network editing; changing data for individual links/nodes
8 ; network editing; using link computations, update mode, using polygons
9 ; network editing; adding links, changing links, moving nodes, using copy and paste
10 ; intersections; quick look at the intersection editing
11 ; PT; quick look at PT editing
Training – Cube Base v5 Training – Cube Base v5
Sc STEP 2 Sc STEP 3
Open input
Name the new
network from the
scenario, e.g. ‘Test
‘Edit’ button and
Scenarios’
choose from copy
Put in scenario options
code, e.g. ’ts’ and
description
A2-80
Click OK
Training – Cube Base v5 Training – Cube Base v5
Sc STEP 3 Sc STEP 4
Open input
Check and change
network from the
the ‘Edit’ …
‘Edit’ button and
‘Options’ settings
choose to copy
from menu
parent network
Click ‘Close’
Give the new
button to accept
network a new
changes
A2-81
name, e.g.
Brisbane2008
If the network
name already
differs from
parent, this will
just open
Training – Cube Base v5 Training – Cube Base v5
Sc STEP 5 Sc STEP 6
Check the ‘View’ … Create workspace:
‘Layer Information’ Data layers by
settings from menu right clicking on
the ‘TOC’ frame
(blue circle)
Colours, styles,
legends etc. by
A2-82
clicking on the
‘Link/Line Color’
button (red circle)
Text annotation by
clicking on ‘Post
Link’ and ‘Post
Node’ buttons
(grey circle)
Training – Cube Base v5 Training – Cube Base v5
Sc STEP 7 Sc STEP 8
Network editing … Network editing :
… Editor – start Using link
editing computations from
… Layers – choose ‘Link’ …
layer to edit ‘Compute…’ menu
… With editing tool – Put in name and
right click in
A2-83
click on link or
node middle area to
Yellow diamond ‘insert’ …
indicates A-node ‘equation’
Black circle Right click to
indicates B-node define equation
Small black Used for single or
diamonds indicates selected items,
vertex points items selected by
graphics
Training – Cube Base v5 Training – Cube Base v5
Sc STEP 9 Sc STEP 9
Network editing : Network editing :
Add links from Changing links by
‘Link’ … ‘Add …’ clicking on link and
menu then move one of
Add links by the nodes (yellow
clicking on a link diamond or black
and then use copy circle)
A2-84
button in feature Moving nodes by
explorer (blue clicking on node
circle) and then and move
the create tool
(red circle)
Training – Cube Base v5 Training – Cube Base v5
Sc STEP 10 Sc STEP 10
Intersection Intersection
editing : editing :
Read in Click on ‘Show
intersection data input intersection
from data’ button (blue
‘Intersections’ circle) to open
menu intersection editor
A2-85
Post intersection Move through the
symbols from various fields to
‘Node/Color’ see and set/edit
button (must have data
been set up)
Training – Cube Base v5 Training – Cube Base v5
Sc STEP 11 Sc STEP 12
Quick look at PT Close network and
editing: save workspace as
Open PT data from MXD
either the data The various layers
section of the will get display
catalog or by settings saved in
adding PT data VPR file with same
A2-86
from geodatabase name as
(right click on TOC) geodatabase
Add PT System
data from the
‘Transit Line
Manager’ button
(blue circle)
Training – Cube Base v5 Training – Cube Base v5
Overview of Results Display and Comparison Steps Results Display and Comparison Steps
1 ; in catalog area, ‘Data’, open the various output files by clicking on the ‘+’ and then RC STEP 1
the data files, open the assigned highway network first, then the demand matrix Open the output
2 ; matrix view, look at matrix menu network from the
3 ; goto network window, then add data to map with a right click in the TOC (table of data pane on the
contents) left
4 ; link matrix to network from the ‘Node’ menu You find it under
5 ; in the network window, post link information, bandwidths etc. using the ‘Post’ menu ‘Scenario
and/or buttons Outputs’,
A2-87
6 ; perform select link analysis from ‘Path’ … ‘Use Path File’ menu ‘Assignment
results’ under
7 ; display matrix charts and desire lines ‘HW’
8 ; in catalog area, ‘Scenario Reports’, create reports by right clicking on ‘Scenario Open the matrix
Reports’ and choose ‘Create Report’ from the
‘Demand Results’
section
Results Display and Comparison Steps Results Display and Comparison Steps
RC STEP 2 RC STEP 3
Study the various Add more data to
options in the your map by right
matrix view clicking in the
Use the ‘Matrix’ TOC area as
menu indicated
Add from the
Geodatabase
A2-88
Select the river
data
Results Display and Comparison Steps Results Display and Comparison Steps
RC STEP 4 RC STEP 5
Link matrix to In the network
network from the window, post link
‘Node’ menu information,
Add the matrix to bandwidths etc.
the network and using the ‘Post’
close the dialog menu and/or
buttons
A2-89
Screenshot based on Cube5 style Screenshot based on Cube5 style
Training – Cube Base v5 Training – Cube Base v5
Results Display and Comparison Steps Results Display and Comparison Steps
RC STEP 6 RC STEP 7
Perform select Display matrix
link analysis from charts and desire
‘Path’ … ‘Use lines
Path File’ menu Chart display
Follow require adding of
instructions on node variables for
screen tripend data
A2-90
All done from the
‘Node’ menu
Results Display and Comparison Steps Overview of Mapping & Reviewing Data
RC STEP 8 1; The Layout View
In catalog area, 2; Example Maps
‘Scenario Street Base Mapping
Reports’, create Transit Mapping
reports by right Node/Point Chart Maps
clicking on
‘Scenario Intersection Level Of Service Maps
Reports’ and Multi-Bandwidth Maps
A2-91
choose ‘Create Desire Line Maps
Report’ 3; Path File Select Link Analysis
Go through the 4; Saving Settings in the VPR file
tabs in the dialog 5; Sharing maps using MXD files
to create your
report
A2-92
to top of Table of
Button
Contents
Focus Data
Zoom in to
Frame downtown
Control
Training – Cube Base v5 Training – Cube Base v5
A2-93
Training – Cube Base v5 Training – Cube Base v5
A2-94
Training – Cube Base v5 Training – Cube Base v5
A2-95
Dest Exp, and select 2-way
7. Click on the Display button to view desire lines
Training – Cube Base v5 Training – Cube Base v5
The roles of VPR and MXD files Share With GIS Staff
You (or other GIS users) can also
The Visual Project (VPR) file is still used in to track and store settings create maps for Cube 5 using
made in Cube 5, including: ArcView 9.2 or 9.3. Add
– Line/Node/Area color and symbol sets advanced elements such as
– Attribute posting and label symbol & style sets multiple inset frames with
extent rectangles or semi-
– Selection sets transparent layers, and specify
– Other network options detailed symbol style and legend
A VPR is created for each MDB, with the same name as the MDB settings. Once your map is saved
A2-96
as an *.mxd file it can be opened
You can import settings from an existing VPR file for another MDB in Cube 5 as well.
The MXD file is an ArcGIS-compatible map document, containing a
“snapshot” of the current symbol style settings, with no link to VPR
Changes stored in the VPR do not affect the MXD and vice versa!
Training – Cube Base v5 Training – Cube Base v5
A2-97
Create the chart and table
elements for the report
Pie charts, histograms, scatter
plots, standard tables, cross
tabulation tables
Choose layout and styles
Training – Cube Base v5 Training – Cube Base v5
A2-98
Training – Cube Base v5 Training – Cube Base v5
A2-99
Training – Cube Base v5 Training – Cube Base v5
A2-100
demand and supply
Full integration in
Cube Base
Training – Cube Base v5 Training – Cube Base v5
D STEP 1 D STEP 2
Open Cube Pull in the
Open Training programs HIGHWAY
Model from and PUBLIC
welcome screen TRANSPORT from
Open application the ‘Program’
menu
Make new sub
group from Link in necessary
A2-101
‘Application’ menu files (move mouse
over to see which)
Name it
‘Assignments’ and
save the group in
the ‘Application’
folder
Training – Cube Base v5 Training – Cube Base v5
D STEP 3 D STEP 4
Link in necessary Define keys
files (move mouse ‘Network’ and ‘PT
over to see which) Lines’ (see key
Right click on the dialog …)
various input files
to do this Then define
Then define keys necessary output
A2-102
(‘Network’ and ‘PT files (click on ‘OK’
Lines) by clicking button to
in ‘Keys’ area, top continue)
left and choose
‘Add’
(please note that
this will be a right
click in Cube)
Training – Cube Base v5 Training – Cube Base v5
D STEP 5 D STEP 5
Create output files Create output files
by right clicking on by right clicking on
the various files the various files
(move mouse over
to see which)
A2-103
Training – Cube Base v5 Training – Cube Base v5
D STEP 6 D STEP 7
‘Make File Scenario Add heading
Specific’ by right (bitmap) to flow
clicking on the chart from
appropriate files ‘Application’ …
(the ones with ‘Properties’ menu
circles)
‘Make File Public’
A2-104
(by right clicking)
and add some to
data catalog
Training – Cube Base v5 Training – Cube Base v5
D STEP 7 D STEP 8
Add heading to run Change model user
menu by right to ‘Model Applier’
clicking on catalog by right clicking on
tab (far top left) catalog tab (far
and choose top left)
‘Properties’ Go to ‘Model User’
Do this from and check ‘Applier’
A2-105
‘Scenario Editing’ Then you are done
tab with the
development!
Training – Cube Voyager Training – Cube Voyager
• Pilot:
• Control process flow (looping, conditional flow)
• Call Voyager modules and run shell commands
• Compute, store and retrieve “global” variables
Introduction to Cube
Cube Voyager – functionality and programming • Matrix:
A2-106
• Compile and process matrices and tabular data
• Compute and summarize zone-to-zone information
• Manipulate tables, spreadsheets, and databases
• Network:
• Compile and process multi-modal transport networks
• Convert, merge, and prepare model input networks
• Post-process and summarize model outputs
Training – Cube Voyager Training – Cube Voyager
• Generation: • Highway:
• Applies linear equations or lookup tables to forecast/compute total trip ends • All zone-to-zone network path analysis operations for continuously available
(productions and attractions) by purpose and zone transportation services
• Flexible convex combinations algorithms for equilibrium network traffic assignment
• Distribution: • Explicit consideration of turn delays and detailed intersection analysis
• Distribute trips between productions and attractions based upon skims • AVENUE: An add-on to HIGHWAY for dynamic traffic assignment with meso-scopic
simulation, including queue propagation and flow metering.
• Fratar:
A2-107
• Public Transport:
• Adjust a matrix to match row/column targets or growth factors • All scheduled transit service functions
• Access, transfer, and egress analysis and network development
• Matrix (XCHOICE): • Multi-path route enumeration and evaluation including sub-mode choice
• Hierarchical LOGIT choice model application, including joint destination-mode • Transit fare analysis and crowd modeling
choice and incremental modelling
• Limitations: up to 1,000 modes/operators/fare systems; 255 wait curves, crowding
curves, and/or vehicle types; 10 user classes; 32,000 zones, 106 nodes/links,
unlimited lines
Training – Cube Voyager Training – Cube Voyager
Transport supply and infrastructure data Demand Data and Other Tables
A2-108
• ASCII text format (Cube Voyager syntax) • Native binary MAT format for compression, efficiency
• Roundabout, priority, fixed-time and adaptive signals, two-way and all-way stops • ASCII (e.g. CSV) text, DBF formats for exchange
• Used to apply HCM 2000 or saturation flow lane group capacity and delay
• Record and Database Files
• Public transport services • ASCII (e.g. CSV) text, DBF, MS Access 2003, ESRI personal geodatabase formats
• ESRI personal geodatabase format: lines, non-transit legs
• ASCII text format (Cube Voyager syntax): lines, system data, fares, factors
• Lookup Tables
• ASCII (e.g. CSV) text, DBF formats
• Binary format to consolidate data with underlying multimodal network
Training – Cube Voyager Training – Cube Voyager
A2-109
Training – Cube Voyager Training – Cube Voyager
A2-110
Training – Cube Voyager Training – Cube Voyager
A2-111
^ exponentiation <= less than or equal to
• Continuation characters (commas, equals signs, any operator) () parentheses > greater than
distribute statements across multiple lines < less than
• E.g.: COMMAND,
KEYWORD=VALUE, • Numeric functions:
SUBKEYWORD=VALUE • ABS, INT, ROUND, MAX, MIN
EXP, LN, LOG, POW, SQRT
RAND, RANDOM, RANDSEED
Training – Cube Voyager Training – Cube Voyager
A2-112
• Write system commands, keywords, and functions in UPPERCASE,
• Special functions: reserve lower and proper case for user-defined variables and
• CmpNumRetNum(V1,OP,V2,R1,R2) names
• Compare number V1 to number V2 based on OP and return R1 if result is true and R2 • NEVER have your script file open when you are linking new files
if result is false. into a Voyager Module. Input and output files will not get
updated!
• Try right-clicking when you are unsure what should come next
Training – Cube Voyager Training – Cube Voyager
• Cube Voyager program modules may contain one or more “phases” Comments ;Used to document your model
; whole lines or
• Each phase performs a user-specified sequence of operations on each ; end (;) of command line
element of a data structure, such as links in a network RUN Program ; start of program run/module
• Typical program script: FILES ; input and output files as specified in Flow
;Comments preceded by semicolon ; Chart (we do not need to type this in
RUN PGM=name ; Application Manager does this automatic for us).
FILEI … ;specify input files PARAMETERS ; setting values for variables
FILEO … ;specify output files PROCESS PHASE = ; start a calculation process
A2-113
PARAMETERS … ;global settings not in any phase COMMAND keyword= ; document/explain the command
PROCESS PHASE=… ….more commands
COMMAND KEYWORD=…
ENDPROCESS ; end the calculation process
;more commands…
ENDPROCESS …. more processes
;more phases… END ; end of program run
ENDRUN
• Additionally, some programs have an iterative looping framework that
will repeat certain phases until a convergence criterion is met
Training – Cube Voyager Training – Cube Voyager
A2-114
• Items in LIST may have their own format:
• IF (condition)
VariableName(format)
…
• ENDIF • Formats:
• field width 10: (10)
• field width 8, 2 decimal places: (8.2)
Training – Cube Voyager Training – Cube Voyager
A2-115
wizard at Insert > Lookup Table
• Example: get updated
FILEI LOOKUPI[1]="lookup.dbf"
speed by area type and facility type code LOOKUP LOOKUPI=1, • Use the right click when unsure what comes next
• Limitation: only one lookup value NAME=lookup,
LOOKUP[1]=FTYPE,RESULT=SPD_A1,
LOOKUP[2]=FTYPE,RESULT=SPD_A2,
LOOKUP[3]=FTYPE,RESULT=SPD_A3,
FAIL[3]=0
; example of use: v=lookup(3,25)
; look for 25 in the FTYPE field
; and returns the SPD_A3 value
Training – Cube Voyager Training – Cube Voyager
A2-116
• All changes to the file names and locations should be done Network
in AM
22
Training – Cube Voyager Training – Cube Voyager
Network Network
A2-117
• Outputs:
• 1 Network (Citilabs Binary/Geodatabase); • The process compares corresponding A-B links across all input networks. It
then selects link variables from each network as per your specification. The
• 1 Link and 1 Node (text, dbf, binary Citilabs, geodatabase table)
default is numbers from the first input link file if nothing is specified.
• Up to 30 Print Files
• SUMMARY:
• Variables: • Report results of LINKMERGE phase
• Unlimited Link & Node, 15 character limit, referencing=LI.#.name or
NI.#.name, working variable=_varname
• E.g. LI.2.distance ;Read in from link input file #2 the distance variable
23 24
Training – Cube Voyager Training – Cube Voyager
A2-118
Matrix • Outputs may include:
• Matrices
• Print Data files
• Record files
• Various file formats for both input and output are supported
• User is responsible for specifying what is to be accomplished
25
Training – Cube Voyager Training – Cube Voyager
A2-119
• Transpose matrices
• Up to 15 record data files (dbf format)
• Up to 10 print files • Generate matrices
• Renumber, aggregate, and disaggregate matrices
• Module Structure – ILOOP/JLOOP
• Process Record data
• Allows up to 999 internal tables
Training – Cube Voyager Training – Cube Voyager
Cube Voyager • Input includes highway network, zonal matrices, zonal data,
and turn penalties
Highway
A2-120
• Output includes a loaded network, new matrices, turning
volumes and reports
Highway module – input and output data types Highway module process structure
A2-121
• CONVERGE: check to determine whether additional ILoop
iterations are necessary
A2-122
• Multiple path sets can be built using multiple PATHLOAD Generation
statements
• Specific links can be excluded from path sets
• Skims of any current link attribute can be created as
paths are built
• OD Trips can be loaded to PATH sets by volume set
Training – Cube Voyager Training – Cube Voyager
• Primary function is to process zonal data and generate • In this step the stack of calculations are performed on each
arrays of productions and attractions zone.
• Calculations and balancing functions are user defined • The user usually accessed a Zonal Data File and supplies
regression equations.
• Input may include • Script:
• Up to 10 zonal data files P[1]=3.2*ZI.1.HOUSEHOLDS
A2-123
P[2]=2.5*ZI.1.HOUSEHOLDS
P[3]=1.2*ZI.1.HOUSEHOLDS
• Output may include A[1]=1.6*ZI.1.TOTAL_JOBS
• Up to 10 production and attraction files
A[2]=34*ZI.1.TOTAL_JOBS
A[3]=19*ZI.1.TOTAL_JOBS
Training – Cube Voyager Training – Cube Voyager
Generation PHASE=ADJUST
A2-124
Distribution
• This can be accomplished using ‘math’ or the ‘Balance’
function.
• Script:
BALANCE A2P=1,3 NHB=2
Training – Cube Voyager Training – Cube Voyager
Distribution
A2-125
• Most common process is the "gravity" model, but there is no Choice
automatic, or default, trip distribution process.
• Input may include:
• Up to 20 matrix files, 1 text data file of data (friction factors). Up to 10 production
and attraction files
XCHOICE Command
ALTERNATIVES=… ; Define each alternative choice (eg. Car, PT)
DEMANDMW=… ; Define input trip matrix to be split • Logit Curve Formula (cost-based model):
COSTSMW=… ; Define cost matrices for each alternative
ODEMANDMW=… ; Define working matrices to store output trip
matrices for each alternative Pr(PT)= exp(-O x GC(PT))/[exp(-O x GC(PT)) + exp(-O x GC(Car))]
STARTMW=… ; Define a working matrix for internal calculation
SPLIT= … ; Define the choice model (i.e. structure and Pr(Car)= exp(-O x GC(Car))/[exp(-O x GC(PT)) + exp(-O x GC(Car))]
A2-126
; scale)
Public Transport
A2-127
Assignment Procedures
44
43
Training – Cube Voyager Training – Cube Voyager
A2-128
• Up to 15 line files • 1 NTLEG File,
• Up to 5 NTLEG files • 1 Report File,
• Up to 10 route files • Up to 10 Route Files
• 1 Screenline data file • 5 DBF Stop to Stop file
• Up to 5 lookup files • Up to 20 Print files
• 1 intercept file for Cube
Analyst
45 • 1 screenline file for Cube 46
Analyst
Training – Cube Voyager Training – Cube Voyager
A2-129
• Skim costs • Service Frequency and Cost Model
• Assign PT Trip • Determines the proportion of demand for competing PT services based
upon service frequency and travel cost
• Alighting Model
• Is a logit model to determine the proportion of demand when there are
two or more valid alighting points
47 48
Training – Cube Voyager Training – Cube Voyager
• Assignment Types: • MODE=num ; defines the service’s mode, eg. Train, bus
• HEADWAY[num]=num ; defines the service’s headway in minutes, up to
• Multi-routing five alternative headways can be stored
• Multi-routing with crowd modelling • VEHICLETYPE=num ; defines vehicle type characteristics as specified in
• All or Nothing (best path) the system file
• NODE=num ; specifies the list of sequential nodes that the PT
A2-130
service travels along
• Node has many the sub keywords including:
• Note: All or Nothing cannot be used in
• SPEED=num ; defines speed between nodes
conjunction with Crowd Modelling
• DELAY=num ; adds additional link time between two nodes
• Cube base summarises the information in a graphic format for easy editing.
49 50
Training – Cube Voyager Training – Cube Voyager
A2-131
type)
• Wait curves for both initial boarding and transfers 102 mins
106 mins
• Node: Cube Base provides a graphic interface for defining
this data
51 52
Benefits of Freight Modeling
• To Answer Policy Questions
A2-132
• What if the price of fuel continues to increase?
A2-133
mode and commodity class into direct flows and transport
chain flows
• Fine Distribution Model: for each of the matrices
redistributes from coarse zones to the fine zones
• Vehicle Model: converts the estimated annual commodity
flows by truck into number of heavy trucks and light trucks
• Service Model: estimates daily urban service truck trips
The Cube Cargo Model Network Data Pre-Processing
• Cube Cargo model with Voyager modules for preparing • Voyager modules (HIGHWAY, NETWORK, PUBLIC
and analysing data and results TRANSPORT, MATRIX) can be used to evaluate
network inputs to Cargo
A2-134
Cube Cargo Model Process Generation
• Regression models on socioeconomic
• Cube Cargo modules calculating production of volumes attributes (zonal data) and constants by
commodity class and country External zones controlled with ‘shift’/
and tons of goods and breaking this down to OD flows (parameters.genfunpar) “singpoint” variables to fix imports and
exports by commodity class and trend rates
• Use of special generators to represent
and OD vehicle trips external generated commodities: ports by
location of facility and commodity class
(manipulation.shift and
manipulation.zoneshift)
• Trend rates to represent production
efficiencies and other factors not
represented in the regression models by TLN have no production and consumption
A2-135
commodity class and country
(parameters.valuedense)
• User specified values for the amount of
production exported to external zones and
the amount imported to the internal zones
by commodity class.
(parameters.expimpfraction)
• Trend rates to represent trends in the
level of import and export.
(parameters.expimptrend)
A2-136
those remaining ‘internal’ and those remaining • Choice models use
‘external’ by commodity class. (zonal
data.foreignfraction) by mode and
• Adjusts internal and external fractions by user
assumption on trends by commodity class
commodity class
(zonal data.foreigntrend).
• Distributes internal, import and export long- • Time
haul flows using gravity models by commodity External fractions set by user plus
class. (parameters.longdistribution) trends
• Cost
Impedance is a generalized cost using a linear
combination of time, distance and cost by • Constant
Study Area Internal Area External Area External Zone TLN Study Area Internal Area External Area External Zone TLN
mode weighted by the mode choice
coefficients. (parameters.mdsppar).
Logistics Node Model Fine Distribution Model
• Partitions the long-haul • Distributes models from coarse
matrices by mode and zone system to fine zone system Allocate Destinations with
Partitions into Long-Haul Distribute from fine origin to fine
Weights based on
commodity class into direct and Direct Flows by mode destination using gravity models
socioeconomic data
TLN flows • The fine zones are smaller and
nested under a coarse zone. 10 25
• definition of zone location of
TLNs and the zones that they These flows are distributed to the
serve (tln.tlntable); fine zones encompassed by the
Define location of TLN
(tln.tlnservedzones); coarse zone using: 30
Define service area of TLN 25
(tln.tlnserved outerzones). • a weight to establish a small sub-
A2-137
• definition of directionality of matrix of the fine zone matrix 10
TLN flows and selection of TLN based on parameters and fine 25
using tlnweightroad, zone level zonal data.
tlnweighttrain and • and a gravity model using, 35
tlnweightship. distance as the impedance, to 25
• product is matrices by infill the individual cell values.
Partitions into Long-Haul TLN 15
commodity group segmented Flows and Short-Haul TLN • It is possible to override these
Flows by mode
into: models to represent particular
• Long-haul direct flows by mode Study Area Internal Area External Area External Zone TLN points in the system. Coarse Zone Fine Zone Allocate Origins with Weights
(truck, rail and air) based on socioeconomic data
• Long-haul to/from TLN flows by mode
(truck, rail and air)
• Short-haul to/from TLN flows by truck
From flows to vehicle models Touring Vehicle Model
Generation gives P & A by zone • Vehicles are assumed
and commodity class Coarse zone level Generation
Distribution distributes two sets of to have the same start
matrices: P & A by CC
– short-haul flows by commodity and end zone but
class which are assumed to be
truck flows; and
– long-haul flows by commodity
Long-Haul Flows by CC
make intermediate
class which go to mode choice Distribution
Mode Choice splits the long-haul
stops to load and
flows into long-haul flow matrices
Direct Short-Haul Flows by CC by Truck unload.
by mode and commodity class Mode Choice Generated tour from a TLN and
back doing pickups and drop-offs
The long-haul modal matrices from
Mode Choice are segmented into Long Haul Flows by Mode & CC • Heavy computations
A2-138
flows that:
– travel directly from zone of so limit use to TLN
production to zone of consumption
(Direct long haul flows by
commodity class) and, TLN and selected zones.
– flows that will use a TLN. The
flows that go via TLNs are
segmented into:
• short haul segment by mode and Direct Long-Haul Flows by Mode & CC Long-Haul Flows to TLN by Mode & CC Short-Haul Flows to TLN by Truck & CC • Estimates number of
commodity class
• long-haul segment by mode and
commodity class
vehicles based at the
Fine Distribution
origin using the flows
Fine zone level
from that zone and Study Area Internal Area External Area External Zone TLN
Direct Short-Haul Flows by CC by Truck Direct Long-Haul Flows by Mode & CC Long-Haul Flows to TLN by Mode & CC Short-Haul Flows to by truck & CC
average load factors.
Standard Vehicle Model Vehicle Models
• Model assumes that all • The vehicle models can provide three truck matrices for
With the use of ‘Big Zones’ can include
vehicles make trips of the neighboring zones when calculating probability assignment to a roadway network:
of a return load. This generates a simple tour.
form A-B-A. • Heavy long-haul trucks
By default, the standard model creates direct
• Return load is a function round trips between the two zones. The • Heavy short-haul trucks
probability of a return load depends on the flow
of goods in the ‘back direction’ • Light short-haul trucks
of the commodity flow in
A ‘Big Zone’
the opposite direction.
A2-139
• Can modify using ‘big • By default, these matrices are annual truck flows since
zones’ enlarging the area we estimate annual commodity flows. Matrix
considered for a return manipulation can be used to estimate daily and hourly
load. flows by season if so desired.
A2-140
restaurant..etc.
• Used directly on the fine zone system
• Estimates generation using regression models based on
zone type and socioeconomic data
• Trips are distributed using gravity models.
Cube Cargo – Model Interfaces Cube Cargo – Model Data and Parameters
• Model structure set up in Cube’s Application Manager
A2-141
Cube Cargo - Model Data and Parameters Cube Cargo – Detailed Descriptions
• MS Excel tables used to store & input model parameters, • Methodology and data inputs for the Cargo programs
options, and system information
• Cargo expects multiple sheets in each Excel file
• Required column labels must be in first worksheet row
A2-142
Cube Cargo – Data in MS Excel files Cargo PRODUCTION - Estimating Base Trip Ends
• MAIN MODEL DEFINITION – Model_Descriptions.XLS
Model.FineZonalSystem Model.FineKey Model.ZonalSystem
Zone zs1 Zone Model.Countries
• Tcej = The initial estimate for the total trip end (tons per year)
Name zs2 Name Code for commodity group c, direction e, and coarse internal zone j.
InternalFlag Countries
Model.DistanceClassVcl Country • kcel[j] = The constant for commodity group c, direction e, and
LowerBound
country l[j].
Model.COGRInfo
Model.DistanceClass Model.ShiftInfo Model.StructureDataInfo Code • Dcejv = The value of the variable called v for commodity group c,
LowerBound Index Code Name
for direction e, for zone j.
A2-143
Shift Name Description
• Pcel[j]v The value of the coefficient associated the variable called
• XLS file inputs to Cargo programs v for commodity group c, for the direction e, for the country l[j].
• MODEL_DESCRIPTIONS.XLS – Inputs to ALL CARGO PROGRAMS
• Zcejs = The value of the shift variable called s for commodity
• MODEL_PARAMETERS.XLS - Inputs to ALL CARGO PROGRAMS
• ZONAL_DATA.XLS – Inputs to ALL CARGO PROGRAMS except vehicle and service models
group c, for direction e, for zone j.
• MANIPULATION_DATA.XLS – Inputs to PRODUCTION • gce = the volume growth factor for commodity group c, for
• BASE_VOLUMES.XLS – Inputs to PRODUCTION direction e, for country l[j].
• TLN_HANDLING.XLS – Inputs to LOGISTIC NODES
• FINEZONE_DATA.XLS – Inputs to FINE DISTRIBUTION • y = The time, in years, from the base year to the year for which
• VEHICLE.XLS – Inputs to VEHICLE MODEL Cube Cargo is being run.
• URBAN.XLS – Inputs to SERVICE MODEL
Cargo PRODUCTION - Input Data Structure Cargo MODE DISTRIBUTION - Gravity Model
Zone.BaseData Zone.FutureData Man.ZoneShifts
zone zone zone • Short-Haul Deterrence:
[Model.StructureDataInfo.Name] [Model.StructureDataInfo.Name] [Model.ShiftInfo.Shift]
• c = A commodity group
Vol.Volume Zone.ExpImpFraction Zone.ExpImpTrend Vol.FutureVolume
zone zone zone zone • e = The base of the natural logarithm function
cdgroup cdgroup cdgroup cdgroup
emis tons/yr emis emis emis tons/yr • d = The distance
dest tons/yr %exported in base %exported growth rate dest tons/yr
export tons/yr dest dest export tons/yr • Fc(d) = The deterrence function of distance used in the gravity
import tons/yr %imported in base %imported growth rate import tons/yr model
A2-144
• pc = the calibration parameter for commodity c
Para.ValueDense Par.GenFunPar Man.Shifts
cdgroup cdgroup cdgroup • Long-Haul Deterrence:
CountryCode CountryCode EmisDest
emis EmisDest [Model.ShiftInfo.Shift]
dest Const • Gc = The Cube Cargo generalized cost: this is the composite cost
Trend residual growth [Model.StructureDataInfo.Name] derived from the logit model used for modal split;
rates
• Pc = The calibration parameter for commodity c
Model.COGRInfo
Model.ShiftInfo Model.StructureDataInfo Code
• c = growth factor for the calibration parameter for commodity
Index Code Name c.
Shift Name Description
• y = The time, in years, from the base year to the year for which
Cube Cargo is being run.
Cargo MODE DISTRIBUTION - Input Data Cargo MODE DISTRIBUTION - Mode Choice
Structure Model
• Generalized cost:
Zone.TransitGrowth Zone.NearFraction Zone.ForeignFraction Zone.ForeignTrend
zone [external] zone [external] zone [external] zone [external]
cdgroup cdgroup cdgroup cdgroup • c = A commodity group
emis emis dest dest
E-E productions growth generated short-haul % export attractiveness growth rate in…
dest dest emis emis • m = A mode
E-E attractions growth attracted short-haul % import productiveness growth rate in…
A2-145
cdgroup cdgroup cdgroup cdgroup
TrendFactor NearFraction TrendFactor mode
growth in LongDist… NearDistribution distclass
LongDistribution const • x = The direct monetary cost
dist
time
cost
• k0cm = The constant term from para.MdspPar.const
• k1cm = The coefficient from para.MdspPar.dist
Model.COGRInfo
Code • k2cm = The coefficient from para.MdspPar.time
Name
Model.DistanceClass
Description
LowerBound
• k3cm = The coefficient from para.MdspPar.cost
Cargo LOGISTIC NODES – Input Data Structure Cargo FINE DISTRIBUTION – Input Data
TLN.TLNFracRoad TLN.TLNFracTrain TLN.TLNFracShip
Structure
TLN.TLNServedZones
cdgroup cdgroup cdgroup Para.FineFunPara Para.ParaFineDis
zs1 (internal coarse zone)
EmisDest EmisDest EmisDest
FullLoadFrac TLNFraction TLNFraction
cdgroup cdgroup
TLNFracOfFull EmisDest Parameter
TLN.TLNServedOuterZones TLNPartLoadFrac NearFarFlag (enum: n=‘near’, f=‘far’)
zs1 (external coarse zone) TLNFracOfPart Const (zone weight term)
cdgroup TLNConsGoodFrac
WeightEmisRoad [Model.StructureFineDataInfo.Name] Same fields apply for Train, Ship tables
TLNFracOfCons
WeightDestRoad Fine.SingPointStreetVolume
WeightEmisTrain Fine.FineSocEcoData Fine.SingPointStreet
TLN.TLNTable NR
WeightDestTrain Finezone NR
tlncode cdgroup
WeightEmisShip Name Name
[Model.StructureFineDataInfo.Name] Ori (weight increment)
A2-146
WeightDestShip zs2 (fine zone) Finezone
proportion of goods traveling by Dest
road/train/ship
collected/distributed at TLN Fine.SingOD
cdgroup
Model.FineZonalSystem
ori
Zone
dest
Name
TrafficMode
TLN.TLNWeightStreet TLN.TLNWeightTrain TLN.TLNWeightShip Model.COGRInfo Volume
tlncode tlncode tlncode Code Model.COGRInfo
EmisDest EmisDest EmisDest Name
[Model.COGR-Info.Name] [Model.COGR-Info.Name] [Model.COGR-Info.Name] Description Model.StructureDataInfo Code
Code Name
Name Description
Agenda
Introduction
Cube Analyst Program
(Mathematical Background)
Cube Analyst Calibration of Estimation Process
A2-147
Matrix Estimation
1
Cube Analyst - Introduction Cube Analyst - Introduction
Cube Analyst allows user to update an “old matrix” using several (traffic Input Data:
counts, etc.). A prior (existing) trip matrix
Traffic generations and attractions of zones
Takes the adjacent inputs with corresponding confidences to produce an OD Traffic counts on links
matrix that best fits the input observations using a maximum likelihood Turning Count Movements
technique, coupled with an optimization procedure. Modelled (multiple) paths between zones
Cost of travel between zones
Cube Analyst estimates one matrix at a time, therefore your inputs must be Parameters of a calibrated trip distribution function
A2-148
consistent with the modelling period that you are trying to estimate. Output Data:
The estimated O-D matrix.
Summary reports on differences between input data and corresponding values implied by
the estimated matrix.
A set of files with information on : Model Parameter values
A log of the optimization steps
Internal Gradient Search and Intercept data
Cube Analyst - Estimation Process Cube Analyst - Input Data
A2-149
Screenlines Always
Estimation
Analyst Module
Paths ( or IPC File) Always
A2-150
Voyager Path File (using HIGHWAY) - Analyst can use this file to generate its own intercept data for the estimation process.
file, storing routes for OD pairs.
Intercept File (using HIGHWAY/PT) - Stores routes for OD pairs that cross each
screenlines.
Cube Analyst - Prior Matrix Cube Analyst - Cost Matrix
A2-151
Matrix Script
If it is in input, it is in the same file of the
Prior Matrix.
Cube Analyst - Cost Matrix Cube Analyst - Trip Ends
Trip Ends are the generated and attracted trips for each zones during the
simulation time period.
A2-152
Matrix Script
Cube Analyst - Traffic Count Data and Screenlines Cube Analyst – Screenlines location
A2-153
The traffic count sections must be
located on the corridors among O-D
couples.
Cube Analyst – Screenlines location Cube Analyst - Screenlines File
A2-154
Maximal flow-intercepting rule - under a certain number of links to be observed the
chosen links should intercept as many flows as possible.
Link independence rule - the traffic counting points should be located on the network so
that the resultant traffic counts on all chosen links are not linearly dependent.
Highway Script
Cube Analyst - Screenlines File Cube Analyst – Route information (Path or ICP File)
A2-155
ICP file (both for PT and HW)
PATH file (only for HW)
Differences:
PATH FILE – whole set of routes ( all the zones and user classes)
INTERCEPT – only the routes that cross the screenlines and by user class
Cube Analyst – Route information (Path or ICP File) Cube Analyst - Confidence Level
“Confidence level” is a weighted value for input data used to estimate new
ICP file – Script trips matrix.
It depends on reliability and variability of data:
Inconsistencies in what the different data suggest that the estimated matrix should be.
The inherent variability means that collected data items are merely a sample, and hence
the values, (even of simple traffic counts) may only be considered to fall within a range (a
A2-156
distribution). The width of this range is a reflection of the confidence that may be placed in
particular items.
PATH file - Script
…
Define confidence levels properly: The estimation model is given by following equation:
Asking: How old is the prior matrix? What is the level of sample from the surveys?
Create a classification of relevance. R
Starting to apply a set of general values.
Tij ai b j t ij X K ijk
Analyze results and decide. K
A2-157
… Tij Estimated Trips from origin i to destination j
tij Prior Trips from origin i to destination j
Rijk Probability of trips between zones i and j
ai, bj, XK Model Parameters
Cube Analyst - Estimation Process Cube Analyst - Estimation Process
If there is no prior observation for movements between some O-D (and if The main features of the Cube Analyst calculations are:
there is an input cost matrix), tij may be calculated by: Optimization – Changing the parameters of the estimation model to optimize them
Evaluation – Defining if the result is the best
E c ij
tij ciDj e
A2-158
tij Prior Trips from origin i to destination j Maximum likelihood objective function:
cij Generalized cost of travel between zones i and j
D, E Model Parameters
M ¦O H H O H H log( O H h )
NOTE: The equation above is borrowed from the gravity model that makes the behavioural
H
assumption that people prefer lower cost journeys to cost ones, but are influenced by level of
trips generated by and attracted to different zones. (It is not a rigorous approach but it may be h Estimated data
used where no other source of prior matrix data is available. H Observed data
Oij Confidence level associated with H
Cube Analyst - Estimation Process Cube Analyst - Estimation Process
Maximum likelihood theory shows that the most likely values are indicated when M, which is The maximum likelihood method assumes that each item of input data represents an
negative, reaches its minimum possible value. (For reason of computational convenience, Cube observation from a random distribution of possible values, but where the variation of values may
Analyst minimizes the negative of the “log-likelihood” objective function, rather than maximizing be described by a probability distribution function (Poisson Probability Distribution Function).
the positive version, as the name “maximum likelihood” might suggest.)
A2-159
wM
0
w-
Cube Analyst - Options Cube Analyst - Standard user control Parameters
A2-160
intercepts for the screenlines. (example: PSET=1)
PVOLS Applies only when a VOYAGER path file is input.
It defines the volumes to apply when building the
intercepts for the screenline. (example: PVOLS=1)
WIDEND Specifies the format of the Screenline File. (0 = automatic)
MFORM Indicates the format of the output matrix. (0 = as in input)
DEC Defines the precision for storing values in output matrix.
...
Cube Analyst - Secondary user control Parameters Cube Analyst – Calibration (Analyzing Reports)
MAXITERS The maximum number of iterations (Default = 3000) Average Confidence Levels
UTOL The accuracy tolerance in detecting convergence or failure.
(Default = 0.0001)
ITERH The number of iterations between recalculations of the
estimated Hessian matrix. (Default = generated by ME)
IHTYPE Type of optimization process used by Cube Analyst
A2-161
Prior/Estimated Matrix Totals
A2-162
Observed/Estimated Attractions
Cube Analyst – Calibration (Analyzing Reports) Cube Analyst – Calibration (Analyzing Reports)
Check the structure of the matrix – usual TLD (trip length distribution) Guidelines on acceptability
A2-163
Agenda
A2-164
Visualization and Analysis Tools
Packet Log Analysis Techniques
Equilibrium Methods for Large Urban Models
1
Introduction
During the “model period” the following variables are
constant and do not change:
Origin-destination flows (travel demand)
Routing and path proportions
Link flows (vehicle volumes)
Transportation Modelling Static Link costs (congested times)
Path costs (origin-destination skims)
and Cube Avenue
These models process time-varying inputs and
Dynamic Traffic Assignment with Cube Avenue
A2-165
Assignment outputs.
Models - Inputs:
Time-varying origin-destination travel demand
(flow per time segment)
Average link costs by time segment
Dynamic Capacities (max flow/period by segment)
- Outputs:
Dynamic path/link flows (total entering vehicles by
time segment) and path/link costs
Simulation-based record of actual trajectories
3
Generally macroscopic models are used for
“strategic” planning (medium and large areas)
Introduction Macroscopic models consider the entire
Introduction
system and estimate routing and flows through a
network for a time period Traffic Flows
A2-166
Assignment Assignment
Mesoscopic Mesoscopic
Models Compute (1) minimum-cost path set for the Models
traffic volume
A2-167
Assignment Assignment
Mesoscopic Mesoscopic
Models Models Microscopic models are speciialized tools for
detailed studies
A2-168
Assignment Assignment
Mesoscopic Mesoscopic
Models Models
Mesoscopic models the lowest-cost path for
the traffic volume for each packet of vehicles
Macroscopic
Macroscopic
Assignment
A2-169
Assignment Mesoscopic
Mesoscopic Models
Models Details increase
Study Area size increases
Microscopic
Microscopic
Introduction Transportation modelling tools
Macro-meso-micro methods can be most easily distinguished by how they Macroscopic and
represent flow and evaluate congestion Static Modelling
Flow can be either continuous (streams) or discrete (vehicles/packets)
Performance functions can be either aggregate (evaluated for a whole time
interval) or disaggregate (evaluated for individual flow quanta) Mesoscopic and
A2-170
Dynamic Modelling
Typology of assignment models Performance functions
Aggregate Disaggregate
Microscopic and
Flow Continuous MACRO N/A
Representation Dynamic Modelling
Discrete MESO MICRO
What is Cube Avenue? Cube Avenue – Dynamic Traffic Assignment (DTA)
Avenue is an optional add-on to Cube Method of system-level assignment analysis which seeks to track
Voyager that enables Dynamic Traffic the progress of a trip through the network over time
Assignment with Mesoscopic Simulation:
Dynamic Traffic Assignment Accounts for formation and propagation of queues due to
Routes and flow rates change during the model congestion
period based upon congested costs
A2-171
Mesoscopic Simulation A bridge between traditional region-level static assignment and
Vehicles are grouped into homogenous “packets” corridor-level (micro-simulation)
and simulated as they move through the network
Cube Avenue – Dynamic Traffic Assignment (DTA) Cube Avenue – Mesoscopic Modelling
The model duration is explicitly defined and divided into smaller time
segments
Simulation Time
With mesoscopic models, it is still possible to quickly analyze
larger areas with a more detailed model which overcomes the
pitfalls of the macroscopic travel demand models.
Warm-up Period Model Period Post-load Period
Takes into account intersection configurations and controls
A2-172
More detailed estimates of delay, travel time, and capacities
Segment Segment Segment Segment Segment Segment Enforces capacity limitations and the effects of queues ‘blocking back’
DemandProfile
Models flow curves and changing demand throughout an analysis period
Allows vehicles to respond to traffic conditions and change their route
Demand
1 2 3 4 5 6 7 8 9 10 11 12
TimeSegments
Cube Avenue – Input Data Cube Avenue – Output Data
A2-173
LOS and delays
Queues
Turning volumes
...
Cube Avenue – Output Data Cube Avenue – Output Data
A2-174
LOS and delays LOS and delays
Queues Queues
Turning volumes Turning volumes
... ...
Packets animation Packets animation
A2-175
Evaluate the benefits of ITS (Intelligent Transportation System) projects
Simulate alternative infrastructure, operational and policy changes to
optimise
Emergency evacuation plans and strategies
Test strategies to improve arrival and departure from stadiums and other
special event facilities
...
24
Congestion: the key to understanding model scale Mesoscopic Traffic Modelling
A2-176
Traffic stream performance is typically still
use behavior models (e.g. car following, gap evaluated using aggregate macroscopic (e.g.
acceptance) to predict second-by-second speed-flow) relationships
driver responses to en-route events Aggregation / dis-aggregation processes
used to combine queue and stream
performance measures
The temporal information cycle From trips by segment to vehicle packets with paths
Aggregate
Aggregate
A2-177
As Cube Avenue
processes the various departures within the
kinds of information segment
used in traffic Departures grouped
assignment, it moves and assigned paths
between different based on link costs by
Queues Flows levels of aggregation. Queues Flows time segment
Disaggregate
Disaggregate
Example: Disaggregating trips to packets Packet routing and grouping
6
Pr(t)
A2-178
2 Departure times packet generated! (very expensive)
Trips / Segment
chosen randomly
(uniform
We can reduce the number of path builds
1
distribution) required by defining some ѐt during which
0 departures take effectively the same path
0:00 - 0:15 0:15 - 0:30 0:30 - 0:45 0:45 - 1:00 PARAMETERS MAXPTHPERSEG:
Time Upper bound on the number of path builds
executed for a given time segment, iteration,
An internal random number generator randomly draws a departure time and origin (Defaults to 5).
for each packet departing in a given interval.
Translating packet paths into link flows Event-based simulation
Packet simulator Cube Avenue simulation processes events as they are encountered by
Demand moves packets along packets moving along their paths C
their path
Aggregate
Packets can be in one of two states:
Packets traverse links Moving on a link
according to speed- In queue (waiting on a link) A
Costs Routes flow function output B
A2-179
A vehicle may have to wait if:
gate
time Cars leaving a link exceed its exit flow capacity (Capacity Constraints)
Movement from one Cars entering a link exceed its entrance flow capacity (Capacity Constraints)
link to another is There is no room for it on the next link (Storage Constraints)
regulated by “gates” These criteria are evaluated by A-B-C movement
Packet volumes are Turn capacity is also checked if output by a junction model
Queues Flows added to link flow (intersection analysis, e.g. HCM 2000)
Disaggregate
volumes upon entry Constraint is the minimum of constraints at node
General Principles: Gates General Principles: Queue Propagation
A2-180
flow capacity of 1800 vehicles per hour and then entering packets will be queued
total flow capacity of 3600 vehicles per hour: Lanes = 3
This is referred to as a “horizontal” queue Storage = 6 vehicles
This is equivalent to a headway (or gap)
of one sec/vehicle In practice, storage is the jam density at
So if a packet with two vehicles arrives at the gate, it minimum vehicle spacing
cannot leave the link any sooner than two seconds PARAMETERS VEHPERDIST:
after the packet ahead of it.
Density per lane [vehicles/lane/distance]
Queues: Expected vs. excess time
Backing up (0:20:15)
A2-181
because there is no room on 104-105
Volume-weighted
average excess time
Flow rate to zone 2 is now the same as at
Blocked (1:04:27) the link 105-106 bottleneck
by link and time
segment is calculated
after simulation
Link 100-104 fills, blocking flow to either
destination on link 103-100 Queues Flows finishes
Disaggregate
Re-estimating link costs by time segment Link-based cost feedback and demand scaling
Aggregate
Aggregate
A2-182
units of flow/MP
Factor = MP / TS
beyond its iteration
and is re-simulated
Expected excess
(queue) time is added Flow-based MSA:
to estimated time in assign a “copy” of
flow stream initial packet set with
Queues Flows Queues Flows 1/n flow scaling to
Generalized COST
Disaggregate
Disaggregate
paths
function applied by
time segment
Route and departure time choice models (Optional) Dynamic Traffic Assignment Modeling Options
Aggregate
function Dynamic process models
Can extract actual Represents process of “learning” link costs
Costs Routes simulated path costs Within-day or between-days
A2-183
from log file Incremental assignment
Behavioral route and Conventional: divide trips into “fractions” and
accumulate via successive loading
departure time choice
By-time: treat time segments as increments
models follow readily
Queues Flows
Disaggregate
Specific Output Data of Cube Avenue Specific Output Data of Cube Avenue
TIME_1: average travel time on a link during the model period VITSt_1: number of vehicles in transit on a link during the time segment t
TIMESt_1: average travel time on a link during the time segment t Note: VITS <= STORAGE (+ 2*PACKETSIZE)
CSPD_1: average travel speed on a link during the model period QUEUEVSt_1: average number of vehicles queuing on a link during the time
segment t
SPEEDSt_1: average travel speed on a link during the time segment t
Note: QUEUEVS <= STORAGE (+ 2*PACKETSIZE)
VfSMP_1: volume of traffic entering a link (volume field f) during the
A2-184
BLOCKVSt_1: number of vehicles in the queue in the time segment t that
simulation period
will remain in the queue at the end of the simulation
VfSt_1: volume of traffic entering a link (volume field f) during the time Note: BLOCKVS <= QUEUEVS
segment t Note: link and path flows are not necessarily conserved because the model period may end
VSMP_1: result of applying the V function to V1SMP_1, V1SMP_1, … during a packet’s journey…
VSt_1: result of applying the V function to V1St_1, V2St_1, …
Note: VS <= C (+ 2*PACKETSIZE)
Note: The extra 2 packets are due to certain exceptions that may arise at intersections
Comparison With Static Assignment Comparison with Micro-Simulation
A vehicle exists everywhere along Simulated packets can only be Each vehicle is simulated Vehicles can be grouped into
its route during period in one place at a time individually homogenous packets
Variables do not change over the Model period divided into “time Complex flow interactions like Uses aggregate speed/flow
duration of the period to be segments” with varying flow weaving and merging relationships
A2-185
modelled rates Explicit representation of facility Run using unaltered regional
Capacity constraints not strictly Capacity strictly enforced lane geometry model networks
enforced; V/C > 1 using “flow gates” Produces 3D animations of output 2D maps & animations possible in
No link storage constraint Storage strictly enforced results Cube
Link volumes and costs are Simulation of queues affects Computationally intensive Much shorter run times
separable and independent preceding link volume, cost
Time = Link Travel Time + Time = Link Travel Time +
Junction Delay Junction Delay + Queue Time
Relationship to Other Cube Features
Junction modeling
Separate feature; it is not necessary to implement
both
However, because Avenue strictly enforces capacity
Scripting Dynamic Traffic Assignment
constraints it may improve some junction models With Cube Avenue
GIS tools / Cube GIS
Dynamic Traffic Assignment with Cube Avenue
A2-186
Allows you to ensure that link distances are based
upon actual feature geometry (instead of arbitrary
straight line links)
This will provide more accurate input distance values
for Avenue, giving a better starting point for storage
estimates
Therefore, using a GIS-enabled network is
recommended
46
Dynamic Avenue Assignment Model Cube Avenue Parameters
Cube Avenue Parameters COMBINE Combine type “EQUI” is not valid for Avenue. For most uses of
Specific Functions AVENUE, “AVE” is a good choice of combine value.
LINKREAD Phase
ILOOP Phase
Method of Successive Averages (MSA) With Packet Splitting (PS)
ADJUST Phase
A2-187
Scripting Tips 1) Initialization:
- Iteration number (n = 0)
- Packet Volumes (V0) = 0
- Link Cost (COST0) for free-flow conditions
2) Update iteration number: n = n + 1
3) All-or-nothing assignment (Fn) in the iteration n to COSTn-1 paths based on V n-1
4) Update the Packet Volumes: Vn = Vn-1 + I (Fn – Vn-1), where I = 1 / n
6) Update Link Costs (COSTn) given Vn (based on simulation)
7) If no convergence go to step (2).
Problem Size and RAM
With PACKETS=PS,
Cube Avenue 5.1.0 – Additional Simulation Modes
pn = p1×n, Simulation Growth Example
00:01:44
where pn is the number of packets
being simulated during iteration n Avenue 5.1.0 includes enhancements to COMBINE=AVE.
00:01:26
Under extreme congestion, a large
The methodology is still MSA, but just implemented differently:
number of vehicles may remain 00:01:09 Fixed number of packets for each iteration (this set of packets never changes; the only thing
queued in the system waiting to leave that changes is the path to which each packet is assigned)
in subsequent time segments, further
inflating the number of packets to be 00:00:52 These packets are allocated pseudo-randomly based on MSA probabilities for the paths
simulated generated during each iteration.
A2-188
In other words, during each iteration, a packet is tested and has a 1/k probability (where k is
Adjust Time
In a Windows 32-bit computing 00:00:35
the iteration number) of being “moved” to the new path set, otherwise it is left on the path it was
environment, any given process can
address at most 2 GB of RAM. using before.
00:00:17 This results in much better memory usage due to only one set of packets being generated,
If there are 2 million packets in the allowing larger simulations with more iterations.
peak hour and 50-70% exiting the
system during each time segment of
00:00:00 Accordingly, this new method (PACKETS=PA) is now the default!
the first iteration, it is easy to exceed 1 2 3 4 5 6 7 8 9 10
the memory limitations of a typical Iteration
desktop PC
Cube Avenue 5.1.0 – Packet Size Considerations Cube Avenue 5.1.0 – Packet Size Considerations
A2-189
simulation increase for each iteration. packets increases every iteration.
In each iteration there is the same number of
With the new PACKETS=PA simulation, only one set of packets is ever created At the 10th iteration:
packets as the previous iteration:
for a time segment, and they stay the same size, but are moved between paths 100 x 6 = 600 assigned packets to path A
100 assigned packets!
100 x 4 = 400 assigned packets to path B
each iteration. After all time segments are loaded, this results in each iteration
600 + 400 = 1000 assigned packets! Packets are allocated based on MSA
having the same number of packets as the previous iteration, meaning that
probabilities for the paths generated during
simulation times are more consistent. It also means that for reasonable fidelity Packet size dropped by factor of 1/k:
each iteration:
results, the packet size should be low, e.g. PACKETSIZE=1. 600 x 1/10 = 60 packets volume on path A
100 x 6/10 = 60 packets volume on path A
400 x 1/10 = 40 packets volume on path B
100 x 4/10 = 40 packets volume on path B
Cube Avenue 5.1.0 – Keywords Cube Avenue Parameters
The new simulation mode is specified by using COMBINE=AVE, MODELPERIOD Length of the model period in minutes
PACKETS=PA parameter setting (the default). SEGMENTS Time segments duration. SUM(Segments)>Model Period
VEHPERDIST Maximum Density per Lane [vehicles/lane/distance]
There is a sub-key to PACKETS=PA:
A2-190
n iterations occur before adding the traffic specified in the next time segment.
E.g, ITERLOADINC=3 indicates that the first time segment is loading during iteration 1, but that
time segment 2 is loaded during iteration 4 and so on.
Example 1
Example 2
Cube Avenue Parameters Specific Functions
CAPLINKENTRY When CAPLINKENTRY=Y (default) the capacity of the link limits how RANDSEED(n) Initialize the random number generator with n, where n is an
quickly vehicles can enter or leave a link. When CAPLINKENTRY=N, the link capacity only integer between 1 and 2147483647 (so a repeatable series of random numbers
limits how quickly they can leave the link. The primary difference between these two regimes
can be generated).
is where the front of a queue occurs.
MAXPTHPERSEG Upper bound on the number of path builds executed for a given time
segment, iteration, and origin (Defaults to 5).
Example
PKTPTHSIZ Maximum number of nodes that a packet keeps in RAM. To save memory,
A2-191
packets can swap their route information between RAM and temporary disk files.
LINKREAD Phase LINKREAD Phase
Example
DISTANCE If it is not set in script, it will initialized from LI.DISTANCE Example
LINKCLASS It functions as the index for functions TC and COST
LI.LANES Number of lanes
SPEED If it is not set in script, it will initialized from LI.SPEED (the defaulting
behavior of SPEED is only significant if it is used to calculate a default for T0)
A2-192
C Flow capacity of the link, in vehicles per model period. Scripts can use the
DYNAMIC command to specify that the value of C varies by time segment Results in C taking the
value 1800 during time
T0 Free-flow time for the link (in minutes)
segments 3, 1000 during
T1 Link time to be used on the first iteration of assignment. It is very common time segment 4, 1200
to accept this value, although there may be some merit to using observed times For Connectors: during the time segment 5
where these are available Endless Capacity and its usual value during
STORAGE Number of vehicles that can fill the link Endless Storage all other time segments.
T0 = 0
ILOOP Phase ILOOP Phase
Example
A2-193
PACKETSIZE It specifies the target number of vehicles per packet. DemandProfile
DEMANDISHOURLY It determines whether the demand volumes for each time segment are 1000
900
supplied as an absolute value in vehicles or as a rate in vehicles per hour [by default it is 800
FALSE]. For example, suppose that there is a segment of 15 minutes and in a cell of the matrix 700
600
there is a value of 40. If DEMANDHOURLY=T, the demand is 30 veh/h and 10 vehicles depart 500
the origin during the time segment. Otherwise, if DEMANDHOURLY=F, 40 vehicles depart the 400
300
Flow[veh/segment]
origin during the time segment, giving a departure rate of 160 veh/h. 200
100
… 0
1 2 3 4 5 6
TimeSegment
MW[1](FromZone1toZone3) MW[2](FromZone2toZone3)
ADJUST Phase Scripting Tips
Slow way
A2-194
Useful Variables
TimeSegment: the current time segment
number (0 during static)
__TS__ suffix: arrays a variable by
segment in expressions
SegmentStart: Time between start of
period and current segment
Period: duration of current period
Fast way
Visualising Output
A2-195
63
Bandwidth Animation Packet Animation Options
A2-196
Pause/Resume: momentarily halt
Packet Color Selection: apply the specified
Stop/close: end animation color to packets meeting the defined
criteria
Packet Display Selection: only show
packets meeting the defined criteria
FILEO PACKETLOG Options
A2-197
SELECTGROUP: Output only packets using links of a particular group.
MUSTMEETALL: If “F”, packets need not meet all select link criteria.
AFTERITER: Delay writing the packet log until a specified iteration.
FORMAT=BIN: Output a binary log instead of default text format.
67
<!-- RUN="NETI.101585" PGM="AVENUE (v.10/18/2007 [4.2.0])" <!-- RUN="NETI.101585" PGM="AVENUE (v.10/18/2007 [4.2.0])"
TIME="Thu Oct 18 18:47:46 2007" NPKT=133997 TIME="Thu Oct 18 18:47:46 2007" NPKT=133997
PKTLNG=64 START=-0.500000 END=1.000000 PKTLNG=64 START=-0.500000 END=1.000000
NVOL=2 VPD=250.000000 TimeSliceEnd=-0.416667,- NVOL=2 VPD=250.000000 TimeSliceEnd=-0.416667,-
The *.LOG text file 0.333333,-0.250000, Packet start record 0.333333,-0.250000,
-0.166667,- -0.166667,-
The text packet log follows a pseudo- This line begins the data relating to a
0.083333,0.000000,0.083333,0.166667,0.250000,0.333333, 0.083333,0.000000,0.083333,0.166667,0.250000,0.333333,
XML format that is left intentionally 0.416667,0.500000,0.583333,0.666667,0.750000,0.833333, packet. The '#=' gives the packet's 0.416667,0.500000,0.583333,0.666667,0.750000,0.833333,
open so as to permit additional 0.916667,1.000000 --> identification number, in this case 941 0.916667,1.000000 -->
parsing, processing and summary by <p #=941,it=1> (i.e. it was the nine hundred and forty <p #=941,it=1>
the user. <v> first packet to be generated). The <v>
<ix=0,f=0.357143> packet was generated during iteration <ix=0,f=0.357143>
Each file consists of a header record <ix=2,f=0.357143> Header 1 of the avenue run. <ix=2,f=0.357143>
followed by one or more blocks of </v> Record </v>
packet data. <r> The data relating to this packet will <r>
<n=20,a=*,d=-0.499593> continue until the corresponding </p> <n=20,a=*,d=-0.499593>
A2-198
<n=430,a=-0.499593,d=-0.499529> record. Both the <p> and the </p> <n=430,a=-0.499593,d=-0.499529>
<n=447,a=-0.472814,d=-0.472814> records begin with the '<' character in <n=447,a=-0.472814,d=-0.472814>
... column 1 but all the records enclosed ...
<n=475,a=-0.462416,d=-0.462416> will begin with at least one tab <n=475,a=-0.462416,d=-0.462416>
<n=464,a=-0.458362,d=-0.458362> character. <n=464,a=-0.458362,d=-0.458362>
Packet <n=476,a=-0.454521,d=-0.454521> <n=476,a=-0.454521,d=-0.454521>
Data <n=478,a=-0.448999,d=-0.448999> <n=478,a=-0.448999,d=-0.448999>
<n=484,a=-0.435480,d=-0.435480> <n=484,a=-0.435480,d=-0.435480>
<n=486,a=-0.432114,d=-0.432114> <n=486,a=-0.432114,d=-0.432114>
<n=17,a=-0.432114,d=*> <n=17,a=-0.432114,d=*>
</r> </r>
</p> </p>
<!-- RUN="NETI.101585" PGM="AVENUE (v.10/18/2007 [4.2.0])" <!-- RUN="NETI.101585" PGM="AVENUE (v.10/18/2007 [4.2.0])"
TIME="Thu Oct 18 18:47:46 2007" NPKT=133997 TIME="Thu Oct 18 18:47:46 2007" NPKT=133997
PKTLNG=64 START=-0.500000 END=1.000000 PKTLNG=64 START=-0.500000 END=1.000000
NVOL=2 VPD=250.000000 TimeSliceEnd=-0.416667,- NVOL=2 VPD=250.000000 TimeSliceEnd=-0.416667,-
Volume start record 0.333333,-0.250000, Volume set records 0.333333,-0.250000,
-0.166667,- -0.166667,-
This line begins the data relating to the Each record gives the volume set
0.083333,0.000000,0.083333,0.166667,0.250000,0.333333, 0.083333,0.000000,0.083333,0.166667,0.250000,0.333333,
volume (ie number of vehicles) in the 0.416667,0.500000,0.583333,0.666667,0.750000,0.833333, number after 'ix=' and the volume 0.416667,0.500000,0.583333,0.666667,0.750000,0.833333,
packet. 0.916667,1.000000 --> (flow) after the 'f='. 0.916667,1.000000 -->
<p #=941,it=1> <p #=941,it=1>
The data relating to volume will <v> There may be up to twenty volume <v>
continue until the corresponding </v> <ix=0,f=0.357143> sets numbered from 1 to 20, in addition <ix=0,f=0.357143>
record is found. The <v> and </v> <ix=2,f=0.357143> to a virtual 'volume set zero' defined to <ix=2,f=0.357143>
records begin with one tab character </v> be the sum of the other volume sets. </v>
and the enclosed records each begin <r> The sets are listed in ascending order <r>
with two tab characters. <n=20,a=*,d=-0.499593> of index. <n=20,a=*,d=-0.499593>
A2-199
<n=430,a=-0.499593,d=-0.499529> <n=430,a=-0.499593,d=-0.499529>
<n=447,a=-0.472814,d=-0.472814> <n=447,a=-0.472814,d=-0.472814>
Records are not produced for sets that
... do not exist (ie that are not mentioned ...
<n=475,a=-0.462416,d=-0.462416> in the generation script). Records are <n=475,a=-0.462416,d=-0.462416>
<n=464,a=-0.458362,d=-0.458362> not produced for sets that contain no <n=464,a=-0.458362,d=-0.458362>
<n=476,a=-0.454521,d=-0.454521> vehicles. <n=476,a=-0.454521,d=-0.454521>
<n=478,a=-0.448999,d=-0.448999> <n=478,a=-0.448999,d=-0.448999>
<n=484,a=-0.435480,d=-0.435480> <n=484,a=-0.435480,d=-0.435480>
<n=486,a=-0.432114,d=-0.432114> <n=486,a=-0.432114,d=-0.432114>
<n=17,a=-0.432114,d=*> <n=17,a=-0.432114,d=*>
</r> </r>
</p> </p>
<!-- RUN="NETI.101585" PGM="AVENUE (v.10/18/2007 [4.2.0])" <!-- RUN="NETI.101585" PGM="AVENUE (v.10/18/2007 [4.2.0])"
TIME="Thu Oct 18 18:47:46 2007" NPKT=133997 TIME="Thu Oct 18 18:47:46 2007" NPKT=133997
PKTLNG=64 START=-0.500000 END=1.000000 PKTLNG=64 START=-0.500000 END=1.000000
NVOL=2 VPD=250.000000 TimeSliceEnd=-0.416667,- NVOL=2 VPD=250.000000 TimeSliceEnd=-0.416667,-
Start route record 0.333333,-0.250000, Node list records 0.333333,-0.250000,
-0.166667,- -0.166667,-
The </v> line denotes the end of the The route itself consists of a sequence
0.083333,0.000000,0.083333,0.166667,0.250000,0.333333, 0.083333,0.000000,0.083333,0.166667,0.250000,0.333333,
volume data and the <r> record denote 0.416667,0.500000,0.583333,0.666667,0.750000,0.833333, of node records in the order that they 0.416667,0.500000,0.583333,0.666667,0.750000,0.833333,
the beginning of the route data. The 0.916667,1.000000 --> are visited on the route. Two times are 0.916667,1.000000 -->
route data will continue until the <p #=941,it=1> listed for each node: an arrival time, <p #=941,it=1>
corresponding </r> record. <v> denoted 'a=', and a departure time <v>
<ix=0,f=0.357143> denoted 'd='. <ix=0,f=0.357143>
Again the <r> and </r> records each <ix=2,f=0.357143> <ix=2,f=0.357143>
begin with one tab character and the </v> The times are in hours relative to the </v>
enclosed records begin with two tab <r> beginning of the model period (so <r>
characters. <n=20,a=*,d=-0.499593> negative numbers refer to the warm up <n=20,a=*,d=-0.499593>
A2-200
<n=430,a=-0.499593,d=-0.499529> period). Where no time is available, an <n=430,a=-0.499593,d=-0.499529>
<n=447,a=-0.472814,d=-0.472814> asterisk, '*', is placed in the field in <n=447,a=-0.472814,d=-0.472814>
... place of the number. No arrival time is ...
<n=475,a=-0.462416,d=-0.462416> available at an origin and no departure <n=475,a=-0.462416,d=-0.462416>
<n=464,a=-0.458362,d=-0.458362> time is available at a destination. No <n=464,a=-0.458362,d=-0.458362>
<n=476,a=-0.454521,d=-0.454521> departure time is available for a node <n=476,a=-0.454521,d=-0.454521>
<n=478,a=-0.448999,d=-0.448999> that the packet failed to reach by the <n=478,a=-0.448999,d=-0.448999>
<n=484,a=-0.435480,d=-0.435480> end of the model period. <n=484,a=-0.435480,d=-0.435480>
<n=486,a=-0.432114,d=-0.432114> <n=486,a=-0.432114,d=-0.432114>
<n=17,a=-0.432114,d=*> <n=17,a=-0.432114,d=*>
</r> </r>
</p> </p>
Processing the Packet Log Data
By applying record processing techniques to packet log output data, you can
implement many advanced analyses with Avenue:
Build origin-destination table from log file
Select node/link analysis
Select link/node trip table: build table of trips using some node at some particular time
Check whether packets used a particular link/node and build a link table from the list of nodes Thank you!
used by these packets (2 passes of the file)
A2-201
Extract average queue for specific packets (departure minus arrival)
Temporal disaggregation (e.g. build 15-minute matrices from peak hour
simulation output based upon recorded departures)
Peak spreading Tor Vorraa – Citilabs, Regional Director
Build packet table from log file, flag packets that failed to arrive at their destination Alberto Brignone – Citilabs, Regional Director
Shift packets to new departure time segment based upon logit or other decision rule
Re-build hourly trip matrix from packet table
Other applications: ITS/VMS, parking, sub-area extraction, ME, etc…
76
APPENDIX 3