Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Aggregate the output detector flow

Hello 
is there a way to aggregate the output flow of two specific induction Loops
and output them in an aggregated output file
here is an example 
<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="3600.00" id="E1" nVehContrib="67"
flow="67.00" occupancy="19.88" speed="14.18" harmonicMeanSpeed="0.68"
length="5.00" nVehEntered="68"/>
    <interval begin="0.00" end="3600.00" id="E2" nVehContrib="15"
flow="15.00" occupancy="0.14" speed="15.33" harmonicMeanSpeed="14.85"
length="5.00" nVehEntered="15"/>
    <interval begin="3600.00" end="7200.00" id="E1" nVehContrib="17"
flow="17.00" occupancy="98.74" speed="4.42" harmonicMeanSpeed="0.02"
length="5.00" nVehEntered="17"/>
    <interval begin="3600.00" end="7200.00" id="E2" nVehContrib="9"
flow="9.00" occupancy="0.08" speed="15.88" harmonicMeanSpeed="15.80"
length="5.00" nVehEntered="9"/>
    <interval begin="7200.00" end="7300.00" id="E1" nVehContrib="2"
flow="72.00" occupancy="96.74" speed="8.69" harmonicMeanSpeed="0.03"
length="5.00" nVehEntered="2"/>
    <interval begin="7200.00" end="7300.00" id="E2" nVehContrib="0"
flow="0.00" occupancy="0.00" speed="-1.00" harmonicMeanSpeed="-1.00"
length="-1.00" nVehEntered="0"/>
</detector>
 I want the total output flow of both  E1 and E2 per 3600 automatically
calculated within the same file or in a separate file  instead of
calculating it manually. is there an easier way because in larger number of
files it is not practical to do it in this way.  




--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/


Back to the top