Hello Jakob, Thanks for your prompt response. I appreciate the support offered by SUMO Team.
I made the change you recommended to incorporate *vTypeDistribution* by changing the *type *to *vdis *(name of the vTypeDistribution I created) in *flow. *The simulation is now giving desired output. Here's the section of code: <flow id = "F1" begin = "0" end = "3200" vehsPerHour = "300" route = "LR" *type = "vdis"*/> To determine a realistic vehicle mix I have used these sources: https://www.statista.com/statistics/184116/distribution-of-vehicle-types-in-us-households-in-2001/ http://www.rita.dot.gov/bts/sites/rita.dot.gov.bts/files/publications/national_transportation_statistics/html/table_01_11.html SUMO supports the vehicle choice by providing users plenty of vehicle types and emission types to choose from. Regards, Vaibhav Rungta Graduate Student - Industrial and Systems Engineering Graduate Assistant - Toyota Production Systems Lab Research Assistant - University Transport Research Center 585-754-7133 On Fri, Dec 2, 2016 at 1:42 AM, Jakob Erdmann <namdre.s...@googlemail.com> wrote: > - type="vdis" in your flow definition instead of vTypeDistribution = "vdis" > - the guiShape and emissionClass are independent of each other. Your > distribution varies the shape but all will have the default emissionClass > unless you specify something different > > 2016-11-30 23:27 GMT+01:00 Vaibhav Rungta <vr2...@rit.edu>: > >> Hello SUMO Team, >> I want to create a route file which depicts a realistic vehicle mix. I am >> using the information: >> http://www.sumo.dlr.de/userdoc/Definition_of_Vehicles,_ >> Vehicle_Types,_and_Routes.html >> >> Here's the code (xml file attached): >> <routes> >> <vTypeDistribution id="vdis"> >> <vType id = "PCs" accel = "2.9" decel ="7.5" sigma = "0.5" length = "4.3" >> maxspeed = "70" vClass = "passenger" guiShape = "passenger" probability = >> "0.56"/> >> <vType id = "CTs" accel = "1.3" decel ="4" sigma = "0.5" length = "7.1" >> maxspeed = "50" vClass = "truck" guiShape = "truck" probability = "0.02"/> >> <vType id = "pass_van" vclass = "passenger" guiShape = "passenger/van" >> probability = "0.09"/> >> <vType id = "SUV" vlcass = "passenger" guishape = "passenger/wagon" >> probability = "0.12"/> >> <vType id = "del" vlcass = "delivery" guishape = "delivery" probability = >> "0.18"/> >> <vType id = "trail" vclass = "trailer" guishape = "truck/semitrailer" >> probability = "0.02"/> >> </vTypeDistribution> >> <route id = "LR" edges = "A2B2 B2C2 C2D2 D2E2"/> >> <route id = "DU" edges = "B0B1 B1B2 B2B3 B3B4"/> >> <route id = "UD" edges = "D0D1 D1D2 D2D3 D3D4"/> >> <flow id = "F1" begin = "0" end = "3200" vehsPerHour = "300" route = "LR" >> vTypeDistribution = "vdis"/> >> <flow id = "F2" begin = "0" end = "3200" vehsPerHour = "300" route = "DU" >> vTypeDistribution = "vdis"/> >> <flow id = "F3" begin = "0" end = "3200" vehsPerHour = "300" route = "UD" >> vTypeDistribution = "vdis"/> >> </routes> >> >> - Concern: When I checked the output (tripop) all the vehicle types were >> "default". I guess I am not vTypeDistribution in the right way. >> >> I checked the wide range of vehicle choices provided by SUMO: >> http://www.sumo.dlr.de/userdoc/Vehicle_Type_Parameter_Defaults.html >> >> - Query: Are the default emission value for each vehicle type <vclass> >> different and does it change guiShape? So, do all the vehicles in >> *vclass* *passenger >> *have same same emission or it changes for sedan v/s hatchback. >> >> Regards, >> Vaibhav Rungta >> Graduate Student - Industrial and Systems Engineering >> Graduate Assistant - Toyota Production Systems Lab >> Research Assistant - University Transport Research Center >> 585-754-7133 >> >> ------------------------------------------------------------ >> ------------------ >> >> _______________________________________________ >> sumo-user mailing list >> sumo-user@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/sumo-user >> >> > ------------------------------------------------------------------------------ _______________________________________________ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user