Re: [sumo-user] problem install sumo 0.25 on mac
Hi Michael, I added #define APIENTRY in the file config.h and it worked for Mac (10.9) now. Thank you. Best, Tran On Thursday, March 24, 2016 12:22 AM, Michael Behrisch wrote: Hi Tran, could you be a little bit more specific about your build environment and what you have tried so far? Best regards, Michael Am 23.03.2016 um 18:10 schrieb Nguyen Nguyen: > Dear All, > I have problem installing the newest version of SUMO on mac. I got the > following error: > GLHelper.cpp:55:15: error: expected initializer before 'combCallback' void > APIENTRY combCallback(GLdouble coords[3],... > > Would anyone has any suggestion? > Thank you so much. > Best, > Tran > -- > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 > ___ > sumo-user mailing list > sumo-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sumo-user > -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] problem using netconvert
Dear All, I used netconvert to generate separate files from the original file net.xml by the following command: netconvert -s small_la.net.xml --plain-output-prefix small_la and get small_la.con.xml, small_la.nod.xml,small_la.edg.xml and small_la.tll.xml. And then I used those files to reconstruct the original .net.xml without modify anything: netconvert --node-files small_la.nod.xml --edge-files small_la.edg.xml --connection-files small_la.con.xml --tllogic-files small_la.tll.xml --output-file modified_small_la.net.xml but I still get a bunch of errors: "the connection-source edge ... is not known" and "Unknown edge ... given in connection." Can I not combine those separate files into a net file? Thank you. Best regards, Tran -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] problem install sumo 0.25 on mac
Dear All, I have problem installing the newest version of SUMO on mac. I got the following error: GLHelper.cpp:55:15: error: expected initializer before 'combCallback' void APIENTRY combCallback(GLdouble coords[3],... Would anyone has any suggestion? Thank you so much. Best, Tran -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] [simulation using calibrator and sensor information]
Dear Jakob, The collisions still happened. I attach to the email all the input files and the terminal log file when I use the latest sumo. https://drive.google.com/file/d/0B87r979zQlLbb0RpTGNEN3NvUVE/view?usp=sharing I run the simulation: sumo -n small_la.net.xml -r LA.rou.xml -a small_calibrator.add.xml,small_sensor.xml -b 25200 -e 28800 --fcd-output.geo true --fcd-output LA.xml Would you mind checking that? Thank you. Best regards, Tran On Friday, March 4, 2016 12:04 AM, Jakob Erdmann wrote: if the collisions sill occur with the latest development version of sumo, send me the zipped files of your scenario (sumocfg and all input files) 2016-03-03 21:43 GMT+01:00 Nguyen Nguyen : Hi Jakob, While I run the simulation, there are also initially a lot of collision teleporting warnings. "Collisions are assumed to occur due to bugs in the simulation". Should and how I report these collisions warnings? Thank you. Best, Tran On Thursday, March 3, 2016 12:37 AM, Jakob Erdmann wrote: I can only give you very general advice on this: - observe the simulation in sumo-gui and figure out why the traffic slows down (likely jamming due to a network/traffic-light problem) - check the number of vehicles that are waiting to be inserted into the network (network property window). If this number is growing you have a problem (network cannot keep up with the traffic demand) 2016-03-02 19:50 GMT+01:00 Nguyen Nguyen : Dear All, I have been using randomTrips, calibrator and sensor information to try to generate the simulation. I also perform checking vehicle counts and speed read by those sensors. I computed the average vehicle counts and speed and plot them versus the real information from sensors. However, for vehicle counts, the SUMO result matches the real counts in the first initial period and then starts to decrease. Moreover, for vehicle speeds, the SUMO speed information read by sensors are quite low, roughly half the real speed. Is there anyway that I should do to debug this? Thank you so much. Best regards,Tran -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://makebettercode.com/inteldaal-eval ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] [simulation using calibrator and sensor information]
Hi Jakob, While I run the simulation, there are also initially a lot of collision teleporting warnings. "Collisions are assumed to occur due to bugs in the simulation". Should and how I report these collisions warnings? Thank you. Best, Tran On Thursday, March 3, 2016 12:37 AM, Jakob Erdmann wrote: I can only give you very general advice on this: - observe the simulation in sumo-gui and figure out why the traffic slows down (likely jamming due to a network/traffic-light problem) - check the number of vehicles that are waiting to be inserted into the network (network property window). If this number is growing you have a problem (network cannot keep up with the traffic demand) 2016-03-02 19:50 GMT+01:00 Nguyen Nguyen : Dear All, I have been using randomTrips, calibrator and sensor information to try to generate the simulation. I also perform checking vehicle counts and speed read by those sensors. I computed the average vehicle counts and speed and plot them versus the real information from sensors. However, for vehicle counts, the SUMO result matches the real counts in the first initial period and then starts to decrease. Moreover, for vehicle speeds, the SUMO speed information read by sensors are quite low, roughly half the real speed. Is there anyway that I should do to debug this? Thank you so much. Best regards,Tran -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] [simulation using calibrator and sensor information]
Dear All, I have been using randomTrips, calibrator and sensor information to try to generate the simulation. I also perform checking vehicle counts and speed read by those sensors. I computed the average vehicle counts and speed and plot them versus the real information from sensors. However, for vehicle counts, the SUMO result matches the real counts in the first initial period and then starts to decrease. Moreover, for vehicle speeds, the SUMO speed information read by sensors are quite low, roughly half the real speed. Is there anyway that I should do to debug this? Thank you so much. Best regards,Tran -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] SUMO calibrator
Hi Jakob, For this problem, I vary parameter -p of randomTrips.py to increase number of vehicles as input with the additional calibration file. For p=2,1,0.5,0.2,0.1 and simulation of 1 hour, number of trips are 1800,3600,7200, However, when I compute average speed at all of the sensors, the speed as well as the total counts read after the simulation are quite slow. There are many sensors reading 0 flow. Even though I increase number of vehicles, the simulation will start get congested, the speed and the counts just improve a little bit. Could you please give me some advice? Thank you. Best, Tran On Monday, January 25, 2016 11:31 PM, Jakob Erdmann wrote: 'could not remove vehicle' typically means that the vehicle has already left the simulation. This is not a critical warning. For jam messages see here: http://sumo.dlr.de/wiki/FAQ#The_simulation_has_lots_of_jams.2Fdeadlocks._What_can_I_do.3F 2016-01-25 20:10 GMT+01:00 Nguyen Nguyen : Hello All, When I run the simulation with random trips generated by trandomTrips.py along with additional calibrator file, I get a lot of warnings: wither "Warning: Calibrator ... could not remove vehicle" or "Teleporting vehicle ... ; waited too long (jam), lane=..." Is there anything that I can do about this? I really appreciate your help. Thank you. Best regards, Tran On Friday, January 22, 2016 10:48 AM, Nguyen Nguyen wrote: Hello All, When I run the simulation with random trips generated by trandomTrips.py along with additional calibrator file (http://sumo.dlr.de/wiki/Simulation/Calibrator), I get a lot of warnings: Warning: Calibrator ... could not remove vehicle Is there anything that I can do about this? Is there any validation way? Thank you. Best regards, Tran -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] SUMO calibrator
Hello All, When I run the simulation with random trips generated by trandomTrips.py along with additional calibrator file, I get a lot of warnings: wither "Warning: Calibrator ... could not remove vehicle" or "Teleporting vehicle ... ; waited too long (jam), lane=..." Is there anything that I can do about this? I really appreciate your help. Thank you. Best regards, Tran On Friday, January 22, 2016 10:48 AM, Nguyen Nguyen wrote: Hello All, When I run the simulation with random trips generated by trandomTrips.py along with additional calibrator file (http://sumo.dlr.de/wiki/Simulation/Calibrator), I get a lot of warnings: Warning: Calibrator ... could not remove vehicle Is there anything that I can do about this? Is there any validation way? Thank you. Best regards, Tran -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] SUMO calibrator
Hello All, When I run the simulation with random trips generated by trandomTrips.py along with additional calibrator file (http://sumo.dlr.de/wiki/Simulation/Calibrator), I get a lot of warnings: Warning: Calibrator ... could not remove vehicle Is there anything that I can do about this? Is there any validation way? Thank you. Best regards, Tran -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] validation of dfrouter
Hi Jakob, Thanks for your reply. I have one more questions related to the type generation part. Could you please help me clarify? In the example included with SUMO, dfrouter only generate routes coming from the "source" detectors. Should defroster also generate routes for "between" & "sink" detectors also? At such a time, the total number of cars is the total number of vehicles passing by all the detectors (source/between/sink detectors) in the network, isn't it? Thank you. Best regards, Tran On Friday, January 8, 2016 10:51 AM, Nguyen Nguyen wrote: Hi Jakob, Thanks for your reply. I have one more questions related to the type generation part. Could you please answer me? In the input_tri_flows.txt example provided by SUMO, MQ_beg read 40, MQ_middle read 10, MQ_1toR read 10, etc.. at time = 0. It means that at that time, there were 40 cars passing by detector MQ_beg, 10 cars passing by detector MQ_middle,... Why does dfrouter only recognize MQ_beg as the source type, all others are sink and between type, and finally the generated route files only has 40 routes coming from the source MQ_beg? I think I misunderstand somewhere. Could you please help me correct it? Thank you so much. Best, Tran On Tuesday, January 5, 2016 3:30 AM, Jakob Erdmann wrote: Does your file input_tri.det.xml contain 'type' information (i.e. source,sink,between)? If not see http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#Computing_Detector_Types for how to compute these types. Otherwise, follow the advice given in the previous answer. Missing flow values are interpreted as 0. 2016-01-05 11:20 GMT+01:00 Nguyen Nguyen : Hi Jakob, Thanks for your reply. I am trying to run the dfrouter examples provided by SUMO source code to understand how to use dfrouter to generate needed outputs as following: dfrouter -n input_tri.net.xml -d input_tri.det.xml --measure-files input_tri_flows.txt --routes-output routes.rou.xml --emitters-output emitters.rou.xml --validation-output validation.xml There are total 40 routes in emitters.rou.xml. However, in the input_tri_flows.txt, there are total 40+10+10+..=180 cars at time = 0. When I check the validation files, there are still many sensors with 0 values. Did I make mistake somewhere? Morover, the flow file that I provided miss some flow values at some time slot. Will that still be allowed for dfrouter? Thank you, Best regards, Tran On Monday, January 4, 2016 11:44 PM, Jakob Erdmann wrote: Check the total number of vehicles that were generated (in the output file of option --emitters-output) against your expectations. The warnings could indicate why not all of the desired routes (and thus vehicles) have been generated. They are typical for networks that have insufficient sink detectors declared. See the options documented at http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#Computing_Routes for working around these warnings. regards, Jakob 2016-01-05 8:30 GMT+01:00 Nguyen Nguyen : Hi All, I figured it out that I can use the validation.xml as an additional file while I run the simulation to generate validation_dets.xml. However, most of the sensors have 0 counts, which is very different from the real information (failed validation). When I use dfrouter, I still got a lot of warnings like "Quitting checking for being a source for detector ... due to seen edge limit." and "Could not close route for...". Did these warning cause the problems? And how should I get rid of these warnings? Thank you very much. Best, Tran On Monday, January 4, 2016 10:54 PM, Nguyen Nguyen wrote: Hello All, I performed dfrouter to import sensor information and want to validate the simulation. I put detectors at those locations and retrieve the vehicle counts and speed for validation but most of the sensors read 0. Could I do this for validation? Is there anything wrong with this? Moreover, I also saw that we can perform validation by --validation-output validation.xml, but when I ran the simulation, I got an xml file with some information like: There is no validation_dets.xml created, and I do not how to use this file for validation. Could you please explain more clearly how I should validate my simulation using dfrouter.. Thank you very much. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user
Re: [sumo-user] validation of dfrouter
Hi Jakob, Thanks for your reply. I have one more questions related to the type generation part. Could you please answer me? In the input_tri_flows.txt example provided by SUMO, MQ_beg read 40, MQ_middle read 10, MQ_1toR read 10, etc.. at time = 0. It means that at that time, there were 40 cars passing by detector MQ_beg, 10 cars passing by detector MQ_middle,... Why does dfrouter only recognize MQ_beg as the source type, all others are sink and between type, and finally the generated route files only has 40 routes coming from the source MQ_beg? I think I misunderstand somewhere. Could you please help me correct it? Thank you so much. Best, Tran On Tuesday, January 5, 2016 3:30 AM, Jakob Erdmann wrote: Does your file input_tri.det.xml contain 'type' information (i.e. source,sink,between)? If not see http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#Computing_Detector_Types for how to compute these types. Otherwise, follow the advice given in the previous answer. Missing flow values are interpreted as 0. 2016-01-05 11:20 GMT+01:00 Nguyen Nguyen : Hi Jakob, Thanks for your reply. I am trying to run the dfrouter examples provided by SUMO source code to understand how to use dfrouter to generate needed outputs as following: dfrouter -n input_tri.net.xml -d input_tri.det.xml --measure-files input_tri_flows.txt --routes-output routes.rou.xml --emitters-output emitters.rou.xml --validation-output validation.xml There are total 40 routes in emitters.rou.xml. However, in the input_tri_flows.txt, there are total 40+10+10+..=180 cars at time = 0. When I check the validation files, there are still many sensors with 0 values. Did I make mistake somewhere? Morover, the flow file that I provided miss some flow values at some time slot. Will that still be allowed for dfrouter? Thank you, Best regards, Tran On Monday, January 4, 2016 11:44 PM, Jakob Erdmann wrote: Check the total number of vehicles that were generated (in the output file of option --emitters-output) against your expectations. The warnings could indicate why not all of the desired routes (and thus vehicles) have been generated. They are typical for networks that have insufficient sink detectors declared. See the options documented at http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#Computing_Routes for working around these warnings. regards, Jakob 2016-01-05 8:30 GMT+01:00 Nguyen Nguyen : Hi All, I figured it out that I can use the validation.xml as an additional file while I run the simulation to generate validation_dets.xml. However, most of the sensors have 0 counts, which is very different from the real information (failed validation). When I use dfrouter, I still got a lot of warnings like "Quitting checking for being a source for detector ... due to seen edge limit." and "Could not close route for...". Did these warning cause the problems? And how should I get rid of these warnings? Thank you very much. Best, Tran On Monday, January 4, 2016 10:54 PM, Nguyen Nguyen wrote: Hello All, I performed dfrouter to import sensor information and want to validate the simulation. I put detectors at those locations and retrieve the vehicle counts and speed for validation but most of the sensors read 0. Could I do this for validation? Is there anything wrong with this? Moreover, I also saw that we can perform validation by --validation-output validation.xml, but when I ran the simulation, I got an xml file with some information like: There is no validation_dets.xml created, and I do not how to use this file for validation. Could you please explain more clearly how I should validate my simulation using dfrouter.. Thank you very much. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] validation of dfrouter
Hi Jakob, Thanks for your reply. I am trying to run the dfrouter examples provided by SUMO source code to understand how to use dfrouter to generate needed outputs as following: dfrouter -n input_tri.net.xml -d input_tri.det.xml --measure-files input_tri_flows.txt --routes-output routes.rou.xml --emitters-output emitters.rou.xml --validation-output validation.xml There are total 40 routes in emitters.rou.xml. However, in the input_tri_flows.txt, there are total 40+10+10+..=180 cars at time = 0. When I check the validation files, there are still many sensors with 0 values. Did I make mistake somewhere? Morover, the flow file that I provided miss some flow values at some time slot. Will that still be allowed for dfrouter? Thank you, Best regards, Tran On Monday, January 4, 2016 11:44 PM, Jakob Erdmann wrote: Check the total number of vehicles that were generated (in the output file of option --emitters-output) against your expectations. The warnings could indicate why not all of the desired routes (and thus vehicles) have been generated. They are typical for networks that have insufficient sink detectors declared. See the options documented at http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#Computing_Routes for working around these warnings. regards, Jakob 2016-01-05 8:30 GMT+01:00 Nguyen Nguyen : Hi All, I figured it out that I can use the validation.xml as an additional file while I run the simulation to generate validation_dets.xml. However, most of the sensors have 0 counts, which is very different from the real information (failed validation). When I use dfrouter, I still got a lot of warnings like "Quitting checking for being a source for detector ... due to seen edge limit." and "Could not close route for...". Did these warning cause the problems? And how should I get rid of these warnings? Thank you very much. Best, Tran On Monday, January 4, 2016 10:54 PM, Nguyen Nguyen wrote: Hello All, I performed dfrouter to import sensor information and want to validate the simulation. I put detectors at those locations and retrieve the vehicle counts and speed for validation but most of the sensors read 0. Could I do this for validation? Is there anything wrong with this? Moreover, I also saw that we can perform validation by --validation-output validation.xml, but when I ran the simulation, I got an xml file with some information like: There is no validation_dets.xml created, and I do not how to use this file for validation. Could you please explain more clearly how I should validate my simulation using dfrouter.. Thank you very much. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] validation of dfrouter
Hi All, I figured it out that I can use the validation.xml as an additional file while I run the simulation to generate validation_dets.xml. However, most of the sensors have 0 counts, which is very different from the real information (failed validation). When I use dfrouter, I still got a lot of warnings like "Quitting checking for being a source for detector ... due to seen edge limit." and "Could not close route for...". Did these warning cause the problems? And how should I get rid of these warnings? Thank you very much. Best, Tran On Monday, January 4, 2016 10:54 PM, Nguyen Nguyen wrote: Hello All, I performed dfrouter to import sensor information and want to validate the simulation. I put detectors at those locations and retrieve the vehicle counts and speed for validation but most of the sensors read 0. Could I do this for validation? Is there anything wrong with this? Moreover, I also saw that we can perform validation by --validation-output validation.xml, but when I ran the simulation, I got an xml file with some information like: There is no validation_dets.xml created, and I do not how to use this file for validation. Could you please explain more clearly how I should validate my simulation using dfrouter.. Thank you very much. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] validation of dfrouter
Hello All, I performed dfrouter to import sensor information and want to validate the simulation. I put detectors at those locations and retrieve the vehicle counts and speed for validation but most of the sensors read 0. Could I do this for validation? Is there anything wrong with this? Moreover, I also saw that we can perform validation by --validation-output validation.xml, but when I ran the simulation, I got an xml file with some information like: There is no validation_dets.xml created, and I do not how to use this file for validation. Could you please explain more clearly how I should validate my simulation using dfrouter.. Thank you very much. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] dfrouter question
Hi Jakob, Thank you so much for your reply. I have some following questions: 1) regarding the 'cannot close' warning: I can only try --routes-for-all --keep-unfinished-routes, the option --all-end-follower is not allowed(No option with the name 'all-end-follower' exists), and it still generates the warning..2) regarding the 'not be able to depart' warning: because I want to keep the sensor input as most correctly as possible, so I will not touch the option 2 and 3 (lower the speed at the detectors that are located very close to an unprioritized intersection, increase the distance between detector and intersection).- For option 4: add a speed distribution (attribute speedDev) to the vehicle type , the route file is generated by dfrouter. I only use the default vehicle type without specifying vType. For example, if I want to add speedFactor=1, speedDev=0.1 to the file, how can I set these values?- For option 1: make sure that junctions have the correct right-of-way. Currently I only use netconvert to convert osm map into file net.xml. How can I specify the type of junction for the whole network? Thank you. Best regards, Tran On Monday, December 14, 2015 11:34 PM, Jakob Erdmann wrote: Hello, thanks for reporting this contradiction in the documentation. It is now fixed. 1) regarding the 'cannot close' warning. See http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#Computing_Routes 2) regarding the 'not be able to depart' warning you may either - make sure that junctions have the correct right-of-way (http://sumo.dlr.de/wiki/Networks/Building_Networks_from_own_XML-descriptions#Node_types) - lower the speed at the detectors that are located very close to an unprioritized intersection - increase the distance between detector and intersection - add a speed distribution (attribute speedDev) to the vehicle type (http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Default_Vehicle_Type) regards, Jakob 2015-12-14 18:10 GMT+01:00 Nguyen Nguyen : Hi Jakob, Thanks to your link, I created both routes.rou.xml and emitters.rou.xml and the simulation. However, I got a lot of warnings "Warning: Could not close route for...", and then when I run the simulation, I got a lot of errors "Error: Vehicle 'emitter_...' will not be able to depart using the given velocity (junction too close)!". Is there anything that I can do regarding this? Thank you. Best, Tran On Monday, December 14, 2015 7:14 AM, Nguyen Nguyen wrote: Hi Jakob, Thanks for your reply. In the flow part, it is mentioned that "Since version 0.12.3, vehicles are generated as part of the route definitions as is standard in the rest of the SUMO suite of applications. In future releases, the use of emitters will not be supported at all.". So do I not need to generate emitter output file? I did use -a to generate the fcd file: sumo -n LA_Arterial.net.xml -a routes.rou.xml --fcd-output.geo true --fcd-output LA_Arterial.xml Thank you for your clarification. Best, Tran On Monday, December 14, 2015 3:49 AM, Jakob Erdmann wrote: You need to use additional options to generate vehicles along with the routes. See http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#Saving_Flows_and_other_Values and http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#How_to_include_the_files regards, Jakob 2015-12-14 8:02 GMT+01:00 Nguyen Nguyen : Hello All, I used dfrouter to generate a route file, the route file was generated with ~ 1 trips, however, when I used the route file to generate the fcd output, there is no information generated (it stopped at time step 0.00). I attached the route file. Would you please give me some advices? Thank you. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] dfrouter question
Hi Jakob, Thanks to your link, I created both routes.rou.xml and emitters.rou.xml and the simulation. However, I got a lot of warnings "Warning: Could not close route for...", and then when I run the simulation, I got a lot of errors "Error: Vehicle 'emitter_...' will not be able to depart using the given velocity (junction too close)!". Is there anything that I can do regarding this? Thank you. Best, Tran On Monday, December 14, 2015 7:14 AM, Nguyen Nguyen wrote: Hi Jakob, Thanks for your reply. In the flow part, it is mentioned that "Since version 0.12.3, vehicles are generated as part of the route definitions as is standard in the rest of the SUMO suite of applications. In future releases, the use of emitters will not be supported at all.". So do I not need to generate emitter output file? I did use -a to generate the fcd file: sumo -n LA_Arterial.net.xml -a routes.rou.xml --fcd-output.geo true --fcd-output LA_Arterial.xml Thank you for your clarification. Best, Tran On Monday, December 14, 2015 3:49 AM, Jakob Erdmann wrote: You need to use additional options to generate vehicles along with the routes. See http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#Saving_Flows_and_other_Values and http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#How_to_include_the_files regards, Jakob 2015-12-14 8:02 GMT+01:00 Nguyen Nguyen : Hello All, I used dfrouter to generate a route file, the route file was generated with ~ 1 trips, however, when I used the route file to generate the fcd output, there is no information generated (it stopped at time step 0.00). I attached the route file. Would you please give me some advices? Thank you. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] dfrouter question
Hi Jakob, Thanks for your reply. In the flow part, it is mentioned that "Since version 0.12.3, vehicles are generated as part of the route definitions as is standard in the rest of the SUMO suite of applications. In future releases, the use of emitters will not be supported at all.". So do I not need to generate emitter output file? I did use -a to generate the fcd file: sumo -n LA_Arterial.net.xml -a routes.rou.xml --fcd-output.geo true --fcd-output LA_Arterial.xml Thank you for your clarification. Best, Tran On Monday, December 14, 2015 3:49 AM, Jakob Erdmann wrote: You need to use additional options to generate vehicles along with the routes. See http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#Saving_Flows_and_other_Values and http://sumo.dlr.de/wiki/Demand/Routes_from_Observation_Points#How_to_include_the_files regards, Jakob 2015-12-14 8:02 GMT+01:00 Nguyen Nguyen : Hello All, I used dfrouter to generate a route file, the route file was generated with ~ 1 trips, however, when I used the route file to generate the fcd output, there is no information generated (it stopped at time step 0.00). I attached the route file. Would you please give me some advices? Thank you. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] Simulation based on vehicle counts from sensors
Hello All, I have vehicle counts information read by sensors and their location as an input. Would you have any idea how I can generate the simulation using SUMO? Thank you. Best, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] Induction_Loops_Detectors
Hello All, I want to add some detectors for the network but the input parameters are only "lane" and "pos". I only have longitude and latitude of the sensors. I tried converting the coordination to x,y, and and then extracted the nearest lane, but I still do not know how to figure out the "pos" part. Could you please give me some advices? Thank you. Best, Tran -- Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] lane position from SUMO x,y coordination
Hi Jakob, Using TraCI means that I have to perform converting while running the simulation. I actually only need the static information for some specific lon/lat. Can I use the any sumolib function to extract the lane position information? Thank you so much. Best, Tran On Tuesday, November 10, 2015 9:32 PM, Jakob Erdmann wrote: Hello, check out the sumolib examples at http://sumo.dlr.de/wiki/Tools/Sumolib You can also do this via Traci using 'convert position' (http://sumo.dlr.de/wiki/TraCI/Simulation_Value_Retrieval#Command_0x82:_Position_Conversion). In the pythion traci client there are several convenience functions named convertXX to make this easier (http://www.sumo.dlr.de/daily/pydoc/traci.simulation.html) regards, Jakob 2015-11-11 4:06 GMT+01:00 Nguyen Nguyen : Hello All, I was able to convert longitude and latitude to SUMO x and y. May I ask how I can retrieve the corresponding lane position from SUMO x,y coordination? Thank you. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] lane position from SUMO x,y coordination
Hello All, I was able to convert longitude and latitude to SUMO x and y. May I ask how I can retrieve the corresponding lane position from SUMO x,y coordination? Thank you. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] polyconvert problem
Hello All, I have a polygon shape file that I can view from QGIS, and I use polyconvert to convert it to .poi.xml. Eventhough it is successful, the generated file that I get is like this: Do you know what is the problem? Thank you so much. Best regards, -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] polyconvert
Hello All, I have a polygon shape file that I can view from QGIS, and I use polyconvert to convert it to .poi.xml. Eventhough it is successful, the generated file that I get is like this: Do you know what is the problem? Thank you so much. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] traci.gui.screenshot error
Hi Jakob, I was able to capture the screen with the same code on a different Linux machine. You are right. It is the problem with my Mac. Thank you so much for your help. Best regards, Tran On Friday, October 30, 2015 12:03 PM, Nguyen Nguyen wrote: Hi Jakob, Yes, I can. I attach the snapshot to the email. Once I click on the Run button, the connection is aborted and the gui is closed. Best, Tran On Friday, October 30, 2015 12:22 AM, Jakob Erdmann wrote: The error message for the gui does not indicate an invalid view ID (That would result in a human-readable error). It might be something specific to your system. Can you create png screenshots manually by clicking the screenshot button in sumo-gui? 2015-10-30 7:47 GMT+01:00 Nguyen Nguyen : Hi Jakob, The above error is for SUMOGUI. I also attach the error for SUMO. Thank you, Best regards, Tran On Thursday, October 29, 2015 11:13 PM, Jakob Erdmann wrote: Are you running sumo or sumo-gui as the traci server? 2015-10-29 16:27 GMT+01:00 Nguyen Nguyen : Hi Jakob, Attached is my error trace. Thank you. Best, Tran On Wednesday, October 28, 2015 11:38 PM, Jakob Erdmann wrote: Can you provide the complete error trace? Similar code is working fine for me. You can also get a list of possible view ids by calling traci.gui.getIDList() regards, Jakob 2015-10-29 1:07 GMT+01:00 Nguyen Nguyen : Hello Dominik and Jakob, Thank you for your reply. I used "View #0" but I still got the error. I used the following code: traci.init(PORT) step = 0 print(step) while step< 10: traci.simulationStep() step += 1 traci.gui.screenshot("View #0", "images/img"+str(step)+".png") traci.close() and I still got the error: FatalTraCIError: connection closed by SUMO.. Thank you. Best, Tran On Tuesday, October 27, 2015 11:55 PM, Jakob Erdmann wrote: see the updated documentation at the top of http://sumo.dlr.de/wiki/TraCI/Change_GUI_State 2015-10-26 7:13 GMT+01:00 Nguyen Nguyen : Hello, I want to generate sreenshot, so I used the following command: traci.gui.screenshot("View", "images/img"+str(step)+".png") And I got the error: traci.TraCIException: View 'View' is not known How should I generate View ID? Thank you.Best,Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] traci.gui.screenshot error
Hi Jakob, Yes, I can. I attach the snapshot to the email. Once I click on the Run button, the connection is aborted and the gui is closed. Best, Tran On Friday, October 30, 2015 12:22 AM, Jakob Erdmann wrote: The error message for the gui does not indicate an invalid view ID (That would result in a human-readable error). It might be something specific to your system. Can you create png screenshots manually by clicking the screenshot button in sumo-gui? 2015-10-30 7:47 GMT+01:00 Nguyen Nguyen : Hi Jakob, The above error is for SUMOGUI. I also attach the error for SUMO. Thank you, Best regards, Tran On Thursday, October 29, 2015 11:13 PM, Jakob Erdmann wrote: Are you running sumo or sumo-gui as the traci server? 2015-10-29 16:27 GMT+01:00 Nguyen Nguyen : Hi Jakob, Attached is my error trace. Thank you. Best, Tran On Wednesday, October 28, 2015 11:38 PM, Jakob Erdmann wrote: Can you provide the complete error trace? Similar code is working fine for me. You can also get a list of possible view ids by calling traci.gui.getIDList() regards, Jakob 2015-10-29 1:07 GMT+01:00 Nguyen Nguyen : Hello Dominik and Jakob, Thank you for your reply. I used "View #0" but I still got the error. I used the following code: traci.init(PORT) step = 0 print(step) while step< 10: traci.simulationStep() step += 1 traci.gui.screenshot("View #0", "images/img"+str(step)+".png") traci.close() and I still got the error: FatalTraCIError: connection closed by SUMO.. Thank you. Best, Tran On Tuesday, October 27, 2015 11:55 PM, Jakob Erdmann wrote: see the updated documentation at the top of http://sumo.dlr.de/wiki/TraCI/Change_GUI_State 2015-10-26 7:13 GMT+01:00 Nguyen Nguyen : Hello, I want to generate sreenshot, so I used the following command: traci.gui.screenshot("View", "images/img"+str(step)+".png") And I got the error: traci.TraCIException: View 'View' is not known How should I generate View ID? Thank you.Best,Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] traci.gui.screenshot error
Hello Dominik and Jakob, Thank you for your reply. I used "View #0" but I still got the error. I used the following code: traci.init(PORT) step = 0 print(step) while step< 10: traci.simulationStep() step += 1 traci.gui.screenshot("View #0", "images/img"+str(step)+".png") traci.close() and I still got the error: FatalTraCIError: connection closed by SUMO.. Thank you. Best, Tran On Tuesday, October 27, 2015 11:55 PM, Jakob Erdmann wrote: see the updated documentation at the top of http://sumo.dlr.de/wiki/TraCI/Change_GUI_State 2015-10-26 7:13 GMT+01:00 Nguyen Nguyen : Hello, I want to generate sreenshot, so I used the following command: traci.gui.screenshot("View", "images/img"+str(step)+".png") And I got the error: traci.TraCIException: View 'View' is not known How should I generate View ID? Thank you.Best,Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] traci.gui.screenshot error
Hello, I want to generate sreenshot, so I used the following command: traci.gui.screenshot("View", "images/img"+str(step)+".png") And I got the error: traci.TraCIException: View 'View' is not known How should I generate View ID? Thank you.Best,Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] route generation error
Hello All, I used duarouter to generate route file: duarouter --net-file shanghai.net.xml --trip-files shanghaiOD.trips.xml --output-file shanghaiOD.rou.xml --ignore-errors --verbose and I get the following error: File 'shanghaiOD.trips.xml' is not accessible.Routes found between time steps 2147483.65 and 2147483.65.Quitting (on error). I do not know how to deal with this. Would you please help me? Thank you. Best, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] error in generation route files
Hello All, I used duarouter to generate route file: duarouter --net-file shanghai.net.xml --trip-files shanghaiOD.trips.xml --output-file shanghaiOD.rou.xml --ignore-errors --verbose and I get the following error: File 'shanghaiOD.trips.xml' is not accessible.Routes found between time steps 2147483.65 and 2147483.65.Quitting (on error). I do not know how to deal with this. Would you please help me? Thank you. Best, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] relationship between OSM ID and edge ID
Dear All, If I have OSM ID for one specific node, can I retrieve edge ID based on this information: http://sumo.dlr.de/wiki/Networks/Import/OpenStreetMap#Relationship_between_OSM_ids_and_SUMO-ids Thank you. Best regards, Tran -- Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] convert lon,lat to x,y using sumolib
Hi Michael, Yes, I used sumolib.net.getNeighboringEdges. I followed your advice but it is still quite slow. Would there by any other solutions that you could recommend? Thank you. Best regards, Tran On Monday, August 31, 2015 12:45 PM, Michael Behrisch wrote: Hi Tran, Am 31.08.2015 um 08:58 schrieb Nguyen Nguyen: > Hello All, > I have many rows of lon,lat information that I want to obtain its > nearest edge ID from SUMO. I currently use sumo lib but iterating > through over many rows is slow. I have too many rows to iterate > through. Is there anyway that I can speed up the process? which function(s) do you use exactly? If it is sumolib.net.getNeighboringEdges, be sure to have the python rtree package installed. It speeds up things a lot. Best regards, Michael -- Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] convert lon,lat to x,y using sumolib
Hello All, I have many rows of lon,lat information that I want to obtain its nearest edge ID from SUMO. I currently use sumo lib but iterating through over many rows is slow. I have too many rows to iterate through. Is there anyway that I can speed up the process? Thank you for your reply. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] [questions about traci.lane.getLinks]
Hello All, I have lane ID and I want to find available lanes starting from that lane in file net.xml May I ask if I can use the command traci.lane.getLinks? Moreover, sometimes when I call traci.lane.getLinks, it returns empty list. How should I deal with this? Does that mean that the specific lane is isolated? Thank you. Best regards, Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] available routes starting from one specific edge by traci
Hi Jakob, Thanks for your reply. Is there anyway that I can obtain a new route instead only loaded routes? If the starting edge is the current edge that the car just disappear, the destination edge is randomly picked, can I obtain the edges of the shortest route between 2 edges from file net.xml by SUMO? Thank you. Best regards, Tran On Wednesday, August 5, 2015 11:58 PM, Jakob Erdmann wrote: you may iterate over all currently loaded roads, retrieve their edges and check whether it is the starting edge you need. see http://sumo.dlr.de/wiki/TraCI/Route_Value_Retrieval regards, Jakob 2015-08-05 21:11 GMT+02:00 Nguyen Nguyen : Hello, May I ask how I can obtain available routes starting from one specific edge by traci? I want to add a new vehicle after an old one is removed also at that position. The map is large so only a part of routes are loaded in the beginning. Thank you.Best regards,Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] available routes starting from one specific edge by traci
Hello, May I ask how I can obtain available routes starting from one specific edge by traci? I want to add a new vehicle after an old one is removed also at that position. The map is large so only a part of routes are loaded in the beginning. Thank you.Best regards,Tran -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] constant number of vehicles
Hi Michael and Anderson, Thank you so much for your reply. Anderson, I would definitely like to have a look at your code.. That would be helpful. I really appreciate it. Best regards,Tran On Friday, July 24, 2015 7:18 AM, Anderson Rocha wrote: Some time ago I developed a script that inserted a new vehicle when another was removed by SUMO after finishing its trip. It does not re-route as you asked, but still may be useful... I don't have it right now, but if you would you like to take a look I can search for it and send you. Regards, -- Anderson Rocha Tavares http://dcc.ufmg.br/~anderson 2015-07-22 8:08 GMT-03:00 Michael Behrisch : Hi Tran, sorry for the delay, sourceforge was down. Am 2015-07-14 20:14, schrieb Nguyen Nguyen: > Hello All, > I want to maintain a constant number of vehicles in an imported map. > Vehicles will pick a trip initially, stop at the destination, wait for > an amount of time and then follows another trip. Can I do this with > SUMO? Could you please give me some advice? Can I use TraCi to obtain > this? Yes you can of course let you notify via traCI whenever a vehicle ends its route and insert a new one then. But since you mention a large network you probably have a severe runtime overhead when using TraCI with a lot of vehicles. But if you need TraCI anyway then go for it. > The map is quite large so I don't know if using the rerouter is > suitable. Did you try the randomTrips approach mentioned here? http://sumo.dlr.de/wiki/FAQ#How_do_I_maintain_the_same_number_of_vehicles_in_the_net.3F Regards, Michael -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] [OD2TRIPS with file taz]
Hello All, I generated a trip file with a taz file (extracted based on OSM map) and then used duarouter to generate routes from the trip files, but most of the trips didn't work and a lot of errors like "Mandatory edge ':11578...' not reachable by vehicle..." showed up. When I tried to use Josm to find the node/edge..., I can not find them. Is it because nodes/ edges starting with ":" do not exist in the osm file? Would you please give me some advice what I should do in this case? Thank you every much. Best regards, Tran -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] constant number of vehicles
Hello All, I want to maintain a constant number of vehicles in an imported map. Vehicles will pick a trip initially, stop at the destination, wait for an amount of time and then follows another trip. Can I do this with SUMO? Could you please give me some advice? Can I use TraCi to obtain this? The map is quite large so I don't know if using the rerouter is suitable.. Thank you.Best regards,Tran -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] netconvert error
Hi Michael, Thank you for your reply. Now it shows another error but I have no clue what it is: Removed 470 traffic lights before loading plain-XMLWarning: Deprecated vehicle class(es) 'cityrail lightrail rail_fast' in input edge files. Import done: 103756 nodes loaded. 38 types loaded. 182767 edges loaded.Proj projection parameters used: '+proj=utm +zone=51 +ellps=WGS84 +datum=WGS84 +units=m +no_defs'.Quitting (on error). Thank you. Best, Tran On Thursday, July 9, 2015 1:37 AM, Michael Behrisch wrote: Hi, long option names always need two -, so it needs to say either -v or --verbose, now netconvert tries to interpret it as -v -e rbose Regards, Michael Am 2015-07-08 23:12, schrieb Nguyen Nguyen: > Hello, > I used netconvert to generate net file from a downloaded OSM map: > > netconvert --geometry.remove --roundabouts.guess --ramps.guess > --junctions.join --tls.guess-signals --tls.discard-simple --tls.join > --osm-files shanghai.osm -o shanghai.net.xml -verbose > > but I get the following error: > Error: Could not open edges-file 'rbose'. > > > Would you please give me some advice regarding this error? > > > Thank you. > Best regards. > Tran > -- > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > ___ > sumo-user mailing list > sumo-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sumo-user -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] netconvert error
Hello, I used netconvert to generate net file from a downloaded OSM map: netconvert --geometry.remove --roundabouts.guess --ramps.guess --junctions.join --tls.guess-signals --tls.discard-simple --tls.join --osm-files shanghai.osm -o shanghai.net.xml -verbose but I get the following error: Error: Could not open edges-file 'rbose'. Would you please give me some advice regarding this error? Thank you. Best regards. Tran -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] OD File
Hi, I fixed the OD file and there is no errors anymore. Thank you.Best regards,Tran On Tuesday, July 7, 2015 10:35 AM, Nguyen Nguyen wrote: Hi All, May I ask what is the largest number of districts for OD File ? Or is there any recommendation regarding number of districts as input to SUMO? Moreover, when I generate a random OD matrix, I got a lot of warnings and errors like the following: "Error: Missing destination '...' (... vehicles).". What should I do to resolve this error? Thank you so much. Best regards, Tran -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] OD File
Hi All, May I ask what is the largest number of districts for OD File ? Or is there any recommendation regarding number of districts as input to SUMO? Moreover, when I generate a random OD matrix, I got a lot of warnings and errors like the following: "Error: Missing destination '...' (... vehicles).". What should I do to resolve this error? Thank you so much. Best regards, Tran -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] [duarouter random trips error]
Hello, I imported osm file, using net convert to generate corresponding .net.xml as well as using randomTrips.py for a random trip file. However, duarouter with these inputs have given a lot of errors: No connection between a & b edges, the vehicle... has no valid route. There are too many errors so I can not use --ignore-errors. Using netcheck.py, I can view which edges causing problem, but there are too many of them. Could you please give me an advice what I should do in this case? Thank you so much.Best regards,Nguyen -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] [view POI file]
Hello, I tried to view both file .net.xml and file .poi.xml using sumo-gui but I can only see file .net.xml. How should I view file .poi.xml? I used the command: sumo-gui -n test.net.xml -a poly.poi.xml. Thank you.Best regards,Nguyen -- Monitor 25 network devices or servers for free with OpManager! OpManager is web-based network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] [OSM import problem]
Dear All, I figured out what was wrong. Thank you.Best,Daisy On Sunday, June 14, 2015 11:08 PM, Nguyen Nguyen wrote: Dear All, I would like to import Shanghai OSM map into SUMO. First, I downloaded Shanghai map from OSM, and then use osmosis: osmosis --rx Shanghai.osm --wkv "highway.motorway,highway.motorway_link" --un --wx Shanghai_filter.osm. After that, I use net convert to convert the generated filtered Shanghai OSM file: netconvert -v --osm Shanghai_filter.osm -o Shanghai.net.xml. However, I got the following error: Found duplicate nodes. Substituting 1797706993 with 1797706927Found duplicate nodes. Substituting 3573748980 with 3573748979Found duplicate nodes. Substituting 3573748982 with 3573748981done.Parsing edges from osm-file 'Shanghai_filter.osm'... done.Removing duplicate edges... done.Warning: In lane '91558319#7_0': Could not build shape.Warning: In lane '91558319#7_3': Could not build shape.Parsing relations from osm-file 'Shanghai_filter.osm'... Warning: No way found for reference '22895990' in relation '60434'Warning: Ignoring restriction relation '60434' with unknown from-way.Warning: Ignoring restriction relation '60434' with unknown to-way.Warning: No way found for reference '33731176' in relation '60435'Warning: Ignoring restriction relation '60435' with unknown from-way.Warning: Ignoring restriction relation '60435' with unknown to-way.Warning: No way found for reference '33731177' in relation '60436'Warning: No way found for reference '187246079' in relation '60436'Warning: Ignoring restriction relation '60436' with unknown from-way.Warning: Ignoring restriction relation '60436' with unknown to-way.Warning: No way found for reference '28931153' in relation '60438'Warning: No way found for reference '33731179' in relation '60438'Warning: Ignoring restriction relation '60438' with unknown from-way.Warning: Ignoring restriction relation '60438' with unknown to-way.Warning: No way found for reference '33731182' in relation '121173'Warning: Ignoring restriction relation '121173' with unknown from-way.Warning: Ignoring restriction relation '121173' with unknown to-way.Error: invalid multi-byte sequence In file 'Shanghai_filter.osm' At line/column 254619/25. I found the line in the trace, which is : and deleted '/' and rerun netconvert but I still got the same error at line/column 254619/25. I don't know how I should handle this problem. Here is the link to the file Shanghai_filter.osm: https://drive.google.com/file/d/0B87r979zQlLbVzZlMGs0QVhEbkU/view?usp=sharing I'm a newbie in SUMO. Would you please tell me what I should do next? Thank you.Best regards,Daisy -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] [OSM import problem]
Dear All, I would like to import Shanghai OSM map into SUMO. First, I downloaded Shanghai map from OSM, and then use osmosis: osmosis --rx Shanghai.osm --wkv "highway.motorway,highway.motorway_link" --un --wx Shanghai_filter.osm. After that, I use net convert to convert the generated filtered Shanghai OSM file: netconvert -v --osm Shanghai_filter.osm -o Shanghai.net.xml. However, I got the following error: Found duplicate nodes. Substituting 1797706993 with 1797706927Found duplicate nodes. Substituting 3573748980 with 3573748979Found duplicate nodes. Substituting 3573748982 with 3573748981done.Parsing edges from osm-file 'Shanghai_filter.osm'... done.Removing duplicate edges... done.Warning: In lane '91558319#7_0': Could not build shape.Warning: In lane '91558319#7_3': Could not build shape.Parsing relations from osm-file 'Shanghai_filter.osm'... Warning: No way found for reference '22895990' in relation '60434'Warning: Ignoring restriction relation '60434' with unknown from-way.Warning: Ignoring restriction relation '60434' with unknown to-way.Warning: No way found for reference '33731176' in relation '60435'Warning: Ignoring restriction relation '60435' with unknown from-way.Warning: Ignoring restriction relation '60435' with unknown to-way.Warning: No way found for reference '33731177' in relation '60436'Warning: No way found for reference '187246079' in relation '60436'Warning: Ignoring restriction relation '60436' with unknown from-way.Warning: Ignoring restriction relation '60436' with unknown to-way.Warning: No way found for reference '28931153' in relation '60438'Warning: No way found for reference '33731179' in relation '60438'Warning: Ignoring restriction relation '60438' with unknown from-way.Warning: Ignoring restriction relation '60438' with unknown to-way.Warning: No way found for reference '33731182' in relation '121173'Warning: Ignoring restriction relation '121173' with unknown from-way.Warning: Ignoring restriction relation '121173' with unknown to-way.Error: invalid multi-byte sequence In file 'Shanghai_filter.osm' At line/column 254619/25. I found the line in the trace, which is : and deleted '/' and rerun netconvert but I still got the same error at line/column 254619/25. I don't know how I should handle this problem. Here is the link to the file Shanghai_filter.osm: https://drive.google.com/file/d/0B87r979zQlLbVzZlMGs0QVhEbkU/view?usp=sharing I'm a newbie in SUMO. Would you please tell me what I should do next? Thank you.Best regards,Daisy -- ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user