- when using your numbers in the documented formula it should read (3600 - 0) / 10 - the argument for option '-p' must be a number, not a mathematical expression (hence '-p 360')
Am So., 5. Dez. 2021 um 00:18 Uhr schrieb Nao Tomori < [email protected]>: > I'm sorry to bother but I'd like to follow up my question please > correct me if I'm using the wrong syntax > > So I tried using > > --trip-attributes "departLane=\"best\" maxspeed=\"70\" color=\"255,255,255\"" > > With > > -p (0 - 3600/10) > > As I need 10 randomly scattered > > > > But what I got was 1617 instances of yellow emergency vehicles, and I’m > not sure whether maxspeed was in it > > What I am doing wrong? > > python "%SUMO_HOME%\tools\randomTrips.py" -n osm.net.xml --fringe-factor *5* > -p (0 - 3600/10) -o osm.emergency.trips.xml -e *3600* --vehicle-class > emergency --vclass emergency --prefix Am --min-distance *200* > --trip-attributes "departLane=\"best\" maxspeed=\"70\" color=\"255,255,255\"" > --fringe-start-attributes "departSpeed=\"max\"" --allow-fringe.min-length > *1000* --lanes --validate > > Thank You in advance. > > On Sat, Dec 4, 2021, 12:59 AM Jakob Erdmann <[email protected]> wrote: > >> - 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_-2298176445367179416_m_2064260048225565340_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 >> > _______________________________________________ > 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
