matsim-org / matsim-libs

Multi-Agent Transport Simulation
www.matsim.org
483 stars 447 forks source link

Obtain the waiting time of person per EV charger #1475

Open cs071372 opened 3 years ago

cs071372 commented 3 years ago

Hello everyone,

I am new and excited working with MatSim simulator. I am currently working for my master thesis on the EV package. I am currently trying to do some calculations on some metrics (queue length to charge, energy transmitted per charger, etc.) and I am stuck trying to find information on how to calculate the waiting time each person had to wait in order to charge at a charging station. There are information on when a charging event started & ended, but I actually need to find how long each person needed to wait before it starts charging.. Does the community here has any suggestions for that? Or where and how I should to obtain that info.

Thanks a lot in advance.

michalmac commented 3 years ago

I think you could take it from ActivityStartEvents. This is the moment a vehicle gets queued (if there is no spare plug).