Hi, - if you can see the coordinates in the output, it means the vehicles are on the road in that timestep (if you cannot find the vehicles, try the 'locate vehicles' menu. If they exist in the locator list but you cannot see them, update your openGL drivers - vehicles are only inserted once there is enough space on the road where they try to depart (otherwise they are inserted in a later step). To better distribute the vehicles on the road, add attribute departPos="free" to your <flow> (see http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#departPos) - if you distribute the vehicles correctly (and the road is long enough) they should all be there in the first 6s. You can check this by right-clicking on the simulation background and check the number of running vehicles in the 'parameters' dialog.
regards, Jakob On 10/01/2015 06:52 PM, Fatma Marzouk wrote: > Hi! > > I am really new to sumo. I intended to simulate with ns3 and sumo 600 > vehicles running over a 1.3 km of highway snippet. But, I want all my 600 > nodes to start sending paquetsin an interval of time [1 - 6s] (I do that > with a loop in the ns3 script). After trying to simulate this and to > examinen the generated mobility.tcl with sumo (tracexporter) I had some > questions related to mobility simulation: > > -In the tcl I can see the initial coordinates (X,Y,Z) for each nodes , does > this imply that they all exist at time 0 and so they really all starts > sending as I wish in the [1-6] second interval even though not visible on > the highway ? > > -Also, in the flow.xml I set the time for inserting vehicles in the flow > as follows: begin="0" end="6" no="600", I don't understand why I see > vehicles that were inserted at times later than 6s. > > -Finally, If I want the highway to contain always the same number of > vehicles, I know I can use the rerouter. The question is how can I know the > time at which the number of vehicles converged to a fixed number and how to > determine that number. > > Thanks in advance ! > > Best Regards > > F > ------------------------------------------------------------------------------ > _______________________________________________ > 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
