Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

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

bugfix in cycle gearbox

parent 158d5ef2
Branches
Tags
No related merge requests found
......@@ -184,12 +184,12 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
var inAngularVelocity = outAngularVelocity * effectiveRatio;
if (ModelData.Type.AutomaticTransmission() && torqueConverterLocked &&
if (!dryRun && ModelData.Type.AutomaticTransmission() && torqueConverterLocked &&
inAngularVelocity.IsSmaller(DataBus.EngineIdleSpeed)) {
Log.Error(
"ERROR: EngineSpeed is lower than Idlespeed in Measuredspeed-Cycle with given Gear (Automatic Transmission). AbsTime: {0}, Gear: {1} TC-Active: {2}, EngineSpeed: {3}",
absTime, Gear, !torqueConverterLocked, inAngularVelocity.AsRPM);
return new ResponseEngineSpeedTooLow { Source = this };
return new ResponseEngineSpeedTooLow { Source = this, EngineSpeed = inAngularVelocity };
}
if (!inAngularVelocity.IsEqual(0)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment