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

How should I define the attributes of a charging station so that a charging station can allow multiple EVs to charge simultaneously? #15627

Closed koharris closed 3 weeks ago

koharris commented 3 weeks ago

Add your issue description here. How should I define the attributes of a charging station so that a charging station can allow multiple EVs to charge simultaneously? If possible, upload an example that shows your problem.

SUMO-version:1.21.1

operating system:win 11

m-kro commented 3 weeks ago

Charging stations can be defined in two ways:

koharris commented 3 weeks ago

I tried to use parkingArea to define the capacity of the charging station, but it doesn't seem to be working during the run, as shown below: 屏幕截图 2024-10-23 160316

m-kro commented 3 weeks ago

Can you please post the definition of both the parking and the charging station?

koharris commented 3 weeks ago

That's all 屏幕截图 2024-10-23 163656

m-kro commented 3 weeks ago

Please read the documentation about charging stations.

  1. define the parkingArea before the chargingStation element (or load the the respective file before if defined separately)
  2. reference the parkingArea in the chargingStation element by setting the attribute parkingArea="<ID of parkingArea>"
koharris commented 3 weeks ago

Thank you very much for your suggestion!it has been successful after modification. In addition, I have a question, is there such a function: each parking space can be used as a charging pile, so that when a charging station has multiple available parking Spaces (charging piles), it can allocate parking Spaces with high charging power (charging piles)?

m-kro commented 3 weeks ago

You have to create separate charging stations for different charging power values.

koharris commented 3 weeks ago

Thank you for your advice.