Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] OD Matrix

Dear,

I am not sure, but in your taz file, you wrote:
<taz id="1" edges="EBI-M#1 EBO-M"/>
while, you should close the taz at the end of each line., so  each line should change into:

<taz id="1" edges="EBI-M#1 EBO-M"/> </taz>

I mean adding </taz> at the end of each line.

Hope it can fix the problem.

Bests,
Reihaneh

On Wed, May 5, 2021 at 2:48 PM Shah Sultan <syedshahsultan@xxxxxxxxx> wrote:
Hi all

I am having issues in creating the trips file through the OD matrix. I've
been getting the trips file but I don't know why it's always empty.
The method that I am following is as follow

1) Creating an additional file of TAZ through NETEDIT (taz-1.add.xml)

2) Converting the *"taz-1.add.xml"* into "roundabout-1.taz.xml" by using
"edgesInDistricts.py -n roundabout-1.net.xml -t taz-1.add.xml -o
roundabout-1.taz.xml"

3) Creating the OD matrix file for 1000 vehicles with the name*
"roundabout-1-OD-1000.xml"* by the format describe in
*"https://sumo.dlr.de/docs/Demand/Importing_O/D_Matrices.html#the_o-format_visumvissim"
*
4) Then from the  command prompt
*"od2trips -c od2trips.config.xml -n roundabout-1.taz.xml  -d
roundabout-1-OD-1000.xml -o roundabout-1.trips.xml" *
Please tell me where am I wrong.  All the related files are attached.
OD_Matrix.rar
<http://sumo-user-mailing-list.90755.n8.nabble.com/file/t507/OD_Matrix.rar



<http://sumo-user-mailing-list.90755.n8.nabble.com/file/t507/Matrix.png>




--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top