Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit b2c344a3 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

rewrote TODO for gearbox overload constant value

parent d0d52ca5
No related branches found
No related tags found
No related merge requests found
......@@ -98,6 +98,8 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdaper
retarder.Ratio = 1;
break;
default:
// ReSharper disable once NotResolvedInText
// ReSharper disable once LocalizableElement
throw new ArgumentOutOfRangeException("retarder.Type", "RetarderType unknown");
}
......@@ -164,7 +166,7 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdaper
if (gearCurve == null) {
return engineCurve;
}
// TODO mk-2016-04-18: also combine the curves at the intersection-points of line segments!
// TODO mk-2016-04-18: refactor when new gearbox full load is implemented: gearbox will then only have 1 constant value as full load.
var entries =
gearCurve.FullLoadEntries.Concat(engineCurve.FullLoadEntries)
.OrderBy(x => x.EngineSpeed)
......
......@@ -304,7 +304,7 @@ namespace TUGraz.VectoCore.Tests.Integration.SimulationRuns
Gears = ratios.Select((ratio, i) =>
Tuple.Create((uint)i,
new GearData {
// TODO mk-2016-05-09: add realistic FullLoadCurve for gearbox
// TODO mk-2016-05-09: add realistic FullLoadCurve for gearbox - gearbox will have only 1 constant value as full load
FullLoadCurve = FullLoadCurveReader.ReadFromFile(GearboxFullLoadCurveFile),
LossMap = TransmissionLossMap.ReadFromFile(GearboxLossMap, ratio, string.Format("Gear {0}", i)),
Ratio = ratio,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment