Hello, both methods of describing speedFactor and speedDev are valid. The new method offers the additional capability of defining upper and lower bounds for the distribution (to avoid overly slow vehicles). See http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Speed_Distributions
The error message you receives comes from a part that automatically checks xml input files for correctness. It appears that this is still referencing the old definitions. Please check if the variable SUMO_HOME is still pointing to the 0.29.0 installation. windows: echo %SUMO_HOME% linux: echo $SUMO_HOME As a workaround you can also set the sumo option --xml-validation never to make this error disapear. regards, Jakob 2017-05-05 17:21 GMT+02:00 Graetz Anne (CC/EYN3) <[email protected]>: > Dear developers, > I have a problem using the new version 0.30.0 regarding the parameters > speedFactor and speedDev. I defined different vehicle types within a > vtypes.add.xml like > <vType id="Pkw" vClass="passenger" speedFactor="1.0" speedDev="0.1" /> > > Then I created routes with duarouter using the predefined vehicle classes. > In my route-file I found this headline with the vehicle type as usual > <vType id="Pkw" speedFactor="(1.00,0.10)" vClass="passenger" /> > > I noticed that you changed the way to define speedFactor and speedDev. So > in sumoversion 29 this line was like: > <vType id="Pkw" " speedFactor="1.0 " speedDev="0.1" vClass="passenger" /> > > So when I try to start the simulation, an error occurs regarding this line: > Error: value '(1.00,0.10)' does not match any member types of the union In > file 'routesadaptiv.rou.xml' > > But if I change the content of the route-file as common in version 29, > everything works fine. > Is it a bug? Or am I using it the wrong way? > Thanks in advance > Best regards, > Anne > > > ------------------------------------------------------------ > ------------------ > 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 > [email protected] > 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 [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
