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

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

adapt testcases for AT gearbox tests

parent d0bd7310
No related branches found
No related tags found
No related merge requests found
......@@ -106,6 +106,7 @@ namespace TUGraz.VectoCore.Tests.Integration
? TransmissionLossMapReader.Create(gbxType == GearboxType.ATPowerSplit ? 1.0 : 0.98, ratio,
string.Format("Gear {0}", i))
: null,
TorqueConverterShiftPolygon = i == 0 ? ShiftPolygonReader.ReadFromFile(GearboxShiftPolygonFile) : null
}))
.ToDictionary(k => k.Item1 + 1, v => v.Item2),
ShiftTime = 1.SI<Second>(),
......
......@@ -169,6 +169,7 @@ namespace TUGraz.VectoCore.Tests.Models.SimulationComponent
public PerSecond EngineIdleSpeed { get; set; }
public PerSecond EngineRatedSpeed { get; set; }
public PerSecond EngineN95hSpeed { get; set; }
public PerSecond EngineN80hSpeed { get; set; }
protected override void DoWriteModalResults(IModalDataContainer container)
{
......
M_shift in Nm,n_down in rpm,n_up in rpm
-200,600,800
0,600,800
3000,600,800
engine torque [Nm],downshift rpm [1/min],upshift rpm [1/min]
-200,700,800
0,700,800
3000,700,800
......@@ -18,37 +18,37 @@
{
"Ratio": 3.4,
"Efficiency": "0.98",
"ShiftPolygon": "<NOFILE>",
"ShiftPolygon": "AT-Shift.vgbs",
"FullLoadCurve": "<NOFILE>"
},
{
"Ratio": 1.9,
"Efficiency": "0.98",
"ShiftPolygon": "<NOFILE>",
"ShiftPolygon": "AT-Shift.vgbs",
"FullLoadCurve": "<NOFILE>"
},
{
"Ratio": 1.42,
"Efficiency": "0.98",
"ShiftPolygon": "<NOFILE>",
"ShiftPolygon": "AT-Shift.vgbs",
"FullLoadCurve": "<NOFILE>"
},
{
"Ratio": 1.0,
"Efficiency": "0.98",
"ShiftPolygon": "<NOFILE>",
"ShiftPolygon": "AT-Shift.vgbs",
"FullLoadCurve": "<NOFILE>"
},
{
"Ratio": 0.7,
"Efficiency": "0.98",
"ShiftPolygon": "<NOFILE>",
"ShiftPolygon": "AT-Shift.vgbs",
"FullLoadCurve": "<NOFILE>"
},
{
"Ratio": 0.62,
"Efficiency": "0.98",
"ShiftPolygon": "<NOFILE>",
"ShiftPolygon": "AT-Shift.vgbs",
"FullLoadCurve": "<NOFILE>"
}
],
......@@ -64,7 +64,8 @@
"Enabled": true,
"File": "TorqueConverter.vtcc",
"RefRPM": 1000.0,
"Inertia": 0.0
"Inertia": 0.0,
"ShiftPolygon": "AT-Shift.vgbs"
},
"DownshiftAferUpshiftDelay": 0.0,
"UpshiftAfterDownshiftDelay": 0.0,
......
......@@ -126,6 +126,7 @@ namespace TUGraz.VectoCore.Tests.Utils
}
public PerSecond EngineN95hSpeed { get; set; }
public PerSecond EngineN80hSpeed { get; set; }
}
public class MockDrivingCycleOutPort : LoggingObject, IDrivingCycleOutPort
......
......@@ -92,6 +92,11 @@ namespace TUGraz.VectoCore.Tests.Utils
get { return Engine.EngineN95hSpeed; }
}
public PerSecond EngineN80hSpeed
{
get { return Engine.EngineN80hSpeed; }
}
public MeterPerSecond VehicleSpeed { get; set; }
public Kilogram VehicleMass { get; set; }
public Kilogram VehicleLoading { get; set; }
......
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