- 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
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to