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

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

PTOIdleLossMap: Renamed PTOTorqueLoss to GetTorqueLoss

parent 1cfbc60a
No related branches found
No related tags found
No related merge requests found
......@@ -18,9 +18,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Data
/// <summary>
/// Calculates the pto torque loss.
/// </summary>
/// <param name="angularVelocity"></param>
/// <returns></returns>
public NewtonMeter PTOTorqueLoss(PerSecond angularVelocity)
public NewtonMeter GetTorqueLoss(PerSecond angularVelocity)
{
var s = _entries.GetSection(e => e.EngineSpeed < angularVelocity);
return VectoMath.Interpolate(s.Item1.EngineSpeed, s.Item2.EngineSpeed, s.Item1.PTOTorque, s.Item2.PTOTorque,
......
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