[sumo-user] [OD2TRIPS]

2019-05-07 Thread Luca Di Costanzo
Hi all,

I want to ask people how SUMO (and more specificly OD2TRIPS) consider the
presence of real number (basically with decimal points) in a OD matrix.

I have and OD matrix like the one I attacched to the message and I'm trying
to figure out the result in term of trips. Some other software generates
the total number of vehicles (supposing the sum is 6.95 they generates 7
vehicle) randomly on some OD.

Is SUMO works in the same mode or not? Thanks in advance

Ing. Luca Di Costanzo

-
MsC in Hydraulic and Transportation Engineering
Bsc in Civil Engineering
contact: dicostanzo.l...@gmail.com
skype: lucadicostanzo82
tel: +39 333 43 92 544


mat_00.mtx
Description: Binary data
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] [OD2TRIPS]

2019-05-07 Thread Jakob Erdmann
When writing trips, left-over fractions from one time slice are added to
the next time slice.
There is also the option of writing the output as flows - either with an
exact number of vehicles (rounded down) or as a probabilistic flow (option
--flow-output.probability) where it acts more like your description above.

regards,
Jakob


Am Di., 7. Mai 2019 um 15:50 Uhr schrieb Luca Di Costanzo <
dicostanzo.l...@gmail.com>:

> Hi all,
>
> I want to ask people how SUMO (and more specificly OD2TRIPS) consider the
> presence of real number (basically with decimal points) in a OD matrix.
>
> I have and OD matrix like the one I attacched to the message and I'm
> trying to figure out the result in term of trips. Some other software
> generates the total number of vehicles (supposing the sum is 6.95 they
> generates 7 vehicle) randomly on some OD.
>
> Is SUMO works in the same mode or not? Thanks in advance
>
> Ing. Luca Di Costanzo
>
> -
> MsC in Hydraulic and Transportation Engineering
> Bsc in Civil Engineering
> contact: dicostanzo.l...@gmail.com
> skype: lucadicostanzo82
> tel: +39 333 43 92 544
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] [OD2TRIPS]

2019-05-07 Thread Luca Di Costanzo
Jackob for some OD pair I have always number smaller than 1 but the sum
give me a number greater than 1. After OD2TRIPS I got that, as flow,  zero
as value of generated vehicles instead, for trips I got 480 vehicles (the
sum of OD matrix is around 445).

So I think that, in trip generation TRIPS there's a methodology he use to
generate trips even from decimal numbers but I, still, cannot understand
which is the one


Ing. Luca Di Costanzo

-
MsC in Hydraulic and Transportation Engineering
Bsc in Civil Engineering
contact: dicostanzo.l...@gmail.com
skype: lucadicostanzo82
tel: +39 333 43 92 544


Il giorno mar 7 mag 2019 alle ore 15:50 Luca Di Costanzo <
dicostanzo.l...@gmail.com> ha scritto:

> Hi all,
>
> I want to ask people how SUMO (and more specificly OD2TRIPS) consider the
> presence of real number (basically with decimal points) in a OD matrix.
>
> I have and OD matrix like the one I attacched to the message and I'm
> trying to figure out the result in term of trips. Some other software
> generates the total number of vehicles (supposing the sum is 6.95 they
> generates 7 vehicle) randomly on some OD.
>
> Is SUMO works in the same mode or not? Thanks in advance
>
> Ing. Luca Di Costanzo
>
> -
> MsC in Hydraulic and Transportation Engineering
> Bsc in Civil Engineering
> contact: dicostanzo.l...@gmail.com
> skype: lucadicostanzo82
> tel: +39 333 43 92 544
>
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] [OD2TRIPS]

2019-05-07 Thread Michael Behrisch
Hi,
SUMO adds a vehicle to the current time slice using randomized rounding,
see the code here:
https://github.com/eclipse/sumo/blob/master/src/od/ODMatrix.cpp#L145 but
as far as I can tell from the current code and our tests the sum for
each OD cell over time should only deviate by at most 1 from the input
even when using fractional values.

Can you share your inputs?

Best regards,
Michael

Am 07.05.19 um 18:21 schrieb Luca Di Costanzo:
> Jackob for some OD pair I have always number smaller than 1 but the sum
> give me a number greater than 1. After OD2TRIPS I got that, as flow, 
> zero as value of generated vehicles instead, for trips I got 480
> vehicles (the sum of OD matrix is around 445).
> 
> So I think that, in trip generation TRIPS there's a methodology he use
> to generate trips even from decimal numbers but I, still, cannot
> understand which is the one
> 
> 
> Ing. Luca Di Costanzo
> 
> -
> MsC in Hydraulic and Transportation Engineering 
> Bsc in Civil Engineering 
> contact: dicostanzo.l...@gmail.com 
> skype: lucadicostanzo82
> tel: +39 333 43 92 544
> 
> 
> Il giorno mar 7 mag 2019 alle ore 15:50 Luca Di Costanzo
> mailto:dicostanzo.l...@gmail.com>> ha scritto:
> 
> Hi all,
> 
> I want to ask people how SUMO (and more specificly OD2TRIPS)
> consider the presence of real number (basically with decimal points)
> in a OD matrix. 
> 
> I have and OD matrix like the one I attacched to the message and I'm
> trying to figure out the result in term of trips. Some other
> software generates the total number of vehicles (supposing the sum
> is 6.95 they generates 7 vehicle) randomly on some OD. 
> 
> Is SUMO works in the same mode or not? Thanks in advance
> 
> Ing. Luca Di Costanzo
> 
> -
> MsC in Hydraulic and Transportation Engineering 
> Bsc in Civil Engineering 
> contact: dicostanzo.l...@gmail.com 
> skype: lucadicostanzo82
> tel: +39 333 43 92 544
> 
> 
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To change your delivery options, retrieve your password, or unsubscribe from 
> this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 




signature.asc
Description: OpenPGP digital signature
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] [OD2TRIPS]

2019-05-08 Thread Luca Di Costanzo
Hi Michael,

you were right I saw the output wrong the first time I wrote. The
difference it just 1 vehicle. Indeed the output TRIPS file is the following
(TrentoTrips.rou.xml) . Then if I sum the trips generated from the
centroids I obtain the results summarized in CumulatedTrips.csv

Thanks for replying

Ing. Luca Di Costanzo

-
MsC in Hydraulic and Transportation Engineering
Bsc in Civil Engineering
contact: dicostanzo.l...@gmail.com
skype: lucadicostanzo82
tel: +39 333 43 92 544


Il giorno mar 7 mag 2019 alle ore 19:36 Michael Behrisch 
ha scritto:

> Hi,
> SUMO adds a vehicle to the current time slice using randomized rounding,
> see the code here:
> https://github.com/eclipse/sumo/blob/master/src/od/ODMatrix.cpp#L145 but
> as far as I can tell from the current code and our tests the sum for
> each OD cell over time should only deviate by at most 1 from the input
> even when using fractional values.
>
> Can you share your inputs?
>
> Best regards,
> Michael
>
> Am 07.05.19 um 18:21 schrieb Luca Di Costanzo:
> > Jackob for some OD pair I have always number smaller than 1 but the sum
> > give me a number greater than 1. After OD2TRIPS I got that, as flow,
> > zero as value of generated vehicles instead, for trips I got 480
> > vehicles (the sum of OD matrix is around 445).
> >
> > So I think that, in trip generation TRIPS there's a methodology he use
> > to generate trips even from decimal numbers but I, still, cannot
> > understand which is the one
> >
> >
> > Ing. Luca Di Costanzo
> >
> > -
> > MsC in Hydraulic and Transportation Engineering
> > Bsc in Civil Engineering
> > contact: dicostanzo.l...@gmail.com 
> > skype: lucadicostanzo82
> > tel: +39 333 43 92 544
> >
> >
> > Il giorno mar 7 mag 2019 alle ore 15:50 Luca Di Costanzo
> > mailto:dicostanzo.l...@gmail.com>> ha
> scritto:
> >
> > Hi all,
> >
> > I want to ask people how SUMO (and more specificly OD2TRIPS)
> > consider the presence of real number (basically with decimal points)
> > in a OD matrix.
> >
> > I have and OD matrix like the one I attacched to the message and I'm
> > trying to figure out the result in term of trips. Some other
> > software generates the total number of vehicles (supposing the sum
> > is 6.95 they generates 7 vehicle) randomly on some OD.
> >
> > Is SUMO works in the same mode or not? Thanks in advance
> >
> > Ing. Luca Di Costanzo
> >
> > -
> > MsC in Hydraulic and Transportation Engineering
> > Bsc in Civil Engineering
> > contact: dicostanzo.l...@gmail.com  >
> > skype: lucadicostanzo82
> > tel: +39 333 43 92 544
> >
> >
> > ___
> > sumo-user mailing list
> > sumo-user@eclipse.org
> > To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> > https://www.eclipse.org/mailman/listinfo/sumo-user
> >
>
>
>




http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd";>















































































































































































































































































































































































[sumo-user] OD2TRIPS timeline

2021-05-24 Thread mehdi
Dear All

I am a computer science Ph.D. student at the University of Tennessee and I
am working on a large-scale transit simulation with SUMO. I have complete OD
matrices for peak and off-peak hours. Now, I am trying to generate the
demand files from an OD off-peak hours matrix with OD2TRIPS. This off-peak
OD matrix is for 24 hours and therefore I need to mention the off-peak hours
when I am generating the trips file with od2terips.
As  SUMO instruction, the command --timeline, a portion of all demand should
be generated. For example, I don't want to have any trips between 21600 to
32400 when generating the trips XML file. 
But when I open the generated XML file, there are still trips at the
departure time of 21600 to 32400, and nothing changed. This is the link to
my od matrix and TAZ.xml file. 

https://drive.google.com/drive/folders/1jTX6mZeC1VEBN9YQWtRhxZxEghZ8aXbO?usp=sharing

 Could you please take a look at it? It would better if you also generate
the XML trips file.


I used this: 

od2trips --taz-files taz.xml --od-matrix-files pass_op.txt --output-file
pss_op.xml --prefix pass_op --vtype passenger --timeline
0:0.167,21600:0,32400:0.167,54000:0,64800:0.167,86400:0

Thank you so much

Best regards
Mehdi



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] OD2TRIPS timeline

2021-05-24 Thread Menno van der Woude
Just for information, I was also trying something along these lines last 
week and had a similar experience where I expected a lower output from 
od2trips based on the provided timeline input, but instead it seemed no 
factor was applied, at least not on the time portion where I expected 
that to happen. I did not investigate this further, since I made the 
assumption my input was wrong and I had no time to triple check it. If 
desired, I can provide my data as well.


Greets, Menno

On 24/05/2021 18:57, mehdi wrote:

Dear All

I am a computer science Ph.D. student at the University of Tennessee and I
am working on a large-scale transit simulation with SUMO. I have complete OD
matrices for peak and off-peak hours. Now, I am trying to generate the
demand files from an OD off-peak hours matrix with OD2TRIPS. This off-peak
OD matrix is for 24 hours and therefore I need to mention the off-peak hours
when I am generating the trips file with od2terips.
As  SUMO instruction, the command --timeline, a portion of all demand should
be generated. For example, I don't want to have any trips between 21600 to
32400 when generating the trips XML file.
But when I open the generated XML file, there are still trips at the
departure time of 21600 to 32400, and nothing changed. This is the link to
my od matrix and TAZ.xml file.

https://drive.google.com/drive/folders/1jTX6mZeC1VEBN9YQWtRhxZxEghZ8aXbO?usp=sharing

  Could you please take a look at it? It would better if you also generate
the XML trips file.


I used this:

od2trips --taz-files taz.xml --od-matrix-files pass_op.txt --output-file
pss_op.xml --prefix pass_op --vtype passenger --timeline
0:0.167,21600:0,32400:0.167,54000:0,64800:0.167,86400:0

Thank you so much

Best regards
Mehdi



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

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


Re: [sumo-user] OD2TRIPS timeline

2021-05-24 Thread mehdi
Sure I can see your data and check them . I just need a TAZ.XML file and o
format of od.text file

Thank you for your response

Best
Mehdi



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] OD2TRIPS timeline

2021-05-25 Thread Jakob Erdmann
The explanation and a workaround are at
https://github.com/eclipse/sumo/issues/8676

Note, that for your input, the number of vehicles departing in the
0-probability periods is still much lower than in the surrounding periods.
You can test this with sumo/tools/output/attributeStats.py ps_opp.xml -e
trip -a depart -b 3600 -q --hist-output hist.txt --x stats.xml


regards,
Jakob

Am Mo., 24. Mai 2021 um 20:01 Uhr schrieb mehdi :

> Sure I can see your data and check them . I just need a TAZ.XML file and o
> format of od.text file
>
> Thank you for your response
>
> Best
> Mehdi
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] od2trips and vehicle types

2020-06-15 Thread Issa, Joshua
Hello,

I am trying to use od2trips and duarouter to generate train paths. The issue is 
that od2trips doesn't want to recognize the rail type.

[cid:image001.png@01D642F0.D8A3DC50]

Here is the commands I used:
[cid:image003.png@01D642F1.2D449830]

Thank you

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


[sumo-user] od2trips - Quitting (on error).

2020-10-10 Thread Chris Weinhaupl
I have created a cfg with 2 districts.
I created the osm.sumocfg from OSMWebWizard.
Then I added some extra edges and nodes.
Then I tried to create trips with od2trips. (see below)
Thoughts based on the error below?

Thank you


C:\sumo_projects\ont_2_ranch>od2trips -c osm.sumocfg -n taz.add.xml -H -b 0
-e 3600 --vtype="evehicle" --prefix="ev_" --output-prefix="ev_trips_" -v
Loading configuration ...
Error: No option with the name 'additional-files' exists.
Error: No option with the name 'ignore-route-errors' exists.
Error: No option with the name 'device.rerouting.adaptation-steps' exists.
Error: No option with the name 'duration-log.statistics' exists.
Error: No option with the name 'gui-settings-file' exists.
Error: Could not load configuration 'osm.sumocfg'.
Quitting (on error).


osm.sumocfg




http://www.w3.org/2001/XMLSchema-instance";
xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd";
>

























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


[sumo-user] od2trips (number of vehicles)

2021-01-28 Thread jlange
I want to generate a trip file using the function "od2trips". With more than
2500 vehicles given in the od-matrix, there are no trips generated in the
file. Is there any possibility to increase the number of vehicles for this?



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] od2trips, duaroter and vtypes

2022-07-28 Thread Jatin Senjaliya
Dear sumo users,

I want to generate trips and routes using od2trip and duarouter,
respectively. I have a taz relation file as an old matrix input. Now, I
want to distribute vehicle types in a way that 60 percent of the trips use
the passenger car as a vehicle type, and 40 percent of the trips use the
evehicle as a vehicle type. For the same, I have already read sumo
documentation on vehicle type distribution but could not find how it can be
used with od2trips, or it may not work with od2trips.

So, is there any possible way to distribute vehicle types by percentage or
probability using od2trips and duarouter?

Thank you!

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


[sumo-user] OD2Trips: Broken period definition '1.00'.

2019-01-03 Thread Ugirumurera, Juliette
Hello,


I am getting the error “Error: Broken period definition '1.00'.” when I call 
OD2TRIPS with –timeline option as follows:

od2trips -d  od_matrix_file --taz-files net_file,TAZ_file -o output_file 
–timeline time_in_sec:probability,time_in_sec:probability,…



An example of the timeline values I used: 0:0.375,21600:0



What’s missing?



Thanks.

Juliette
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] OD2Trips: Broken period definition '1.00'.

2019-01-07 Thread Ugirumurera, Juliette
Hello,


I am getting the error “Error: Broken period definition '1.00'.” when I call 
OD2TRIPS with –timeline option as follows:

od2trips -d  od_matrix_file --taz-files net_file,TAZ_file -o output_file 
--timeline time_in_sec:probability,time_in_sec:probability,…



An example of the timeline values I used: 0:0.375,21600:0



What’s missing?



Thanks.

Juliette
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] od2trips and vehicle types

2020-06-15 Thread Jakob Erdmann
define the rail type in an additional file like this:

  

and then load this file into duarouter with option --additional-files

Am Mo., 15. Juni 2020 um 14:44 Uhr schrieb Issa, Joshua <
joshua.i...@nrc-cnrc.gc.ca>:

> Hello,
>
>
>
> I am trying to use od2trips and duarouter to generate train paths. The
> issue is that od2trips doesn’t want to recognize the rail type.
>
>
>
>
>
> Here is the commands I used:
>
>
>
> Thank you
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] od2trips and vehicle types

2020-06-15 Thread Issa, Joshua
I did this, but I still encountered the same problem.

From: sumo-user-boun...@eclipse.org [mailto:sumo-user-boun...@eclipse.org] On 
Behalf Of Jakob Erdmann
Sent: June 15, 2020 9:36 AM
To: Sumo project User discussions 
Subject: Re: [sumo-user] od2trips and vehicle types

define the rail type in an additional file like this:

  

and then load this file into duarouter with option --additional-files

Am Mo., 15. Juni 2020 um 14:44 Uhr schrieb Issa, Joshua 
mailto:joshua.i...@nrc-cnrc.gc.ca>>:
Hello,

I am trying to use od2trips and duarouter to generate train paths. The issue is 
that od2trips doesn’t want to recognize the rail type.

[cid:image001.png@01D642FF.8172DAD0]

Here is the commands I used:
[cid:image002.png@01D642FF.8172DAD0]

Thank you

___
sumo-user mailing list
sumo-user@eclipse.org<mailto:sumo-user@eclipse.org>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] od2trips and vehicle types

2020-06-15 Thread Aristide BAMAZI
OK! Thanks for your reply.

On Mon, Jun 15, 2020, 15:27 Issa, Joshua  wrote:

> I did this, but I still encountered the same problem.
>
>
>
> *From:* sumo-user-boun...@eclipse.org [mailto:
> sumo-user-boun...@eclipse.org] *On Behalf Of *Jakob Erdmann
> *Sent:* June 15, 2020 9:36 AM
> *To:* Sumo project User discussions 
> *Subject:* Re: [sumo-user] od2trips and vehicle types
>
>
>
> define the rail type in an additional file like this:
>
> 
>
>   
>
> 
>
> and then load this file into duarouter with option --additional-files
>
>
>
> Am Mo., 15. Juni 2020 um 14:44 Uhr schrieb Issa, Joshua <
> joshua.i...@nrc-cnrc.gc.ca>:
>
> Hello,
>
>
>
> I am trying to use od2trips and duarouter to generate train paths. The
> issue is that od2trips doesn’t want to recognize the rail type.
>
>
>
>
>
> Here is the commands I used:
>
>
>
> Thank you
>
>
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] od2trips - Quitting (on error).

2020-10-12 Thread Maria.Armellini
Hi,

OD2Trips doesn’t take the options listed in the error message. You can check 
the available options here: https://sumo.dlr.de/docs/od2trips.html

Regards,
Giuliana

Von: sumo-user-boun...@eclipse.org  Im Auftrag 
von Chris Weinhaupl
Gesendet: Sonntag, 11. Oktober 2020 07:35
An: Sumo project User discussions 
Betreff: [sumo-user] od2trips - Quitting (on error).

I have created a cfg with 2 districts.
I created the osm.sumocfg from OSMWebWizard.
Then I added some extra edges and nodes.
Then I tried to create trips with od2trips. (see below)
Thoughts based on the error below?

Thank you


C:\sumo_projects\ont_2_ranch>od2trips -c osm.sumocfg -n taz.add.xml -H -b 0 -e 
3600 --vtype="evehicle" --prefix="ev_" --output-prefix="ev_trips_" -v
Loading configuration ...
Error: No option with the name 'additional-files' exists.
Error: No option with the name 'ignore-route-errors' exists.
Error: No option with the name 'device.rerouting.adaptation-steps' exists.
Error: No option with the name 'duration-log.statistics' exists.
Error: No option with the name 'gui-settings-file' exists.
Error: Could not load configuration 'osm.sumocfg'.
Quitting (on error).


osm.sumocfg




http://www.w3.org/2001/XMLSchema-instance"; 
xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd";>


























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


Re: [sumo-user] od2trips (number of vehicles)

2021-01-29 Thread Jakob Erdmann
Hello,
if there are no warnings or errors, the most likely reason for this
behavior are mismatching times. What options/configuration did you use and
how does your od input look like?

regards,
Jakob

Am Do., 28. Jan. 2021 um 15:36 Uhr schrieb jlange :

> I want to generate a trip file using the function "od2trips". With more
> than
> 2500 vehicles given in the od-matrix, there are no trips generated in the
> file. Is there any possibility to increase the number of vehicles for this?
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] od2trips (number of vehicles)

2021-01-31 Thread jlange
Hello Jakob,

thanks for the hint.

We figured out that the source and sink of a TAZ were defined differently
than usual because the used edge belongs to a mix of one way street for cars
(main direction) and a bus lane (opposite direction) - only the car lane is
implemented. After figuring out, we fixed the od2trips problem.

Kind regards,
Jens



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] od2trips, duaroter and vtypes

2022-08-09 Thread Jakob Erdmann
set od2trips option --vtype DIST_ID
where DIST_ID is the id of your vehicle type distribution.
Then load the distribution as an additional file when running duarouter.

Am Do., 28. Juli 2022 um 15:09 Uhr schrieb Jatin Senjaliya <
jatins2...@gmail.com>:

> Dear sumo users,
>
> I want to generate trips and routes using od2trip and duarouter,
> respectively. I have a taz relation file as an old matrix input. Now, I
> want to distribute vehicle types in a way that 60 percent of the trips use
> the passenger car as a vehicle type, and 40 percent of the trips use the
> evehicle as a vehicle type. For the same, I have already read sumo
> documentation on vehicle type distribution but could not find how it can be
> used with od2trips, or it may not work with od2trips.
>
> So, is there any possible way to distribute vehicle types by percentage or
> probability using od2trips and duarouter?
>
> Thank you!
>
> Regards
> Jatin
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] od2trips, duaroter and vtypes

2022-08-12 Thread Jatin Senjaliya
Dear Jakob,

Thank you for the suggestion.

As you told, I have set an od2trips --vtype option with DIST_ID  and while
using duarouter give vehicle type distribution(ss attached for the
reference) as an additional file and generated route file successfully. But
while giving  the generated route file to sumo i encountered an error
saying "The vehicle type 'DIST_ID' for vehicle 'pkw_shu_rw1' is not known".
So, can you please have a look at this and give me the possible solution.

On Tue, Aug 9, 2022 at 2:35 PM Jakob Erdmann  wrote:

> set od2trips option --vtype DIST_ID
> where DIST_ID is the id of your vehicle type distribution.
> Then load the distribution as an additional file when running duarouter.
>
> Am Do., 28. Juli 2022 um 15:09 Uhr schrieb Jatin Senjaliya <
> jatins2...@gmail.com>:
>
>> Dear sumo users,
>>
>> I want to generate trips and routes using od2trip and duarouter,
>> respectively. I have a taz relation file as an old matrix input. Now, I
>> want to distribute vehicle types in a way that 60 percent of the trips use
>> the passenger car as a vehicle type, and 40 percent of the trips use the
>> evehicle as a vehicle type. For the same, I have already read sumo
>> documentation on vehicle type distribution but could not find how it can be
>> used with od2trips, or it may not work with od2trips.
>>
>> So, is there any possible way to distribute vehicle types by percentage
>> or probability using od2trips and duarouter?
>>
>> Thank you!
>>
>> Regards
>> Jatin
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] od2trips, duaroter and vtypes

2022-08-12 Thread Jakob Erdmann
load the additional file containing the distribution when running sumo.

Am Fr., 12. Aug. 2022 um 12:58 Uhr schrieb Jatin Senjaliya <
jatins2...@gmail.com>:

> Dear Jakob,
>
> Thank you for the suggestion.
>
> As you told, I have set an od2trips --vtype option with DIST_ID  and while
> using duarouter give vehicle type distribution(ss attached for the
> reference) as an additional file and generated route file successfully. But
> while giving  the generated route file to sumo i encountered an error
> saying "The vehicle type 'DIST_ID' for vehicle 'pkw_shu_rw1' is not known".
> So, can you please have a look at this and give me the possible solution.
>
> On Tue, Aug 9, 2022 at 2:35 PM Jakob Erdmann 
> wrote:
>
>> set od2trips option --vtype DIST_ID
>> where DIST_ID is the id of your vehicle type distribution.
>> Then load the distribution as an additional file when running duarouter.
>>
>> Am Do., 28. Juli 2022 um 15:09 Uhr schrieb Jatin Senjaliya <
>> jatins2...@gmail.com>:
>>
>>> Dear sumo users,
>>>
>>> I want to generate trips and routes using od2trip and duarouter,
>>> respectively. I have a taz relation file as an old matrix input. Now, I
>>> want to distribute vehicle types in a way that 60 percent of the trips use
>>> the passenger car as a vehicle type, and 40 percent of the trips use the
>>> evehicle as a vehicle type. For the same, I have already read sumo
>>> documentation on vehicle type distribution but could not find how it can be
>>> used with od2trips, or it may not work with od2trips.
>>>
>>> So, is there any possible way to distribute vehicle types by percentage
>>> or probability using od2trips and duarouter?
>>>
>>> Thank you!
>>>
>>> Regards
>>> Jatin
>>> ___
>>> sumo-user mailing list
>>> sumo-user@eclipse.org
>>> To unsubscribe from this list, visit
>>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] OD2Trips - Vehicle type 'truck' not known

2019-01-10 Thread Ugirumurera, Juliette
Hello,

I created some truck trips from an OD matrix file with OD2trips with:
od2trips -d od_file --taz-files taz_file -o output_file –vtype truck

When I try route the trips with duarouter, I get the error:
Error: The vehicle type 'truck' for vehicle 'x' is not known

I thought the –vtype option would automatically assign the trips to the “truck” 
vClass in Sumo. Is the truck class implemented in Sumo?
How should I define this?

Thanks.

Juliette
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] OD2Trips: Broken period definition '1.00'.

2019-01-14 Thread Jakob Erdmann
The error is caused by an invalid 'fromTime toTime' entry in the
od_matrix_file.
It must be in the format
HOUR.MINUTE HOUR.MINUTE
(e.g. 0.0 24.0 for a whole day)


regards,
Jakob



--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
___
sumo-user mailing list
sumo-user@eclipse.org
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user


[sumo-user] od2trips return nothing with no error message

2024-02-06 Thread Rachael Yuan via sumo-user
Hello,

I am trying to use od2trips to generate pedestrian trips from the OD
matrix. Here is the command I used: od2trips -n taz.xml -z od.xml -o
trips.xml. It returned no error message but also no output file.
Here is how my taz file looks like:
[image: image.png]
And here is the od file:
[image: image.png]

What made me really confused is that I got the output file when I ran the
command for the first time. Then I changed the name of each taz and
I cannot get anything.  Could you please help me figure out what's going on?

Thanks!

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


Re: [sumo-user] od2trips erros and TAZ definition in a large network

2023-12-18 Thread Mirko Barthauer via sumo-user
Hi Meng,
 
such problems grow with network size and are not easy to fix automatically. 
Do you add public transport from schedules with fixed routes? Then you 
could use the --vclass option in edgesInDistricts.py and exclude edges 
limited to public transport.
 
Best regards
Mirko
 
 
 
-Original-Nachricht-
Betreff: [sumo-user] od2trips erros and TAZ definition in a large network
Datum: 2023-12-18T09:57:48+0100
Von: "LONG, Meng [Student] via sumo-user" 
An: "sumo-user@eclipse.org" 
 
 
 
Hi SUMO expert,
 
I am using od2trips and tazRelation file to obtain route file , but there 
are many warnings and errors like below when I execute trip2route:
 
Error: Mandatory edge '681882530' not reachable by vehicle '64140'.
Error: The vehicle '64140' has no valid route.
Error: No connection between edge '28109408' and edge '86113233#2' found.
 
I found two reasons: 1) trips of cars are generated on bus lanes (disallow 
cars); 2) vehicles generate on destination edge ( only can exit the 
network), so they cannot find connection between the destination edge and 
other edges. As my network is big and TAZ file is obtained by 
edgesInDistricts.py, I cannot specify source and sink edge manually for 
each TAZ. 
 
Therefore, how can I fix the above two problems? Is there any method to 
constrain od2trips not assigning cars on bus lane, and any method to 
specify source and sink edge in a large network? And there may be many 
other problems I didn't find either. Could you give me any suggestions?
 
As the attachment size limit, I only attached my original files for your 
reference. You can run the command following "using commands.txt".
 
 
Many thanks,
Meng

Disclaimer:
 
This message (including any attachments) contains confidential information 
intended for a specific individual and purpose. If you are not the intended 
recipient, you should delete this message and notify the sender and The 
Hong Kong Polytechnic University (the University) immediately. Any 
disclosure, copying, or distribution of this message, or the taking of any 
action based on it, is strictly prohibited and may be unlawful.
The University specifically denies any responsibility for the accuracy or 
quality of information obtained through University E-mail Facilities. Any 
views and opinions expressed are only those of the author(s) and do not 
necessarily represent those of the University and the University accepts no 
liability whatsoever for any losses or damages incurred or caused to any 
party as a result of the use of such information.
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] od2trips erros and TAZ definition in a large network

2023-12-18 Thread manos kampitakis via sumo-user
Hi,

Regarding the first problem, if you mean bus lanes (only lane) then you can
set the departLane (vehicle) attribute to "allowed". If you mean that whole
edges where vehicles are disallowed then you can do what Mirko suggested or
you can find the set of edges where vehicles are not allowed and delete
them from the taz definition xml file (using python for example not by
hand).
Regarding the second problem (connectivity), it is not that difficult to
solve it. First, you must create a graph (e.g. in networkx) where nodes of
the graph will be the edges of your traffic network and the edges of the
graph will be the connections of the sumo network. Then, you can retrieve
the connectivity of each edge (node): find the set of edges that can be
reached by all edges (sink edges) and the set of edges that can reach all
other edges (source edges). Then create an xml file with taz definitions
where you give the sources and the sinks (see taz definition) (either
weighted or uniformly). This will work pretty well if your (traffic
network) directed graph is "generally" strongly connected in order to avoid
excluding too many edges.

Best regards,
Manos


Στις Δευ 18 Δεκ 2023 στις 10:57 π.μ., ο/η LONG, Meng [Student] via
sumo-user  έγραψε:

> Hi SUMO expert,
>
> I am using od2trips and tazRelation file to obtain route file , but there
> are many warnings and errors like below when I execute trip2route:
>
> Error: Mandatory edge '681882530' not reachable by vehicle '64140'.
> Error: The vehicle '64140' has no valid route.
> Error: No connection between edge '28109408' and edge '86113233#2' found.
>
> I found two reasons: 1) trips of cars are generated on bus lanes (disallow
> cars); 2) vehicles generate on destination edge ( only can exit the
> network), so they cannot find connection between the destination edge and
> other edges. As my network is big and TAZ file is obtained by
> edgesInDistricts.py, I cannot specify source and sink edge manually for
> each TAZ.
>
> Therefore, how can I fix the above two problems? Is there any method to
> constrain od2trips not assigning cars on bus lane, and any method to
> specify source and sink edge in a large network? And there may be many
> other problems I didn't find either. Could you give me any suggestions?
>
> As the attachment size limit, I only attached my original files for your
> reference. You can run the command following "using commands.txt".
>
>
> Many thanks,
> Meng
>
>
> *Disclaimer:*
>
> *This message (including any attachments) contains confidential
> information intended for a specific individual and purpose. If you are not
> the intended recipient, you should delete this message and notify the
> sender and The Hong Kong Polytechnic University (the University)
> immediately. Any disclosure, copying, or distribution of this message, or
> the taking of any action based on it, is strictly prohibited and may be
> unlawful.*
>
> *The University specifically denies any responsibility for the accuracy or
> quality of information obtained through University E-mail Facilities. Any
> views and opinions expressed are only those of the author(s) and do not
> necessarily represent those of the University and the University accepts no
> liability whatsoever for any losses or damages incurred or caused to any
> party as a result of the use of such information.*
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] od2trips erros and TAZ definition in a large network

2023-12-20 Thread LONG, Meng [Student] via sumo-user
Thanks so much for your reply!

The first problem has been well solved by using the --vclass option in 
edgesInDistricts.py.

But for the 2nd problem about TAZ definitions, I created a graph and finally 
found 66 sink edges and 60 source edges for the whole network, but my network 
has 9708 edges in total and 137 TAZs. Therefore, lots of TAZs do not have sink 
and source edges, causing errors when executing od2trips. I also tried creating 
an independent graph for each TAZ, and each TAZ would obtain sink and source 
edges. I can get a rou.xml file after executing od2trips, but when I run my 
simulation with this rou.xml file,  the error "no connection between xx and xx" 
happened again as the source edge of TAZ 1 cannot connect to the sink edge of 
other TAZ.

Could you tell me how I can solve this problem?  Thanks a lot!


Best regards,
Meng

发件人: sumo-user  代表 manos kampitakis via 
sumo-user 
发送时间: 2023年12月18日 22:20
收件人: Sumo project User discussions 
抄送: manos kampitakis 
主题: Re: [sumo-user] od2trips erros and TAZ definition in a large network

Hi,

Regarding the first problem, if you mean bus lanes (only lane) then you can set 
the departLane (vehicle) attribute to "allowed". If you mean that whole edges 
where vehicles are disallowed then you can do what Mirko suggested or you can 
find the set of edges where vehicles are not allowed and delete them from the 
taz definition xml file (using python for example not by hand).
Regarding the second problem (connectivity), it is not that difficult to solve 
it. First, you must create a graph (e.g. in networkx) where nodes of the graph 
will be the edges of your traffic network and the edges of the graph will be 
the connections of the sumo network. Then, you can retrieve the connectivity of 
each edge (node): find the set of edges that can be reached by all edges (sink 
edges) and the set of edges that can reach all other edges (source edges). Then 
create an xml file with taz definitions where you give the sources and the 
sinks (see taz definition) (either weighted or uniformly). This will work 
pretty well if your (traffic network) directed graph is "generally" strongly 
connected in order to avoid excluding too many edges.

Best regards,
Manos


Στις Δευ 18 Δεκ 2023 στις 10:57 π.μ., ο/η LONG, Meng [Student] via sumo-user 
mailto:sumo-user@eclipse.org>> έγραψε:
Hi SUMO expert,

I am using od2trips and tazRelation file to obtain route file , but there are 
many warnings and errors like below when I execute trip2route:

Error: Mandatory edge '681882530' not reachable by vehicle '64140'.
Error: The vehicle '64140' has no valid route.
Error: No connection between edge '28109408' and edge '86113233#2' found.

I found two reasons: 1) trips of cars are generated on bus lanes (disallow 
cars); 2) vehicles generate on destination edge ( only can exit the network), 
so they cannot find connection between the destination edge and other edges. As 
my network is big and TAZ file is obtained by edgesInDistricts.py, I cannot 
specify source and sink edge manually for each TAZ.

Therefore, how can I fix the above two problems? Is there any method to 
constrain od2trips not assigning cars on bus lane, and any method to specify 
source and sink edge in a large network? And there may be many other problems I 
didn't find either. Could you give me any suggestions?

As the attachment size limit, I only attached my original files for your 
reference. You can run the command following "using commands.txt".


Many thanks,
Meng
[https://www.polyu.edu.hk/emaildisclaimer/PolyU_Email_Signature.jpg]

Disclaimer:

This message (including any attachments) contains confidential information 
intended for a specific individual and purpose. If you are not the intended 
recipient, you should delete this message and notify the sender and The Hong 
Kong Polytechnic University (the University) immediately. Any disclosure, 
copying, or distribution of this message, or the taking of any action based on 
it, is strictly prohibited and may be unlawful.

The University specifically denies any responsibility for the accuracy or 
quality of information obtained through University E-mail Facilities. Any views 
and opinions expressed are only those of the author(s) and do not necessarily 
represent those of the University and the University accepts no liability 
whatsoever for any losses or damages incurred or caused to any party as a 
result of the use of such information.

___
sumo-user mailing list
sumo-user@eclipse.org<mailto:sumo-user@eclipse.org>
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user
[https://www.polyu.edu.hk/emaildisclaimer/PolyU_Email_Signature.jpg]

Disclaimer:

This message (including any attachments) contains confidential information 
intended for a specific in