Gracias Didac,

I'll look at your suggestion, it seems simpler with linux (which is what I use).

Regards

François
________________________________________
De : Didac Busquets <[email protected]>
Envoyé : 22 juillet 2015 04:36
À : François Vaudrin
Cc : [email protected]
Objet : RE: [sumo-user] Running two different simulations at the same time (2   
views)

Hi Francois,

One way of doing this is two add a "port" argument to your runner.py, so that 
you can specify what port SUMO should listen to, and then you can start the two 
simulations in background with:

In Linux-like OS:
python runner.py --port 1234 &; python runner.py --port 1235 &

In Windows:
start /b python runner.py --port 1234
start /b python runner.py --port 1235

You will then get two instances of SUMO, and if you also add the --start 
argument when launching SUMO from runner.py, the simulations will start 
automatically so you can see them both in parallel.

The only thing you won't be able to do will be to stop them at the same time -- 
you'll have to click the stop icon on each of them.

Hope it helps,

Didac


Didac Busquets PhD
Senior Technologist

Transport Systems Catapult
3rd Floor, The Pinnacle
170 Midsummer Boulevard
Milton Keynes
MK9 1BP

Tel:  +44 (0)1908 359999 Ext: 1126
Email: [email protected]
Web: ts.catapult.org.uk

To learn more about the Transport Systems Catapult, watch our video



-----Original Message-----
From: François Vaudrin [mailto:[email protected]]
Sent: 22 July 2015 06:11
Cc: [email protected]
Subject: [sumo-user] Running two different simulations at the same time (2 
views)

Hello everyone,

I have two different simulations I 'd like to look in parallel at the same time 
. There is an icon that opens a new view in the menu but how can I run two 
different simulations simultaneously with two runner.py scripts and see them on 
the screen side to side ?

Thank you

François
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that you need 
to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user
The Transport Systems Catapult is one of a network of elite technology and 
innovation centres established by Innovate UK as a long-term investment in the 
UK’s economic capability. Applying business-led research, Catapults help 
businesses transform great ideas into valuable products and services to compete 
in the global markets of tomorrow. Transport Systems Catapult is a company 
limited by guarantee, registered in England and Wales with company number 
08041919. Registered office: The Pinnacle, Midsummer Boulevard, Milton Keynes, 
Bucks, MK9 1BP. This email and any attachments are confidential and intended 
solely for the use of the recipient(s) to whom they are addressed. If you have 
received it in error, please destroy all copies and inform the sender.

------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to