Hi Mirko,
Thanks so much for your help. This makes sense - I will make it "type1", "type2", "type3" and so on for vType ids. However, in the end, I simply used the csv2xml() converter in tools/, based on the following .csv file (snippet).
```vType_accel;vType_decel;vType_id;vType_length;vType_maxSpeed;vType_minGap;vType_sigma;route_edges;route_id;vehicle_depart;vehicle_id;vehicle_route;vehicle_type
1.7804136126769894;3.7319337562137807;'type1';5.0;90.0;2.669391744332565;;544181 383216 132131 542737 542660 542696 542743 542729 542733 542675 166354 156690 ;;35570.49681280952;veh0;route0;'type1'
5.540229367023352;8.508616732823317;0;5.'type1';90.0;1.7544886405804303;;154680 159143 165544 ;;28728.02537423077;veh1;route1;'type1'
6.370903650236724;8.866453309975734;'type1;5.0;90.0;3.340891225830463;;167450 123294 542659 165542 167847 ;;28983.794438073826;veh2;route2;'type1'```
And the rou.xml file snippet above is what the csv2xml() conversion produced. Why is the converter doing this incorrectly then? And how would I go about doing this following part using csv2xml()? `Please define vTypes without enclosed vehicles, like you have done afterwards. Also enclose route elements in vehicle elements or define them on the same level as vtypes and give them IDs` I'll change vType_id to type1, type2, type3, etc., but is there another part of the .csv that I need to be changing for csv2xml() to work?
Thank you again!