Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Is there any way to define vehicle type inside the Trip file, using TraCI?
  • From: "Padisala, Shanthan Kumar" <padisala.1@xxxxxxxxxxxxxxxxxxx>
  • Date: Sun, 28 Jun 2020 06:17:02 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=buckeyemail.osu.edu; dmarc=pass action=none header.from=buckeyemail.osu.edu; dkim=pass header.d=buckeyemail.osu.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-SenderADCheck; bh=Sen7rZLpOen/NuuLoijWBet4Zyv4yTqQf4/RzQaTK9s=; b=anB5hyoGhcjFM34CsPbjsS3hNgclCeObcSuwMEJZC6KQIwvo77Dcpf8NYajhEcl3yFXog4j163lu1s/lXFgmsXqfYW5b5viTTE94RulcE6uSzgn0LiGfQW3WgAHuWF0LkSMFkuV24wQsIW80dFJBegRM/eg8UBeKHH/sI8JofLxS9s7ClYCAXJlT9LxR9Asy32R2XYIFoPtOEKTzzvLWnCFIiC6ha/JyWEZg103dD3rm60kuh+h5RF+/TPBowRZXD3z+gMNnKntxU6YxuXLQ2OXJB85+CzS6xvSu4X/gRBlOhYtwhkPm6UDsd9uClkwKdtRmqpjWsJeQxfEmigwQew==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YBhlK7VJMOYL+Mi6CJxonbxFAQ3nEucMPmnzHWdefFT4GjrkcDMXt+aTN+eqdSMuSLI4sPkSKwwfmeV/fFgx13MmRd2fN4NDtHtbzdYFljYj5BCcWJkWy+zjFfOVfj4oueCVDEasurC/GlXX9EHwoEqKEjjOxB3HIG0JKBjh8FkL7kGIksT1PIy9k82J1aCq73RQDRM4FT3CFnUPai0gSDWA8UfKZWC/HbloypoCjtlBBjo97hB+MzOGJFlN7JyTrI0+om2fygVxNg5/VifT3nmPOt5da5F/AHpR74lkFw8lQZnH47Mbq77X3BPa9Gj6v99bi1hQ9+fIH7f1QJWVcA==
  • 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: AQHWTRK8y1GKZwrTAUuj064OqMplbw==
  • Thread-topic: Is there any way to define vehicle type inside the Trip file, using TraCI?

Hi,

I have created a trips file using:
<trip id = 'trip%i' depart = '%i' from = '%s' to = '%s'/> %(i,s1,F,T)
where I have changed the i,s1,F and T values iteratiuvely in a loop, using TraCI. 

After creating these multiple trips, I used DUAROUTER function to create a routes file using:
duarouter --trip-files Trips.xml --net-file Network.net.xml --output-file Routes.rou.xml

But after the routes file is generated, I noticed that all the vehicles are of the same type. I would like to generate a simulation of different types of vehicles that are running in these different routes. Is there any possibility to add different vehicle types into my trips file itself so that I can achieve this?

Thanks and Regards,
PSK


Back to the top