Re: [sumo-user] [EXT] AW: Changing rail to be bidirectional using netconvert

2024-01-18 Thread Hector A Martinez via sumo-user
Mirko,

Never mind this question below.

I identified the problem with my script.  I was running netconvert from its bin 
location and of course it wasn’t letting the system save the new file in that 
location.  I fixed it and I am up and running again.  Will let you know if I 
bump into any issues with the new file.

Thanks,

--H

From: sumo-user  On Behalf Of Hector A Martinez 
via sumo-user
Sent: Thursday, January 18, 2024 11:42 AM
To: Mirko Barthauer ; Sumo project User discussions 

Cc: Hector A Martinez 
Subject: Re: [sumo-user] [EXT] AW: Changing rail to be bidirectional using 
netconvert

Thank you Mirko! I think this might do the trick but I am getting this error 
when I run it on windows command line: Error: Could not build output file 'net. 
net. xml' (Permission denied). Quitting (on error). How do I point the output 
file location

Thank you Mirko!

I think this might do the trick but I am getting this error when I run it on 
windows command line:

Error: Could not build output file 'net.net.xml' (Permission denied).
Quitting (on error).

How do I point the output file location to a user location so that I doesn’t 
need elevated permissions?

Thanks,

--Hector

From: Mirko Barthauer mailto:m.bartha...@t-online.de>>
Sent: Thursday, January 18, 2024 3:20 AM
To: Sumo project User discussions 
mailto:sumo-user@eclipse.org>>
Cc: Hector A Martinez mailto:hmarti...@mitre.org>>
Subject: [EXT] AW: [sumo-user] Changing rail to be bidirectional using 
netconvert

Dear Hector, maybe it is not explained clearly enough in the documentation. The 
option --railway. topology. all-bidi. input-file can be used to restrict the 
set of rail edges you want to make bidirectional. This means the required file 
is a selection


Dear Hector,



maybe it is not explained clearly enough in the documentation. The option 
--railway.topology.all-bidi.input-file can be used to restrict the set of rail 
edges you want to make bidirectional. This means the required file is a 
selection file you can generate with netedit (select edges and then choose 
"Save" from the select frame/mode).



if you want to make all rail edges bidirectional, just call



netconvert --railway.topology.all-bidi true -s 
C:\pathtofile\test_osm_in.net.xml.gz

If you want only a subset of edges to be bidirectional, call



netconvert --railway.topology.all-bidi.input-file selection.txt  -s 
C:\pathtofile\test_osm_in.net.xml.gz



Best regards

Mirko







-Original-Nachricht-

Betreff: [sumo-user] Changing rail to be bidirectional using netconvert

Datum: 2024-01-17T20:50:48+0100

Von: "Hector A Martinez via sumo-user" 
mailto:sumo-user@eclipse.org>>

An: "sumo-user@eclipse.org" 
mailto:sumo-user@eclipse.org>>






Sumo team,

I am trying to convert all of my rail network to be bidirectional using 
netconvert without affecting my roadway network. This is for 
commodity/container movement, not people movement. I am using a file I 
generated using OSM wizard.

I used this script:
netconvert --railway.topology.all-bidi.input-file 
C:\pathtofile\test_osm_in.net.xml.gz

This is the error I get.

Error: No nodes loaded.
Quitting (on error).

I recognize that the network file is a .gz file but both netedit and sumo open 
the network file as is and it has everything to include the nodes. Netedit 
crashes on me all the time while I am making changes to the file so I need to 
do this rail changes quicker using netconvert. I welcome any advice that will 
point me in the right direction.  Thanks,

--Hector


From: Mirko Barthauer mailto:m.bartha...@t-online.de>>
Sent: Friday, January 12, 2024 3:50 AM
To: Hector A Martinez mailto:hmarti...@mitre.org>>
Subject: AW: [EXT] AW: Adding Containers using TraCI

Hi Hector, you can try to process your network with netconvert using the 
PlainXML format: convert your network to PlainXML analyse your network with a 
script and write the missing edges in a new file in PlainXML format convert 
back to the normal


Hi Hector,



you can try to process your network with netconvert using the PlainXML 
format:

  *   convert your network 
to PlainXML
  *   analyse your network with a script and write the missing edges in a new 
file in PlainXML format
  *   convert back to the normal SUMO format with netconvert by supplying the 
PlainXML files using the respective input options (-n,-e,-x,-i)

Please write to the mailing list next time, so that everybody can answer the 
question (or at least learn from it).



Best regards

Mirko







___
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] Changing rail to be bidirectional using netconvert

2024-01-18 Thread Hector A Martinez via sumo-user
Thanks for answer Pablo!

Mirko sent me a new script to use that seems to be working.  My pathtofile 
doesn’t have any of those special characters.

Now I think I just have to figure out why I am getting the Permission Denied 
for the output file resulting from the conversion.  Thanks again,

--H

From: pablo.alvarezlo...@dlr.de 
Sent: Wednesday, January 17, 2024 7:08 PM
To: sumo-user@eclipse.org
Cc: Hector A Martinez 
Subject: [EXT] AW: Changing rail to be bidirectional using netconvert

Hi Hector, has the "pathtofile" an space or a strange character like ñ, ä or 
similar? Regards Von: sumo-user  im Auftrag 
von Hector A Martinez via sumo-user  Gesendet: 


Hi Hector,



has the "pathtofile" an space or a strange character like ñ, ä or similar?



Regards


Von: sumo-user 
mailto:sumo-user-boun...@eclipse.org>> im 
Auftrag von Hector A Martinez via sumo-user 
mailto:sumo-user@eclipse.org>>
Gesendet: Mittwoch, 17. Januar 2024 20:50:24
An: sumo-user@eclipse.org
Cc: Hector A Martinez
Betreff: [sumo-user] Changing rail to be bidirectional using netconvert

Sumo team,

I am trying to convert all of my rail network to be bidirectional using 
netconvert without affecting my roadway network. This is for 
commodity/container movement, not people movement. I am using a file I 
generated using OSM wizard.

I used this script:
netconvert --railway.topology.all-bidi.input-file 
C:\pathtofile\test_osm_in.net.xml.gz

This is the error I get.

Error: No nodes loaded.
Quitting (on error).

I recognize that the network file is a .gz file but both netedit and sumo open 
the network file as is and it has everything to include the nodes. Netedit 
crashes on me all the time while I am making changes to the file so I need to 
do this rail changes quicker using netconvert. I welcome any advice that will 
point me in the right direction.  Thanks,

--Hector


From: Mirko Barthauer mailto:m.bartha...@t-online.de>>
Sent: Friday, January 12, 2024 3:50 AM
To: Hector A Martinez mailto:hmarti...@mitre.org>>
Subject: AW: [EXT] AW: Adding Containers using TraCI

Hi Hector, you can try to process your network with netconvert using the 
PlainXML format: convert your network to PlainXML analyse your network with a 
script and write the missing edges in a new file in PlainXML format convert 
back to the normal


Hi Hector,



you can try to process your network with netconvert using the PlainXML 
format:

  *   convert your network 
to PlainXML
  *   analyse your network with a script and write the missing edges in a new 
file in PlainXML format
  *   convert back to the normal SUMO format with netconvert by supplying the 
PlainXML files using the respective input options (-n,-e,-x,-i)

Please write to the mailing list next time, so that everybody can answer the 
question (or at least learn from it).



Best regards

Mirko






___
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] [EXT] AW: Changing rail to be bidirectional using netconvert

2024-01-18 Thread Hector A Martinez via sumo-user
Thank you Mirko!

I think this might do the trick but I am getting this error when I run it on 
windows command line:

Error: Could not build output file 'net.net.xml' (Permission denied).
Quitting (on error).

How do I point the output file location to a user location so that I doesn’t 
need elevated permissions?

Thanks,

--Hector

From: Mirko Barthauer 
Sent: Thursday, January 18, 2024 3:20 AM
To: Sumo project User discussions 
Cc: Hector A Martinez 
Subject: [EXT] AW: [sumo-user] Changing rail to be bidirectional using 
netconvert

Dear Hector, maybe it is not explained clearly enough in the documentation. The 
option --railway. topology. all-bidi. input-file can be used to restrict the 
set of rail edges you want to make bidirectional. This means the required file 
is a selection


Dear Hector,



maybe it is not explained clearly enough in the documentation. The option 
--railway.topology.all-bidi.input-file can be used to restrict the set of rail 
edges you want to make bidirectional. This means the required file is a 
selection file you can generate with netedit (select edges and then choose 
"Save" from the select frame/mode).



if you want to make all rail edges bidirectional, just call



netconvert --railway.topology.all-bidi true -s 
C:\pathtofile\test_osm_in.net.xml.gz

If you want only a subset of edges to be bidirectional, call



netconvert --railway.topology.all-bidi.input-file selection.txt  -s 
C:\pathtofile\test_osm_in.net.xml.gz



Best regards

Mirko







-Original-Nachricht-

Betreff: [sumo-user] Changing rail to be bidirectional using netconvert

Datum: 2024-01-17T20:50:48+0100

Von: "Hector A Martinez via sumo-user" 
mailto:sumo-user@eclipse.org>>

An: "sumo-user@eclipse.org" 
mailto:sumo-user@eclipse.org>>






Sumo team,

I am trying to convert all of my rail network to be bidirectional using 
netconvert without affecting my roadway network. This is for 
commodity/container movement, not people movement. I am using a file I 
generated using OSM wizard.

I used this script:
netconvert --railway.topology.all-bidi.input-file 
C:\pathtofile\test_osm_in.net.xml.gz

This is the error I get.

Error: No nodes loaded.
Quitting (on error).

I recognize that the network file is a .gz file but both netedit and sumo open 
the network file as is and it has everything to include the nodes. Netedit 
crashes on me all the time while I am making changes to the file so I need to 
do this rail changes quicker using netconvert. I welcome any advice that will 
point me in the right direction.  Thanks,

--Hector


From: Mirko Barthauer mailto:m.bartha...@t-online.de>>
Sent: Friday, January 12, 2024 3:50 AM
To: Hector A Martinez mailto:hmarti...@mitre.org>>
Subject: AW: [EXT] AW: Adding Containers using TraCI

Hi Hector, you can try to process your network with netconvert using the 
PlainXML format: convert your network to PlainXML analyse your network with a 
script and write the missing edges in a new file in PlainXML format convert 
back to the normal


Hi Hector,



you can try to process your network with netconvert using the PlainXML 
format:

  *   convert your network 
to PlainXML
  *   analyse your network with a script and write the missing edges in a new 
file in PlainXML format
  *   convert back to the normal SUMO format with netconvert by supplying the 
PlainXML files using the respective input options (-n,-e,-x,-i)

Please write to the mailing list next time, so that everybody can answer the 
question (or at least learn from it).



Best regards

Mirko







___
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] Platooning functioning

2024-01-18 Thread Mirko Barthauer via sumo-user
Hi Iñaki,
 
obviously I have no clue either what could be behind the exception. Do you 
get any message from sumo-gui when it crashes? Sometimes you get some 
message only on the console, so maybe start sumo-gui from the command line. 
You can still run your TraCI script if you connect the TraCI client to the 
chosen port (see docs  , 
Python TraCI API reference  
connect()).
If you still don't make any progress afterwards, you can send me the files 
to assess the problem.
 
Best regards
Mirko
 
 
 
 
-Original-Nachricht-
Betreff: Re: [sumo-user] Platooning functioning
Datum: 2024-01-18T11:15:52+0100
Von: "Iñaki Cejudo Fresnadillo" 
An: "Mirko Barthauer" 
 
 
 
Hi Mirko, 
 
Thank you for your response. Regarding this issue, I have continued working 
trying to simulate a shuttle of some vehicles so they maintain formation 
for the whole simulation. I tried to change car-following and lane change 
parameters but without having success.
 
My next approach has been in every step of the simulation, move the 
follower vehicles to a previous position of the leader vehicle. In the 
example I attached, just a leader and a follower, always crashes in step = 
22 with no specific logs, just "Exception has occurred: FatalTraCIError". I 
attached two pictures to better understand the simulation. These are from 
the step before the simulation crash. What could be the cause? Thank you.
 
Best Regards, 
 
Iñaki

El jue, 2 nov 2023 a las 14:44, Mirko Barthauer (mailto:m.bartha...@t-online.de> >) escribió:
  Hi Iñaki,
   
  I can confirm that your goal cannot be achieved using simpla, as this
  module is meant to form platoons spontaneously. It may work in some
  networks with few lane changes and platooning vehicles following the same
  route, but cannot be guaranteed at all. The vehicles still act
  indepedently: they may let other vehicles change onto their lane, stop at
  traffic lights while the front vehicle passed etc.
   
  In theory, TraCI includes all the tools to control the vehicles remotely
  and implement your own platooning algorithm:
  * enable / disable speed and lane change checks
  * overrule speed, issue lane changes
  This control does not necessarily happen all the time, but you need to
  step in at critical points like intersections.
   
  Best regards
  Mirko
   
  -Original-Nachricht-
  Betreff: [sumo-user] Platooning functioning
  Datum: 2023-11-02T12:58:16+0100
  Von: "Iñaki Cejudo Fresnadillo via sumo-user" mailto:sumo-user@eclipse.org> >
  An: "Sumo project User discussions" mailto:sumo-user@eclipse.org> >
   
   
   
  Hello, 
   
  I recently started working with the Simpla module in SUMO, researching
  what can be done regarding platooning. 
  From what I have tried so far, the vehicles enter and leave platooning
  mode depending on the conditions of the simulation and the simpla
  configuration. What I would like to achieve is to create a platoon of,
  let's say, 5 vehicles, and those 5 vehicles keep their formation during
  all the simulation (representing a shuttle). What I have achieved so far
  is that these vehicles form the platoon at the start of the simulation
  but as the simulation goes on, they leave the formation and change lanes
  and leave platooning mode. 
  Is it possible to achieve what I am looking for? Any tips on how to do
  it? Thank you.
   
  Regards, 
   
  Iñaki
   
  --
  [Vicomtech] 
  Transport & Security Division

  Iñaki Cejudo Fresnadillo
  Research Assistant
  Intelligent Systems for Mobility and Logistics
  icej...@vicomtech.org 
  +(34) 943 30 92 30
   
  The information contained in this electronic message is intended only for
  the personal and confidential use of the recipients. If you have received
  this e-mail by mistake, please, notify us and delete it.
   Avoid printing this message if it is not strictly necessary.

 
--
[Vicomtech] 
Transport & Security Division

Iñaki Cejudo Fresnadillo
Research Assistant
Intelligent Systems for Mobility and Logistics
icej...@vicomtech.org 
+(34) 943 30 92 30
 
The information contained in this electronic message is intended only for 
the personal and confidential use of the recipients. If you have received 
this e-mail by mistake, please, notify us and delete it.
 Avoid printing this message if it is not strictly necessary.
 
___
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] Changing rail to be bidirectional using netconvert

2024-01-18 Thread Mirko Barthauer via sumo-user
Dear Hector,
 
maybe it is not explained clearly enough in the documentation. The option 
--railway.topology.all-bidi.input-file can be used to restrict the set of 
rail edges you want to make bidirectional. This means the required file is 
a selection file you can generate with netedit (select edges and then 
choose "Save" from the select frame/mode).
 
if you want to make all rail edges bidirectional, just call
 


netconvert --railway.topology.all-bidi true -s 
C:\pathtofile\test_osm_in.net.xml.gz

If you want only a subset of edges to be bidirectional, call
 


netconvert --railway.topology.all-bidi.input-file selection.txt  -s 
C:\pathtofile\test_osm_in.net.xml.gz

 
Best regards
Mirko
 
 
 
-Original-Nachricht-
Betreff: [sumo-user] Changing rail to be bidirectional using netconvert
Datum: 2024-01-17T20:50:48+0100
Von: "Hector A Martinez via sumo-user" 
An: "sumo-user@eclipse.org" 
 
 
 

Sumo team,

 

I am trying to convert all of my rail network to be bidirectional using 
netconvert without affecting my roadway network. This is for 
commodity/container movement, not people movement. I am using a file I 
generated using OSM wizard.

 

I used this script:


netconvert --railway.topology.all-bidi.input-file 
C:\pathtofile\test_osm_in.net.xml.gz

 

This is the error I get.

 


Error: No nodes loaded.


Quitting (on error).

 

I recognize that the network file is a .gz file but both netedit and sumo 
open the network file as is and it has everything to include the nodes. 
Netedit crashes on me all the time while I am making changes to the file so 
I need to do this rail changes quicker using netconvert. I welcome any 
advice that will point me in the right direction.  Thanks,

 

--Hector

 

 

From: Mirko Barthauer 
Sent: Friday, January 12, 2024 3:50 AM
To: Hector A Martinez 
Subject: AW: [EXT] AW: Adding Containers using TraCI

 

Hi Hector, you can try to process your network with netconvert using the 
PlainXML format: convert your network to PlainXML analyse your network with 
a script and write the missing edges in a new file in PlainXML format 
convert back to the normal

 

Hi Hector,
 
you can try to process your network with netconvert using the PlainXML 
format  :
* convert  your
  network to PlainXML
* analyse your network with a script and write the missing edges in a
  new file in PlainXML format
* convert back to the normal SUMO format with netconvert by supplying
  the PlainXML files using the respective input options (-n,-e,-x,-i)
Please write to the mailing list next time, so that everybody can answer 
the question (or at least learn from it).
 
Best regards
Mirko
 
 
 
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user