10.07.2015 Views

User's Guide.pdf - MATSim

User's Guide.pdf - MATSim

User's Guide.pdf - MATSim

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VisualizationsTODO: emissions map, charging acts, power load per link, etc.networkEditorStarting the network editorIf you're working with a release, make sure to have <strong>MATSim</strong> and the networkEditor extension downloaded [/downloads].If you use Eclipse to run <strong>MATSim</strong>Make sure that you have <strong>MATSim</strong> correctly added to your project's build path. Add the jar file for the networkEditor the same way toyour project's build path. Then, start the class org.matsim.contrib.networkEditor.run.NetworkEditor .If you run <strong>MATSim</strong> on a shell / command lineMake sure you have <strong>MATSim</strong> correctly downloaded and ready for use. Add the networkEditor extension next to the <strong>MATSim</strong> jar file andthe libs directory. Then, use the following command to start the network editor:java -Xmx512m -cp networkEditor/networkEditor.jar:matsim.jar \org.matsim.contrib.networkEditor.run.NetworkEditorNote: On Windows, use ; instead of : to separate the two jar files.Depending on the size of the network you want to edit, make sure the editor has enough memory by increasing the memory limit (e.g. " -Xmx1500m " instead of only " -Xmx512m ").If the application correctly starts, you should see window similar to the one below:Loading network dataTo load an existing <strong>MATSim</strong> network, click on the button "Read Network" at the bottom of the window and select the network you want toload.Alternatively, you can import data from OpenStreetMap (OSM) and automatically convert it into a network. For this, first download theosm data for the region you're interested in. The tutorial [http://www.matsim.org/docs/tutorials/8lessons/input/creating/network]contains information on how you can download the required data from OSM. Once you have a *.osm file containing the data for yourregion, click on the button "Read OSM" and select the file. When loading the data, the following window will open:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!