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 <[email protected]> Im Auftrag von Fereshteh
Gesendet: Dienstag, 1. Juni 2021 18:12
An: [email protected]
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
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to