Hi,
there is currently no way to do this online but if your algorithm does
not need this information to decide upon, you can simply run the
simulation twice (once with influencing and once without) and compare
the results afterwards.

Best regards,
Michael

Am 08.09.19 um 22:14 schrieb Hrishikesh Barad:
> Hello,
> 
> I am trying to implement a simulation in which I *compare *the total CO2
> emissions released if the blocking green and red cars followed the
> *default Traci behavior* versus the total CO2 emissions released if the
> blocking green cars followed the speed profile generated by *my algorithm*.
> 
> image.png
> 
> I am aware of a command getSpeedWithoutTraci which gives the speed
> output in case the vehicle followed default behavior. Please help me
> find a way to get emissions without default traci behavior. Also, what
> would be the best way to implement such a comparison (Python using
> Traci) at every step of traffic simulation before the green cars are
> given command to follow a specific algorithm? 
> 
> For more context: green cars =  controlled cars 
> red cars = cars following default behavior (uncontrolled)
> 
> Thanks,
> 
> -- 
> Hrishikesh Barad
> /Graduate Student/
> Industrial & Systems Engineering, Rochester Institute of Technology
> m:    585-629-4418
> e:    [email protected] <mailto:[email protected]>_
> <https://www.facebook.com/Hrishiness>  <https://www.twitter.com/hrishiness>  
> <https://www.linkedin.com/in/hrishikeshbarad/>  
> <https://www.instagram.com/hrishiness>
> 
> 
> _______________________________________________
> sumo-user mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 


Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to