Skip to content

faq 108010238

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

Model a fleet of electronic taxisbus vehicles?

by Marco Bohmbach on 2017-02-21 22:11:10


Hi, 

is there an example of how to connect vehicle type taxibus from drvp with bevs from transenergysim? This is more a Java skill problem.

First i would create a wrapper class (etaxibus) for both vehicle types. But then? My taxibuses are generated from a dvrp_vehicles_v1.dtd and i want some of them to be electric, so they have to drive to a charging station. 


Comments: 2


Re: Model a fleet of electronic taxisbus vehicles?

by Joschka Bischoff on 2017-02-22 07:36:21

Hi,

for an idea how this plugging together may look like, see

https://github.com/matsim-org/matsim/blob/3a94318b38fd6f3f3d8e5b22a7313b176d99e728/playgrounds/michalm/src/main/java/playground/michalm/taxi/run/RunETaxiScenario.java

--

There is also the Electric Vehicle Contribution, (transenergy) which you can use, but plugging it together with the taxi module may be more complicated.

--

To send your taxibus to the charger you will end up programming your own optimizer - I suggest you to use JspritTaxibusOptimizer as a starting point. It uses JSprit to solve the VRP. You could add a different last destination and start your charging there.


Bests,

Joschka



Re: Model a fleet of electronic taxisbus vehicles?

by Michal Maciejewski on 2017-02-22 10:08:51

Hi,

Just an addition to what already Joschka said.

The ev package for DVRP is here: https://github.com/matsim-org/matsim/tree/3a94318b38fd6f3f3d8e5b22a7313b176d99e728/playgrounds/michalm/src/main/java/playground/michalm/ev. It is a playground, but will be moved to the official DVRP contrib in the future.

Besides driving-related consumption, you can simulate energy spent on AUX (heating, cooling, on-board devices...). Useful if we have taxi drivers waiting at ranks, or bus drivers waiting at the first/last stop.

With ChargingLogic:

https://github.com/matsim-org/matsim/blob/3a94318b38fd6f3f3d8e5b22a7313b176d99e728/playgrounds/michalm/src/main/java/playground/michalm/ev/charging/ChargingLogic.java

you can model/handle queueing at charging stations when there are more vehicles than plugs available.

Best,

Michal

Clone this wiki locally