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

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

Merge pull request #696 in VECTO/vecto-sim from...

Merge pull request #696 in VECTO/vecto-sim from ~EMQUARIMA/vecto-sim:bugfix/VECTO-797-vecto-abort-with-at-transmission-and-tc-table-value to develop

* commit 'e2a49f32':
  increase tolerance for mod-data test due to switch to line-search as default for AT gearboxes
  increase tolerance for 0 torque in at gearbox due to increased search tolerance
parents 1047ad0b e2a49f32
No related branches found
No related tags found
No related merge requests found
......@@ -195,7 +195,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
Log.Debug("AT-Gearbox Power Request: torque: {0}, angularVelocity: {1}", outTorque, outAngularVelocity);
var driveOffSpeed = DataBus.VehicleStopped && outAngularVelocity > 0;
var driveOffTorque = CurrentState.Disengaged && outTorque.IsGreater(0, 1e-3);
var driveOffTorque = CurrentState.Disengaged && outTorque.IsGreater(0, 1e-2);
if (!dryRun && (driveOffSpeed || driveOffTorque)) {
Gear = 1;
CurrentState.TorqueConverterLocked = false;
......
......@@ -630,7 +630,7 @@ namespace TUGraz.VectoCore.Tests.Reports
Assert.AreEqual(pEngFcmap.Value(), (pLossTot + pEngInertia + pAux).Value(), 1E-3, "time: {0} distance: {1}", time,
distance);
Assert.IsTrue(pLossGbx.IsGreaterOrEqual(pShiftLoss + pGbxInertia), "time: {0} distance: {1}", time,
Assert.IsTrue(pLossGbx.IsGreaterOrEqual(pShiftLoss + pGbxInertia, 0.5.SI<Watt>()), "time: {0} distance: {1}", time,
distance);
Assert.AreEqual(pGbxIn.Value(), (pRetIn + pLossGbx + pGbxInertia).Value(), gear != 0 ? 1E-3 : 0.5,
......
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