Thank you for your response. I have used the command " libsumo as traci " but to only get the following error. I have tried importing the libsumo as package and then running it, even then I face the same error. Can I know what could have been the reason for this error since I have not got that error while using traci
Regards, V.H.Pradeep From: sumo-user <[email protected]> On Behalf Of Jakob Erdmann Sent: Tuesday, November 16, 2021 3:39 AM To: Sumo project User discussions <[email protected]> Subject: [EXTERNAL] Re: [sumo-user] traci execution speed **EXTERNAL EMAIL** This email originated outside of The University of Texas at San Antonio. Please exercise caution when clicking on links or opening attachments. Each individual traci command costs time because data must be passed between your code and sumo. - reduce the number of traci commands (i.e. by caching values that do not change or by using subscriptions) - switch to libsumo https://sumo.dlr.de/docs/Libsumo.html<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fsumo.dlr.de%2Fdocs%2FLibsumo.html&data=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7C00ce3e8bf68848989ba308d9a8e4fc6a%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637726523714133643%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=sDcqvn%2BRudn0bK3KQimHZixJ8hb0aAJuL%2F%2BKU%2F2dF3s%3D&reserved=0> regards, Jakob Am Di., 16. Nov. 2021 um 02:28 Uhr schrieb Pradeep Viyaluru Harinath <[email protected]<mailto:[email protected]>>: Hello All, I am running a python code which allows traci to iterate for about 100 times. I notice that as the simulation time increases the traci slows down considerably and it takes forever to produce the output. However when I run using the command prompt it hardly takes a minute to run simulation but when I use traci it takes close to 10 mins to complete the simulation run. Let me know if there is something I need to work on to improve the processing speed. Regards, V.H.Pradeep _______________________________________________ sumo-user mailing list [email protected]<mailto:[email protected]> To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user<https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=04%7C01%7Cpradeep.viyaluruharinath%40utsa.edu%7C00ce3e8bf68848989ba308d9a8e4fc6a%7C3a228dfbc64744cb88357b20617fc906%7C0%7C1%7C637726523714143636%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=8fVWfX24%2BfWTINxasOHUU1D2KrWfsk3wLSMGhp5RhOE%3D&reserved=0>
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
