Skip to content

Commit

Permalink
changing the vtype to the free available one; #14285
Browse files Browse the repository at this point in the history
  • Loading branch information
yunpangfloetteroed committed Feb 2, 2024
1 parent 22866b4 commit 0593878
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions tests/sumo/devices/emissions/phemlight_vtype/errors.sumo
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Error: Unknown Energy Model parameter: vehicleMass
Quitting (on error).
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<routes xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/routes_file.xsd">
<vType id="PHEMlight5_veh" emissionClass="PHEMlight5/PC_BEV_GEN1" vClass="passenger" speedDev="0" sigma="0">
<vType id="PHEMlight5_veh" emissionClass="PHEMlight5/PC_EU4_G" vClass="passenger" speedDev="0" sigma="0">
<param key="constantPowerIntake" value="360"/>
<param key="airDragCoefficient" value="0.28"/>
<param key="frontSurfaceArea" value="2.54"/>
<param key="vehicleMass" value="2124"/>
</vType>
<vType id="PHEMlight5_orig" emissionClass="PHEMlight5/PC_BEV_GEN1" vClass="passenger" speedDev="0" sigma="0"/>
<vType id="PHEMlight5_orig" emissionClass="PHEMlight5/PC_EU4_G" vClass="passenger" speedDev="0" sigma="0"/>
<route id="route0" edges="beg middle end rend"/>
<vehicle id="0" type="PHEMlight5_veh" route="route0" depart="0.0" color="red" departSpeed="max"/>
<vehicle id="1" type="PHEMlight5_orig" route="route0" depart="36.0" color="green" departSpeed="max"/>
Expand Down
2 changes: 1 addition & 1 deletion tests/sumo/devices/emissions/phemlight_vtype/options.sumo
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
--device.battery.probability=1 --device.emissions.probability=1 --no-step-log -b 0 --no-duration-log --net-file=three_split.net.xml -a=input_routes.rou.xml --tripinfo-output=tripinfos.xml
--device.emissions.probability=1 --no-step-log -b 0 --no-duration-log --net-file=three_split.net.xml -a=input_routes.rou.xml --tripinfo-output=tripinfos.xml
--emission-output.precision 3

0 comments on commit 0593878

Please sign in to comment.