diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/TorqueConverter.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/TorqueConverter.cs index fbca2c4d51a3b7f4f5986ffac1ab038897342df2..e26ffc6ceb3ef9f70d85658acd4b8d8e5394e0a2 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/TorqueConverter.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/TorqueConverter.cs @@ -271,6 +271,9 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl absTime, dt, outAngularVelocity, engineSpeed, x => x.DeltaFullLoad.IsSmaller(0), x => VectoMath.Abs(DataBus.EngineSpeed - x.EngineSpeed).Value()); + if (tqOperatingPoint == null) { + return null; + } tqOperatingPoint.Creeping = true; return tqOperatingPoint; }