Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] [PUBLIC TRANSPORT][NUMBER OF PASSENGER]

Hello,
- you can use vType attribute 'personNumber' to set the passenger limit. (see http://sumo.dlr.de/wiki/Definition_of_Vehicles,_Vehicle_Types,_and_Routes#Vehicle_Types)
- If you set attribute 'vClass="bus"' then the default passenger limit is 85
regards,
Jakob

2018-05-10 15:46 GMT+02:00 Luca Di Costanzo <dicostanzo.luca@xxxxxxxxx>:
Hi guys yesterday I started working on the implementation of public transports in SUMO. Till now I had been able to generate pedestrians, busses and let the persons jump on the bus to arrive to their destination. 

I saw that the number of people the bus can carry it's 4 in my scenario. I was not able to find a find to define the capacity of my bus.

That's the way I defined the bus and my flow

<vType id="BUS" accel="2.6" decel="4.5" sigma="0" length="15" minGap="3" maxSpeed="70" color="1,0,0" guiShape="bus"/>


<flow id="1" begin="0" end= "300" line="bus" period="100" type="BUS">
<route edges="gneE0 gneE1 gneE4 gneE5 -gneE13 -gneE12 gneE14" />
<stop busStop="STOP_1" until="10" duration="5"/>
<stop busStop="STOP_2" until="10" duration="5"/>
<stop busStop="STOP_3" until="10" duration="5"/>
</flow>

Can you help me?
Regards

Ing. Luca Di Costanzo

-----------------------------
MsC in Hydraulic and Transportation Engineering 
Bsc in Civil Engineering 
skype: lucadicostanzo82
tel: +39 333 43 92 544

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top