eclipse-sumo / sumo

Eclipse SUMO is an open source, highly portable, microscopic and continuous traffic simulation package designed to handle large networks. It allows for intermodal simulation including pedestrians and comes with a large set of tools for scenario creation.
https://eclipse.dev/sumo
Eclipse Public License 2.0
2.57k stars 1.43k forks source link

Traffic block and downstream edge warning related to electric vehicles #14094

Open buddih09 opened 12 months ago

buddih09 commented 12 months ago

I'm trying to test a scenario for electric taxis with random trip generation. The files I'm using to reproduce the issue can be downloaded via this link.

In my first attempt, I placed the charging station on a lane that led to traffic congestion. I wanted multiple EVs to be able to charge simultaneously without blocking traffic. Therefore, I manually added a bypass road with four lanes and placed four charging stations there.

charging-stations

The idea was to have EV's that are below the threshold to come there, charge, and then leave. To this end, I use stationfinder in the configuration.

Unfortunately, the EVs are not smart enough to use the free charging stations, instead they get stuck behind each other. Secondly, I also get the warning "[...] is not downstream the current route". Up on checking some previous comments, I can understand that this is probably because the route from charging station edge is not defined in the route file. But, for me it does not make sense, because (as I understand) first the route finder helps you find a charging station and then when the EV tries to go to that charging station, Sumo complains about the downstream edges.

Can you please advise me on these two questions? Note: the download link of the files may be expired if you read this message after many days. In that case, please let me know and I will share a new link.

SUMO-version: 1.18.0

operating system: Windows 10

m-kro commented 12 months ago

The stationfinder device has been introduced earlier this year with a very basic implementation. We'll have a look at your scenario to see how this can done better.

Actually charging stations can be used together with parkings, such that every parking space can be used for charging. I'm not sure this works together with the current stationfinder, though.

buddih09 commented 12 months ago

Thank you for the quick reply. Of course, I hope Sumo will improve further and some scenarios that I currently work on might even be useful to you in the process. I also realized that although stationfinder can direct a EV to a charging station, there is no trigger to stop the charging and let it continue to the destination (but I saw some github comments that you are already working on this as well).