diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/MaxCardanTorqueLookup.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/MaxCardanTorqueLookup.cs deleted file mode 100644 index aeb4302e2133dcc71061326587bf8ede374a9b04..0000000000000000000000000000000000000000 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/MaxCardanTorqueLookup.cs +++ /dev/null @@ -1,14 +0,0 @@ -using System.Collections.Generic; -using TUGraz.VectoCommon.Utils; - -namespace TUGraz.VectoCore.Models.SimulationComponent.Impl { - public class MaxCardanTorqueLookup - { - public Dictionary<uint, List<KeyValuePair<PerSecond, NewtonMeter>>> Data { protected get; set; } - - public NewtonMeter Lookup(uint gear, PerSecond engineSpeed) - { - return Data[gear].Interpolate(x => x.Key.Value(), y => y.Value, engineSpeed.Value()); - } - } -} \ No newline at end of file diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/MaxGradabilityLookup.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/MaxGradabilityLookup.cs deleted file mode 100644 index f89cc3c0246505e73047495966ad0006d6031c8f..0000000000000000000000000000000000000000 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/MaxGradabilityLookup.cs +++ /dev/null @@ -1,26 +0,0 @@ -using System; -using System.Collections.Generic; -using TUGraz.VectoCommon.Utils; - -namespace TUGraz.VectoCore.Models.SimulationComponent.Impl -{ - public class MaxGradabilityLookup - { - protected internal Dictionary<uint, Tuple<Radian, Radian>> _data; - - public Dictionary<uint, Tuple<Radian, Radian>> Data - { - set { _data = value; } - } - - public Radian GradabilityMaxTorque(uint gear) - { - return _data[gear].Item1; - } - - public Radian GradabilityLimitedTorque(uint gear) - { - return _data[gear].Item2; - } - } -} \ No newline at end of file