Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] help for deal with Specific scenario problem

Hello,
there is no method to obtain aggregated emissions for a single vehicle at an intermediate point in it's route.
The --tripinfo-output gives you aggregated emissions at the end of the route.
Using traci, you could remove the bus from the simulation once it reaches the stop (check with getRoadID and getStopState) and then immediately re-insert it with the rest of the route.
regards,
Jakob

2018-09-03 19:07 GMT+02:00 Jane Cheung <cheung180515@xxxxxxxxx>:
Dear all, 
If I want to get the  sum emission for each bus that is scheduled to stop at one specific bus station. The  simulation is going at the same time.
Are there some methods could be used to deal with this problem
1)  Get the bus information as soon as the bus arrived at the specific station;
2)  Get the emission of that bus from the starting time to  the bus stopping at that  bus station.

Thanks for anyone who could help me in advance!

Regards!
Jane cheung

 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top