-
Notifications
You must be signed in to change notification settings - Fork 181
faq 110560987
by Shenyang Chen on 2017-07-11 03:59:46
I tried to run taxi scenario using cottbus network and its base case population input, and got exception of "unable to create injector". I've read the similar question about PT scenario. So how could I modify the population input to solve this problem? Must I define the leg modes to be taxi? or at least a part of them?
Even though the base case works fine, I don't quite understand why the output contains transit modes while all the leg definition in plans.xml is car mode.
by Michal Maciejewski on 2017-07-11 09:23:24
Hi again,
The cause is quite simple though the output I agree looks complicated. In the second red paragraph you can read this:
(...)
1) The output directory output/cottbus_taxi already exists and is not empty! Please either delete or empty the directory or configure the services via setOverwriteFileSetting() or the "overwriteFiles" parameter of the "services" config group
(...)
So you need to either clear the directory before each run, or set "overwriteFiles" to "true" in the config file.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq