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 7be049bf authored by Michael KRISPER's avatar Michael KRISPER
Browse files

PowertrainBuilder: Added AxlegearInputRetarder in BuildPWheel

parent ad0f229a
Branches
Tags
No related merge requests found
...@@ -121,6 +121,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl ...@@ -121,6 +121,7 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
/// <code> /// <code>
/// PWheelCycle /// PWheelCycle
/// └┬AxleGear /// └┬AxleGear
/// └┬(AxlegearInputRetarder)
/// └┬(Angledrive) /// └┬(Angledrive)
/// └┬(Transmission Output Retarder) /// └┬(Transmission Output Retarder)
/// └┬CycleGearbox /// └┬CycleGearbox
...@@ -140,8 +141,11 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl ...@@ -140,8 +141,11 @@ namespace TUGraz.VectoCore.Models.Simulation.Impl
var engine = new StopStartCombustionEngine(container, data.EngineData, pt1Disabled: true); var engine = new StopStartCombustionEngine(container, data.EngineData, pt1Disabled: true);
new PWheelCycle(container, data.Cycle) new PWheelCycle(container, data.Cycle)
.AddComponent(new AxleGear(container, data.AxleGearData)) .AddComponent(new AxleGear(container, data.AxleGearData))
.AddComponent(data.Retarder.Type == RetarderType.AxlegearInputRetarder ? new Retarder(container, data.Retarder.LossMap, data.Retarder.Ratio) : null)
.AddComponent(data.AngledriveData != null ? new Angledrive(container, data.AngledriveData) : null) .AddComponent(data.AngledriveData != null ? new Angledrive(container, data.AngledriveData) : null)
.AddComponent(new CycleGearbox(container, data), data.Retarder, container) .AddComponent(data.Retarder.Type == RetarderType.TransmissionOutputRetarder ? new Retarder(container, data.Retarder.LossMap, data.Retarder.Ratio) : null)
.AddComponent(new CycleGearbox(container, data), container)
.AddComponent(data.Retarder.Type == RetarderType.TransmissionInputRetarder ? new Retarder(container, data.Retarder.LossMap, data.Retarder.Ratio) : null)
.AddComponent(new Clutch(container, data.EngineData)) .AddComponent(new Clutch(container, data.EngineData))
.AddComponent(engine, GetIdleController(data.PTO, engine, container)) .AddComponent(engine, GetIdleController(data.PTO, engine, container))
.AddAuxiliaries(container, data); .AddAuxiliaries(container, data);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment