Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Create multiple route files using randomTrips
  • From: #LONG YUSHEN# <YLONG002@xxxxxxxxxxxx>
  • Date: Thu, 24 Sep 2020 09:06:26 +0000
  • Accept-language: zh-CN, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=e.ntu.edu.sg; dmarc=pass action=none header.from=e.ntu.edu.sg; dkim=pass header.d=e.ntu.edu.sg; 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-SenderADCheck; bh=/W28wlTync57D8slYd8UqI0KCYc3NARdtuA8lTPy4lA=; b=IVTE3AKqnzTOPT4kMDdKaRLwQF4gSvuWZb8J7kLUQZXcZwbaMvRprRp5gADCNSL5cvg2X6yFMLR0knS5WM/hqa0djnXUK+Iy35GCyRmf37gAqyDwEyVRPdOg1tva5LBYaAdJZbgL4aczH9vrHbh9EAFZIsJLJVV4x0jUEr1j5X5xTKdl47mC/QcuDAxz+UDnMyh5xOqL7VpOtHykjE0I5gevi+gOWtWTfOqSMThbMZI8yOCLWJc0xwuKqC0srX6e3tA72OARrjD3+hOq3IdhQ+i4p1AajKh5lffVRlf3oITdqRC1/qtBoAjYXEtT8hXIi3E7Ba5MGavquXOJ6jBVdA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UinoLlf578hAnuYkYT5rAl2ml4Wd1avywSqxfeE5Dqeuo4wV3gWWKoTcmVPRteEkOAVzfhaz563WLVu8X+tvWU+kzz719rodSH9z6nXBfefbbEe04ottIHBh05HhxgBRwL63ttHGnlvxMU7kLclw780hHKlbXnXQiI+p6yuswgEG2RBs4NBbrhHk09cvdXG4BPV6kQxtCCJjkjvwetcB4XV9zDljvOS5zprIfbs5loCrrKsmMeMT7mX91fImFUOBV7iA0y31u+9zmZPdioaE4Huq8P4t+4nvcU6BM3E0PXDMXdAWNF0TnCgLQNRztjgmwvyb0aeeh2JNdNEQxoHzPw==
  • 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: AdaSUJLQhCKb6mCuSZmZn68Pr1NBKA==
  • Thread-topic: Create multiple route files using randomTrips

Hi,

 

I’m working on a traffic simulation project where two random traffic flows shall be simulated simultaneously. One is the common vehicles like passengers, bus and so on. The other one is delivery vehicles from some warehouses. We would like to see how the delivery vehicles will affect the other common vehicles by setting different departure and arrival rate.

 

So I created two route files using randomTrips and put them in the sumocfg file. However, I noticed that randomTrips automatically set vehicle id from 0 by default. So in the two route files, many vehicles share the same vehicle id and the sumocfg file cannot be configured.

 

My questions is: is there any way in sumo to avoid this issue? Say for example, can I let randomTrips set vehicle id in a given range? Then I can let common vehicles have id from 0 to 9999 and delivery vehicles have id from 10000 to 12000 and there will be no duplicated id.

 

Thanks and best regards,

Yushen

**Disclaimer** The sender of this email does not represent Nanyang Technological University and this email does not express the views or opinions of the University.

Back to the top