Hello,
sumo saves vehicles that do not fit onto the road into an 'insertion queue'
and inserts them as soon as possible.
The maximum retention time can be configured with the option
--max-depart-delay <SECONDS>  (default indefinite)

regards,
Jakob

2016-09-30 9:45 GMT+02:00 윤원경 <[email protected]>:

> Dear SUMO users
>
>
> Hi. I'm trying to generate certain number of vehicles stochastically with
> TraaS.
> So I put the number of departed car to the variable, and if it reaches the
> certain number(1000), stop generation.
> Code is following,
>
> boolean complete = false;
>
> for (int i=0; i<simulationTick; i++){
> if (!complete)
> //generate the vehicle
>
> int departed = departed + (int)
> conn.do_job_get(Simulation.getDepartedNumber());
> if (departed == 1000)
> complete = true;
> }
>
>
>
> but, when I execute this code, I could see the vehicle is generated after
> the departed reaches 1000, though the part of generation code(if statement)
> is not reached.
>
> Why does it happen?
>
> If the vehicle is generated but can't start its route because of heavy
> traffic on departure edge,
> is SUMOcommand saved on the command queue and waiting until it can start?
>
>
> Thank you.
>
>
> Best Regards,
> Yun
> ------------------------------------------------------------
> ------------------
> _______________________________________________
> 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