Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Generating Emergency vehicles RandomTrips.py

- For varying the amount of vehicles, see https://sumo.dlr.de/docs/Tools/Trip.html#traffic_volume_arrival_rate
- speedDev is the standard deviation relative to the speed limit. The default is 0.1 which lets 68% of the vehicles drive at  90%-110% of the speed limit.
- fringeFactor increase the probability of vehicles to depart/arrive at the network fringe by the given factor (relative to departure/arrival within the network).
- vehicles always react to other traffic so you need TraCI to enforce a specific speed. (Unless you have a scenario without intersections and the specific vehicle has no leader vehicles).



Am Fr., 3. Dez. 2021 um 11:39 Uhr schrieb Starlight Charlotte <jeremiahferrer26@xxxxxxxxx>:

Dear Users,

 

I have generate both truck and passenger vehicles using Random trips, however I’d like to generate only 10 emergency vehicles randomly scattered in the span of 3600 seconds, with the max speed varying 70 km/h (give or take 10 km/h), also I’d like the model to look like a white ambulance.
Here’s my attempt so far:

 

python "%SUMO_HOME%\tools\randomTrips.py" -n osm.net.xml --fringe-factor 5 -p 2.225291 -o osm.emergency.trips.xml -e 3600 --vehicle-class emergency --vclass emergency --prefix Am --min-distance 200 --trip-attributes "departLane=\"best\" speedFactor=70 color=255,255,255

" --fringe-start-attributes "departSpeed=\"max\" speedDev=10 " --allow-fringe.min-length 1000 --lanes --validate

 


Also have questions:

I’m not so sure about the difference between speedFactor and speedDev?

How --fringe-factor works?

 

In my osm.passenger.trips.xml

I’d like to assign 1 passenger vehicle to have the max speed of 50km/h throughout the entire simulation

 

Sent from Mail for Windows

 


Virus-free. www.avast.com
_______________________________________________
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