diff --git a/VectoCore/VectoCore/Models/SimulationComponent/Impl/CombustionEngine.cs b/VectoCore/VectoCore/Models/SimulationComponent/Impl/CombustionEngine.cs index 3511dfeedaed693a8442d97cb8f7d339e5368f32..610bdc57baa2c2479f122c0fa95fedccee3cc4ce 100644 --- a/VectoCore/VectoCore/Models/SimulationComponent/Impl/CombustionEngine.cs +++ b/VectoCore/VectoCore/Models/SimulationComponent/Impl/CombustionEngine.cs @@ -600,7 +600,7 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl }). Case<ResponseOverload>(r => { var angularSpeed = SearchAlgorithm.Search(nextAngularSpeed, r.Delta, - -Constants.SimulationSettings.EngineIdlingSearchInterval, + Constants.SimulationSettings.EngineIdlingSearchInterval, getYValue: result => ((ResponseDryRun)result).DeltaFullLoad, evaluateFunction: n => RequestPort.Request(absTime, dt, 0.SI<NewtonMeter>(), n, true), criterion: result => ((ResponseDryRun)result).DeltaFullLoad.Value()); diff --git a/VectoCore/VectoCore/Utils/XMLValidator.cs b/VectoCore/VectoCore/Utils/XMLValidator.cs index a7eb40631ec32ec5c7ba225e0baaf614b17bc1b2..76dcdfde63168ce6864f98df6e985eaea00e9359 100644 --- a/VectoCore/VectoCore/Utils/XMLValidator.cs +++ b/VectoCore/VectoCore/Utils/XMLValidator.cs @@ -79,7 +79,6 @@ namespace TUGraz.VectoCore.Utils } _doc.Schemas = GetXMLSchema(docType); - ?.InnerText; _doc.Validate(ValidationCallBack);