Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] pedestrian vtype in od2trips
  • From: "Liu, Hao" <hliu@xxxxxxx>
  • Date: Tue, 11 Jul 2023 23:19:25 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=psu.edu; dmarc=pass action=none header.from=psu.edu; dkim=pass header.d=psu.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=T65OJiO31PGrvPJRiweMROv2bKxlp38pwSfIeiT8MTA=; b=Kacrt1qZbgQiQVrBQz4Pmg7Y53vxQot1BMSsdkBITcvps1Pe3WrDd5gc0/vmkkOSela22HlQdE2FvJT5Gxdg/JnDrR8HDgbum/KU7IaB3VrdyoUke7CZfW3q8+uz9pmBUDP8xH7N5uY8NSq3HSeNhOkk2/KOqHVEcYJFZ77XNuB6Vn77m6X2BD+dYcfeyXuROO9Ru+ZOmG+qYIreMWCcApOffjAauou2cyfuHCMB8v52/nlUeIMxAO2avcy8n5QuuDBVe4Cz0rM4mnrATu+QRJmb13QFgY94hMFVJ9vp6DXuuL/3RTVbaVpkGUjP1XIuOS+oEFdE9Kzz+e+cmOt2lg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jf6+YLd4aGbpbN3Dld0A/1VfyIh5IITwmsg/l3N/UsfIas63Wmcz4LFnBP8czwqqzKDL2xQeVvpEzCSLfiwTWcAYCo+3FfF3rU8+dxoxVEU/1n8wKzIHOHr6U4+Dzi7D1L4VSjdbqvcnFYNnQAMW9p6pC964SEIggTNKvGpuxePFYqcrOZOkhVUbs7ppzU/HEUS2/A1ugOEsfWdRfqlbbCryyOjEb/bTcaFgHQLpN1lsaEOI+bETmZFEnzsvbYzfk5pdypDQaRObs0rgp7DJhjdIMQHyXTLK41KVOr4OikZ43JH+oekNQspDxpnspdGG//czqj+U5YTk4Jit9ol3xg==
  • 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: Adm0TN22qAlXFJOqRHaf5vVolDd7Mg==
  • Thread-topic: pedestrian vtype in od2trips

Hi SUMO users,

 

I am trying to use the command of od2trips to create routes for pedestrians from a taz and a tazrelation file. The route file can be obtained by the command below successfully.

 

os.system("od2trips --taz-files=mp.taz.xml --tazrelation-files=mp.tazrelation.xml --pedestrians=True --output-file=mped_TAZ.rou.xml")

 

However, I wanted to increase the maximum speed of the pedestrians by defining a new vType. I tried different ways to do this, but they did not work:

 

  1. I set the period id in the Tazrelation file (the od file) to be the id of the new defined vtype. However, whenever I included the option –pedestrians=True in the od2trips demand, this new defined type will be ignored in the output route file. When I remove –pedestrians=True from the command, the vtype will be included in the route file; however, all trips were treated as “vehicle” trips instead of pedestrians, which means no pedestrians will be inserted in the simulation;
  2. I added –vtype=… in the od2trips demand line (with the option –pedestrians=True); however, the route file does not show the type for pedestrians.

 

For both methods, I created an additional file which defines the vtype and is included in the sumoconfig file. I very much appreciate your help.

 

Sincerely,

Hao

 

Hao Liu

 


Back to the top