Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Vissim import - traffic light visualization

Thanks Harald!

 

_____________________________________

 

M. Sc. Kevin Malena


Regelungstechnik und Mechatronik

 

Heinz Nixdorf Institut
Universität Paderborn

Fürstenallee 11

33102 Paderborn
 
Telefon:  +49 (0) 52 51 / 60 6278

Raum: F0.337

Internet: http://www.hni.uni-paderborn.de/rtm

_____________________________________

 

Von: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] Im Auftrag von Harald Schaefer
Gesendet: Dienstag, 9. April 2019 08:35
An: sumo-user@xxxxxxxxxxx
Betreff: Re: [sumo-user] Vissim import - traffic light visualization

 

Hi Kevin,

 

the sumo-gui has something like this.

Selected a red/green stop line and choose "Show phases"

 

Regards, Harald

 

Am 09.04.19 um 08:12 schrieb Kevin Malena:

Thanks Jakob,

 

I will try to contact him. Can u also help me with my 2nd question whether or not there is a tool to  visualize tls-programs?

 

Cheers,

 

Kevin

 

_____________________________________

 

M. Sc. Kevin Malena


Regelungstechnik und Mechatronik

 

Heinz Nixdorf Institut
Universität Paderborn

Fürstenallee 11

33102 Paderborn
 
Telefon:  +49 (0) 52 51 / 60 6278

Raum: F0.337

Internet: http://www.hni.uni-paderborn.de/rtm

_____________________________________

 

Von: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] Im Auftrag von Jakob Erdmann
Gesendet: Montag, 8. April 2019 16:41
An: Sumo project User discussions; Richter Gerald
Betreff: Re: [sumo-user] Vissim import

 

I think the connection 10007 has been imported correctly as internal lane :0_5_0 and the problem is actually with tls_vissimXML2SUMOnet_update.py

Maybe Gerald Richter (the author of the tool) can help with this.

 

regards,

Jakob

 

Am Mo., 8. Apr. 2019 um 14:38 Uhr schrieb Kevin Malena <kevin.malena@xxxxxxxxxxxxxxxx>:

Dear SUMO-community,

 

I am trying to convert Vissim files to SUMO because my city provides me with the real-world tls-data used and generated by their traffic PC.

In order to convert the net I used netconvert just as described in the wiki (https://sumo.dlr.de/wiki/Tools/Import/VISSIM).

 

Therefore the command for my given example (see attachment or https://uni-paderborn.sciebo.de/s/485khKS1dKnxps2) is:

"C:\Program Files (x86)\Eclipse\Sumo\bin\netconvert.exe" --vissim-file=SIM_K513V13.inpx --output-file=SUMO.net.xml

 

The output was:

 

Warning: Could not set connection between '5_1' and '4_0'.

Warning: 1 of 8 connections could not be assigned.

Success.

 

That works pretty well since there is just 1 connection  which is not transferred (I think due to conflicts) and can be added manually.

 

My aim is to import especially the tls-data, so I tried to use the additional python script tls_vissimXML2SUMO.py respectively tls_vissimXML2SUMOnet_update.py.

 

The command is:

"C:\Program Files (x86)\Eclipse\Sumo\tools\import\vissim\tls_vissimXML2SUMOnet_update.py" -V SIM_K513V13.inpx -S SUMO.net.xml -o SUMO_TLS

 

With the following output:

 

Namespace(SUMO_net='SUMO.net.xml', output_file='SUMO_TLS', vissim_input='SIM_K513V13.inpx')

 

 

---

 

* loading VISSIM net:

         SIM_K513V13.inpx

 

---

 

* loading SUMO net:

         SUMO.net.xml

Traceback (most recent call last):

  File "C:\Program Files (x86)\Eclipse\Sumo\tools\import\vissim\tls_vissimXML2SUMOnet_update.py", line 557, in <module>

    conn_link_d)

  File "C:\Program Files (x86)\Eclipse\Sumo\tools\import\vissim\tls_vissimXML2SUMOnet_update.py", line 294, in get_sg_connection_data

    conn_link_d[link] if conn[-1] == lane])]

KeyError: u'10007'

 

I think that this error is caused by the connection conflict I mentioned before. Do you know how to fix this effectively?

 

Another related question is if there is a tool to visualize the signal program of tlss just as in the wiki (bars and signal times)? In Vissim I found the feature, but I haven’t seen anything like that in netedit or SUMO.

This would simplify the manual conversion if the script-based conversion isn’t applicable.

 

Thanks and cheers,

 

Kevin

 

_____________________________________

 

M. Sc. Kevin Malena


Regelungstechnik und Mechatronik

 

Heinz Nixdorf Institut
Universität Paderborn

Fürstenallee 11

33102 Paderborn
 
Telefon:  +49 (0) 52 51 / 60 6278

Raum: F0.337

Internet: http://www.hni.uni-paderborn.de/rtm

_____________________________________

 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
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@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

 


Back to the top