Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] The induction loop output do not match repeated vehicles (Flows)

Dear all,

 

I have a question regarding Repeated vehicles (Flows). In the route file, I have determined the flow based on a number of vehicles. However, the induction loop shows that the number of vehicles is not according to what I have defined in the route file. This is how the flow looks like:

 

                <flow id="mainMV0" type="Dist" beg="0" end="900" departLane= "best"

                   departSpeed="desired" number="1327" from="ew" to="e5" />

                  <flow id="mainMV1" type="Dist" beg="900" end="2700" departLane= "best"

                   departSpeed="desired" number="2654" from="ew" to="e5" />

                  <flow id="mainMV2" type="Dist" beg="2700" end="3600" departLane= "best"

                   departSpeed="desired" number="1327" from="ew" to="e5" />

                 

                  <flow id="mergeMV0" type="Dist" beg="0" end="900" number="161"

                   departSpeed="desired" from="ew0" to="e5" via= "e3 e4 e1 e2 "/>

                  <flow id="mergeMV1" type="Dist" beg="900" end="2700" number="323"

                   departSpeed="desired" from="ew0" to="e5" via= "e3 e4 e1 e2 "/>

                  <flow id="mergeMV2" type="Dist" beg="2700" end="3600" number="161"

                   departSpeed="desired" from="ew0" to="e5" via= "e3 e4 e1 e2 "/>

                 

Based on this flow, there should be 2654 vehicles entering the main freeway while the induction loop shows 1782. Also, 323 vehicles should merge into the highway which induction loop shows 308. So, fewer vehicles have entered the simulation. The route file and the datafrom the induction loop is attached.

I have also tried using vehsPerHour. Still induction loop shows a different number.

 

Could anyone please let me know if I have done something wrong?

 

Regards,

Solmaz

 

<routes>
  
	<vType id="MV" vClass="passenger" type="Dist" minGap="2" maxSpeed="35" 
	speedFactor="norm(1,0.1,0.2,2)" carFollowModel="Krauss" accel="3.5" decel="4.5" emergencyDecel="9"
	laneChangeModel="LC2013" lcCooperative= "0">
    </vType>
	
			 

    <flow id="mainMV0" type="Dist" beg="0" end="900" departLane= "best" 
	 departSpeed="desired" number="1327" from="ew" to="e5" />
	<flow id="mainMV1" type="Dist" beg="900" end="2700" departLane= "best" 
	 departSpeed="desired" number="2654" from="ew" to="e5" />
	<flow id="mainMV2" type="Dist" beg="2700" end="3600" departLane= "best" 
	 departSpeed="desired" number="1327" from="ew" to="e5" />
	 
	<flow id="mergeMV0" type="Dist" beg="0" end="900" number="161" 
	 departSpeed="desired" from="ew0" to="e5" via= "e3 e4 e1 e2 "/>
	<flow id="mergeMV1" type="Dist" beg="900" end="2700" number="323" 
	 departSpeed="desired" from="ew0" to="e5" via= "e3 e4 e1 e2 "/>
	<flow id="mergeMV2" type="Dist" beg="2700" end="3600" number="161" 
	 departSpeed="desired" from="ew0" to="e5" via= "e3 e4 e1 e2 "/>
	 

</routes>
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 07/21/20 09:52:22 by Eclipse SUMO Version 1.5.0
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd";>

    <input>
        <net-file value="BaseW.net.xml"/>
        <route-files value="Base.rou.xml"/>
        <additional-files value="out.add.xml,BaseInductionLoop.add.xml"/>
    </input>

    <output>
        <tripinfo-output value="IDM_tripinfo.xml"/>
        <lanechange-output value="KraussPos_lane_change.xml"/>
    </output>

    <time>
        <step-length value="0.1"/>
    </time>

    <processing>
        <max-depart-delay value="1"/>
        <lanechange.duration value="3"/>
    </processing>

    <random_number>
        <random value="false"/>
    </random_number>

    <gui_only>
        <tracker-interval value="0.1"/>
    </gui_only>

</configuration>
-->

<detector xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/det_e1_file.xsd";>
    <interval begin="0.00" end="900.00" id="WarmUpInduction0" nVehContrib="241" flow="964.00" occupancy="6.01" speed="22.46" harmonicMeanSpeed="22.28" length="5.00" nVehEntered="241"/>
    <interval begin="0.00" end="900.00" id="WarmUpInduction1" nVehContrib="278" flow="1112.00" occupancy="6.48" speed="23.98" harmonicMeanSpeed="23.85" length="5.00" nVehEntered="278"/>
    <interval begin="0.00" end="900.00" id="WarmUpInduction2" nVehContrib="349" flow="1396.00" occupancy="7.53" speed="25.85" harmonicMeanSpeed="25.75" length="5.00" nVehEntered="349"/>
    <interval begin="0.00" end="900.00" id="WarmUpRampInduction0" nVehContrib="208" flow="832.00" occupancy="5.02" speed="23.14" harmonicMeanSpeed="23.00" length="5.00" nVehEntered="208"/>
    <interval begin="900.00" end="1800.00" id="WarmUpInduction0" nVehContrib="249" flow="996.00" occupancy="6.11" speed="22.78" harmonicMeanSpeed="22.64" length="5.00" nVehEntered="250"/>
    <interval begin="900.00" end="1800.00" id="WarmUpInduction1" nVehContrib="288" flow="1152.00" occupancy="6.55" speed="24.63" harmonicMeanSpeed="24.45" length="5.00" nVehEntered="289"/>
    <interval begin="900.00" end="1800.00" id="WarmUpInduction2" nVehContrib="370" flow="1480.00" occupancy="8.04" speed="25.74" harmonicMeanSpeed="25.57" length="5.00" nVehEntered="370"/>
    <interval begin="900.00" end="1800.00" id="WarmUpRampInduction0" nVehContrib="165" flow="660.00" occupancy="4.04" speed="23.01" harmonicMeanSpeed="22.67" length="5.00" nVehEntered="165"/>
    <interval begin="1800.00" end="2700.00" id="WarmUpInduction0" nVehContrib="255" flow="1020.00" occupancy="6.12" speed="23.25" harmonicMeanSpeed="23.13" length="5.00" nVehEntered="256"/>
    <interval begin="1800.00" end="2700.00" id="WarmUpInduction1" nVehContrib="278" flow="1112.00" occupancy="6.29" speed="24.73" harmonicMeanSpeed="24.54" length="5.00" nVehEntered="277"/>
    <interval begin="1800.00" end="2700.00" id="WarmUpInduction2" nVehContrib="342" flow="1368.00" occupancy="7.34" speed="25.99" harmonicMeanSpeed="25.88" length="5.00" nVehEntered="342"/>
    <interval begin="1800.00" end="2700.00" id="WarmUpRampInduction0" nVehContrib="143" flow="572.00" occupancy="3.31" speed="24.26" harmonicMeanSpeed="24.00" length="5.00" nVehEntered="143"/>
    <interval begin="2700.00" end="3600.00" id="WarmUpInduction0" nVehContrib="179" flow="716.00" occupancy="4.08" speed="24.63" harmonicMeanSpeed="24.40" length="5.00" nVehEntered="179"/>
    <interval begin="2700.00" end="3600.00" id="WarmUpInduction1" nVehContrib="134" flow="536.00" occupancy="2.86" speed="26.36" harmonicMeanSpeed="26.02" length="5.00" nVehEntered="134"/>
    <interval begin="2700.00" end="3600.00" id="WarmUpInduction2" nVehContrib="95" flow="380.00" occupancy="2.00" speed="26.67" harmonicMeanSpeed="26.33" length="5.00" nVehEntered="96"/>
    <interval begin="2700.00" end="3600.00" id="WarmUpRampInduction0" nVehContrib="53" flow="212.00" occupancy="1.22" speed="24.49" harmonicMeanSpeed="24.09" length="5.00" nVehEntered="53"/>
    <interval begin="3600.00" end="3796.30" id="WarmUpInduction0" nVehContrib="17" flow="311.77" occupancy="1.81" speed="24.07" harmonicMeanSpeed="23.92" length="5.00" nVehEntered="17"/>
    <interval begin="3600.00" end="3796.30" id="WarmUpInduction1" nVehContrib="11" flow="201.73" occupancy="1.05" speed="26.88" harmonicMeanSpeed="26.67" length="5.00" nVehEntered="11"/>
    <interval begin="3600.00" end="3796.30" id="WarmUpInduction2" nVehContrib="8" flow="146.71" occupancy="0.83" speed="24.97" harmonicMeanSpeed="24.68" length="5.00" nVehEntered="8"/>
    <interval begin="3600.00" end="3796.30" id="WarmUpRampInduction0" nVehContrib="5" flow="91.70" occupancy="0.50" speed="25.54" harmonicMeanSpeed="25.29" length="5.00" nVehEntered="5"/>
</detector>

Back to the top