matsim-scenarios / matsim-stuttgart

GNU General Public License v2.0
0 stars 10 forks source link

how to run StuttgartApplication #34

Open kainagel opened 3 years ago

kainagel commented 3 years ago

I spent about 1 hour trying to run StuttgartApplication. I could not figure it out from the information that was provided. Could you please provide more information :-). Thanks ...

Janekdererste commented 3 years ago

Sorry, I didn't document anything, so far. I will get to this soon. You should be able to run the scenario with

java -jar stuttgart.jar run --config path/to/your config.xml --config:plans.inputPlansFile=path/to/your/population.xml.gz

Since I only recently added an application there also is a traditional run class which should be runnable with something like:

java -cp path/to/your/jarfile org.matsim.stuttgart.run.RunStuttgart path/to/your/config.xml --config:plans.inputPlansFile path/to/your/population.xml.gz

The included config file doesn't have the correct file paths since those files are located in the shared-svn at the moment. You can find them in the shared svn:

https://svn.vsp.tu-berlin.de/repos/shared-svn/projects/matsim-stuttgart/stuttgart-v2.0/input/

Unfortunately, those files are not up to date, because I was not finished with the calibration yet. This is something I can do as soon as I have left edge land.

flschnepf commented 2 months ago

Hello, is there a way to get access to the population file or to run the scenario without a population file?

Janekdererste commented 2 months ago

Yes here you go https://svn.vsp.tu-berlin.de/repos/public-svn/matsim/scenarios/countries/de/stuttgart/