Hi all,
I made a simulation with the route file as follows:
<routes>
<!-- vType id="type1" accel="0.8" length="5" maxSpeed="70"
guiShape="passenger" color="1,0,0"/ -->
<vTypeDistribution id="typedist1" >
<vType id="LV" accel="0.8" length="5" maxSpeed="120"
vClass="passenger" guiShape="passenger" color="1,0,0"/>
<vType id="HV" accel="1.2" length="6.5" maxSpeed="80"
probability="0.3" vClass="bus" guiShape="bus" color="0,1,0"/>
<vType id="MC" accel="0.5" maxSpeed="100" probability="0.4"
vClass="motorcycle" guiShape="motorcycle" color="0,0,1"/>
</vTypeDistribution>
<!--
<flow id="type1" begin="0" end= "604800" type="typedist1"
vehsPerHour="1000">
-->
<flow id="type1" begin="0" end= "3600" type="typedist1"
vehsPerHour="1000">
<route edges="entrance finish"/>
</flow>
</routes>
What I expected after the simulation that I would have 1000 vehicles with
number of vehicles type LV:HV:MC distributed as 3:3:4 which is number of LV
around 300, HV around 300 and MC around 400. But after the simulation I got
241 MCs, 583 LVs, and 176 HVs.
Why the numbers of simulated vehicle is very different with the probability
in the route file?
Thanks in advance.
Best regards,
Daniel
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user