From 87740b9d1a23d13589bdd268c92c723a3abc8332 Mon Sep 17 00:00:00 2001
From: Markus Quaritsch <markus.quaritsch@tugraz.at>
Date: Thu, 14 Apr 2022 11:54:29 +0200
Subject: [PATCH] adapt model parameters for APT-P E2 Testcase so that the EM
 is in a more reasonable speed range

---
 .../BEV_B2_Group5LH_rl_APTP.vecto             |   2 +-
 .../BEV_B2_Group5_LH_rl_APTP.vveh             | 104 ++++++++++++++++++
 2 files changed, 105 insertions(+), 1 deletion(-)
 create mode 100644 VectoCore/VectoCoreTest/TestData/BatteryElectric/GenericVehicleB2_AT/BEV_B2_Group5_LH_rl_APTP.vveh

diff --git a/VectoCore/VectoCoreTest/TestData/BatteryElectric/GenericVehicleB2_AT/BEV_B2_Group5LH_rl_APTP.vecto b/VectoCore/VectoCoreTest/TestData/BatteryElectric/GenericVehicleB2_AT/BEV_B2_Group5LH_rl_APTP.vecto
index 75d6936603..2ec7a886d7 100644
--- a/VectoCore/VectoCoreTest/TestData/BatteryElectric/GenericVehicleB2_AT/BEV_B2_Group5LH_rl_APTP.vecto
+++ b/VectoCore/VectoCoreTest/TestData/BatteryElectric/GenericVehicleB2_AT/BEV_B2_Group5LH_rl_APTP.vecto
@@ -7,7 +7,7 @@
   },
   "Body": {
     "SavedInDeclMode": false,
-    "VehicleFile": "BEV_B2_Group5_LH_rl.vveh",
+    "VehicleFile": "BEV_B2_Group5_LH_rl_APTP.vveh",
     "EngineFile": "209kW_7c7l.veng",
     "GearboxFile": "GearboxPowerSplit.vgbx",
     "TCU": "GearboxPowerSplit.vgbx",
diff --git a/VectoCore/VectoCoreTest/TestData/BatteryElectric/GenericVehicleB2_AT/BEV_B2_Group5_LH_rl_APTP.vveh b/VectoCore/VectoCoreTest/TestData/BatteryElectric/GenericVehicleB2_AT/BEV_B2_Group5_LH_rl_APTP.vveh
new file mode 100644
index 0000000000..ccd0032781
--- /dev/null
+++ b/VectoCore/VectoCoreTest/TestData/BatteryElectric/GenericVehicleB2_AT/BEV_B2_Group5_LH_rl_APTP.vveh
@@ -0,0 +1,104 @@
+{
+  "Header": {
+    "CreatedBy": "",
+    "Date": "2021-12-17T13:29:44.1894088Z",
+    "AppVersion": "3",
+    "FileVersion": 10
+  },
+  "Body": {
+    "SavedInDeclMode": false,
+    "VehCat": "Tractor",
+    "LegislativeClass": "Unknown",
+    "CurbWeight": 10143.4,
+    "CurbWeightExtra": 7500.0,
+    "MassMax": 18.0,
+    "Loading": 19300.0,
+    "rdyn": 492.20000000000005,
+    "CdCorrMode": "CdofVdecl",
+    "CdCorrFile": "",
+    "Retarder": {
+      "Type": "None",
+      "Ratio": 1.0,
+      "File": ""
+    },
+    "AxleConfig": {
+      "Type": "4x2",
+      "Axles": [
+        {
+          "Inertia": 14.9,
+          "Wheels": "315/70 R22.5",
+          "AxleWeightShare": 0.2,
+          "TwinTyres": false,
+          "RRCISO": 0.0034,
+          "FzISO": 33350.0,
+          "Type": "VehicleNonDriven"
+        },
+        {
+          "Inertia": 14.9,
+          "Wheels": "315/70 R22.5",
+          "AxleWeightShare": 0.25,
+          "TwinTyres": true,
+          "RRCISO": 0.004,
+          "FzISO": 33350.0,
+          "Type": "VehicleDriven"
+        },
+        {
+          "Inertia": 19.2,
+          "Wheels": "385/65 R22.5",
+          "AxleWeightShare": 0.18333,
+          "TwinTyres": false,
+          "RRCISO": 0.0055,
+          "FzISO": 37500.0,
+          "Type": "Trailer"
+        },
+        {
+          "Inertia": 19.2,
+          "Wheels": "385/65 R22.5",
+          "AxleWeightShare": 0.18333,
+          "TwinTyres": false,
+          "RRCISO": 0.0055,
+          "FzISO": 37500.0,
+          "Type": "Trailer"
+        },
+        {
+          "Inertia": 19.2,
+          "Wheels": "385/65 R22.5",
+          "AxleWeightShare": 0.18334,
+          "TwinTyres": false,
+          "RRCISO": 0.0055,
+          "FzISO": 37500.0,
+          "Type": "Trailer"
+        }
+      ]
+    },
+    "EngineStopStart": false,
+    "EcoRoll": "None",
+    "PredictiveCruiseControl": "None",
+    "ATEcoRollReleaseLockupClutch": false,
+    "CdA": 4.31,
+    "VehicleHeight": 4.0,
+    "InitialSoC": 70,
+    "PowertrainConfiguration": "BatteryElectric",
+    "ElectricMotors": [
+      {
+        "Count": 2,
+        "Ratio": 2.0,
+        "Position": "E2",
+        "MotorFile": "BEV_Group5_EM.vem",
+        "MechanicalEfficiency": 1.0
+      }
+    ],
+    "Batteries": [
+      {
+        "NumPacks": 1,
+        "BatteryFile": "BEV_Group5_REESS.vreess",
+        "StreamId": 0
+      },
+      {
+        "NumPacks": 1,
+        "BatteryFile": "BEV_Group5_REESS.vreess",
+        "StreamId": 1
+      }
+    ]
+  }
+}
\ No newline at end of file
-- 
GitLab