[sumo-user] simulation of one month

2015-04-16 Thread nardine . basta
Hello

I am trying to simulate a traffic for a duration of one month.
when i modify the sumocfg file i get the following error:

Error: Input string '2419200' is not a valid number or exceeds the
time value range.

thank u in advance :)


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Add a bus route in TraCI

2015-04-16 Thread Deborah Perrotta
I don't understand why mine is not... My additional file looks like this:

additional xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
xsi:noNamespaceSchemaLocation=http://sumo.sf.net/xsd/additional_file.xsd;

busStop id=OUT Warren St @ Kearsarge Ave lane=8639780#1_0
startPos=10 endPos=25 lines=28/
busStop id=Warren St @ Dabney PI lane=8639780#4_0 startPos=35
endPos=50 lines=28/
(...)
route id=28_out edges=-8643840#0 -116884900#0 (...)/
stop busStop=OUT Dudley Station duration=20/
stop busStop=OUT Warren St @ Kearsarge Ave duration=20/
(...)
/route
/additional

The command I'm trying is:

traci.vehicle.add('23','28_out');

And the error I get is:

Error: Answered with error to command 0xc4: Invalid route '28_out' for
vehicle: '23'

I tried this route and it is valid. Can you see where is my mistake?

Thank you again.

On Thu, Apr 16, 2015 at 12:31 PM, Jakob Erdmann namdre.s...@googlemail.com
wrote:

 the code
 traci.vehicle.add(testVeh, withStop)
 works as well in my test.

 2015-04-16 13:05 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 Thank you for your answer.

 So it is not possible to actually add a bus and its route to the
 simulation (e.g. using traci.vehicle.add('testVeh', 'withStop'), but only
 to transform an already existent vehicle in the bus itself?

 On Thu, Apr 16, 2015 at 8:17 AM, Jakob Erdmann 
 namdre.s...@googlemail.com wrote:

 The additional file looks like this:
 busStop id=busstop1 lane=2fi_0 startPos=20 endPos=30
 lines=foo/
 route id=withStop edges=2fi 2si 1o 1fi 1si 3o 3fi 3si 4o 4fi
 4si
 stop busStop=busstop1 duration=10/
 /route

 the traci code is:
 traci.vehicle.setRouteID(testVeh, withStop)

 Note, that the vehicle testVeh must be one the first edge of route
 withStop for this to work.
 regards,
 Jakob

 2015-04-15 10:57 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 Hi Jakob,
 It just says it was not possible to add that route.
 In your tests, the bus stops are loaded as well? Can you show me how
 your additional file is composed?
 Thank you,
 Deborah.
 Em 15/04/2015 09:14, Jakob Erdmann namdre.s...@googlemail.com
 escreveu:

 Hello,
 using a route that is defined in an additional file is working in our
 tests. What error message do you get?
 regards,
 Jakob

 2015-04-14 19:23 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com
 :

 Hi everyone,

 I'm starting to work in TraCI now using TraCI4Matlab and I'm actually
 struggling with adding a bus route during the simulation. I have the
 additional file for a bus with the stops and edges of the route, and I
 would like to know how can I add this bus to the simulation using
 TraCI4Matlab.

 I tried using the add vehicle command, but it asks for a route ID
 and
 despite trying to change the additional file to name the route, it
 didn't
 work.

 Thank you in advance,

 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 sumo-user mailing list
 sumo-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sumo-user






 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/





-- 
Deborah Perrotta
PhD Researcher - MIT Portugal
http://pt.linkedin.com/in/deborahperrotta/
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Add a bus route in TraCI

2015-04-16 Thread Jakob Erdmann
The error message indicates that the route is not known. It looks as if the
additional file isn't loaded into sumo. Try defining a vehicle .../
inside that file and see whether it appears in the simulation.

2015-04-16 13:41 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 I don't understand why mine is not... My additional file looks like this:

 additional xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:noNamespaceSchemaLocation=http://sumo.sf.net/xsd/additional_file.xsd
 

 busStop id=OUT Warren St @ Kearsarge Ave lane=8639780#1_0
 startPos=10 endPos=25 lines=28/
 busStop id=Warren St @ Dabney PI lane=8639780#4_0 startPos=35
 endPos=50 lines=28/
 (...)
 route id=28_out edges=-8643840#0 -116884900#0 (...)/
 stop busStop=OUT Dudley Station duration=20/
 stop busStop=OUT Warren St @ Kearsarge Ave duration=20/
 (...)
 /route
 /additional

 The command I'm trying is:

 traci.vehicle.add('23','28_out');

 And the error I get is:

 Error: Answered with error to command 0xc4: Invalid route '28_out' for
 vehicle: '23'

 I tried this route and it is valid. Can you see where is my mistake?

 Thank you again.

 On Thu, Apr 16, 2015 at 12:31 PM, Jakob Erdmann 
 namdre.s...@googlemail.com wrote:

 the code
 traci.vehicle.add(testVeh, withStop)
 works as well in my test.

 2015-04-16 13:05 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 Thank you for your answer.

 So it is not possible to actually add a bus and its route to the
 simulation (e.g. using traci.vehicle.add('testVeh', 'withStop'), but only
 to transform an already existent vehicle in the bus itself?

 On Thu, Apr 16, 2015 at 8:17 AM, Jakob Erdmann 
 namdre.s...@googlemail.com wrote:

 The additional file looks like this:
 busStop id=busstop1 lane=2fi_0 startPos=20 endPos=30
 lines=foo/
 route id=withStop edges=2fi 2si 1o 1fi 1si 3o 3fi 3si 4o 4fi
 4si
 stop busStop=busstop1 duration=10/
 /route

 the traci code is:
 traci.vehicle.setRouteID(testVeh, withStop)

 Note, that the vehicle testVeh must be one the first edge of route
 withStop for this to work.
 regards,
 Jakob

 2015-04-15 10:57 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com
 :

 Hi Jakob,
 It just says it was not possible to add that route.
 In your tests, the bus stops are loaded as well? Can you show me how
 your additional file is composed?
 Thank you,
 Deborah.
 Em 15/04/2015 09:14, Jakob Erdmann namdre.s...@googlemail.com
 escreveu:

 Hello,
 using a route that is defined in an additional file is working in our
 tests. What error message do you get?
 regards,
 Jakob

 2015-04-14 19:23 GMT+02:00 Deborah Perrotta 
 deborahperro...@gmail.com:

 Hi everyone,

 I'm starting to work in TraCI now using TraCI4Matlab and I'm actually
 struggling with adding a bus route during the simulation. I have the
 additional file for a bus with the stops and edges of the route, and
 I
 would like to know how can I add this bus to the simulation using
 TraCI4Matlab.

 I tried using the add vehicle command, but it asks for a route ID
 and
 despite trying to change the additional file to name the route, it
 didn't
 work.

 Thank you in advance,

 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_

 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 sumo-user mailing list
 sumo-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sumo-user






 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/





 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Add a bus route in TraCI

2015-04-16 Thread Jakob Erdmann
the code
traci.vehicle.add(testVeh, withStop)
works as well in my test.

2015-04-16 13:05 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 Thank you for your answer.

 So it is not possible to actually add a bus and its route to the
 simulation (e.g. using traci.vehicle.add('testVeh', 'withStop'), but only
 to transform an already existent vehicle in the bus itself?

 On Thu, Apr 16, 2015 at 8:17 AM, Jakob Erdmann namdre.s...@googlemail.com
  wrote:

 The additional file looks like this:
 busStop id=busstop1 lane=2fi_0 startPos=20 endPos=30
 lines=foo/
 route id=withStop edges=2fi 2si 1o 1fi 1si 3o 3fi 3si 4o 4fi 4si
 stop busStop=busstop1 duration=10/
 /route

 the traci code is:
 traci.vehicle.setRouteID(testVeh, withStop)

 Note, that the vehicle testVeh must be one the first edge of route
 withStop for this to work.
 regards,
 Jakob

 2015-04-15 10:57 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 Hi Jakob,
 It just says it was not possible to add that route.
 In your tests, the bus stops are loaded as well? Can you show me how
 your additional file is composed?
 Thank you,
 Deborah.
 Em 15/04/2015 09:14, Jakob Erdmann namdre.s...@googlemail.com
 escreveu:

 Hello,
 using a route that is defined in an additional file is working in our
 tests. What error message do you get?
 regards,
 Jakob

 2015-04-14 19:23 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com
 :

 Hi everyone,

 I'm starting to work in TraCI now using TraCI4Matlab and I'm actually
 struggling with adding a bus route during the simulation. I have the
 additional file for a bus with the stops and edges of the route, and I
 would like to know how can I add this bus to the simulation using
 TraCI4Matlab.

 I tried using the add vehicle command, but it asks for a route ID and
 despite trying to change the additional file to name the route, it
 didn't
 work.

 Thank you in advance,

 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 sumo-user mailing list
 sumo-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sumo-user






 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Add a bus route in TraCI

2015-04-16 Thread Deborah Perrotta
Thank you for your answer.

So it is not possible to actually add a bus and its route to the simulation
(e.g. using traci.vehicle.add('testVeh', 'withStop'), but only to transform
an already existent vehicle in the bus itself?

On Thu, Apr 16, 2015 at 8:17 AM, Jakob Erdmann namdre.s...@googlemail.com
wrote:

 The additional file looks like this:
 busStop id=busstop1 lane=2fi_0 startPos=20 endPos=30
 lines=foo/
 route id=withStop edges=2fi 2si 1o 1fi 1si 3o 3fi 3si 4o 4fi 4si
 stop busStop=busstop1 duration=10/
 /route

 the traci code is:
 traci.vehicle.setRouteID(testVeh, withStop)

 Note, that the vehicle testVeh must be one the first edge of route
 withStop for this to work.
 regards,
 Jakob

 2015-04-15 10:57 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 Hi Jakob,
 It just says it was not possible to add that route.
 In your tests, the bus stops are loaded as well? Can you show me how your
 additional file is composed?
 Thank you,
 Deborah.
 Em 15/04/2015 09:14, Jakob Erdmann namdre.s...@googlemail.com
 escreveu:

 Hello,
 using a route that is defined in an additional file is working in our
 tests. What error message do you get?
 regards,
 Jakob

 2015-04-14 19:23 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 Hi everyone,

 I'm starting to work in TraCI now using TraCI4Matlab and I'm actually
 struggling with adding a bus route during the simulation. I have the
 additional file for a bus with the stops and edges of the route, and I
 would like to know how can I add this bus to the simulation using
 TraCI4Matlab.

 I tried using the add vehicle command, but it asks for a route ID and
 despite trying to change the additional file to name the route, it
 didn't
 work.

 Thank you in advance,

 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_
 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 sumo-user mailing list
 sumo-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sumo-user






-- 
Deborah Perrotta
PhD Researcher - MIT Portugal
http://pt.linkedin.com/in/deborahperrotta/
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


Re: [sumo-user] Add a bus route in TraCI

2015-04-16 Thread Deborah Perrotta
I tried before, once this is the standard for the bus additional file. It
does not work either, unfortunately. It returns the exactly same error.

Is there a way to maybe load this bus route in the beginning (in the
sumocfg file) but in a stand-by mode, just waiting to be actually added to
the simulation?


On Thu, Apr 16, 2015 at 1:35 PM, Jakob Erdmann namdre.s...@googlemail.com
wrote:

 The error message indicates that the route is not known. It looks as if
 the additional file isn't loaded into sumo. Try defining a vehicle .../
 inside that file and see whether it appears in the simulation.

 2015-04-16 13:41 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 I don't understand why mine is not... My additional file looks like this:

 additional xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:noNamespaceSchemaLocation=http://sumo.sf.net/xsd/additional_file.xsd
 

 busStop id=OUT Warren St @ Kearsarge Ave lane=8639780#1_0
 startPos=10 endPos=25 lines=28/
 busStop id=Warren St @ Dabney PI lane=8639780#4_0 startPos=35
 endPos=50 lines=28/
 (...)
 route id=28_out edges=-8643840#0 -116884900#0 (...)/
 stop busStop=OUT Dudley Station duration=20/
 stop busStop=OUT Warren St @ Kearsarge Ave duration=20/
 (...)
 /route
 /additional

 The command I'm trying is:

 traci.vehicle.add('23','28_out');

 And the error I get is:

 Error: Answered with error to command 0xc4: Invalid route '28_out' for
 vehicle: '23'

 I tried this route and it is valid. Can you see where is my mistake?

 Thank you again.

 On Thu, Apr 16, 2015 at 12:31 PM, Jakob Erdmann 
 namdre.s...@googlemail.com wrote:

 the code
 traci.vehicle.add(testVeh, withStop)
 works as well in my test.

 2015-04-16 13:05 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 Thank you for your answer.

 So it is not possible to actually add a bus and its route to the
 simulation (e.g. using traci.vehicle.add('testVeh', 'withStop'), but only
 to transform an already existent vehicle in the bus itself?

 On Thu, Apr 16, 2015 at 8:17 AM, Jakob Erdmann 
 namdre.s...@googlemail.com wrote:

 The additional file looks like this:
 busStop id=busstop1 lane=2fi_0 startPos=20 endPos=30
 lines=foo/
 route id=withStop edges=2fi 2si 1o 1fi 1si 3o 3fi 3si 4o 4fi
 4si
 stop busStop=busstop1 duration=10/
 /route

 the traci code is:
 traci.vehicle.setRouteID(testVeh, withStop)

 Note, that the vehicle testVeh must be one the first edge of route
 withStop for this to work.
 regards,
 Jakob

 2015-04-15 10:57 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com
 :

 Hi Jakob,
 It just says it was not possible to add that route.
 In your tests, the bus stops are loaded as well? Can you show me how
 your additional file is composed?
 Thank you,
 Deborah.
 Em 15/04/2015 09:14, Jakob Erdmann namdre.s...@googlemail.com
 escreveu:

 Hello,
 using a route that is defined in an additional file is working in
 our tests. What error message do you get?
 regards,
 Jakob

 2015-04-14 19:23 GMT+02:00 Deborah Perrotta 
 deborahperro...@gmail.com:

 Hi everyone,

 I'm starting to work in TraCI now using TraCI4Matlab and I'm
 actually
 struggling with adding a bus route during the simulation. I have the
 additional file for a bus with the stops and edges of the route,
 and I
 would like to know how can I add this bus to the simulation using
 TraCI4Matlab.

 I tried using the add vehicle command, but it asks for a route ID
 and
 despite trying to change the additional file to name the route, it
 didn't
 work.

 Thank you in advance,

 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_

 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 sumo-user mailing list
 sumo-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sumo-user






 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/





 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/





-- 
Deborah Perrotta
PhD Researcher - MIT Portugal
http://pt.linkedin.com/in/deborahperrotta/
--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_

Re: [sumo-user] Add a bus route in TraCI

2015-04-16 Thread Jakob Erdmann
When loading a file with route elements using option --additional-files,
the routes are available for the whole simulation.
When loading that file using the option --route-files, they are loaded
incrementally and may not be available at the time of your call (one
solution would be to put all the busstop and route elements at the top
of the file).
Maybe there lies your problem.

2015-04-16 15:58 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 I tried before, once this is the standard for the bus additional file. It
 does not work either, unfortunately. It returns the exactly same error.

 Is there a way to maybe load this bus route in the beginning (in the
 sumocfg file) but in a stand-by mode, just waiting to be actually added to
 the simulation?


 On Thu, Apr 16, 2015 at 1:35 PM, Jakob Erdmann namdre.s...@googlemail.com
  wrote:

 The error message indicates that the route is not known. It looks as if
 the additional file isn't loaded into sumo. Try defining a vehicle .../
 inside that file and see whether it appears in the simulation.

 2015-04-16 13:41 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 I don't understand why mine is not... My additional file looks like this:

 additional xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:noNamespaceSchemaLocation=
 http://sumo.sf.net/xsd/additional_file.xsd;

 busStop id=OUT Warren St @ Kearsarge Ave lane=8639780#1_0
 startPos=10 endPos=25 lines=28/
 busStop id=Warren St @ Dabney PI lane=8639780#4_0 startPos=35
 endPos=50 lines=28/
 (...)
 route id=28_out edges=-8643840#0 -116884900#0 (...)/
 stop busStop=OUT Dudley Station duration=20/
 stop busStop=OUT Warren St @ Kearsarge Ave duration=20/
 (...)
 /route
 /additional

 The command I'm trying is:

 traci.vehicle.add('23','28_out');

 And the error I get is:

 Error: Answered with error to command 0xc4: Invalid route '28_out' for
 vehicle: '23'

 I tried this route and it is valid. Can you see where is my mistake?

 Thank you again.

 On Thu, Apr 16, 2015 at 12:31 PM, Jakob Erdmann 
 namdre.s...@googlemail.com wrote:

 the code
 traci.vehicle.add(testVeh, withStop)
 works as well in my test.

 2015-04-16 13:05 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com
 :

 Thank you for your answer.

 So it is not possible to actually add a bus and its route to the
 simulation (e.g. using traci.vehicle.add('testVeh', 'withStop'), but only
 to transform an already existent vehicle in the bus itself?

 On Thu, Apr 16, 2015 at 8:17 AM, Jakob Erdmann 
 namdre.s...@googlemail.com wrote:

 The additional file looks like this:
 busStop id=busstop1 lane=2fi_0 startPos=20 endPos=30
 lines=foo/
 route id=withStop edges=2fi 2si 1o 1fi 1si 3o 3fi 3si 4o 4fi
 4si
 stop busStop=busstop1 duration=10/
 /route

 the traci code is:
 traci.vehicle.setRouteID(testVeh, withStop)

 Note, that the vehicle testVeh must be one the first edge of route
 withStop for this to work.
 regards,
 Jakob

 2015-04-15 10:57 GMT+02:00 Deborah Perrotta 
 deborahperro...@gmail.com:

 Hi Jakob,
 It just says it was not possible to add that route.
 In your tests, the bus stops are loaded as well? Can you show me how
 your additional file is composed?
 Thank you,
 Deborah.
 Em 15/04/2015 09:14, Jakob Erdmann namdre.s...@googlemail.com
 escreveu:

 Hello,
 using a route that is defined in an additional file is working in
 our tests. What error message do you get?
 regards,
 Jakob

 2015-04-14 19:23 GMT+02:00 Deborah Perrotta 
 deborahperro...@gmail.com:

 Hi everyone,

 I'm starting to work in TraCI now using TraCI4Matlab and I'm
 actually
 struggling with adding a bus route during the simulation. I have
 the
 additional file for a bus with the stops and edges of the route,
 and I
 would like to know how can I add this bus to the simulation using
 TraCI4Matlab.

 I tried using the add vehicle command, but it asks for a route
 ID and
 despite trying to change the additional file to name the route, it
 didn't
 work.

 Thank you in advance,

 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through live
 exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_

 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 ___
 sumo-user mailing list
 sumo-user@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/sumo-user






 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/





 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/





 --
 Deborah Perrotta
 PhD 

Re: [sumo-user] Add a bus route in TraCI

2015-04-16 Thread Deborah Perrotta
I load all my bus routes as additional files, and I've just tried
re-inserting one of those buses that had already left the simulation and
the error is still the same.

The error lies on SUMO not recognizing the route name I give in the
additional file, and I'm not really sure why.

On Thu, Apr 16, 2015 at 3:49 PM, Jakob Erdmann namdre.s...@googlemail.com
wrote:

 When loading a file with route elements using option --additional-files,
 the routes are available for the whole simulation.
 When loading that file using the option --route-files, they are loaded
 incrementally and may not be available at the time of your call (one
 solution would be to put all the busstop and route elements at the top
 of the file).
 Maybe there lies your problem.

 2015-04-16 15:58 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 I tried before, once this is the standard for the bus additional file. It
 does not work either, unfortunately. It returns the exactly same error.

 Is there a way to maybe load this bus route in the beginning (in the
 sumocfg file) but in a stand-by mode, just waiting to be actually added to
 the simulation?


 On Thu, Apr 16, 2015 at 1:35 PM, Jakob Erdmann 
 namdre.s...@googlemail.com wrote:

 The error message indicates that the route is not known. It looks as if
 the additional file isn't loaded into sumo. Try defining a vehicle .../
 inside that file and see whether it appears in the simulation.

 2015-04-16 13:41 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com:

 I don't understand why mine is not... My additional file looks like
 this:

 additional xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
 xsi:noNamespaceSchemaLocation=
 http://sumo.sf.net/xsd/additional_file.xsd;

 busStop id=OUT Warren St @ Kearsarge Ave lane=8639780#1_0
 startPos=10 endPos=25 lines=28/
 busStop id=Warren St @ Dabney PI lane=8639780#4_0 startPos=35
 endPos=50 lines=28/
 (...)
 route id=28_out edges=-8643840#0 -116884900#0 (...)/
 stop busStop=OUT Dudley Station duration=20/
 stop busStop=OUT Warren St @ Kearsarge Ave duration=20/
 (...)
 /route
 /additional

 The command I'm trying is:

 traci.vehicle.add('23','28_out');

 And the error I get is:

 Error: Answered with error to command 0xc4: Invalid route '28_out' for
 vehicle: '23'

 I tried this route and it is valid. Can you see where is my mistake?

 Thank you again.

 On Thu, Apr 16, 2015 at 12:31 PM, Jakob Erdmann 
 namdre.s...@googlemail.com wrote:

 the code
 traci.vehicle.add(testVeh, withStop)
 works as well in my test.

 2015-04-16 13:05 GMT+02:00 Deborah Perrotta deborahperro...@gmail.com
 :

 Thank you for your answer.

 So it is not possible to actually add a bus and its route to the
 simulation (e.g. using traci.vehicle.add('testVeh', 'withStop'), but only
 to transform an already existent vehicle in the bus itself?

 On Thu, Apr 16, 2015 at 8:17 AM, Jakob Erdmann 
 namdre.s...@googlemail.com wrote:

 The additional file looks like this:
 busStop id=busstop1 lane=2fi_0 startPos=20 endPos=30
 lines=foo/
 route id=withStop edges=2fi 2si 1o 1fi 1si 3o 3fi 3si 4o 4fi
 4si
 stop busStop=busstop1 duration=10/
 /route

 the traci code is:
 traci.vehicle.setRouteID(testVeh, withStop)

 Note, that the vehicle testVeh must be one the first edge of route
 withStop for this to work.
 regards,
 Jakob

 2015-04-15 10:57 GMT+02:00 Deborah Perrotta 
 deborahperro...@gmail.com:

 Hi Jakob,
 It just says it was not possible to add that route.
 In your tests, the bus stops are loaded as well? Can you show me
 how your additional file is composed?
 Thank you,
 Deborah.
 Em 15/04/2015 09:14, Jakob Erdmann namdre.s...@googlemail.com
 escreveu:

 Hello,
 using a route that is defined in an additional file is working in
 our tests. What error message do you get?
 regards,
 Jakob

 2015-04-14 19:23 GMT+02:00 Deborah Perrotta 
 deborahperro...@gmail.com:

 Hi everyone,

 I'm starting to work in TraCI now using TraCI4Matlab and I'm
 actually
 struggling with adding a bus route during the simulation. I have
 the
 additional file for a bus with the stops and edges of the route,
 and I
 would like to know how can I add this bus to the simulation using
 TraCI4Matlab.

 I tried using the add vehicle command, but it asks for a route
 ID and
 despite trying to change the additional file to name the route,
 it didn't
 work.

 Thank you in advance,

 --
 Deborah Perrotta
 PhD Researcher - MIT Portugal
 http://pt.linkedin.com/in/deborahperrotta/

 --
 BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
 Develop your own process in accordance with the BPMN 2 standard
 Learn Process modeling best practices with Bonita BPM through
 live exercises
 http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
 event?utm_

 source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
 

Re: [sumo-user] Add a bus route in TraCI

2015-04-16 Thread Michael Behrisch
Hi Deborah,
can you share a completely working excerpt of your scenario? there seems
to be a typo (or errors due to the omissions) in the lines you sent:
 busStop id=OUT Warren St @ Kearsarge Ave lane=8639780#1_0
 startPos=10 endPos=25 lines=28/
 busStop id=Warren St @ Dabney PI lane=8639780#4_0 startPos=35
 endPos=50 lines=28/
 (...)
 route id=28_out edges=-8643840#0 -116884900#0 (...)/
 stop busStop=OUT Dudley Station duration=20/
 stop busStop=OUT Warren St @ Kearsarge Ave duration=20/
 (...)
 /route
 /additional

The route element is closed twice and also not all bus stops are defined.

Regards,
Michael


--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user


[sumo-user] Random departures according to Poisson law

2015-04-16 Thread François Vaudrin
Hello,

I built a departure sequence following a Poisson distribution . Sometimes , 
departures are very close and sometimes they distanced themselves from 4 to 5 
seconds . I checked during the simulation GUI and departures do not match the 
file. In the example below, the departures are done randomly to 41 ... . 50 ... 
. 58 59 60 61 ... . 71 sec.

So there should be 7 cars that leave between 41 and 71 sec. and should see a 
cluster of 4 cars and others cars alone a little further . This is not what I 
see during the simulation. I counted 10 cars and they are equidistant .

Does anyone have an explanation?

thank you

François Vaudrin
Université Laval, CANADA

routes
 
route id=route1 edges=M1 M2 M3 M4 M5 M6 M7 M8 M9 M10 M11 M12 M13 M14 M15 
M16A M16A.70 M17 M18 M19 M20 M21 M22 M23 M24 M25 M26 M27 M28 M29 M30 
departlane=free departpos=free/
route id=route2 edges=-M30 -M29 -M28 -M27 -M26 -M25 -M24 -M23 -M22 -M21 
-M20 -M19 -M18 -M17 -M17.140 -M16 -M15 -M14 -M13 -M12 -M11 -M10 -M9 -M8 -M7 -M6 
-M5 -M4 -M3 -M2 -M1 departlane=free departpos=free/

vType id=random guiShape=passenger length=5.0 minGap=2.5 maxSpeed=14 
color=green/

 
…

 vehicle route=route2 id=1_22 type=random depart=41.0 departlane=0/
  vehicle route=route2 id=1_24 type=random depart=50.0 departlane=0/
 vehicle route=route2 id=1_27 type=random depart=58.0 departlane=1/
 vehicle route=route2 id=1_28 type=random depart=59.0 departlane=0/
 vehicle route=route2 id=1_29 type=random depart=60.0 departlane=1/
 vehicle route=route2 id=1_30 type=random depart=61.0 departlane=0/
  vehicle route=route2 id=1_34 type=random depart=71.0 departlane=0/




--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user