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 b1bbe00f authored by Stefanos Doumpoulakis's avatar Stefanos Doumpoulakis
Browse files

bugfix/issue-61: Pwheel cycle for single-speed IEPC

parent 3a8d8bb1
No related branches found
No related tags found
No related merge requests found
Pipeline #69286 failed
Showing
with 10113 additions and 6 deletions
......@@ -146,9 +146,6 @@ namespace TUGraz.VectoCore.Models.SimulationComponent.Impl
if (nextGear.Gear == 0) {
return false;
}
if (ModelData.Gears[2].HasTorqueConverter) {
return nextGear.TorqueConverterLocked.HasValue && nextGear.TorqueConverterLocked.Value; // || nextGear.Gear == 2;
}
return nextGear.TorqueConverterLocked.HasValue && nextGear.TorqueConverterLocked.Value;
}
......
......@@ -22,6 +22,7 @@ namespace TUGraz.VectoCore.Tests.Integration.BatteryElectric
private const string IEPC3X_AXLE_JOB = @"TestData/Integration/TimeRun/MeasuredSpeed/GenericIEPC/IEPC_Gbx3Speed+Axle/IEPC_ENG_Gbx3Axl.vecto";
private const string IEPC3X_WHEEL1_JOB = @"TestData/Integration/TimeRun/MeasuredSpeed/GenericIEPC/IEPC_Gbx3Speed-Whl1/IEPC_ENG_Gbx3Whl1.vecto";
private const string IEPC3X_WHEEL2_JOB = @"TestData/Integration/TimeRun/MeasuredSpeed/GenericIEPC/IEPC_Gbx3Speed-Whl2\IEPC_ENG_Gbx3Whl2.vecto";
private const string IEPC1X_WHEEL1_JOB = @"TestData/Integration/TimeRun/MeasuredSpeed/GenericIEPC/IEPC_Gbx1Speed-Whl1/IEPC_ENG_Gbx1Whl1.vecto";
[OneTimeSetUp]
public void Init()
......@@ -106,7 +107,9 @@ namespace TUGraz.VectoCore.Tests.Integration.BatteryElectric
TestCase(IEPC3X_WHEEL2_JOB, 9, 0, 1.8934, 86.4688, TestName = "IEPC3X_WHEEL2 BEV TimeRun PWheel LongHaul"),
TestCase(IEPC3X_WHEEL2_JOB, 10, 1, 6.2217, 83.8133, TestName = "IEPC3X_WHEEL2 BEV TimeRun PWheel RegionalDelivery"),
TestCase(IEPC3X_WHEEL2_JOB, 11, 2, 39.1629, 92.7617, TestName = "IEPC3X_WHEEL2 BEV TimeRun PWheel UrbanDelivery")
TestCase(IEPC3X_WHEEL2_JOB, 11, 2, 39.1629, 92.7617, TestName = "IEPC3X_WHEEL2 BEV TimeRun PWheel UrbanDelivery"),
TestCase(IEPC1X_WHEEL1_JOB, 0, 0, 1.6654, 105.9877, TestName = "IEPC1X_WHEEL1 BEV TimeRun PWheel LongHaul")
]
public void TestBEVTimeRunCycle(string jobFile, int cycleIdx, int distanceCycleIdx, double charge, double discharge)
{
......@@ -178,9 +181,9 @@ namespace TUGraz.VectoCore.Tests.Integration.BatteryElectric
Assert.IsTrue(run.FinishedWithoutErrors);
string distanceSumPath = Path.Combine(Path.GetDirectoryName(jobFile), "distance.vsum");
TestContext.WriteLine($"Comparing with results from {distanceSumPath}");
AssertHelper.ReportDeviations(distanceSumPath, distanceCycleIdx, factory, metrics);
AssertHelper.AssertMetrics(factory, metrics);
......@@ -205,6 +208,7 @@ namespace TUGraz.VectoCore.Tests.Integration.BatteryElectric
string distanceSumPath = Path.Combine(Path.GetDirectoryName(jobFile), "distance.vsum");
TestContext.WriteLine($"Comparing with results from {distanceSumPath}");
const int DISTANCE_RUN_START_POSITION = 3;
AssertHelper.ReadMetricsFromVSum(distanceSumPath, cycleIdx - DISTANCE_RUN_START_POSITION, metrics);
......
{
"Header": {
"CreatedBy": " ()",
"Date": "2016-10-13T08:54:28.7387223Z",
"AppVersion": "3",
"FileVersion": 1
},
"Body": {
"SavedInDeclMode": false,
"Model": "Generic IEPC",
"Inertia": 0.5,
"DifferentialIncluded": false,
"DesignTypeWheelMotor": true,
"NrOfDesignTypeWheelMotorMeasured": 1,
"ThermalOverloadRecoveryFactor": 0.9,
"Gears": [
{
"Ratio": 12.276
}
],
"VoltageLevels": [
{
"Voltage": 500,
"ContinuousTorque": 6930.29,
"ContinuousTorqueSpeed": 166.99,
"OverloadTorque": 8258.60,
"OverloadTorqueSpeed": 166.01,
"OverloadTime": 312,
"FullLoadCurve": "IEPC_Gbx1Whl1_FLD_min.viepcp",
"PowerMaps": {
"1": "IEPC_Gbx1Whl1.viepco"
}
},
{
"Voltage": 900,
"ContinuousTorque": 7507.82,
"ContinuousTorqueSpeed": 168.62,
"OverloadTorque": 8662.87,
"OverloadTorqueSpeed": 170.17,
"OverloadTime": 345,
"FullLoadCurve": "IEPC_Gbx1Whl1_FLD_max.viepcp",
"PowerMaps": {
"1": "IEPC_Gbx1Whl1.viepco"
}
}
],
"DragCurves": {
"1": "IEPC_Gbx1Whl1_drag.viepcd"
}
}
}
\ No newline at end of file
{
"Header": {
"CreatedBy": "",
"Date": "2017-07-13T14:14:29.3226830Z",
"AppVersion": "3",
"FileVersion": 11
},
"Body": {
"SavedInDeclMode": false,
"VehCat": "RigidTruck",
"LegislativeClass": "Unknown",
"CurbWeight": 4670.0,
"CurbWeightExtra": 1900.0,
"Loading": 3020.0,
"MassMax": 11.99,
"rdyn": 421.0,
"PowertrainConfiguration": "IEPC",
"CdCorrMode": "CdofVdecl",
"CdCorrFile": "",
"IEPC": "GenericIEPC_Gbx1Whl1.viepc",
"Batteries": [
{
"NumPacks": 1,
"BatteryFile": "../Common/GenericBattery_243kWh_750V.vbat",
"StreamId": 0
},
{
"NumPacks": 1,
"BatteryFile": "../Common/GenericBattery_243kWh_750V.vbat",
"StreamId": 1
}
],
"InitialSoC": 80,
"TorqueLimits": {},
"IdlingSpeed": 0.0,
"AxleConfig": {
"Type": "4x2",
"Axles": [
{
"Inertia": 6.5,
"Wheels": "265/70 R19.5",
"AxleWeightShare": 0.2,
"TwinTyres": false,
"RRCISO": 0.0065,
"FzISO": 20850.0,
"Type": "VehicleNonDriven"
},
{
"Inertia": 6.5,
"Wheels": "265/70 R19.5",
"AxleWeightShare": 0.3,
"TwinTyres": true,
"RRCISO": 0.0075,
"FzISO": 20850.0,
"Type": "VehicleDriven"
},
{
"Inertia": 4.5,
"Wheels": "235/75 R17.5",
"AxleWeightShare": 0.25,
"TwinTyres": false,
"RRCISO": 0.0055,
"FzISO": 16680.0,
"Type": "VehicleNonDriven"
},
{
"Inertia": 4.5,
"Wheels": "235/75 R17.5",
"AxleWeightShare": 0.25,
"TwinTyres": false,
"RRCISO": 0.0055,
"FzISO": 16680.0,
"Type": "VehicleNonDriven"
}
]
},
"EngineStopStart": true,
"EcoRoll": "None",
"PredictiveCruiseControl": "None",
"ATEcoRollReleaseLockupClutch": false,
"CdA": 4.83,
"VehicleHeight": 3.0
}
}
\ No newline at end of file
{
"Header": {
"CreatedBy": " ()",
"Date": "2016-10-13T08:55:18.2100810Z",
"AppVersion": "3",
"FileVersion": 12
},
"Body": {
"SavedInDeclMode": false,
"EngineOnlyMode": false,
"VehicleFile": "IEPCVehicle_Gbx1Whl1.vveh",
"GearboxFile": "",
"TCU": "../Common/ShiftParameters.vtcu",
"Padd_electric": 0.0,
"VACC": "../Common/Truck.vacc",
"LAC": {
"Enabled": true,
"PreviewDistanceFactor": 10.0,
"DF_offset": 2.5,
"DF_scaling": 1.5,
"DF_targetSpeedLookup": "",
"Df_velocityDropLookup": ""
},
"OverSpeedEcoRoll": {
"Mode": "Off",
"MinSpeed": 50.0,
"OverSpeed": 5.0,
"UnderSpeed": 5.0
},
"Cycles": [
"LongHaul"
]
}
}
\ No newline at end of file
n_out , T_drive_out , T_recuperation_out
0.00 , 8662.87 , -9785.31
3.34 , 8662.87 , -9785.31
33.72 , 8662.87 , -9785.31
67.45 , 8662.87 , -9785.31
101.09 , 8662.87 , -9785.31
134.82 , 8662.87 , -9785.31
168.54 , 8662.87 , -9785.31
202.26 , 7219.06 , -8154.43
235.99 , 6187.71 , -6989.45
269.63 , 5414.29 , -6115.82
303.36 , 4812.74 , -5436.33
337.08 , 4331.43 , -4892.66
370.80 , 3937.68 , -4447.88
404.53 , 3609.53 , -4077.21
438.17 , 3331.85 , -3763.56
471.90 , 3093.91 , -3494.79
505.62 , 2887.62 , -3261.77
539.35 , 2707.20 , -3057.98
573.07 , 2547.92 , -2878.06
606.71 , 2406.31 , -2718.10
640.44 , 2279.72 , -2575.10
674.16 , 2165.72 , -2446.33
n_out , T_drive_out , T_recuperation_out
0.00 , 8662.87 , -9785.31
3.34 , 8662.87 , -9785.31
33.72 , 8662.87 , -9785.31
67.45 , 8662.87 , -9785.31
101.09 , 8662.87 , -9785.31
134.82 , 8662.87 , -9785.31
168.54 , 8662.87 , -9785.31
202.26 , 7219.06 , -8154.43
235.99 , 6187.71 , -6989.45
269.63 , 5414.29 , -6115.82
303.36 , 4812.74 , -5436.33
337.08 , 4331.43 , -4892.66
370.80 , 3937.68 , -4447.88
404.53 , 3609.53 , -4077.21
438.17 , 3331.85 , -3763.56
471.90 , 3093.91 , -3494.79
505.62 , 2887.62 , -3261.77
539.35 , 2707.20 , -3057.98
573.07 , 2547.92 , -2878.06
606.71 , 2406.31 , -2718.10
640.44 , 2279.72 , -2575.10
674.16 , 2165.72 , -2446.33
n_out , T_drag_out
0.00 , -18.72
3.37 , -19.31
33.71 , -24.79
67.42 , -30.86
101.12 , -36.92
134.83 , -43.06
168.54 , -49.12
202.25 , -55.19
235.96 , -61.26
269.67 , -67.32
303.37 , -73.46
337.08 , -79.52
370.79 , -85.59
404.50 , -91.66
438.21 , -97.72
471.92 , -103.85
505.62 , -109.92
539.33 , -115.99
573.04 , -122.06
606.75 , -128.12
640.46 , -134.25
674.17 , -140.32
# VECTO-DEV 4.0.0.3105-DEV - 03.07.2023 17:34
Job [-],Input File [-],Cycle [-],Status,Vehicle manufacturer [-],VIN number,Vehicle model [-],HDV CO2 vehicle class [-],Corrected Actual Curb Mass [kg],Loading [kg],Total vehicle mass [kg],Engine manufacturer [-],Engine model [-],Engine fuel type [-],Engine rated power [kW],Engine idling speed [rpm],Engine rated speed [rpm],Engine displacement [ccm],Engine WHTCUrban,Engine WHTCRural,Engine WHTCMotorway,Engine BFColdHot,Engine CFRegPer,Engine actual CF,Vehicle fuel type [-],AirDrag model [-],Declared CdxA [m²],CdxA [m²],Sleeper cab [-],Declared RRC axle 1 [-],Declared FzISO axle 1 [N],Declared RRC axle 2 [-],Declared FzISO axle 2 [N],Declared RRC axle 3 [-],Declared FzISO axle 3 [N],Declared RRC axle 4 [-],Declared FzISO axle 4 [N],total RRC [-],weighted RRC w/o trailer [-],r_dyn [m],Number axles vehicle driven [-],Number axles vehicle non-driven [-],Number axles trailer [-],Gearbox manufacturer [-],Gearbox model [-],Gearbox type [-],Gear ratio first gear [-],Gear ratio last gear [-],Torque converter manufacturer [-],Torque converter model [-],Retarder manufacturer [-],Retarder model [-],Retarder type [-],Angledrive manufacturer [-],Angledrive model [-],Angledrive ratio [-],Axle manufacturer [-],Axle model [-],Axle gear ratio [-],Auxiliary technology STP [-],Auxiliary technology FAN [-],Auxiliary technology AC [-],Auxiliary technology PS [-],Auxiliary technology ES [-],ShiftStrategy,ADAS technology combination [-],PTOShaftsGearWheels,REESS Capacity,Cargo Volume [m³],time [s],distance [km],speed [km/h],altitudeDelta [m],P_wheel_in [kW],P_wheel_in_pos [kW],E_powertrain_inertia [kWh],EC_el_SoC [kWh],EC_el_SoC_corr [kWh],EC_el_final [kWh],EC_el_final [kWh/km],EC_el_final [kWh/tkm],EC_el_final [g/m³km],n_IEPC-em_avg [rpm],E_IEPC_drive [kWh],E_IEPC_gen [kWh],η_IEPC_drive,η_IEPC_gen,E_IEPC_off_loss [kWh],E_IEPC_loss [kWh],IEPC off time share [%],REESS Start SoC [%],REESS End SoC [%],ΔE_REESS [kWh],REESS Min SoC [%],REESS Max SoC [%],E_REESS_loss [kWh],E_REESS_T_chg [kWh],E_REESS_T_dischg [kWh],E_REESS_int_chg [kWh],E_REESS_int_dischg [kWh],E_aux_sum [kWh],E_aux_sum_el [kWh],E_brake [kWh],E_vehi_inertia [kWh],E_air [kWh],E_roll [kWh],E_grad [kWh],a [m/s^2],a_pos [m/s^2],a_neg [m/s^2],AccelerationTimeShare [%],DecelerationTimeShare [%],CruiseTimeShare [%],max. speed [km/h],max. acc [m/s²],max. dec [m/s²],StopTimeShare [%],CoastingTimeShare [%],BrakingTimeShare [%],a_avg_acc,Engine certification number,Torque converter certification option,TorqueConverter certification number,Gearbox certification option,Gearbox certification number,Retarder certification option,Retarder certification number,Angledrive certification option,Angledrive certification number,Axlegear certification method,Axlegear certification number,AirDrag certification number,AirDrag certification option,Gear 0 TimeShare [%],Gear 1 TimeShare [%]
1-0-,IEPC_ENG_Gbx1Whl1,LongHaul.vdri,Success,N/A,N/A,N/A,-,4670.0000,3020.0000,9590.0000,N/A,N/A,,,,,,,,,,,,,N/A,,4.8300,-,0.0065,20850.0000,0.0075,20850.0000,0.0055,16680.0000,0.0055,16680.0000,0.00676321944367285,0.00676321944367285,0.4210,1,3,0,N/A,N/A,APT-N,12.2760,12.2760,N/A,N/A,N/A,N/A,Included in Transmission Loss Maps,N/A,N/A,,N/A,N/A,,,,,,,,,None,648 Ah,,4504.5490,100.1850,80.0671,-1.8207,54.9971,57.0229,,104.7485,104.7485,104.9950,1.0480,0.3470,,6192.9498,71.3506,2.4763,0.6745,0.6432,-0.0585,35.5064,2.0720,80,57.9719621427857,-104.7485,57.8809007264351,80,0.4262,1.6654,105.9877,1.6622,106.4107,,0.0000,0.0000,0.0000,51.1648,17.6990,-0.0479,0.0000,0.6533,-0.6162,3.1352,3.1967,92.1808,85.0000,1.0000,1.0000,1.4874,0.5846,2.7429,0.6442,N/A,,,Standard values,,,,,,N/A,,N/A,NOT CERTIFIED,0.0000,100.0000
#@ SHA256: mKT4H/mNKX9gbyxlXV571JLAJyH+HFQ1DqiWckPWwwE=
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment