Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit b3769e28 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

compute vehicleline correction in lation thread (sum-data and report...

compute vehicleline correction in lation thread (sum-data and report afterwards are synchronized and thus a bottleneck)
parent 505a7ad8
No related branches found
No related tags found
No related merge requests found
......@@ -136,6 +136,10 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
Container.AbsTime = AbsTime;
}
} while (response is ResponseSuccess);
foreach (var fuel in GetContainer().RunData.EngineData.Fuels) {
// calculate vehicleline correction here in local thread context because writing sum-data and report afterwards is synchronized
var cf = GetContainer().ModalData.VehicleLineCorrectionFactor(fuel.FuelData);
}
} catch (VectoSimulationException vse) {
Log.Error("SIMULATION RUN ABORTED! ========================");
Log.Error(vse);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment