matsim-org / matsim-code-examples

A repository containing code examples around MATSim
GNU General Public License v3.0
75 stars 173 forks source link

Bike sharing #419

Open jalal1 opened 3 years ago

jalal1 commented 3 years ago

Hi,

I was trying to change the car-sharing example to allow bike-sharing, by creating a new vehicle type and then make changes in sharing membership and stations. But it seems not straight forward and some code changes needed. Is that doable, do you guys have any example I can start with?

Thank you, Jalal

jalal1 commented 3 years ago

Update:

I used the carsharing package in matsim-libs, and made a few changes in the java code, such as changing the vehicle type, changing the vehicle type specifications, such as capacity, max. velocity, etc.., and some other changes related to how to handle carsharing types (i.e. twoway, oneway, freefloating, ...). I am still testing the module, but I think I managed to make it work.

miilljana commented 3 years ago

Hi Did you manage to make it work? I need the bike sharing module, I'll use the same idea (to modify carsharing contrib). If you have any updates, please write :)