Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use traci.vehicle.setchargingStationStop to find that the vehicle only stops until it does not charge #15815

Open
koharris opened this issue Nov 29, 2024 · 3 comments
Assignees
Milestone

Comments

@koharris
Copy link

I found that when using traci.vehicle.setchargingStationStop, the vehicle stopped charging at the specified point, but it did not charge. Since my charging station is connected to a parkingArea, it does not automatically stop to the parking space when parking at the charging station, as shown below, I do not know whether it is the cause of this problem.

屏幕截图 2024-11-29 164905

**SUMO-version:**1.21

**operating system:**win 11

@m-kro m-kro self-assigned this Nov 29, 2024
@m-kro m-kro added the bug label Nov 29, 2024
@m-kro m-kro added this to the 1.22.0 milestone Nov 29, 2024
@koharris
Copy link
Author

In fact, I'm using traci. Vehicle. SetChargingStationStop (VEHICLE_ID nearest_station, duration = STOP_DURATION, flags = 1) when the flags to set to 1, Vehicles can be recharged now, but it still will not stop to parkingArea subordinates space, whether you need combined with traci. Vehicle. SetParkingAreaStop function used in order to realize my idea?
屏幕截图 2024-11-29 175926

@m-kro
Copy link
Contributor

m-kro commented Nov 29, 2024

Yes that's more or less the problem (stop on road of off the road and the corresponding default settings). We'll think about changing the settings in this regard.

@koharris
Copy link
Author

koharris commented Nov 29, 2024

There are also related questions about the charging power of the vehicle. In the setting of the vType of my vehicle, I set it

param key="device.battery.maximumChargeRate" value="80000"
param key="device.stationfinder.maxChargePower" value="80000"

I also set power="80000.00 "in the charging station parameter in add.xml, but in the gui interface I get the image below,
currently charging [Wh]=21.11, maximum charge rate [W]=22.22,
so what I want to know is whether there is a problem, and what is the priority of these parameters in use?
屏幕截图 2024-11-29 201740

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants