Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] OD matrix issues
  • From: "Liu, Hao" <hliu@xxxxxxx>
  • Date: Thu, 8 Sep 2022 14:40:57 +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=58K5+hqQuMn9/mwZvJcfm9sztxH3StzV3Ic6Pf6lemA=; b=jzYlqdja2IjBso8HGNEiQHKKumHN+gXPmTGwTvNV7BzH/Jun9iouOMFJVOZLucZsFeeHZYRWY9ImNwn6ZvItqFl+x4wONjJx1HQJsuMf9184MSsNbq6W8JewR65GAW93UAfmOhuoeDC3NS0OmVAHjK9pOS2T9diNwjwHIeLs8TRSahmyd1Lh3mpWQSA3xbkH6WvPMu4rJlGWHJqGlusvukGQpAukDaAP5+/nttDUOqOVdKa6j/HJ1iUudg83PihF0NVEqlXLIihlhWvB4rWz6gyV84rt4hb0INL2zWe0c7bl4jb6IjgiolP3uvnUPeyxECiZJxJ/e+nMusVMF4rNtA==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XlhPp4O5tyqIbnz7My3CSdrdCfk9zDaAO2RBYWOrn3RjtslNqusxl9STtK/CqZhhs8DTxgUVUyVcx7hZAMPcp0QY8dYm7Ta7cX4mRMhC7e6leKK8UqlECg8OBMeC2qG6/3mdjPNToHuOq4GRbyMy72mF5PVbCHvr2wiLucUqsqrxF8dmkBqo99ZaRrOokQUw22IXtrYgRM1qURGggF5OtI8oqr1zSQvzgbxgELJafX/4qKGKeYOJfi680W29l7/mefQrr74Sgmnly8G9Q/fgT09WFNUn51dNpgHEjiKA6JrmX6iNOisN5H2PjknDgfX6oKGRR8TZW2uJXe5DhrTBPQ==
  • 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: AdjCFKiP3+l5Vw0aRKqlwW9F3z+c0wABaOaAABNhwrAABhw0AAAfHdxwABYHMwAADwfrEA==
  • Thread-topic: [sumo-user] OD matrix issues

Thank you. It works.

 

From: sumo-user <sumo-user-bounces@xxxxxxxxxxx> On Behalf Of Jakob Erdmann
Sent: Thursday, September 8, 2022 3:30 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] OD matrix issues

 

Thank you very much for reporting this. There was a bug in the xml-file validation with regard to the format of the time values (https://github.com/eclipse/sumo/issues/11554)

Any one of the following will fix the problem on your end:

- update the 'sumo/data/xsd/datamode_file.xsd'  file to this version: https://raw.githubusercontent.com/eclipse/sumo/main/data/xsd/datamode_file.xsd

- change the 'end' time values to seconds (i.e. 3600)

 

regards,

Jakob

 

Am Mi., 7. Sept. 2022 um 23:02 Uhr schrieb Liu, Hao <hliu@xxxxxxx>:

Thanks, Jakob. I updated the version but got the new error message “Error: invalid character encountered In file 'mp.od' At line/column 3/46.”. I used the tazRelations file copied from SUMO website with modified taz ids. I am attaching both the taz file and mp.od here. Thank you for your help.

 

Sincerely,

Hao

 

From: sumo-user <sumo-user-bounces@xxxxxxxxxxx> On Behalf Of Jakob Erdmann
Sent: Wednesday, September 7, 2022 2:09 AM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] OD matrix issues

 

It seems you are using an old version of SUMO (support for that option was added in version 1.11.0 and the latest release is 1.14.1). See https://sumo.dlr.de/docs/Downloads.php

 

Am Mi., 7. Sept. 2022 um 05:16 Uhr schrieb Liu, Hao <hliu@xxxxxxx>:

Hi Jakob,

 

Thank you very much for your help. For my first question, I changed the option to --tazrelation-files, but I got the error message “Error: On processing option '--tazrelation-files=mp.od': No option with the name 'tazrelation-files' exists. Error: Could not parse commandline options. Quitting (on error).” Do you know the reason of this error? The command I used is od2trips --taz-files=mp.taz.xml --tazrelation-files=mp.od --output-file=mp.odtrips.xml. Thanks for your time.

 

Best,

Hao

 

From: sumo-user <sumo-user-bounces@xxxxxxxxxxx> On Behalf Of Jakob Erdmann
Sent: Tuesday, September 6, 2022 1:59 PM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] OD matrix issues

 

1. use option --tazrelation-files rather than option --od-matrix-files for loading the tazRelations

2. no. The O-format only supports a single time slice per file. In contrast, the tazRelation format supports multiple intervals.

 

regards,

Jakob

 

Am Di., 6. Sept. 2022 um 19:18 Uhr schrieb Liu, Hao <hliu@xxxxxxx>:

Hi All,

 

I am trying to use OD matrix to generate trips and routes in SUMO. I have two questions:

 

  1. I firstly used the tazRelation format for the OD matrix. When I ran od2trips, I got the error message “'mp.od' uses an unknown matrix type '<data xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/datamode_file.xsd">'. I am attaching my taz file, od file here.
  2. I tried the O-format file, and it works. My question is that is it able to define multiple OD matrices for multiple time intervals in a single O-format file?

 

I very much appreciate your help in advance!

 

Best,

Hao

 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


Back to the top