Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Some od2trip problems
  • From: <Maria.Armellini@xxxxxx>
  • Date: Mon, 9 Nov 2020 15:21:01 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-phdr: 9a23:rWtzPRfGR36iiDl+U71Rx5MUlGMj4u6mDksu8pMizoh2WeGdxcS8Zh7h7PlgxGXEQZ/co6odzbaP7Oa5ADFLvsvJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+MRe7oR/MusULgYZuJaQ8xxvUqXZUZupawn9lK0iOlBjm/Mew+5Bj8yVUu/0/8sNLTLv3caclQ7FGFToqK2866tHluhnFVguP+2ATUn4KnRpSAgjK9w/1U5HsuSbnrOV92S2aPcrrTbAoXDmp8qlmRAP0hCoBKjU09nzchM5tg6JBuB+vpwJxzZPIYI+bN/R+cKHSfdIGSmVORcteTTBNAoGmYocTE+YMP+BVpJT9qVsUqhu+ABGhCeToxDBSnH/23Lc13/49HAHc2QwvAdYOsHDVrNXzNacfSv26zK3SzTnZcvxZxy7w5Y7VeR8uvf+CR6h/cdbNyUYxDQPFiE2dpI37Mj6LyugAvGeV4vdgW+ygiGMqtgB8rzyxy8otlITEmJ8Zxk3H+Ch63Yo4JcG1RVBmbNOgEpZetzyWOoV3T84kXmpmtiE6yrgctp66eigH0IkoxxrFa/CdboeH/BTuX/uSLzdgnH9pZa6ziwyv/UWjxeDwTNS43VhJoyZfjNXBuWgB2wHR58SZUPdx4Fqt1SyS2w3R6+xIO104mKzGIJA72LEwjIAcsUHbEy/zn0X5kbGZe10/+uit9+TnerLmpoKAN4NsigHxLKAumsunDOo2NAYAUWeV9+S82rPk/kP3R69EguM5n6fWsZ/XO94Xpq+/Aw9JyIYs8QyzACqi0NQCh3UIMUxKdAqGj4jvJV7OPOj1Aeqjj1i2jTtmxP/LMqf8DpjDLXXPiqntcLll505Z0gUzzNRf55xOCrEGJfL+Qkj/u8bCDh84KQO42frqCM941owAXWKPBq6ZMKXTsVKT++0vJ/OMaJUItznjM/Ql/eLhjWclmV8BeqmkxYAXaG29HvRhOkmZfGHsjckbEWoRoAUxUOjqiFyaUT5IeXm+RaU85is0CNHuMYCWEpuwhbvEwTy2BLVbbWRHEkuBV3DyeNPXde0LbXfGB8Z7kzVCfKKkRosl1BevnAP+0fxrI7yHqWUjqZv/2Y0ttKXonhYo+GksAg==
  • Ironport-sdr: kE8jKLaKlYY4fyCvC/2FfgcCjwrWfrvp9fzl++T9jAZs2XDQ09N5dbH/J5tiuN45odqEFtyiL2 9CYLzZA2U5vQ==
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWtqazCZaeUnyeIkKEZtI7c00u4am/5nxA
  • Thread-topic: [sumo-user] Some od2trip problems

Hi Yun,

 

  1. yes, od2trips should be generating 20 trips. How did you run od2trips?
  2. Did you add the definition of the taz as an additional file? See https://sumo.dlr.de/docs/Demand/Importing_O/D_Matrices.html#simple_definition
  3. I don’t think so, but I’m not 100% sure. What you maybe could do is use “getLastStepVehicleNumber” to check the number of vehicles in each edge of a taz. See https://sumo.dlr.de/docs/TraCI/Edge_Value_Retrieval.html

 

Regards,

Giuliana

 

Von: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von ???
Gesendet: Montag, 9. November 2020 15:43
An: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Betreff: [sumo-user] Some od2trip problems

 

Hello,

I have read https://sumo.dlr.de/docs/Demand/Importing_O/D_Matrices.html, there are still some problems 

 

1.The first attachment "od.od" is the od-matrix file I used for testing.
According to the instructional video I watched, my setting should be 20 cars from taz0 to taz1, but the route file generated by od2trips only has three trips. Is my understanding wrong?

 

2.The second attachment is the route file produced by od2trips

I set it to the <route-file> of the sumocfg file, but there will be no vehicles when running the simulation.
After I deleted the attributes "fromTaz" and "toTaz" of the trip in the od_route file, the car appeared.

What caused this problem?

 

3.Does traci have functions about taz? Like getting how many vehicles are currently in taz

If not, is there a way to know the current number of taz vehicles in the python program? 

Because I want to maintain a certain number of vehicles in each taz

 

 

Many thanks,

Yun


Back to the top