Event Types - Future

This article is work-in-progress!

The current event types are less and less suited for describing the simulation output. Especially when activities take place in facilities (instead of links as now) and when public transport is included in the simulation, new event types have to be introduced. This page proposes a new set of events that should be suitable for the future development of MATSim.

Key Concepts of New Events

One of the main concepts are the differentiation between Persons and Vehicles. Persons are part of the population/scenario, specified in the plans/population-file. Vehicles are created (at the moment) within the simulation. The simulation only moves vehicles, never persons. Pedestrians should thus to be enclosed into a "Pedestrian-Vehicle".

Proposed Events

Event Name Attributes Notes
EndActivity person, facility, actType  
EnterVehicle person, vehicle, facility  
DepartureAtFacility vehicle, facitlity  
FacilityToLink vehicle, link  
LinkToIntersection vehicle, link  
IntersectionToLink vehicle, link  
LinkToFacility vehicle, link  
ArrivalAtFacility vehicle, facility  
LeaveVehicle person, vehicle, facility  
StartActivity person, facility, actType  
VehicleStuck vehicle, link  

 

Just some random thoughts: -

Just some random thoughts:

- would be nice to know the mode (type of vehicle) when it is entered


Warning: Table 'watchdog' is read only query: INSERT INTO watchdog (uid, type, message, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '<em>Table &amp;#039;sessions&amp;#039; is read only\nquery: UPDATE sessions SET uid = 0, cache = 0, hostname = &amp;#039;38.107.179.234&amp;#039;, session = &amp;#039;&amp;#039;, timestamp = 1328354964 WHERE sid = &amp;#039;e972b2ab7dd755a2094beea8ac708f02&amp;#039;</em> in <em>/home01/vsp_access/matsimwww/includes/database.mysql.inc</em> on line <em>174</em>.', 2, '', 'http://matsim.org/node/115', '', '38.107.179.234', 1328354964) in /home01/vsp_access/matsimwww/includes/database.mysql.inc on line 174