-
Notifications
You must be signed in to change notification settings - Fork 179
faq 126976038
by F.USA on 2017-12-01 20:53:55
Hi All
I get stuck in creating demand generation file. I saw some examples online, the problem there is no csv or data text files for those examples to learn. I did Java basic training course, and still, I feel lost.
I was wondering if there is an example of how to create the plans xml with data. Even small example will help.
I appreciate your help
Thanks
by Johan W. Joubert on 2017-12-02 05:15:03
The problem is that each set of data is different, hence the examples show you the portion that is done on the MATSim side. Your data can be in many different formats. Population generation is, at least for me, by far the trickier part, or at least the part in MATSim that takes up much of my time.
So, the short answer is, read in your data (those attributes that you want to include in the population, and for each record script the Person
and Plan
generation.
Maybe this explanation is of some use?
by Kai Nagel on 2017-12-02 12:06:18
Some more sources:
Quite in general check https://github.com/matsim-org/matsim-code-examples , here in particular code under https://github.com/matsim-org/matsim-code-examples/tree/master/src/main/java/tutorial/population .
The "TU Berlin tutorials" http://matsim.org/docs/tutorials/general normally contain material related to this.
We are currently working on https://github.com/agentsoz/matsim-melbourne , but it is still rather disorganized.
by F.USA on 2017-12-06 18:58:37
Thanks Kai,
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq