Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Trace file smoothing

Thank You for your reply Jakob.

On Mon, Jan 11, 2021 at 8:48 AM Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:
The easiest solution is to let vehicles start with high speed (see https://sumo.dlr.de/docs/Definition_of_Vehicles,_Vehicle_Types,_and_Routes.html#departspeed)
Another solution is to use traceExporter options --begin and --end  to cut out the relevant time slice when generating mobility files.

Am Mo., 11. Jan. 2021 um 12:50 Uhr schrieb IT Tech <aekralem21@xxxxxxxxx>:
Hi,

I have a problem setting up a rational ns2-mobility file.

In My Situation, I need to set up vehicles speed to be constant throughout the simulation time.

That is achieved somehow in the middle of simulation time where vehicles tend to drive with the constant speed. (vehicles begin with a slow speed then get to the speed desired by the speed factor parameter set, that's ok).

is there a way to output the mobility file for ns2, taking into account only the time when the vehicles in the simulation drive at a constant speed? 

For example : 

at 150 sec all vehicles drive at constant speeds.
and at 500 sec all vehicles have left the simulation.

so I need to set time 150sec to be time 0sec in ns2-mobility.
and time 500sec to be the end in ns2-mobility. (500-150=350) 350sec.


_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top