[sumo-user] DuaIterate.py Additional weightes

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[sumo-user] DuaIterate.py Additional weightes

behzad bamdad mehrabani
Hello Dear All,

I am using duaiterate.py. I want to add additional weights to each edge and I am using the following code: 
python duaIterate.py -n input_net.net.XML -J addition.XML -z=true -m=true -t input_flows.flows.XML

but the following error pops up: 
Execution of ['C:\\Program Files (x86)\\Eclipse\\Sumo\\bin\\duarouter', '-c', '1/iteration_001_input_flows_000.duarcfg'] failed. Look into dua.log for details

How can I fix this? 

I should note that the additional weights file (addittion.XML) is exactly the same as duaIterate.py generated dump files. I only change the values of traveltimes.

Regards,  

--
Behzad Bamdad Mehrabani

Ph.D. Candidate, UCLouvain, Faculty of Architecture, Architectural Engineering and Urban Planning, Tournai, Belgium

E-mails: [hidden email]
                   [hidden email] 

cell: (+32) 497 29 22 14

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] DuaIterate.py Additional weightes

Jakob Erdmann
What are the contents of the 'dua.log' file?

Am Do., 18. Feb. 2021 um 18:51 Uhr schrieb behzad bamdad mehrabani <[hidden email]>:
Hello Dear All,

I am using duaiterate.py. I want to add additional weights to each edge and I am using the following code: 
python duaIterate.py -n input_net.net.XML -J addition.XML -z=true -m=true -t input_flows.flows.XML

but the following error pops up: 
Execution of ['C:\\Program Files (x86)\\Eclipse\\Sumo\\bin\\duarouter', '-c', '1/iteration_001_input_flows_000.duarcfg'] failed. Look into dua.log for details

How can I fix this? 

I should note that the additional weights file (addittion.XML) is exactly the same as duaIterate.py generated dump files. I only change the values of traveltimes.

Regards,  

--
Behzad Bamdad Mehrabani

Ph.D. Candidate, UCLouvain, Faculty of Architecture, Architectural Engineering and Urban Planning, Tournai, Belgium

E-mails: [hidden email]
                   [hidden email] 

cell: (+32) 497 29 22 14
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] DuaIterate.py Additional weightes

behzad bamdad mehrabani
Here is the content of dua file: 
    ['C:\\Program Files (x86)\\Eclipse\\Sumo\\bin\\duarouter', '-c', '1/iteration_001_input_flows_000.duarcfg']
    Loading configuration ... done.
    Error: File '1/..\0\addition.XML' is not accessible (No such file or directory).
    Error: File '1/dump_000_900.xml' is not accessible (No such file or directory).
    Quitting (on error).

Does that mean I should put each addition file in each iteration folder, manually? 

Right now the additional file is in the same directory as the  duaIterate.py, input_net.net.XML, and input_flows.flows.XML. 

Regards, 


On Fri, Feb 19, 2021 at 9:23 AM Jakob Erdmann <[hidden email]> wrote:
What are the contents of the 'dua.log' file?

Am Do., 18. Feb. 2021 um 18:51 Uhr schrieb behzad bamdad mehrabani <[hidden email]>:
Hello Dear All,

I am using duaiterate.py. I want to add additional weights to each edge and I am using the following code: 
python duaIterate.py -n input_net.net.XML -J addition.XML -z=true -m=true -t input_flows.flows.XML

but the following error pops up: 
Execution of ['C:\\Program Files (x86)\\Eclipse\\Sumo\\bin\\duarouter', '-c', '1/iteration_001_input_flows_000.duarcfg'] failed. Look into dua.log for details

How can I fix this? 

I should note that the additional weights file (addittion.XML) is exactly the same as duaIterate.py generated dump files. I only change the values of traveltimes.

Regards,  

--
Behzad Bamdad Mehrabani

Ph.D. Candidate, UCLouvain, Faculty of Architecture, Architectural Engineering and Urban Planning, Tournai, Belgium

E-mails: [hidden email]
                   [hidden email] 

cell: (+32) 497 29 22 14
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
Behzad Bamdad Mehrabani

Ph.D. Candidate, UCLouvain, Faculty of Architecture, Architectural Engineering and Urban Planning, Tournai, Belgium

E-mails: [hidden email]
                   [hidden email] 

cell: (+32) 497 29 22 14

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
Reply | Threaded
Open this post in threaded view
|

Re: [sumo-user] DuaIterate.py Additional weightes

Jakob Erdmann
You've discovered a bug: https://github.com/eclipse/sumo/issues/8248 (I recommend updating to the development version tomorrow or to download the new version from github directly now).

Note, that in the new version you can choose whether the additional weights are applied only once or in every iteration (to override the weights that were written by the simulation). See https://github.com/eclipse/sumo/issues/8249

regards,
Jakob

Am Fr., 19. Feb. 2021 um 10:14 Uhr schrieb behzad bamdad mehrabani <[hidden email]>:
Here is the content of dua file: 
    ['C:\\Program Files (x86)\\Eclipse\\Sumo\\bin\\duarouter', '-c', '1/iteration_001_input_flows_000.duarcfg']
    Loading configuration ... done.
    Error: File '1/..\0\addition.XML' is not accessible (No such file or directory).
    Error: File '1/dump_000_900.xml' is not accessible (No such file or directory).
    Quitting (on error).

Does that mean I should put each addition file in each iteration folder, manually? 

Right now the additional file is in the same directory as the  duaIterate.py, input_net.net.XML, and input_flows.flows.XML. 

Regards, 


On Fri, Feb 19, 2021 at 9:23 AM Jakob Erdmann <[hidden email]> wrote:
What are the contents of the 'dua.log' file?

Am Do., 18. Feb. 2021 um 18:51 Uhr schrieb behzad bamdad mehrabani <[hidden email]>:
Hello Dear All,

I am using duaiterate.py. I want to add additional weights to each edge and I am using the following code: 
python duaIterate.py -n input_net.net.XML -J addition.XML -z=true -m=true -t input_flows.flows.XML

but the following error pops up: 
Execution of ['C:\\Program Files (x86)\\Eclipse\\Sumo\\bin\\duarouter', '-c', '1/iteration_001_input_flows_000.duarcfg'] failed. Look into dua.log for details

How can I fix this? 

I should note that the additional weights file (addittion.XML) is exactly the same as duaIterate.py generated dump files. I only change the values of traveltimes.

Regards,  

--
Behzad Bamdad Mehrabani

Ph.D. Candidate, UCLouvain, Faculty of Architecture, Architectural Engineering and Urban Planning, Tournai, Belgium

E-mails: [hidden email]
                   [hidden email] 

cell: (+32) 497 29 22 14
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user


--
Behzad Bamdad Mehrabani

Ph.D. Candidate, UCLouvain, Faculty of Architecture, Architectural Engineering and Urban Planning, Tournai, Belgium

E-mails: [hidden email]
                   [hidden email] 

cell: (+32) 497 29 22 14
_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

_______________________________________________
sumo-user mailing list
[hidden email]
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user