Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] bus flows - emissions per edge

Hello, 


I want to run a 3hour simulation including a bus flow for specific hours only  ,e.g for the 2nd hour of simulation only. The problem is that theemissions output per edges for bus category includes emissions for all hours after the first hour in which a bus flow exists (i.e. 2nd, 3rd hour). You can see below the rou and add files. Note also that I have defined in the edge.xml an “allow bus” option for specific lanes. Could this be a problem?

Thank you!
Natalia

See below the rou.xml file:
<routes>

    <vType id="car" vClass="passenger" sigma="0" speedDev="0.1" minGap="1"/>
	<vType id="bus" vClass="bus" sigma="0" speedDev="0.1"  minGap="1"/>

     <flow id="1" type="car" from="1" to="81" vehsPerHour="150" begin="0" end="3600" departLane="best" departSpeed="max" />
      
     <flow id="2" type="car" from="1" to="81" vehsPerHour="205" begin="3600" end="7200" departLane="best" departSpeed="max" />
 
 	<flow id="lin3" type="bus"  period="480" begin="3600" end="7200" from="1" to="81">
	<stop busStop="AgPavlos1" duration="30"/>
</flow>
   
    <flow id="3" type="car" from="1" to="81" vehsPerHour="58" begin="7200" end="10800" departLane="best" departSpeed="max" />
      
</routes>

The additional file :
<additional>
<edgeData id="ed1" type="emissions" file="emissions_edge_car0.xml" begin="0" end="3600" vTypes="car" />
<edgeData id="ed2" type="emissions" file="emissions_edge_bus0.xml" begin="0" end="3600" vTypes="bus" />
<edgeData id="ed3" type="emissions" file="emissions_edge_car1.xml" begin="3600" end="7200" vTypes="car" />
<edgeData id="ed4" type="emissions" file="emissions_edge_bus1.xml" begin="3600" end="7200" vTypes="bus" />
<edgeData id="ed5" type="emissions" file="emissions_edge_car2.xml" begin="7200" end="10800" vTypes="car" />
<edgeData id="ed6" type="emissions" file="emissions_edge_bus2.xml" begin="7200" end="10800" vTypes="bus" />
</additional>

Back to the top