diff --git a/VectoCore/VectoCore/InputData/Reader/ComponentData/IEPCMapReader.cs b/VectoCore/VectoCore/InputData/Reader/ComponentData/IEPCMapReader.cs index 14b1a9d009d5c5cb026ac29be874edccd8cff768..577617fae6160c24ce461a7f0189efc7ea853314 100644 --- a/VectoCore/VectoCore/InputData/Reader/ComponentData/IEPCMapReader.cs +++ b/VectoCore/VectoCore/InputData/Reader/ComponentData/IEPCMapReader.cs @@ -140,7 +140,7 @@ namespace TUGraz.VectoCore.InputData.Reader.ComponentData IList<EfficiencyMap.Entry> entries, ElectricMotorFullLoadCurve fullLoadCurve) { var clusterer = new MeanShiftClustering(); - var clusterTolerance = 1e-1; + var clusterTolerance = 50.RPMtoRad().Value(); var extrapolationfactor = Constants.PowerMapSettings.EfficiencyMapExtrapolationFactor; //ignore entries where speed is 0, added manually to speed bucket (clustering doesn't work because the distance is too small)