Hi Jane,
you will need to write a traci script to achieve this behavior. Emission
routing is currently only implemented when using offline routing with
the duarouter. You will need to use the traci functions
vehicle.setEffort(to change the value only for a single vehicle) or
edge.setEffort (for all edges) and vehicle.rerouteEffort. I am afraid
there is currently no example except for the general
tests/complex/traci/pythonApi/vehicle/runner.py

Best regards,
Michael


Am 19.06.19 um 23:19 schrieb Jane Cheung:
> Dear all,
> 
> There is one question that I would be glad if someone could help me!  
> 
> 1) How could I use the amount of output emission  on one lane as the
> weight of that lane would be chosen  in on route choose algothrim in SUMO? 
> As for the emission on one lane is changing all the time. 
> 
> 2) How could the weight for each lane be updated as the emission is
> changing during the simulation;
> 3) How could I find some example that could teach me how to build the
> weight file in *SUMOHOME\tests\...;*
> *
> *
> *
> *
> Best regards!
> 
> 
> Jane
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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