[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[sumo-user] Vehicle 0 does not go to refueling (was Re: Fatal Error during vehicle Refueling using TraCI)
|
Hi Ifezue,
vehicle 0 is currently at a bus stop.
So you check, whether a bus is stopping (e.g. with
traci.vehicle.getStopInfo(v) != 0). In this case you should not
replace stop 0, but stop 1
Greetings, Harald
Am 25.10.21 um 21:47 schrieb
vincentobiako:
Update: Another thing I
noticed is that some of my vehicles such as “Vehicle 0” (the
red bus) never goes to refuel/recharge either, even when I
have “Vehicle 0” running the fuel behavior command only. The
red bus and some of the other buses seem to get stuck at their
current stops but they seem to know where to go next when I
check each of their respective future routes. I am not sure
why the buses seem to stay stuck at some of their respective
bus stop positions before they begin the process of fueling.
Sent from Mail for Windows
Hello
Everyone
I
have a simulation with buses that are running on
multiple routes and when each bus reaches a certain
fuel capacity and a bus capacity equal to 0, they are
required to begin the process of refueling by going to
a charging station. I have been able to get the
vehicles to move to their recharging station when two
conditions are met but once they get to the station
and begin recharging they all seem to get stuck on the
same lane or charging location and the SUMO gui
crashes and I get a Fatal Error message in my command
prompt.
I
have tried shortening the charging delay and actual
charging duration that each bus spends in the process
of refueling or recharging to see if that will prevent
the Fatal Error from occurring and allow the buses to
move on to their next bus stop, but I keep getting a
Fatal Error message. Another thing I noticed when I
was doing this is that the simulation in the GUI
seemed to run significantly slower than normal for
some reason and I am not sure why.
Does
anyone know why I am getting a Fatal Error message and
how I can get the buses to refuel and then move on
with rest of their bus routes after they are done
refueling/recharging? Also, why is my simulation
running slow when I execute my code in TraCI?
I
have attached my testing files for reference.
Thank
you
Ifezue
Sent
from Mail for Windows
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user