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 20a4a519 authored by Markus Quaritsch's avatar Markus Quaritsch
Browse files

introduce declaration constants for shift strategy parameters

parent 5f10f274
Branches
No related tags found
No related merge requests found
...@@ -218,9 +218,9 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdaper ...@@ -218,9 +218,9 @@ namespace TUGraz.VectoCore.InputData.Reader.DataObjectAdaper
}); });
}).ToDictionary(kv => kv.Key, kv => kv.Value); }).ToDictionary(kv => kv.Key, kv => kv.Value);
retVal.DownshiftAfterUpshiftDelay = 10.SI<Second>(); retVal.DownshiftAfterUpshiftDelay = DeclarationData.Gearbox.DownshiftAfterUpshiftDelay;
retVal.UpshiftAfterDownshiftDelay = 10.SI<Second>(); retVal.UpshiftAfterDownshiftDelay = DeclarationData.Gearbox.UpshiftAfterDownshiftDelay;
retVal.UpshiftMinAcceleration = 0.1.SI<MeterPerSquareSecond>(); retVal.UpshiftMinAcceleration = DeclarationData.Gearbox.UpshiftMinAcceleration;
return retVal; return retVal;
} }
......
...@@ -262,6 +262,9 @@ namespace TUGraz.VectoCore.Models.Declaration ...@@ -262,6 +262,9 @@ namespace TUGraz.VectoCore.Models.Declaration
private static double ShiftPolygonEngineFldMargin = 0.98; private static double ShiftPolygonEngineFldMargin = 0.98;
public static readonly Second MinTimeBetweenGearshifts = 2.SI<Second>(); public static readonly Second MinTimeBetweenGearshifts = 2.SI<Second>();
public static readonly Second DownshiftAfterUpshiftDelay = 10.SI<Second>();
public static readonly Second UpshiftAfterDownshiftDelay = 10.SI<Second>();
public static readonly MeterPerSquareSecond UpshiftMinAcceleration = 0.1.SI<MeterPerSquareSecond>();
/// <summary> /// <summary>
/// computes the shift polygons for a single gear according to the whitebook 2016 /// computes the shift polygons for a single gear according to the whitebook 2016
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment