Skip to content

Commit

Permalink
adapting tests #2212 #2775 #21 #14285
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Feb 2, 2024
1 parent 5638db0 commit 9f59594
Show file tree
Hide file tree
Showing 11 changed files with 7 additions and 17 deletions.
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
Warning: The battery device is active for vType 'ElectricVehicle' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
1 change: 0 additions & 1 deletion tests/sumo/devices/battery/braunschweig/errors.sumo
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
Warning: The battery device is active for vType 'PKW' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
1 change: 0 additions & 1 deletion tests/sumo/devices/battery/chargeLevelDist/errors.sumo
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
Warning: The battery device is active for vType 'ElectricVehicle' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
1 change: 0 additions & 1 deletion tests/sumo/devices/battery/chargingStations/errors.sumo
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
Warning: The battery device is active for vType 'ElectricVehicle' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
Warning: The battery device is active for vType 'ElectricVehicle' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
Warning: The battery device is active for vType 'ElectricVehicle1' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
Warning: The battery device is active for vType 'ElectricVehicle2' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@
Warning: The battery device is active for vType 'ElectricVehicle1' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
Warning: The battery device is active for vType 'ElectricVehicle2' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
Warning: The battery device is active for vType 'ElectricVehicle' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
Warning: The battery device is active for vType 'ElectricVehicle' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
1 change: 0 additions & 1 deletion tests/sumo/devices/battery/stoppingThreshold/errors.sumo
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
Warning: The battery device is active for vType 'ElectricVehicle' but no emission class is set. The emission class Energy/unknown will be used, please consider setting an explicit emission class!
12 changes: 7 additions & 5 deletions tests/sumo/devices/emissions/phemlight_vtype/tripinfos.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-02-02 10:39:17 by Eclipse SUMO sumo Version v1_19_0+0736-52a79b7ff36
<!-- generated on 2024-02-02 15:19:24 by Eclipse SUMO sumo Version v1_19_0+0745-0d812b2a1d4
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 Down Expand Up @@ -42,12 +42,14 @@ SPDX-License-Identifier: EPL-2.0 OR GPL-2.0-or-later
<device.emissions.probability value="1"/>
</emissions>
<battery>
<device.battery.probability value="1"/>
</battery>
</configuration>
-->

<tripinfos xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/tripinfo_file.xsd">
<tripinfo id="0" depart="0.00" departLane="beg_0" departPos="5.10" departSpeed="27.80" departDelay="0.00" arrival="90.00" arrivalLane="rend_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="90.00" routeLength="2494.90" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_0 emissions_0" vType="PHEMlight5_veh" speedFactor="1.00" vaporized="">
<emissions CO_abs="836.859" CO2_abs="428986.939" HC_abs="9.944" PMx_abs="2.117" NOx_abs="67.665" fuel_abs="135816.252" electricity_abs="0"/>
</tripinfo>
<tripinfo id="1" depart="36.00" departLane="beg_0" departPos="5.10" departSpeed="27.80" departDelay="0.00" arrival="126.00" arrivalLane="rend_0" arrivalPos="500.00" arrivalSpeed="27.80" duration="90.00" routeLength="2494.90" waitingTime="0.00" waitingCount="0" stopTime="0.00" timeLoss="0.00" rerouteNo="0" devices="tripinfo_1 emissions_1" vType="PHEMlight5_orig" speedFactor="1.00" vaporized="">
<emissions CO_abs="1335.766" CO2_abs="408263.508" HC_abs="14.053" PMx_abs="3.180" NOx_abs="100.020" fuel_abs="129527.342" electricity_abs="0"/>
</tripinfo>
</tripinfos>

0 comments on commit 9f59594

Please sign in to comment.