Skip to main content

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

Hi Jacob, 

thanks for your reply. Well I found that in case I do not define in the add.xml file the edgeData ids for the cases I do not have a traffic flow (i.e. ed2 for bus) then the tool works. That is to say, that it the sum of the emission outputs per edge and per vehicle type gives the same result with the total_emission_edge file. 

Take a look at the complete input file and let me know if there is another solution (I included two cases for add.xml).

Thanks a lot!
Natalia 

Attachment: test.rar
Description: application/rar


On 10 Sep 2018, at 14:02, Jakob Erdmann <namdre.sumo@xxxxxxxxx> wrote:

Strange,
your input files look correct. Also, the attributes 'begin' and 'end' are working as expected in our emission output tests.
Please send me your complete input files so I can take a look at the problem.
regards,
Jakob

2018-09-10 8:11 GMT+02:00 Natalia Liora <lioranat@xxxxxxx>:
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>
_______________________________________________
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

_______________________________________________
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