Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 9852285e authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

changed clutch model: take into account axlegear and 1st-gear ratio; adapt...

changed clutch model: take into account axlegear and 1st-gear ratio; adapt values due to changes in clutch
parent 1785f51d
No related branches found
No related tags found
No related merge requests found
......@@ -182,6 +182,9 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponent
var vehicleData = CreateVehicleData(33000.SI<Kilogram>());
// take into account the axle ratio and 1st-gear ratio
vehicleData.DynamicTyreRadius /= (3.24 * 6.38);
var driverData = CreateDriverData();
var fileWriter = new FileOutputWriter("Coach_MinimalPowertrain");
......@@ -215,7 +218,7 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponent
vehicleContainer.CommitSimulationStep(absTime, response.SimulationInterval);
absTime += response.SimulationInterval;
Assert.AreEqual(0.9748, modData.GetValues<SI>(ModalResultField.acc).Last().Value(), Tolerance);
Assert.AreEqual(0.24182, modData.GetValues<SI>(ModalResultField.acc).Last().Value(), Tolerance);
response = driverPort.Request(absTime, 1.SI<Meter>(), 20.SI<MeterPerSecond>(), 0.SI<Radian>());
......@@ -224,7 +227,7 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponent
vehicleContainer.CommitSimulationStep(absTime, response.SimulationInterval);
absTime += response.SimulationInterval;
Assert.AreEqual(0.78766, modData.GetValues<SI>(ModalResultField.acc).Last().Value(), Tolerance);
Assert.AreEqual(0.2900, modData.GetValues<SI>(ModalResultField.acc).Last().Value(), Tolerance);
}
[TestMethod]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment