Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] [SPAM] duaiterate.py problems
  • From: <yun-pang.floetteroed@xxxxxx>
  • Date: Wed, 2 Jun 2021 08:50:14 +0000
  • Accept-language: de-DE, en-US
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • Ironport-hdrordr: A9a23:kC7HoavsI8dp9j+B3W00FrSJ7skDUtV00zEX/kB9WHVpm5Sj5q STdYcgpHjJYVEqKQwdcLG7SdO9qBznlaKdjbN9AV7mZniChILKFvAf0WKB+UyCJ8SWzIc0vs 1dmupFeb/N5DNB4voSlTPYLz9W+re6Gc6T6ds2hE0dKz2CI5sQljuRJDzranGfCmN9dOEEKK Y=
  • Ironport-phdr: A9a23:G8jZ6ROSKtRQFRSta84l6nZ4ChdPi9zP1u491JMrhvp0f7i5+Ny6Z QqDvKQr1g6WFt2Fo9t/yMPu+5j6XmIB5ZvT+FsjS7drEyE/tMMNggY7C9SEA0CoZNTjbig9A dgQHAQ9pyLzPkdaAtvxaEPPqXOu8zESBg//NQ1oLejpB4Lelcu62/229pHJfQlFgDiwbbxuI Bi3sA7cqtQYjYx+J6gr1xDHuGFIe+NYxWNpIVKcgRPx7dqu8ZBg7ipdpesv+9ZPXqvmcas4S 6dYDCk9PGAu+MLrrxjDQhCR6XYaT24bjwBHAwnB7BH9Q5fxri73vfdz1SWGIcH7S60/VDK/5 KlpVRDokj8KOT4n/m/Klsx+gqFVoByjqBx+34Hab46aOeFifqzGf9MWWXZNUtpTWiFHH4iyb 5EPD+0EPetAqIT8p0YOrR2nCQm0HuzvzDBIimX43a0+1OQuDx3G3BA+ENIUt3Tbssj6ObwPX uCx1qnE1yjMYO1P1Dr79YPHfQwvr+uWUrJsbcre11MvFwXdg1iOtYDoMT2b2+QJvmWb8udtV vyjh3I6pg9/ojWixschh5fNi4wVxF3J8Sp0zYQ6KNClSEB1YdqpHZpeui2HM4Z7RN4pTW9vu CY/0LIGuJi7cTAMyJs93BHQcPiHfJaS7h3/U+aRJC90i2x5d7K7hhay6VOgxfPmWsmzylZKo SxImcTPuHAVzxHf99SLRuFg8kqi1juDzR3f5+9HLEwui6bWJYYtzqMsmpYJrEjOHSD7lF/rg KKYdUgo4Pak5uTob7jgu5SSLZV7ihvkPaQrgsG/BOM4PRUQUGWD4uS80aHj/VX+QLVXkv06i qnZv47eJcQcvqO3DQlb3Igs5Ri/Dzmo19cWk34dIl5bdh+JgInmNk/ULPD5C/e/n06sny1xy //bOr3hGI/BIWXdn7v5fLZ97VBTyBYrwNxC+55YEKwNLfH8V0PrqdDVABw0Pxaqz+vpENl90 5kRWWOLAq+XKqPStlqI6/ovIumRYo8ZoS79JOIj5/7hl3M5l1sdfa630psLdHC3AO5mI0KHb nXxmdoODGMKvhAkQOP3llKOSSRTaGqqX6Ig+jE7D5qrDZzeRoCoh7yNxTq7HoZIaWBcEV2DD 2vnd4GFW/cUcyKdPNVtkjseVbiuGMcc0wqzvlr616Z/NbiTvTIHqtTu39x0//be0xYo+ntxB sWZ1miLCGV1hX8JQTExm7tipEs410yOy/tFhedFH+Be9+8cUhsmLYWOiKtlFM+0VwnFf8+SR RChWNrhBDgwStc4xZgKYl1hGtOsiVfYwi+tRqIOmqbYOJthprnB2n+0Ot1w0V7L360gl0IrB MxVOjv1qLR48l2HFpPP1l2Qkanse6Ab0TLR+X2EwGamsEVCFgJ9B/aWFUsDb1fb+IyqrnjJS KWjXOxPDw==
  • Ironport-sdr: w6Sdf3yt977at/jA6Hu2VrG1aPYLbCj+RnXE6ty2S08I03wj/WxNqbWze1jd1SyLxzbDbW0NcY bfREKh15HS6w==
  • 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: AQHXV3hl+HmFie1c9U+Iia/YlqGVL6sAQ97w
  • Thread-topic: [SPAM] [sumo-user] duaiterate.py problems

Hi,

To your questions: 

1) It becomes somehow complicated when defining vtypes with an additional file in duaIterate.py. It should/will be improved. The current option "additional" is for defining additional files in sumo, not in duarouter. So you need to use "--additional" for defining your vtype.xml in sumo's configuration, while you define the vtype file in duarouter's configuration. At the same time, you also need to let duarouter to save the vtype information in a separated file for each iteration. Otherwise, the vtype information will be written into the respective route-related files. And, sumo will send the error message that vehicle type is already defined (i.e. defined twice).

	--> If you do not want to change your files, you should run your call with additional three options, as indicated below.

		       python ~\duaIterate.py  --net-file *.net.xml --trips *.trips.xml duarouter--additional-files *add.xml duarouter--vtype-output **.add.xml --additional *.add.xml

	      where, *.add.xml is your vehicle type file name and **.add.xml is the file name you need to define

	--> Otherwise, you can put the vtype information in your trip or route file, as shown below. Then you do not to use the aforementioned three options.
		<routes>
		    <vType id="passenger" accel="2.9" decel="7.5" length="4.3" maxSpeed="50"/>
		    <trip......>
		....
		</routes>

2) Yes, you can only use one of the emission attributes.

3) already answered in 1)

Kind regards,
Yun-Pang

-----Ursprüngliche Nachricht-----
Von: sumo-user <sumo-user-bounces@xxxxxxxxxxx> Im Auftrag von Fereshteh
Gesendet: Dienstag, 1. Juni 2021 18:12
An: sumo-user@xxxxxxxxxxx
Betreff: [SPAM] [sumo-user] duaiterate.py problems

Hello,

I am using duaiterate.py but I believe some options don’t work properly. I would be thankful if you guide me on these issues.

1) Using non of the "-+" , "--additional" or "duarouter--aditional-file"
options make any changes to the output. I tried all of them for defining the vehicle type file but all of them concluded to the same results in the dua file as following:
Error: The vehicle type 'passenger' for vehicle 'light362377' is not known.
Error: The vehicle type 'passenger' for vehicle 'light403845' is not known.
Error: The vehicle type 'passenger' for vehicle 'light1099992' is not known.
.
.
.
Quitting (on error).

While the vehicle type file is defined as:
<additional>
   <vType id="passenger" accel="2.9" decel="7.5" length="4.3"
maxSpeed="50"/>
</additional>

2)Using --eco-measure option could be used just for one type of emission for example CO2 or fuel, am I right? because when I use several of them it leads to this error:
duaIterate.py: error: argument -Q/--eco-measure: invalid choice: 'CO2,fuel'
(choose from 'CO', 'CO2', 'PMx', 'HC', 'NOx', 'fuel', 'noise')

3) Since the "--additional" option does not work for me yet, I also wonder if it is possible to define some additional files for closing some links along with duaiterate.py, like what we do by sumo, or not? 

Many thanks in advance,
Fereshteh



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
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