Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Questions about having multiple vTypes, Routes, and Vehicles in the Same File

Jakob

 

Thank you for the help and advise on this problem. This solved the issue that I was running into with the buses in my simulation.

 

Sent from Mail for Windows

 

From: Jakob Erdmann
Sent: Thursday, September 16, 2021 6:45 AM
To: Sumo project User discussions
Subject: Re: [sumo-user] Questions about having multiple vTypes, Routes, and Vehicles in the Same File

 

1. the stops must be enclosed withint the route element:

 

<route ...>

   <stop .../>

  <stop .../>

  ...

</route

 

instead of

 

<route .../>

<stop ../>

...

 

2. The edge 'JagTranRdSB7' must be the first edge of the route since this is where the first stop of the route is located. By putting it in the end, the bus drives the whole route (while ignoring the other stops) to reach the edge of the first stop.

 

3. the attribute is called 'cycleTime' instead of 'cycle'. It is only applied when stops have a time schedule ttribute 'until' but yours only have 'duration'. See https://sumo.dlr.de/docs/Simulation/Public_Transport.html#public_transport_schedules

 

regards,

Jakob

 

 

Am Do., 16. Sept. 2021 um 03:32 Uhr schrieb vincentobiako <vincentobiako@xxxxxxxxx>:

Jakob

 

I tried removing the mistake from earlier and correcting the format. However, I am still getting an error message that looks something like this when I run the sumocfg file:

 

I have attached my .rou.xml, .net.xml, and add.xml files as a reference.

 

I understand that there are two different vTypes, routes, and vehicles being used in this one xml file, but I didn’t think that this should send up an error message in SUMO. Do you know why exactly this error is showing up. I don’t understand what the error message is trying to tell me. I tried moving the bus stop ‘busStop_JagTranRdSB7_1_25’ to a different location on lane ‘JagTranRdSB7_1, but that did not work. Do you know what could be done to clear this issue up?

 

Thank you

Ifezue

 

Sent from Mail for Windows

 

From: Jakob Erdmann
Sent: Friday, September 10, 2021 3:50 AM
To: Sumo project User discussions
Subject: Re: [sumo-user] Questions about having multiple vTypes, Routes, and Vehicles in the Same File

 

The lines

<routes>
and 
</routes>
should appear exactly once at the beginning and respectively end of your file.

 

Am Do., 9. Sept. 2021 um 21:14 Uhr schrieb vincentobiako <vincentobiako@xxxxxxxxx>:

Hello everyone

 

I have been trying to develop a simulation with multiple bus routes that have multiple buses on each respective route. I have been trying to develop a rou.xml file that contains information such as vType attributes, routes, and vehicle definition about each bus and the route each bus will take. However I keep getting an error message when I run the simulation in SUMO-gui that looks like this:

 

 

I am not really sure how to go about solving this issue/error message. As a reference, I have attached my .rou.xml file to this email. In order to work around this problem and make a stop-gap measure, I split up the <routes> definition files into separate rou.xml files, but considering the number of buses that I will be modeling in the near-future I was wondering if all this information could be placed in one .rou.xml file rather than many separate .rou.xml files.

 

Thank you in advance

Ifezue

 

Sent from Mail for Windows

 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

 


Back to the top