Specification/Persons

From Sumo
Revision as of 13:51, 25 January 2010 by Behrisch (talk | contribs) (Created page with '==Trips== Trips define the start and end point of a movement with optional changes in mode. In definition they are quite similar to a vehicle except for the missing route informa…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Trips

Trips define the start and end point of a movement with optional changes in mode. In definition they are quite similar to a vehicle except for the missing route information. They are input to routers.

Rides

Rides define the start and end point of a movement with a single mode of transport (e.g. a car or a bus). They are part of person definitions.

Attribute Type Range Default Remark
from string valid edge ids - id of the start edge
to string valid edge ids - id of the destination edge

the route to take is defined by the vehicle.

Walks

Walks define a pedestrian movement. They are part of person definitions.

Attribute Type Range Default Remark
edges list valid edge ids - id of the edges to walk
duration float(s) >0 -
speed float(m/s) >0 -

The "edges" are traveled in the order listed. They do not need to be joined in the net. If they are not, a shortest path calculation is done between two consecutive list members. The "edges" list may contain only a single item for simulating waiting. At least one of "speed" and "duration" have to be given. If both are given, the walk will last at least "duration" but may longer if the "speed" is low.

Persons

A person moves through the net by walking or using vehicles.

Attribute Type Range Default Remark
id string valid XML ids -
depart float(s) >0 -

It has rides and walks as child elements.