I tried a few things: 1. Using code sample from webpage:
C:\sim1>od2trips -n taz_1_1.xml -d tazRelation.xml -o sim1.trips.xml Error: 'tazRelation.xml' uses an unknown matrix type '<data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/datamode_file.xsd">'. Quitting (on error). tazRelation.xml <data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/datamode_file.xsd"> <interval id="car" begin="0" end="84000"> <tazRelation count="1000" from="taz_0" to="taz_1"/> <tazRelation count="1000" from="taz_0" to="taz_2"/> <tazRelation count="1000" from="taz_0" to="taz_3"/> <tazRelation count="1000" from="taz_0" to="taz_4"/> <tazRelation count="1000" from="taz_0" to="taz_5"/> </interval> </data> 2. Tring to load tazRelation.xml from above into netedit does not throw an error, but does not provide anything to review. 3. Using netedit to create tazRelation, I could create intervals and select fromTaz and toTaz but I could not save the taz options. I see that the ID is equal to dataset name, maybe I should set the dataset name to the vehicle type? <?xml version="1.0" encoding="UTF-8"?> <!-- generated on 2022-05-15 22:00:20 by Eclipse SUMO netedit Version 1.13.0 --> <data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/datamode_file.xsd"> <interval id="1000" begin="0.00" end="84000.00"/> <interval id="2000" begin="0.00" end="3600.00"/> </data> 4. Tried loading the dataset into netedit after editing the dataset export from netedit and adding some tazRelations by hand: Error: expected end of tag 'data' In file 'C:\sim1\tazRelation_1_3.xml' At line/column 14/7. Error: Loading of C:\sim1\tazRelation_1_3.xml failed. tazRelation_1_3.xml: <?xml version="1.0" encoding="UTF-8"?> <!-- generated on 2022-05-15 22:11:34 by Eclipse SUMO netedit Version 1.13.0 --> <data xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/datamode_file.xsd"> <interval id="1000" begin="0.00" end="3600.00"/> <tazRelation count="1000" from="taz_0" to="taz_1"/> <tazRelation count="1000" from="taz_0" to="taz_2"/> <tazRelation count="1000" from="taz_0" to="taz_3"/> <tazRelation count="1000" from="taz_0" to="taz_4"/> <tazRelation count="1000" from="taz_0" to="taz_5"/> </interval> </data> From: sumo-user <sumo-user-boun...@eclipse.org> on behalf of Jakob Erdmann <namdre.s...@gmail.com> Date: Sunday, May 15, 2022 at 4:44 AM To: Sumo project User discussions <sumo-user@eclipse.org> Subject: Re: [sumo-user] How to create random trips between taz step 1: Define the traffic relations between the TAZ (commonly refered to as OD-Matrix): https://sumo.dlr.de/docs/Demand/Importing_O/D_Matrices.html#describing_the_matrix_cells step2: run od2trips. a) for cars, no special options are needed b) for pedestrian trips use option --pedestrians c) to move persons within cars use option --persontrips --persontrips.modes car (the cars are generated automatically once those persons enter the simulation) Am Sa., 14. Mai 2022 um 21:00 Uhr schrieb Chris Weinhaupl <chrisweinha...@gmail.com<mailto:chrisweinha...@gmail.com>>: Good day, I am struggling to build a few scenarios. I have built my net and vehicle. I have 6 taz set with edges I am having difficulty finding the right tutorial or instructions to accomplish my next steps. If I could have some guidance please that would be appreciated. 1. Create random vehicle trips between 6 tazs, move 1000 vehicles for each taz to each other taz. 2. Create random pedestrian trips between tazs, move 10,000 pedestrians from taz to each other taz using the vehicles Thank you for the assistance Cheers Get Outlook for iOS<https://aka.ms/o0ukef> _______________________________________________ sumo-user mailing list sumo-user@eclipse.org<mailto:sumo-user@eclipse.org> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________ sumo-user mailing list sumo-user@eclipse.org To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user