Re: [sumo-user] Problem with xml2protobuf.py

2019-02-05 Thread Harald Schaefer
Hi Tom,

your input file(in-test.con.xml) must match the xsd file.
It seems that your input file is a connection file and the tag
Connections is not found in the xsd file.
You might try the schema xsd/connections_file.xsd or use a xml-file
which validates against the schema xsd/netconvertConfiguration.xs.

Regards, Harald

Am 05.02.19 um 15:44 schrieb cchad...@cs.ucy.ac.cy:
> Hello,
>
>  I am trying to use xml2protobuf.py
>  I am using git bash and I executed this command:
>
>  py -2 /c/Program\ Files\
> \(x86\)/Eclipse/Sumo/tools/xml/xml2protobuf.py in-test.con.xml -o out
> -x xsd/netconvertConfiguration.xsd
> I get these errors:
>
> Traceback (most recent call last):
>   File "C:/Program Files
> (x86)/Eclipse/Sumo/tools/xml/xml2protobuf.py", line 199, in 
>     main()
>   File "C:/Program Files
> (x86)/Eclipse/Sumo/tools/xml/xml2protobuf.py", line 195, in main
>     xml.sax.parse(options.source, handler)
>   File "C:\Python27\lib\xml\sax\__init__.py", line 33, in parse
>     parser.parse(source)
>   File "C:\Python27\lib\xml\sax\expatreader.py", line 110, in parse
>     xmlreader.IncrementalParser.parse(self, source)
>   File "C:\Python27\lib\xml\sax\xmlreader.py", line 123, in parse
>     self.feed(buffer)
>   File "C:\Python27\lib\xml\sax\expatreader.py", line 213, in feed
>     self._parser.Parse(data, isFinal)
>   File "C:\Python27\lib\xml\sax\expatreader.py", line 317, in
> start_element
>     self._cont_handler.startElement(name, AttributesImpl(attrs))
>   File "C:/Program Files
> (x86)/Eclipse/Sumo/tools/xml/xml2protobuf.py", line 67, in startElement
>     self.emptyRootMsg = vars(self.module)[capitalFirst(name)]()
> KeyError: u'Connections'
>
>  Notice that I use python 2.7 and I have installed google.protobuf
> module. I also copied xsd folder to my working directory.
>
>  Am I doing something wrong?
>
> Thank you,
> Tom
> ___
> 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] Empty output from flowrouter.py

2019-02-05 Thread Harald Schaefer
Hi Frederik,

the flowrouter script looks for the tag e1Detector (not inductionLoop).

Example

   

Then you get an output like

Reading net
12 edges read
Reading detectors
Loaded 0 sources and 0 sinks from detector file. Added 3 sources and 3
sinks from the network
Reading flows between 0.0 and 240.0
Calculating routes
3 sources, 0 unlimited
3 sinks, 3 unlimited
Writing 2776 vehicles from 3 sources between time 0 and 60 (minutes)
Calculating routes

Best regards,

Harald


___
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] way to get distance between traffic light and vehicle with python

2019-02-05 Thread Harald Schaefer
You might check getNextTLS,
see the python doc for vehicles, that is
(http://sumo.sourceforge.net/pydoc/traci._vehicle.html#VehicleDomain-getNextTLS)
Regards,
Harald


Am 04.02.19 um 11:30 schrieb ratzenme...@web.de:
> Hi,
>  
> is it possible, to get the distance between a traffic light and a
> vehicle? Or do I have to write a method on my own? I'm using python/TraCI.
>  
> Thanks!
>
> ___
> 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] Performance issues on big Networks an 40k vehicles

2019-02-05 Thread iCashWave
Try to use SSD hard disk. Not a general disk. SSD will write data faster.

Lara CODECA  於 2019年2月4日 週一 23:30寫道:

> Hello,
>
> I usually have simulations ranging from 50k to 300k vehicles and I have no
> performance issues.
> I'm fairly sure that the DLR internally have bigger scenarios (See TAPAS
> Cologne).
>
> Cheers,
> Lara
>
> On Mon, 4 Feb 2019 15:11:57 +
> "Leitz, Markus, MU"  wrote:
>
> > Hello Community,
> >
> > I tried to simulate a network with over 40k vehicles and a file size of
> 640MB (125750 Nodes, 254800 Edges). My OS freezes after one minute because
> of too many swapping activity of the memory.
> > The Question is:
> > Do someone else tried to simulate such a big network and what is about
> multithreading in sumo? Is it still right that there is no multithreading?
> > Is sumo meaningful for this usecase?
> >
> > Thank you and greetings from Munich
> >
> > Markus Leitz
> >
> > Mit freundlichen Grüßen
> > i. A. Markus Leitz
> >
> > SW Entw. Fahrzeug Apps
> >
> > Bertrandt Ingenieurbüro GmbH
> > Hufelandstraße 26-28
> > D-80939 München
> >
> > Mobil:   +49 160 55 44 325
> >
> > Internet:  http://www.bertrandt.com
> > E-Mail:markus.le...@de.bertrandt.com markus.le...@de.bertrandt.com>
> >
> > Geschäftsführer: Marcus Hiller, Reinhold Krammer, Michael Lücke,
> >
> > Sitz der Gesellschaft: München, Amtsgericht: München, HRB 110540
> >
> > The content of this e-mail is confidential. If you are not the named
> addressee or if this transmission has been addressed to you in error,
> please notify the sender immediately and then delete this e-mail. Any
> unauthorized copying and transmission is forbidden. E-mail transmission
> cannot be guaranteed to be secure. If verification is required, please
> request a hard copy version. Please note that incoming e-mail is not
> checked regularly. This may result in a failure to comply with legal or
> contractual terms. Therefore it is not sufficient, to send any legal or
> contractual declarations by e-mail. In no event Bertrandt will be liable to
> you or any third party for any direct, indirect, consequential, special or
> exemplary damages or lost profit resulting from this failure.
> >
>
>
>
> --
> Lara CODECA
> Postdoc
> Tel : 04.93.00.81.51
>
> EURECOM
> Campus SophiaTech
> http://www.eurecom.fr/
> ___
> 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


[sumo-user] Sumo wiki SSL error

2019-02-05 Thread Leitz, Markus, MU
Hello Community,

I actually don`t get access to wiki over SSL.
Someone else have problems or is this an issue of my corperate proxy?

Regards
Markus Leitz

Mit freundlichen Grüßen
i. A. Markus Leitz

SW Entw. Fahrzeug Apps

Bertrandt Ingenieurbüro GmbH
Hufelandstraße 26-28
D-80939 München

Mobil:   +49 160 55 44 325

Internet:  http://www.bertrandt.com
E-Mail:markus.le...@de.bertrandt.com

Geschäftsführer: Marcus Hiller, Reinhold Krammer, Michael Lücke,

Sitz der Gesellschaft: München, Amtsgericht: München, HRB 110540

The content of this e-mail is confidential. If you are not the named addressee 
or if this transmission has been addressed to you in error, please notify the 
sender immediately and then delete this e-mail. Any unauthorized copying and 
transmission is forbidden. E-mail transmission cannot be guaranteed to be 
secure. If verification is required, please request a hard copy version. Please 
note that incoming e-mail is not checked regularly. This may result in a 
failure to comply with legal or contractual terms. Therefore it is not 
sufficient, to send any legal or contractual declarations by e-mail. In no 
event Bertrandt will be liable to you or any third party for any direct, 
indirect, consequential, special or exemplary damages or lost profit resulting 
from this failure.

___
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] How to speed up a Simulation

2019-02-05 Thread iCashWave
Try to run sumo with non-gui. It will be very fast.

Vrinda Khirwadkar (vkhrwdkr)  於 2019年2月5日 週二 13:23寫道:

> Hello Sumo authors,
>
>
> I want to generate 30 days of data using SUMO. I would like to know if
> there is any way to speed up the simulation time. It is taking one to one
> time to run a simulation-- for an instance, it takes 24 hours to generate a
> one day data.
>
>
> Could you suggest a way to generate the simulated data in less time.
>
>
> Thanks!
>
>
> Vrinda Khirwadkar
> Graduate Student
> Electrical and Computer Engineering
> [image: UofM logo]
> The University of Memphis
> 213, Engineering Sciences Building
> Memphis, TN 38152
> 
>
> vkhrwdkr*@*memphis.edu 
>
> ___
> 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] Empty output from flowrouter.py

2019-02-05 Thread Fredrik Nilsson
Thank you for the help, I understood the documentaton to mean that it would 
work with any detector type, my bad!

From: sumo-user-boun...@eclipse.org  on behalf 
of Harald Schaefer 
Sent: Tuesday, February 5, 2019 11:00
To: sumo-user@eclipse.org
Subject: Re: [sumo-user] Empty output from flowrouter.py

Hi Frederik,

the flowrouter script looks for the tag e1Detector (not inductionLoop).

Example

   

Then you get an output like

Reading net
12 edges read
Reading detectors
Loaded 0 sources and 0 sinks from detector file. Added 3 sources and 3
sinks from the network
Reading flows between 0.0 and 240.0
Calculating routes
3 sources, 0 unlimited
3 sinks, 3 unlimited
Writing 2776 vehicles from 3 sources between time 0 and 60 (minutes)
Calculating routes

Best regards,

Harald


___
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] Sumo wiki SSL error

2019-02-05 Thread Harald Schaefer
For me its the same.
Either the page is not reachable or gives some ssl errors.
I'm using the backup page as recommended a few days ago:

Dear SUMO users,
we are experiencing a server outage which causes the wiki to be
unavailable.
Please refer to the backup documentation at
http://sumo.sourceforge.net/userdoc/ or use the documentation that
comes with your sumo release.

best regards,
Jakob

Am 05.02.19 um 13:50 schrieb Leitz, Markus, MU:
>
> Hello Community,
>
>  
>
> I actually don`t get access to wiki over SSL.
>
> Someone else have problems or is this an issue of my corperate proxy?
>
>  
>
> Regards
>
> Markus Leitz
>
>  
>
> Mit freundlichen Grüßen
>
> i. A. Markus Leitz
>
>  
>
> SW Entw. Fahrzeug Apps
>
>  
>
> Bertrandt Ingenieurbüro GmbH
> Hufelandstraße 26-28
> D-80939 München
>
>
> Mobil:   +49 160 55 44 325
>
>  
>
> Internet:  http://www.bertrandt.com _
> E_-Mail:_markus.le...@de.bertrandt.com
> _
>
>  
>
> Geschäftsführer: Marcus Hiller, Reinhold Krammer, Michael Lücke,
>
>  
>
> Sitz der Gesellschaft: München, Amtsgericht: München, HRB 110540
>
>  
>
> The content of this e-mail is confidential. If you are not the named
> addressee or if this transmission has been addressed to you in error,
> please notify the sender immediately and then delete this e-mail. Any
> unauthorized copying and transmission is forbidden. E-mail
> transmission cannot be guaranteed to be secure. If verification is
> required, please request a hard copy version. Please note that
> incoming e-mail is not checked regularly. This may result in a failure
> to comply with legal or contractual terms. Therefore it is not
> sufficient, to send any legal or contractual declarations by e-mail.
> In no event Bertrandt will be liable to you or any third party for any
> direct, indirect, consequential, special or exemplary damages or lost
> profit resulting from this failure. 
>
>  
>
>
> ___
> 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


[sumo-user] Problem with xml2protobuf.py

2019-02-05 Thread cchadj01

Hello,

 I am trying to use xml2protobuf.py
 I am using git bash and I executed this command:

 py -2 /c/Program\ Files\  
\(x86\)/Eclipse/Sumo/tools/xml/xml2protobuf.py in-test.con.xml -o out  
-x xsd/netconvertConfiguration.xsd

I get these errors:

Traceback (most recent call last):
  File "C:/Program Files  
(x86)/Eclipse/Sumo/tools/xml/xml2protobuf.py", line 199, in 

main()
  File "C:/Program Files  
(x86)/Eclipse/Sumo/tools/xml/xml2protobuf.py", line 195, in main

xml.sax.parse(options.source, handler)
  File "C:\Python27\lib\xml\sax\__init__.py", line 33, in parse
parser.parse(source)
  File "C:\Python27\lib\xml\sax\expatreader.py", line 110, in parse
xmlreader.IncrementalParser.parse(self, source)
  File "C:\Python27\lib\xml\sax\xmlreader.py", line 123, in parse
self.feed(buffer)
  File "C:\Python27\lib\xml\sax\expatreader.py", line 213, in feed
self._parser.Parse(data, isFinal)
  File "C:\Python27\lib\xml\sax\expatreader.py", line 317, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "C:/Program Files  
(x86)/Eclipse/Sumo/tools/xml/xml2protobuf.py", line 67, in startElement

self.emptyRootMsg = vars(self.module)[capitalFirst(name)]()
KeyError: u'Connections'

 Notice that I use python 2.7 and I have installed google.protobuf  
module. I also copied xsd folder to my working directory.


 Am I doing something wrong?

Thank you,
Tom
___
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