- traci does not yet support retrieving container counts so you would have
to track this value in your script without asking the simulation (
http://sumo.dlr.de/trac.wsgi/ticket/1652)
- travel time estimation for arbitrary locations is not yet supported (
http://sumo.dlr.de/trac.wsgi/ticket/2524 describes the workaround)

regards,
Jakob

2016-08-09 12:34 GMT+02:00 TAT HENG HONG <[email protected]>:

> Hi,
>
> I have a scenario here which I visualized in the mind map image attached in
> the second image here.
>
> There are 3 trucks where each of them are carrying specific amount of
> containers to be distributed to their destined points. Eg. Truck A picks up
> 10 containers and drop 4 to point A1, 2 to point A2 , 1 to point A3. I have
> no issue to simulate the scenario as depicted at this stage.
>
>
> Truck A ->Origin -> A1 -> A2 -> A3 -> Origin
> Truck B -> Origin -> B1 -> B2 -> B3 -> Origin
> Truck C -> Origin -> C1 -> C2 -> C3 -> Origin
>
> [image: Inline image]
>
>
>
> However, I got problem to simulate the scenario as shown in the mind map
> attached.
>
> [image: Inline image]
>
>
>
> Based on the mind map visualized here, if let's say when Truck C stuck in
> traffic jam for a long time when it travels to point C3, Truck A or Truck B
> will then help Truck C to accomplish the task of delivering the containers
> based on their distances to point C3 and time to C3 (eta time to reach C3).
>
> May I know that is it possible for Traas to simulate this scenarios?
> What I want to do is to retrieve the values of:
>
> - ETA time / distance from Truck A and Truck B to point C3, doing
> comparisons and assign the truck with the best value to help Truck C to
> deliver the containers to point C3 by using the function
> "changeTarget(String vehID, String edgeID)" which may ended up for eg.
> Truck A -> A1 -> A2 -> A3 -> (changetarget) -> C3 -> Origin
>
> However, when I tried to refer the documentations here:
> http://www.sumo.dlr.de/userdoc/TraCI.html
> http://traas.sourceforge.net/javadoc/
>
> I don't see any ETA time function or distance length function for each
> truck ID to retrieve and do comparisons. In the best case, I would like to
> retrieve the number of containers that the trucks have as well so that it
> will travel to point C3 only when there's sufficient amount of containers
> but I couldn't get any parameters to get the value as well.
>
> May I know that is there any guides from you guys that can help me to
> breakthrough the bottlenecks here as it would greatly help with my current
> project. Much appreciated for your time to read my scenarios here and
> figure out what next steps I should proceed here.
>
> Thank you!
>
> Regards,
> TH
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to