Transport Mode choice

50 views
Skip to first unread message

Lauren Smith

unread,
Aug 25, 2015, 4:46:25 AM8/25/15
to GAMA
Hi all,

I am building an ABM for the city of Edinburgh and currently have the buildings and people set up, with people moving through the city. However I would like to specific the mode of transport people use i.e. car, bus, walk, cycle etc. I've read other threads on here and I am under the impression it's not so simple to do this. Please can you advise me if the best way to tackle this is to create a transport simulation in a different package (maybe MATSim?) then input the output from this into GAMA?

Thanks in advance!

Lauren

Srirama Bhamidipati

unread,
Aug 25, 2015, 5:03:45 AM8/25/15
to GAMA
Hi,

If your choice of mode is made before the trip starts, then you can obviously do it in GAMA. You can simply state your discrete choice model that agent can read before starting a trip. Even if you want to "build" your discrete choice model, it can be done in GAMA. If you even want to build a very complex discrete choice mode, you can use the R plugin and connect to choice model packages and get the model read into GAMA.

The main problem I see with GAMA is when the trip involves use of more than one mode within a single trip. This ideally should not be difficult to implement in Java and add back those functions to GAMA (more so on shortest path across multiple networks). But I am no java programmer so cant help you on that. If you have a (open source) java library that can do this, you can contact GAMA developers and they could help you implement it. 

I am trying to do something similar as you are doing, so keep posting questions, may be these discussions help us mutually.

regards,
Srirama

Lauren Smith

unread,
Aug 25, 2015, 9:58:53 AM8/25/15
to gama-p...@googlegroups.com
Hi Srirama,

Thank you for this. I want to take it step by step so at the moment deciding mode of transport before the trip starts will be fine. Eventually it may be good to have multi modes, for example a parent walks a child to school but then travels to work by car or bus. I am new to programming and GAMA so even simple things like this are taking quite a lot of time to get my head around!

Thank you again, I'm going to try to add the mode choice into my current model.

Lauren

Srirama Bhamidipati

unread,
Aug 25, 2015, 10:38:21 AM8/25/15
to GAMA
Hi

In such a case, you can partition your people agents into users of a specific mode. Each such partition can be a child species, such that one child species uses bus and therefore has speed of 40kmph. Second child species uses car, hence has speed 80kmph, Similarly others walking (4kmph), cycling(15kmph). 

You can see the manual for making child species. 

In the tutorial, road traffic, you can see how to give speed to agents.

In this forum, you can see questions of how to make people agents respect the speed limit of the road they are moving on. 

regards,
Srirama

Patrick Taillandier

unread,
Aug 27, 2015, 3:36:40 AM8/27/15
to gama-p...@googlegroups.com
Hi,

Just as a side note, as I see that several people are interested by this topic, I will try to develop a very basic model concerning it and add it to the model library (but not before next week.... too busy for the moment).

Cheers,

Patrick

--
You received this message because you are subscribed to the Google Groups "GAMA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gama-platfor...@googlegroups.com.
To post to this group, send email to gama-p...@googlegroups.com.
Visit this group at http://groups.google.com/group/gama-platform.
For more options, visit https://groups.google.com/d/optout.

Lauren Smith

unread,
Aug 27, 2015, 4:45:17 AM8/27/15
to GAMA
Hi,

Srirama - I've added speed to the people agents for my basic model. So now I should be able to make a few edits, add the child species and show the different transport modes. Thank you so much for your advice!

Patrick - That would be great! Thank you, I look forward to seeing the tutorial.

Cheers,
Lauren
Reply all
Reply to author
Forward
0 new messages