Skip to content

Commit

Permalink
extended test refs #21
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Nov 28, 2024
1 parent 2eda632 commit 2192362
Show file tree
Hide file tree
Showing 2 changed files with 151 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
<vType sigma="0" vClass="truck" id="HDV_D_EU6" emissionClass="HBEFA3/HDV_D_EU6"/>
<vType sigma="0" vClass="truck" id="HDV_D_East" emissionClass="HBEFA3/HDV_D_East"/>
<vType sigma="0" vClass="passenger" id="Energy" emissionClass="Energy/unknown"/>
<vType sigma="0" vClass="passenger" id="Zero" emissionClass="HBEFA3/zero"/>

<route id="route0" edges="e"/>

Expand Down Expand Up @@ -102,5 +103,6 @@
<vehicle id="Energy" type="Energy" route="route0" depart="4700"/>
<vehicle id="PHEMlight5_PC_D_EU4" type="PHEMlight5_PC_D_EU4" route="route0" depart="4800"/>
<vehicle id="PHEMlight5_PC_G_EU4" type="PHEMlight5_PC_G_EU4" route="route0" depart="4900"/>
<vehicle id="Zero" type="Zero" route="route0" depart="5000"/>

</routes>
152 changes: 149 additions & 3 deletions tests/sumo/output/emission-output/emissionClasses/rawdump.sumo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 2024-04-03 17:09:38 by Eclipse SUMO sumo Version v1_19_0+1675-8d4073b0822
<!-- generated on 2024-11-28 15:29:22 by Eclipse SUMO sumo Version v1_21_0+1022-ff93bb2f91e
This data file and the accompanying materials
are made available under the terms of the Eclipse Public License v2.0
which accompanies this distribution, and is available at
Expand All @@ -11,7 +11,7 @@ Public License 2.0 are satisfied: GNU General Public License, version 2
or later which is available at
https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html
SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">
<sumoConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/sumoConfiguration.xsd">

<input>
<net-file value="net.net.xml"/>
Expand All @@ -37,7 +37,7 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<device.emissions.probability value="1"/>
</emissions>

</configuration>
</sumoConfiguration>
-->

<emission-export xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/emission_file.xsd">
Expand Down Expand Up @@ -7435,4 +7435,150 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<vehicle id="PHEMlight5_PC_G_EU4" eclass="PHEMlight5/PC_EU4_G" CO2="8094.52" CO="105.80" HC="0.76" NOx="3.95" PMx="0.14" fuel="2607.92" electricity="0.00" noise="77.02" route="route0" type="PHEMlight5_PC_G_EU4" waiting="0.00" lane="e_0" pos="574.10" speed="37.00" angle="90.00" x="574.10" y="-1.60"/>
</timestep>
<timestep time="4923.00"/>
<timestep time="4924.00"/>
<timestep time="4925.00"/>
<timestep time="4926.00"/>
<timestep time="4927.00"/>
<timestep time="4928.00"/>
<timestep time="4929.00"/>
<timestep time="4930.00"/>
<timestep time="4931.00"/>
<timestep time="4932.00"/>
<timestep time="4933.00"/>
<timestep time="4934.00"/>
<timestep time="4935.00"/>
<timestep time="4936.00"/>
<timestep time="4937.00"/>
<timestep time="4938.00"/>
<timestep time="4939.00"/>
<timestep time="4940.00"/>
<timestep time="4941.00"/>
<timestep time="4942.00"/>
<timestep time="4943.00"/>
<timestep time="4944.00"/>
<timestep time="4945.00"/>
<timestep time="4946.00"/>
<timestep time="4947.00"/>
<timestep time="4948.00"/>
<timestep time="4949.00"/>
<timestep time="4950.00"/>
<timestep time="4951.00"/>
<timestep time="4952.00"/>
<timestep time="4953.00"/>
<timestep time="4954.00"/>
<timestep time="4955.00"/>
<timestep time="4956.00"/>
<timestep time="4957.00"/>
<timestep time="4958.00"/>
<timestep time="4959.00"/>
<timestep time="4960.00"/>
<timestep time="4961.00"/>
<timestep time="4962.00"/>
<timestep time="4963.00"/>
<timestep time="4964.00"/>
<timestep time="4965.00"/>
<timestep time="4966.00"/>
<timestep time="4967.00"/>
<timestep time="4968.00"/>
<timestep time="4969.00"/>
<timestep time="4970.00"/>
<timestep time="4971.00"/>
<timestep time="4972.00"/>
<timestep time="4973.00"/>
<timestep time="4974.00"/>
<timestep time="4975.00"/>
<timestep time="4976.00"/>
<timestep time="4977.00"/>
<timestep time="4978.00"/>
<timestep time="4979.00"/>
<timestep time="4980.00"/>
<timestep time="4981.00"/>
<timestep time="4982.00"/>
<timestep time="4983.00"/>
<timestep time="4984.00"/>
<timestep time="4985.00"/>
<timestep time="4986.00"/>
<timestep time="4987.00"/>
<timestep time="4988.00"/>
<timestep time="4989.00"/>
<timestep time="4990.00"/>
<timestep time="4991.00"/>
<timestep time="4992.00"/>
<timestep time="4993.00"/>
<timestep time="4994.00"/>
<timestep time="4995.00"/>
<timestep time="4996.00"/>
<timestep time="4997.00"/>
<timestep time="4998.00"/>
<timestep time="4999.00"/>
<timestep time="5000.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="5.10" speed="0.00" angle="90.00" x="5.10" y="-1.60"/>
</timestep>
<timestep time="5001.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="7.70" speed="2.60" angle="90.00" x="7.70" y="-1.60"/>
</timestep>
<timestep time="5002.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="12.90" speed="5.20" angle="90.00" x="12.90" y="-1.60"/>
</timestep>
<timestep time="5003.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="20.70" speed="7.80" angle="90.00" x="20.70" y="-1.60"/>
</timestep>
<timestep time="5004.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="31.10" speed="10.40" angle="90.00" x="31.10" y="-1.60"/>
</timestep>
<timestep time="5005.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="44.10" speed="13.00" angle="90.00" x="44.10" y="-1.60"/>
</timestep>
<timestep time="5006.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="59.70" speed="15.60" angle="90.00" x="59.70" y="-1.60"/>
</timestep>
<timestep time="5007.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="77.90" speed="18.20" angle="90.00" x="77.90" y="-1.60"/>
</timestep>
<timestep time="5008.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="98.70" speed="20.80" angle="90.00" x="98.70" y="-1.60"/>
</timestep>
<timestep time="5009.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="122.10" speed="23.40" angle="90.00" x="122.10" y="-1.60"/>
</timestep>
<timestep time="5010.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="148.10" speed="26.00" angle="90.00" x="148.10" y="-1.60"/>
</timestep>
<timestep time="5011.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="176.70" speed="28.60" angle="90.00" x="176.70" y="-1.60"/>
</timestep>
<timestep time="5012.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="207.90" speed="31.20" angle="90.00" x="207.90" y="-1.60"/>
</timestep>
<timestep time="5013.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="241.70" speed="33.80" angle="90.00" x="241.70" y="-1.60"/>
</timestep>
<timestep time="5014.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="278.10" speed="36.40" angle="90.00" x="278.10" y="-1.60"/>
</timestep>
<timestep time="5015.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="315.10" speed="37.00" angle="90.00" x="315.10" y="-1.60"/>
</timestep>
<timestep time="5016.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="352.10" speed="37.00" angle="90.00" x="352.10" y="-1.60"/>
</timestep>
<timestep time="5017.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="389.10" speed="37.00" angle="90.00" x="389.10" y="-1.60"/>
</timestep>
<timestep time="5018.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="426.10" speed="37.00" angle="90.00" x="426.10" y="-1.60"/>
</timestep>
<timestep time="5019.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="463.10" speed="37.00" angle="90.00" x="463.10" y="-1.60"/>
</timestep>
<timestep time="5020.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="500.10" speed="37.00" angle="90.00" x="500.10" y="-1.60"/>
</timestep>
<timestep time="5021.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="537.10" speed="37.00" angle="90.00" x="537.10" y="-1.60"/>
</timestep>
<timestep time="5022.00">
<vehicle id="Zero" eclass="Zero/default" CO2="0.00" CO="0.00" HC="0.00" NOx="0.00" PMx="0.00" fuel="0.00" electricity="0.00" noise="0.00" route="route0" type="Zero" waiting="0.00" lane="e_0" pos="574.10" speed="37.00" angle="90.00" x="574.10" y="-1.60"/>
</timestep>
<timestep time="5023.00"/>
</emission-export>

0 comments on commit 2192362

Please sign in to comment.