You can use routeSampler option --attributes "type=\"cars\"" to assign a type in your generated route file. Then define a vTypeDistribution with id="cars" that defines all the different types and their probabilities. See https://sumo.dlr.de/docs/Tools/Turns.html#vehicle_attributes https://sumo.dlr.de/docs/Definition_of_Vehicles%2C_Vehicle_Types%2C_and_Routes.html#vehicle_type_distributions https://sumo.dlr.de/docs/Models/Emissions.html
Am Mo., 6. Dez. 2021 um 17:27 Uhr schrieb Nicoló Avogadro < [email protected]>: > Dear all, > > I am writing to ask about the emission class of vehicles. I currently > generate trips using a set of routes and data from some detectors using the > command (routesampler.py). I would like to ask if there is any way to make > the generated vehicles have emission classes that are representative of a > given fleet (e.g. 40% euro 3 car and 60% euro 4 car). > > Thanks in advance > Nicolò > _______________________________________________ > 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
