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

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

FullLoadCurve: Removed fallback to engine full load curve in gearbox in declaration mode

parent 305d400b
No related branches found
No related tags found
No related merge requests found
......@@ -191,7 +191,7 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdaper
retVal.Gears = gears.Select((gear, i) => {
var gearLossMap = TransmissionLossMap.Create(gear.LossMap, gear.Ratio, string.Format("Gear {0}", i + 1));
var gearFullLoad = gear.FullLoadCurve == null
? engine.FullLoadCurve
? null
: FullLoadCurveReader.Create(gear.FullLoadCurve, true);
var fullLoadCurve = IntersectFullLoadCurves(engine.FullLoadCurve, gearFullLoad);
......@@ -265,7 +265,6 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdaper
return retVal;
}
private void WarnDeclarationMode(string inputData)
{
Log.Warn("{0} not in Declaration Mode!", inputData);
......@@ -276,7 +275,6 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdaper
return SetCommonRetarderData(retarder, vehicle);
}
public static List<CrossWindCorrectionCurveReader.CrossWindCorrectionEntry> GetDeclarationAirResistanceCurve(
VehicleCategory vehicleCategory, SquareMeter aerodynamicDragAera)
{
......
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