Networks/Import/MATsim

From Sumo
Jump to navigation Jump to search

For reading MATsim networks, give NETCONVERT the option --matsim-files <FILE>[,<FILE>]* or --matsim <FILE>[,<FILE>]* for short. For example:

netconvert --matsim myMATsimNetwork.xml -o mySUMOnetwork.net.xml

MATsim does not work with the lane numbers of streets, instead, the streets' capacities are used. This means that under circumstances the informationabout the edges' lane numbers are missing. The importer tries to determine the lane number from the given edges' capacities using:

LANE_NUMBER = MAXIMUM_FLOW / CAPACITY_NORM

The value of CAPACITY_NORM is controlled via the option --capacity-norm <FLOAT> (default: 1800).