[sumo-user] Trace file smoothing

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[sumo-user] Trace file smoothing

IT Tech
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
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] Trace file smoothing

Jakob Erdmann
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 <[hidden email]>:
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
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] Trace file smoothing

IT Tech
Thank You for your reply Jakob.

On Mon, Jan 11, 2021 at 8:48 AM Jakob Erdmann <[hidden email]> 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 <[hidden email]>:
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
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user