From 22866b4ddeb37a72b1e010b8bcf49167da4c5231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yun-Pang=20Fl=C3=B6tter=C3=B6d?= Date: Fri, 2 Feb 2024 10:50:47 +0100 Subject: [PATCH] test for checking valid phemlight parameters in a given vtype file; #14285 --- .../emissions/phemlight_vtype/errors.sumo | 0 .../phemlight_vtype/input_routes.rou.xml | 12 +++++ .../emissions/phemlight_vtype/options.sumo | 2 + .../emissions/phemlight_vtype/output.sumo | 0 .../emissions/phemlight_vtype/tripinfos.sumo | 53 +++++++++++++++++++ 5 files changed, 67 insertions(+) create mode 100644 tests/sumo/devices/emissions/phemlight_vtype/errors.sumo create mode 100644 tests/sumo/devices/emissions/phemlight_vtype/input_routes.rou.xml create mode 100644 tests/sumo/devices/emissions/phemlight_vtype/options.sumo create mode 100644 tests/sumo/devices/emissions/phemlight_vtype/output.sumo create mode 100644 tests/sumo/devices/emissions/phemlight_vtype/tripinfos.sumo diff --git a/tests/sumo/devices/emissions/phemlight_vtype/errors.sumo b/tests/sumo/devices/emissions/phemlight_vtype/errors.sumo new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/tests/sumo/devices/emissions/phemlight_vtype/input_routes.rou.xml b/tests/sumo/devices/emissions/phemlight_vtype/input_routes.rou.xml new file mode 100644 index 000000000000..dfd567504a0e --- /dev/null +++ b/tests/sumo/devices/emissions/phemlight_vtype/input_routes.rou.xml @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/tests/sumo/devices/emissions/phemlight_vtype/options.sumo b/tests/sumo/devices/emissions/phemlight_vtype/options.sumo new file mode 100644 index 000000000000..81526894214d --- /dev/null +++ b/tests/sumo/devices/emissions/phemlight_vtype/options.sumo @@ -0,0 +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 +--emission-output.precision 3 diff --git a/tests/sumo/devices/emissions/phemlight_vtype/output.sumo b/tests/sumo/devices/emissions/phemlight_vtype/output.sumo new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/tests/sumo/devices/emissions/phemlight_vtype/tripinfos.sumo b/tests/sumo/devices/emissions/phemlight_vtype/tripinfos.sumo new file mode 100644 index 000000000000..51a04ebe95a4 --- /dev/null +++ b/tests/sumo/devices/emissions/phemlight_vtype/tripinfos.sumo @@ -0,0 +1,53 @@ + + + + + +