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

Skip to content
Snippets Groups Projects
Commit 69af741a authored by Michael KRISPER's avatar Michael KRISPER
Browse files

ResponseDryRun: Removed EngineMaxTorqueOut, EngineDragTorque

parent 66d4a92c
No related branches found
No related tags found
No related merge requests found
......@@ -121,8 +121,6 @@ namespace TUGraz.VectoCore.Models.Connector.Ports.Impl
{
public Watt DeltaFullLoad { get; set; }
public Watt DeltaDragLoad { get; set; }
public NewtonMeter EngineMaxTorqueOut { get; set; }
public NewtonMeter EngineDragTorque { get; set; }
}
internal class ResponseGearShift : AbstractResponse
......
......@@ -224,10 +224,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
DragPower = CurrentState.FullDragTorque * avgEngineSpeed,
AuxiliariesPowerDemand = auxTorqueDemand * avgEngineSpeed,
EngineSpeed = angularVelocity,
EngineMaxTorqueOut =
VectoMath.Max(CurrentState.DynamicFullLoadTorque - auxTorqueDemand - CurrentState.InertiaTorqueLoss,
gearboxFullLoad ?? 0.SI<NewtonMeter>()),
EngineDragTorque = CurrentState.FullDragTorque - auxTorqueDemand - CurrentState.InertiaTorqueLoss,
Source = this,
};
}
......
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