-
Notifications
You must be signed in to change notification settings - Fork 180
faq 68091919
by Yinhao Zhu on 2016-06-17 13:00:56
Hi there,
Is it possible to implement a specific controller for each vehicle in MATsim?
From vehicle control system perspective...
Thanks.
by Kai Nagel on 2016-06-17 15:03:40
One option is inserting your own "mobsim agents", see the classes RunAgentSourceExample
or RunOwnMobsimAgentUsingRouterExample
or RunOwnMobsimAgentWithPerceptionExample
. (You can find them either in your IDE, or via http://matsim.org/javadoc → main distribution.)
Another option is using the dvrp contrib, see http://matsim.org/extensions → dvrp. Michał Maciejewski, the maintainer of that contrib, might say more about that option. I hear that people have used it and were happy with it. It is essentially a wrapper around what is explained in the above examples, but with a more "normal" user interface.
Hope this helps, let us know.
by Michal Maciejewski on 2016-06-20 09:25:11
Hi, You will find more info on the DVRP extension (version 0.7.0) in Chapter 23 of the MATSim book (http://www.matsim.org/the-book). The main use case is real-time coordination of a fleet of vehicles. Of course, controlling each vehicle individually (no centralised decision making) is also possible.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq