Skip to content

faq 111517006

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

Finding an example config file

by C. Livingston on 2017-08-23 20:06:55


Hello,

I am trying to find a config.xml file.

I am a bit of a beginner with both Java and MATSim and learning as I go.

I am working with an extension that models cars looking for parking as a rough template to use as a base for my attempt to create an extension to model free floating bike sharing.

I currently have a working example of the parking search extension - as in, I can successfully run the extension. I work with Eclipse and use Maven and my operating system is Windows 10.

I am trying to find out where the config.xml file that this parking search extension is using is saved. I can't find it on my computer, and I can't call it up in Eclipse, but somehow, MATSim can find it or otherwise the extension wouldn't run properly. I want to be able to look at this config file so I can compare it to the standard config file and see the differences (I know there are differences, since the code for the parking search extension references the config file for information that is not in standard config file, at least as far as I know).

So how do I track this config file down and open it such that I can read it?

Thanks!

C. Livingston


Comments: 1


Re: Finding an example config file

by Marcel Rieser on 2017-08-25 08:32:22

I am trying to find out where the config.xml file that this parking search extension is using is saved.

Looking at the source code of some of the tests (e.g. one of these), they access the config from ./src/main/resources/parkingchoice/config.xml, which would be here in the repository. In both directories (parkingchoice and parkingsearch), there are all the input files including the config.xml.

Clone this wiki locally