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: Tue, 10 Nov 2020 09:02:01 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-phdr: 9a23:Sv1jXBGYfxx9LFy25jLWsZ1GYnF86YWxBRYc798ds5kLTJ76psy6bnLW6fgltlLVR4KTs6sC17OJ9fm5BydZu8vJmUtBWaQEbwUCh8QSkl5oK+++Imq/EsTXaTcnFt9JTl5v8iLzG0FUHMHjew+a+SXqvnYdFRrlKAV6OPn+FJLMgMSrzeCy/IDYbxlViDanbr5+MRe7oR/MusULgIZuJbs9xgXJr3BVZ+lY2GRkKE6JkR3h/Mmw5plj8ypRu/Il6cFNVLjxcro7Q7JFEjkoKng568L3uxbNSwuP/WYcXX4NkhVUGQjF7Qr1UYn3vyDnq+dywiiaPcnxTbApRTSv6rpgRRH0hCsbMTMy7WfagdFygq1GuhKsvxxxzZDJboGJOvRwfa3dctEbRWVdUclcTDZODp++b4YVE+YNIeRVoo/grFUOtxu+AgysCfvoxzFPnHD2x6w63P47HQzaxgwgGswBsHDQrNX0MqcSUPu4w7TMzTXZdf9ZxCny5ZHOfxs8rv6CQah+ftDNyUkzCQzFlFOQpJTrMj6IyOgBrmaW4ut+We+vi2MrtQJ8rzyxysoohYTEhoIbx1LK+Ct2zog7K9y1RUxlbNOrH5Vdqz+WO5V2TM4jRWxjpSg0yroDuZGhfSgKzowqyAPba/ydaYSH/wzsWP6RIDd/mXJlYrS/iAiu8Uiuy+38Ute73ExMriVbjtnArm4C2ADX6siGUvt95Vmu1SyI1wDJ5eFJJ10/m6nDK5M537I8ioAfvVnAEyL5gkn6kaGbe0Y+9uS25enreqjqq52CO4NulA3yL74iltG9DOk5KAQCQm6W8vmm2rL55032WrBKg+UzkqnerZ/VO9wWprW8Aw9JyoYj7Au/Dyu+3NQYg3YHKFVFdQqJgYbvNV/AL/D2A/e4jVqvlzll3e7KM7PuDJrMMHXPirbhfbBh605G0gU/181Q55ZOCr0bPf38RFf9tN3eDhAnLwy52/vrBMln2o8DWm+CDbWVPL7cvFKL/O4jPeeBaJcQuDnnKvgl4/DujWU+mV8YZaSn2oEYaGq5Hvt8OUmUfWDsgtIfHmcOugo+TerqiFyZXDFOY3ayRbgw6SwlB46+F4fMWpitgKCd3Ce8BpBWfX1GClWLEXvxaoWEQOkDaDiJL8B/jjMEUbmhS5c61R6wrgP6zKBnLuWHshAero/pgdhp+/XIx1Z16iNrScmW12CVVGwymXkHADo/3aR6qEo6zlaYzal+jfsfDsFW4LZUSQogZqPa1PFwK8z3XlfBYsuRUwThBcq5Hnc8RdYw28QDJUFnFJKnhxHH2iOsRLsUjKCKApIztbnB2n+0Ot1w0SX70rI8hWUrUtcaNXG6nrUtsE/MGJGPnk6dlr6xeOIbxiGK8W6CyW+HugZcURVsUKPLWjcEe07R6Mni61mRc7j7Xa86NwwE1NWPMINHYdnolU5LAvD5N4KNTXi2njLkIB+Sx7rKRZDvdmEZ3SPcIEQAiUYf8CDVZkAFGi69rjeGX3RVHlX1bha0/A==
  • Ironport-sdr: J/xy+6H/UBKeB6bleSHJC1XE5yjjA14iJ3+2Vh/eoIWTYQapCoNSP4su9Kzt3s3BaObqa5G0Gt /F4FN3Oswx2w==
  • 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/5nxAgACsvYCAAHFEYA==
  • Thread-topic: [sumo-user] Some od2trip problems

Hi,

 

  1. The option -e “Defines the end time; Later trips will be discarded; Defaults to the maximum time that SUMO can representhttps://sumo.dlr.de/docs/od2trips.html#time. If you want to have 20 trips from 0 to 200 you should give this in the OD-Matrix (0.00 0.05).
  2. No, that’s right. It should be working. Please try from the command line “sumo-gui -n yourNetFile.net.xml -r od_trip.xml” (or your od2trips output file) or “sumo-gui -n yourNetFile.net.xml -r od_trip.xml -a taz.add.xml”.  If it works, the error is in another part of your .sumocfg, maybe you have set the start time of the simulation (begin) after 200?

 

Regards,

Giuliana

 

Von: sumo-user-bounces@xxxxxxxxxxx <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von ???
Gesendet: Dienstag, 10. November 2020 03:25
An: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Betreff: Re: [sumo-user] Some od2trip problems

 

Thanks for your reply,

 

1.I run od2trips' instruction "od2trips -c od2trips.config.xml -n taz.add.xml -d od.od -e 200 -o od_trip.xml"

2.Yes. I added "<additional-files value="taz.add.xml"/>" to both od2trips.config.xml and sumocfg file. Am I misunderstanding?

3.I will try again, thanks for the suggestion

 

Sincerely.

Yun

 

 

 

<Maria.Armellini@xxxxxx> 2020119 週一 下午11:21寫道:

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

_______________________________________________
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