- 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 < [email protected]>: > 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 <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows > > > > > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > Virus-free. > www.avast.com > <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> > <#m_-6617416413290792898_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
