diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/VelocitySpeedGearshiftPreprocessor.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/VelocitySpeedGearshiftPreprocessor.cs index 5be874c09e5cc838686bdd623d9bbb26bd75b749..03fb6648e233379500a2e8a419192c62b33d9d2b 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/VelocitySpeedGearshiftPreprocessor.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/VelocitySpeedGearshiftPreprocessor.cs @@ -106,13 +106,9 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl gearbox.EngageTime = 100.SI<Second>(); gearbox._nextGear = gearForSpeed; - try { - var vehicleSpeed = SimulateRollingVehicle(vehicle, gradient, container); - tmp.Add(new Entry { StartVelocity = speed, Gradient = gradient, EndVelocity = vehicleSpeed }); - } catch (Exception e) { - throw new VectoException($"Exception during PreProcessing for gradient {gradient:F2}: {e.Message}", e); - } + var vehicleSpeed = SimulateRollingVehicle(vehicle, gradient, container); modData?.Reset(); + tmp.Add(new Entry { StartVelocity = speed, Gradient = gradient, EndVelocity = vehicleSpeed }); } }