Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] [EXTERNAL] Re: traci execution speed
  • From: Pradeep Viyaluru Harinath <pradeep.viyaluruharinath@xxxxxxxx>
  • Date: Wed, 17 Nov 2021 00:41:08 +0000
  • Accept-language: en-IN, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=utsa.edu; dmarc=pass action=none header.from=utsa.edu; dkim=pass header.d=utsa.edu; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=FUsKQBrMklH/F3lrS3hWWw7DvfSV4VfXGrP0Fhc3Mxg=; b=kkE5LZl8Dwf+kiklQjdswuwgEsWN4yb2PM2Ht5DITMuwz9vUgfQ2r4x5tZqA373L6PQq4SS2prQNKBfUg2dJa9QkradlvGm9FNq6+0AxdAycdWqc821M9G7lsGhu8jrWUC9qtHu76cw59NQMnESpcEwq0X9oDkMc9hkHdEs+kVYD3lvDutPL7JjD7X0sUNOEv/jpa84GvnogvdwVpoJ85haMf6Row0OGA9U4QLsstD7IcOJBBuNIOCN1LBVWHB+2nnNL9tPJaZMzOr+cVPMmMgnnxnI+G5xId1fgnnqB4Zz6MCHauK5XcM4/6PnRF+II2fvn07NEIKtxlEjv2CXNZA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FK/2g2xpFsThdH6HVZaHX59uF4vAhfJcawHnv6D1pgg1yFLNfmxfqoThnAEDAGigm1ujHo++6qUzUEzu8HqoqIuq+Miz48GLabtxEizd9ikjMTdARQZKaBKidWTQx1CDAxqbZ+AGsOnxV269n/v2aBUNeT+fSfSA0cF2NuU27wZhvc/YNvHhYfm5ecwMl5MCHPNsTgjDMKU5WtqHgavjBC4xl3aVvWPDatsNA4d5PquL9xuM2NOxhw0BG0gIq/DxCtNJ+KAeT/7AGKkXBCNxZLe98BsuotngXOK9n7e9ixibSfZDETrwv/FUF8BwgZ0bmNlYYy8d2wVHxKqP7F3arg==
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • 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: AdfaiL95dhbcROToRCiqp7i1Fc2/NwARRDqAAB9kZDA=
  • Thread-topic: [EXTERNAL] Re: [sumo-user] traci execution speed

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 <sumo-user-bounces@xxxxxxxxxxx> On Behalf Of Jakob Erdmann
Sent: Tuesday, November 16, 2021 3:39 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
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)

 

regards,

Jakob

 

Am Di., 16. Nov. 2021 um 02:28 Uhr schrieb Pradeep Viyaluru Harinath <pradeep.viyaluruharinath@xxxxxxxx>:

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
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Attachment: sesnitivity.png
Description: sesnitivity.png


Back to the top