You are on page 1of 16

CONTENTS

1. MATSIM ARCHITECTURE
• INPUT AND OUTPUT FOR IV ABM
2. MODEL BREAKDOWN STRUCTURE
3. RUNNING STRATEGY
Score

WHAT IS MATSIM?
module

Agent Optimizes its dail act


shedule

Activity-
based
MATSIM JAVA

Model a
single
day
MATSIM ARCHITECTURE
Config_2016.xml

Inputs IV ABM
Output

Output_config.xml
INPUTS FOR IV ABM
Person Attributes

populationAttribut network_2016_v3.
es_1pct_2016_v1. Network
xml
0.xml
Facilities

planCalcScore
Time-Dependent networkChangeEv
Network ents_2016_v1.xml Inputs
activityParams Initial parameter s

transitVehicles_2
Vehicles 016_25pct_v4_sc modeParams
heduleD.xml

strategy
PLANCALSCORE PARAMS
earlyDeparture = - utilityOfLineSwitch =
0.0 0

lateArrival = -6.42 planCalScore Waiting = 0

marginalUtilityOfMo waitingPt = -2.14


ney = 28.3 Performing = 2.14
OUTPUT FOR IV ABM
parkAndRide writeLinkStatsInte
dumpDataAtEnd rval

linkStats
controler eventsFileFormat intermodalTransf averageLinkStats
capPenalty
erPenalty OverIterations

routingAlgorithmT
ype
coordinateSystem
TimeAllocationMu mutationAffectsD
tator uration . etc Output insistingOnDepre
catedConfigVersi global
on

Fleet size numberOfThreads


JDEQSIM
Gap speed etc

qsim randomSeed
MATSIM LOOP
IVABM BREAKDOWN STRUCTURE
Vehicles:
Demand : Population RoboTaxi+Carpooling
etc
Initial
Demand

Pricing: Toll + Fare PtRouter: standard +


event+
IVABM BREAKDOWN STRUCTURE
IVABM BREAKDOWN STRUCTURE
car

pt Mode carpooli
ng

bike other robotx


IVABM BREAKDOWN STRUCTURE

leg Scoring
Factory
Scoring

money Activity
IVABM BREAKDOWN STRUCTURE
Reroute
Module Replaning
10% modules
10%
Replanning
strategy

SelectExpB TimeAllocator
eta Mutator
60% 10%
SAMPLING A RUNNING PHASE OF IVABM
RoadP RoadPricing
ricing Parking
StandardTool
input

Output
Run

config

ptrouter Stand
ardPt
COMPUTING FLOW ENTER AND LEAVE LINKS
• WE ARE INTERESTED IN :
INSTANTANEOUS SENDING FLOW RATE S OF LINK DOWNSTREAM END
INSTANTANEOUS RECEIVING FLOW RATE S OF LINK UPSTREAM END
MULTIPLYING THESE WITH THE DURATION OF A SIMULATION TIME STEP
MAXIMUM NUMBER OF VEHICLES THAT CAN ENTER OR LEAVE THE LINK DURING A TIME STEP
SO HOW JDEQSIM UPDATES ITS LINK
MODEL ?
• IN EVERY TIME STEP, ALL VEHICLES THAT HAVE JUST LEFT THE LINK ARE TAKEN OUT OF THE DOWNSTREAM
QUEUE (DQ) AND ALL VEHICLES THAT HAVE ENTERED THE LINK L/V TIME UNITS AGO (CORRESPONDING TO
FREE-FOW TRAVEL TIME) ARE INSERTED INTO THE DQ.
• SIMILARLY, ALL VEHICLES THAT HAVE JUST ENTERED THE LINK ARE PUT INTO THE UPSTREAM QUEUE (UQ)
AND ALL VEHICLES THAT HAVE LEFT THE LINK L/|W| TIME UNITS AGO ARE ONLY NOW TAKEN OUT OF THE
UQ.