Re: [sumo-user] Modelling Public Transport Line (or fixed Route)

2020-05-04 Thread Jakob Erdmann
>
>
>  period="300"/>
>
> Does it indicate that a public transport line (or route) with id named "bus" 
> whose sequence of stops are defined by route named "busRoute".
> The frequency of this line is 300 seconds or 5 minutes per hour, that is in 
> every 5 minutes there will be one vehicle for this line.
> However, the service stops at 801 seconds from the simulation time, it means 
> that there will be only two vehicles started for this line.
>
> Yes.
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Modelling Public Transport Line (or fixed Route)

2020-05-04 Thread Tripplanner Mumbai
@Mirko @Jakob: Thank you so much for coming to my rescue. Please clarify if
I have interpreted it the flows correctly.



Does it indicate that a public transport line (or route) with id named
"bus" whose sequence of stops are defined by route named "busRoute".
The frequency of this line is 300 seconds or 5 minutes per hour, that
is in every 5 minutes there will be one vehicle for this line.
However, the service stops at 801 seconds from the simulation time, it
means that there will be only two vehicles started for this line.

@Mirko: osmWebWizard is indeed a great tool, thanks.


On Mon, 4 May 2020 at 21:32, Jakob Erdmann  wrote:

> I recommend that you use osmWebWizard to import a network including public
> transport and then look at the generated file osm_pt.rou.xml as an example
> of succinct public transport modelling. The stops and times are defined
> only once in a named route and the vehicles are defined as flows which
> reference this route.
> See also
> https://sumo.dlr.de/docs/Simulation/Public_Transport.html#stops_in_a_stand-alone_route
> .
>
> regards,
> Jakob
>
> Am Mo., 4. Mai 2020 um 17:56 Uhr schrieb Mirko Barthauer <
> m.bartha...@t-online.de>:
>
>> Hi,
>>
>> have you tried out defining your public transport line as a flow element
>> (see https://sumo.dlr.de/docs/Simulation/Public_Transport.html#flows)?
>> Then you should be able to specify a frequency and reference the route and
>> stops only once.
>>
>> Regards
>> Mirko
>> Am 04.05.2020 um 17:33 schrieb Tripplanner Mumbai:
>>
>> Hello,
>>
>> I am confused about the implementation of public transport route inside
>> SUMO.
>>
>> As per standards, a public transport route (sometimes known as a line)
>> has a fixed sequence of stops which it has to cover, and a frequency which
>> means the number of times that route must be served at these stops.
>>
>> In SUMO, we have a  tag, but I think it is used for deciding a
>> path not a public transport route (or line). On the other hand, a route is
>> modelled through  tag using an attribute "line". Well, such
>> modelling is discouraging as each time we have to repeat the sequence of
>> stops and related edges, as given below of two instances repeating the same
>> information unnecessarily.
>>
>> Instance 1:
>> > line="14">
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> Instance 2:
>> > line="14">
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>
>> Furthermore, I would like to know about implementing frequency assignment
>> to a public transport route (or line). Could anyone clarify my doubts or
>> redirect me to a correct thread.
>>
>> thanks and regards,
>> Dillip Rout
>>
>> ___
>> sumo-user mailing listsumo-u...@eclipse.org
>> To unsubscribe from this list, visit 
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
>> ___
>> sumo-user mailing list
>> sumo-user@eclipse.org
>> To unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Modelling Public Transport Line (or fixed Route)

2020-05-04 Thread Jakob Erdmann
I recommend that you use osmWebWizard to import a network including public
transport and then look at the generated file osm_pt.rou.xml as an example
of succinct public transport modelling. The stops and times are defined
only once in a named route and the vehicles are defined as flows which
reference this route.
See also
https://sumo.dlr.de/docs/Simulation/Public_Transport.html#stops_in_a_stand-alone_route
.

regards,
Jakob

Am Mo., 4. Mai 2020 um 17:56 Uhr schrieb Mirko Barthauer <
m.bartha...@t-online.de>:

> Hi,
>
> have you tried out defining your public transport line as a flow element
> (see https://sumo.dlr.de/docs/Simulation/Public_Transport.html#flows)?
> Then you should be able to specify a frequency and reference the route and
> stops only once.
>
> Regards
> Mirko
> Am 04.05.2020 um 17:33 schrieb Tripplanner Mumbai:
>
> Hello,
>
> I am confused about the implementation of public transport route inside
> SUMO.
>
> As per standards, a public transport route (sometimes known as a line) has
> a fixed sequence of stops which it has to cover, and a frequency which
> means the number of times that route must be served at these stops.
>
> In SUMO, we have a  tag, but I think it is used for deciding a path
> not a public transport route (or line). On the other hand, a route is
> modelled through  tag using an attribute "line". Well, such
> modelling is discouraging as each time we have to repeat the sequence of
> stops and related edges, as given below of two instances repeating the same
> information unnecessarily.
>
> Instance 1:
>  line="14">
> 
> 
> 
> 
> 
> 
> 
>
> Instance 2:
>  line="14">
> 
> 
> 
> 
> 
> 
> 
>
> Furthermore, I would like to know about implementing frequency assignment
> to a public transport route (or line). Could anyone clarify my doubts or
> redirect me to a correct thread.
>
> thanks and regards,
> Dillip Rout
>
> ___
> sumo-user mailing listsumo-u...@eclipse.org
> To unsubscribe from this list, visit 
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
> ___
> sumo-user mailing list
> sumo-user@eclipse.org
> To unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user


Re: [sumo-user] Modelling Public Transport Line (or fixed Route)

2020-05-04 Thread Mirko Barthauer

Hi,

have you tried out defining your public transport line as a flow element 
(see https://sumo.dlr.de/docs/Simulation/Public_Transport.html#flows)? 
Then you should be able to specify a frequency and reference the route 
and stops only once.


Regards
Mirko

Am 04.05.2020 um 17:33 schrieb Tripplanner Mumbai:

Hello,

I am confused about the implementation of public transport route 
inside SUMO.


As per standards, a public transport route (sometimes known as a line) 
has a fixed sequence of stops which it has to cover, and a frequency 
which means the number of times that route must be served at these stops.


In SUMO, we have a  tag, but I think it is used for deciding a 
path not a public transport route (or line). On the other hand, a 
route is modelled through  tag using an attribute "line". 
Well, such modelling is discouraging as each time we have to repeat 
the sequence of stops and related edges, as given below of two 
instances repeating the same information unnecessarily.


Instance 1:
line="14">









Instance 2:
line="14">









Furthermore, I would like to know about implementing frequency 
assignment to a public transport route (or line). Could anyone clarify 
my doubts or redirect me to a correct thread.


thanks and regards,
Dillip Rout

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


[sumo-user] Modelling Public Transport Line (or fixed Route)

2020-05-04 Thread Tripplanner Mumbai
Hello,

I am confused about the implementation of public transport route inside
SUMO.

As per standards, a public transport route (sometimes known as a line) has
a fixed sequence of stops which it has to cover, and a frequency which
means the number of times that route must be served at these stops.

In SUMO, we have a  tag, but I think it is used for deciding a path
not a public transport route (or line). On the other hand, a route is
modelled through  tag using an attribute "line". Well, such
modelling is discouraging as each time we have to repeat the sequence of
stops and related edges, as given below of two instances repeating the same
information unnecessarily.

Instance 1:









Instance 2:









Furthermore, I would like to know about implementing frequency assignment
to a public transport route (or line). Could anyone clarify my doubts or
redirect me to a correct thread.

thanks and regards,
Dillip Rout
___
sumo-user mailing list
sumo-user@eclipse.org
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user