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

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

adding testcase generic Group 5 P2 Hybrid

parent 9c36104c
No related branches found
No related tags found
No related merge requests found
Showing
with 5340 additions and 0 deletions
......@@ -8,6 +8,7 @@ using TUGraz.VectoCommon.InputData;
using TUGraz.VectoCommon.Models;
using TUGraz.VectoCommon.Utils;
using TUGraz.VectoCore.Configuration;
using TUGraz.VectoCore.InputData.FileIO.JSON;
using TUGraz.VectoCore.InputData.Impl;
using TUGraz.VectoCore.InputData.Reader.ComponentData;
using TUGraz.VectoCore.InputData.Reader.ShiftStrategy;
......@@ -213,6 +214,49 @@ namespace TUGraz.VectoCore.Tests.Integration.Hybrid
GraphWriter.Write(modFilename);
}
[TestCase(0, TestName = "P2 Hybrid Group 5 DriveCycle LongHaul"),
TestCase(1, TestName = "P2 Hybrid Group 5 DriveCycle Coach"),
TestCase(2, TestName = "P2 Hybrid Group 5 DriveCycle Construction"),
TestCase(3, TestName = "P2 Hybrid Group 5 DriveCycle HeavyUrban"),
TestCase(4, TestName = "P2 Hybrid Group 5 DriveCycle Interurban"),
TestCase(5, TestName = "P2 Hybrid Group 5 DriveCycle MunicipalUtility"),
TestCase(6, TestName = "P2 Hybrid Group 5 DriveCycle RegionalDelivery"),
TestCase(7, TestName = "P2 Hybrid Group 5 DriveCycle Suburban"),
TestCase(8, TestName = "P2 Hybrid Group 5 DriveCycle Urban"),
TestCase(9, TestName = "P2 Hybrid Group 5 DriveCycle UrbanDelivery"),
]
public void P2HybridGroup5DriveCycle(int cycleIdx)
{
var inputProvider = JSONInputDataFactory.ReadJsonJob(@"TestData\Hybrids\GenericVehicle_Group5_P2\P2 Group 5.vecto");
var factory = new SimulatorFactory(ExecutionMode.Engineering, inputProvider, null) {
Validate = false
};
var sumContainer = new SummaryDataContainer(null);
var jobContainer = new JobContainer(sumContainer);
factory.SumData = sumContainer;
var run = factory.SimulationRuns().ToArray()[cycleIdx];
Assert.NotNull(run);
var pt = run.GetContainer();
Assert.NotNull(pt);
run.Run();
Assert.IsTrue(run.FinishedWithoutErrors);
//jobContainer.AddRuns(factory);
//jobContainer.Execute();
//jobContainer.WaitFinished();
//Assert.IsTrue(jobContainer.GetProgress().All(x => x.Value.Success));
}
[
TestCase(80, 0, TestName = "Conventional DriveOff 80km/h level"),
]
......
{
"Header": {
"CreatedBy": " ()",
"Date": "2016-10-13T08:54:28.7387223Z",
"AppVersion": "3",
"FileVersion": 1
},
"Body": {
"SavedInDeclMode": false,
"Model": "Generic Battery",
"InternalResistance": 0.04,
"SOC_min": 10,
"SOC_max": 90,
"MaxCurrentFactor": 5,
"Capacity": 324,
"SOC": [
[ 0, 673.5 ],
[ 10, 700.2 ],
[ 20, 715.4 ],
[ 30, 723.6 ],
[ 40, 727.7 ],
[ 50, 730.0 ],
[ 60, 731.6 ],
[ 70, 733.8 ],
[ 80, 737.1 ],
[ 90, 742.2 ],
[ 100, 750.2 ]
]
}
}
\ No newline at end of file
n [rpm] , T_drag [Nm]
0 , 6.06
7363.77 , 30.31
\ No newline at end of file
{
"Header": {
"CreatedBy": " ()",
"Date": "2016-10-13T08:54:28.7387223Z",
"AppVersion": "3",
"FileVersion": 1
},
"Body": {
"SavedInDeclMode": false,
"Model": "Generic Electric Motor",
"FullLoadCurve": "GenericEMotor_125kW_485Nm.vemp",
"DragCurve": "GenericDrag_125kW_485Nm.vemd",
"EfficiencyMap": "GenericMap_125kW_485Nm.vemo",
"Inertia" : 0.225
}
}
\ No newline at end of file
n [rpm] , T_drive [Nm] , T_drag [Nm]
0,485,-485
2461.158914,485,-485
2452.135493,485,-485
2466.863034,483.8845,-483.8845
2481.590574,481.010875,-481.010875
2496.318115,478.173625,-478.173625
2503.681885,476.767125,-476.767125
2577.319588,463.138625,-463.138625
2650.95729,450.274,-450.274
2724.594993,438.1005,-438.1005
2798.232695,426.58175,-426.58175
2871.870398,415.645,-415.645
2945.5081,405.253875,-405.253875
3019.145803,395.359875,-395.359875
3092.783505,385.950875,-385.950875
3166.421208,376.978375,-376.978375
3240.05891,368.406,-368.406
3313.696613,360.221625,-360.221625
3387.334315,352.388875,-352.388875
3460.972018,344.895625,-344.895625
3534.60972,337.7055,-337.7055
3608.247423,330.8185,-330.8185
3681.885125,324.19825,-324.19825
3755.522828,317.84475,-317.84475
3829.16053,311.73375,-311.73375
3902.798233,305.853125,-305.853125
3976.435935,300.178625,-300.178625
4050.073638,294.722375,-294.722375
4123.71134,289.460125,-289.460125
4197.349043,284.37975,-284.37975
4270.986745,279.48125,-279.48125
4344.624448,274.740375,-274.740375
4418.26215,270.16925,-270.16925
4491.899853,265.7315,-265.7315
4565.537555,261.451375,-261.451375
4639.175258,257.304625,-257.304625
4712.81296,253.279125,-253.279125
4786.450663,249.387,-249.387
4860.088365,245.604,-245.604
4933.726068,241.94225,-241.94225
5007.36377,238.3775,-238.3775
5081.001473,234.921875,-234.921875
5154.639175,231.575375,-231.575375
5228.276878,228.31375,-228.31375
5301.91458,225.137,-225.137
5375.552283,222.05725,-222.05725
5449.189985,219.05025,-219.05025
5522.827688,216.128125,-216.128125
5596.46539,213.290875,-213.290875
5670.103093,210.51425,-210.51425
5743.740795,207.8225,-207.8225
5817.378498,205.191375,-205.191375
5891.0162,202.620875,-202.620875
5964.653903,200.123125,-200.123125
6038.291605,197.686,-197.686
6111.929308,195.297375,-195.297375
6185.56701,192.969375,-192.969375
6259.204713,190.702,-190.702
6332.842415,188.483125,-188.483125
6406.480118,186.324875,-186.324875
6480.11782,184.203,-184.203
6553.755523,182.129625,-182.129625
6627.393225,180.10475,-180.10475
6701.030928,178.128375,-178.128375
6774.66863,176.2005,-176.2005
6848.306333,174.296875,-174.296875
6921.944035,172.44175,-172.44175
6995.581738,170.635125,-170.635125
7069.21944,168.85275,-168.85275
7142.857143,167.10675,-167.10675
7216.494845,165.40925,-165.40925
7290.132548,163.736,-163.736
7363.77025,162.099125,-162.099125
{
"Header": {
"CreatedBy": "",
"Date": "2020-08-24T13:47:26.1945484Z",
"AppVersion": "3",
"FileVersion": 1
},
"Body": {
"SavedInDeclMode": false,
"Model": "Generic Battery",
"Capacity": 14.0,
"SOC_min": 20.0,
"SOC_max": 80.0,
"MaxCurrentFactor": 20.0,
"InternalResistanceCurve": "GenericBattery_10kWh_658V.vbatr",
"SoCCurve": "GenericBattery_10kWh_658V.vbatv"
}
}
\ No newline at end of file
SoC, Ri
0, 0.12
100, 0.12
\ No newline at end of file
SOC, V
0, 590
10, 614
20, 626
30, 632
40, 638
50, 640
60, 640
70, 642
80, 646
90, 650
100, 658
\ No newline at end of file
n [rpm] , T_drag [Nm]
0 , -11.70
4268.63 , -58.50
\ No newline at end of file
{
"Header": {
"CreatedBy": " ()",
"Date": "2016-10-13T08:54:28.7387223Z",
"AppVersion": "3",
"FileVersion": 1
},
"Body": {
"SavedInDeclMode": false,
"Model": "Generic Electric Motor",
"FullLoadCurve": "GenericEMotor_140kW_936Nm.vemp",
"DragCurve": "GenericDrag_140kW_936Nm.vemd",
"EfficiencyMap": "GenericMap_140kW_936Nm.vemo",
"Inertia" : 0.5
}
}
\ No newline at end of file
n [rpm] , T_drive [Nm] , T_drag [Nm]
0,936,-936
1428.313592,936,-936
1423.076923,936,-936
1431.623932,933.8472,-933.8472
1440.17094,928.3014,-928.3014
1448.717949,922.8258,-922.8258
1452.991453,920.1114,-920.1114
1495.726496,893.8098,-893.8098
1538.461538,868.9824,-868.9824
1581.196581,845.4888,-845.4888
1623.931624,823.2588,-823.2588
1666.666667,802.152,-802.152
1709.401709,782.0982,-782.0982
1752.136752,763.0038,-763.0038
1794.871795,744.8454,-744.8454
1837.606838,727.5294,-727.5294
1880.34188,710.9856,-710.9856
1923.076923,695.1906,-695.1906
1965.811966,680.0742,-680.0742
2008.547009,665.613,-665.613
2051.282051,651.7368,-651.7368
2094.017094,638.4456,-638.4456
2136.752137,625.6692,-625.6692
2179.487179,613.4076,-613.4076
2222.222222,601.614,-601.614
2264.957265,590.265,-590.265
2307.692308,579.3138,-579.3138
2350.42735,568.7838,-568.7838
2393.162393,558.6282,-558.6282
2435.897436,548.8236,-548.8236
2478.632479,539.37,-539.37
2521.367521,530.2206,-530.2206
2564.102564,521.3988,-521.3988
2606.837607,512.8344,-512.8344
2649.57265,504.5742,-504.5742
2692.307692,496.5714,-496.5714
2735.042735,488.8026,-488.8026
2777.777778,481.2912,-481.2912
2820.512821,473.9904,-473.9904
2863.247863,466.9236,-466.9236
2905.982906,460.044,-460.044
2948.717949,453.375,-453.375
2991.452991,446.9166,-446.9166
3034.188034,440.622,-440.622
3076.923077,434.4912,-434.4912
3119.65812,428.5476,-428.5476
3162.393162,422.7444,-422.7444
3205.128205,417.105,-417.105
3247.863248,411.6294,-411.6294
3290.598291,406.2708,-406.2708
3333.333333,401.076,-401.076
3376.068376,395.9982,-395.9982
3418.803419,391.0374,-391.0374
3461.538462,386.217,-386.217
3504.273504,381.5136,-381.5136
3547.008547,376.9038,-376.9038
3589.74359,372.411,-372.411
3632.478632,368.0352,-368.0352
3675.213675,363.753,-363.753
3717.948718,359.5878,-359.5878
3760.683761,355.4928,-355.4928
3803.418803,351.4914,-351.4914
3846.153846,347.5836,-347.5836
3888.888889,343.7694,-343.7694
3931.623932,340.0488,-340.0488
3974.358974,336.375,-336.375
4017.094017,332.7948,-332.7948
4059.82906,329.3082,-329.3082
4102.564103,325.8684,-325.8684
4145.299145,322.4988,-322.4988
4188.034188,319.2228,-319.2228
4230.769231,315.9936,-315.9936
4273.504274,312.8346,-312.8346
{
"Header": {
"CreatedBy": "",
"Date": "2020-08-24T08:08:59.2231036Z",
"AppVersion": "3",
"FileVersion": 1
},
"Body": {
"EquivalenceFactor": 2.5,
"MinSoC": 20.0,
"MaxSoC": 80.0,
"TargetSoC": 50.0,
"AuxBufferTime": 5.0,
"AuxBufferChgTime": 5.0,
"MinICEOnTime": 10.0
}
}
\ No newline at end of file
{
"Header": {
"CreatedBy": "",
"Date": "2020-08-24T13:41:04.1591616Z",
"AppVersion": "3",
"FileVersion": 8
},
"Body": {
"SavedInDeclMode": false,
"EngineOnlyMode": false,
"VehicleFile": "Vehicle\\Group5_HEV.vveh",
"EngineFile": "VKM\\Engine_325kW_12.7l.veng",
"GearboxFile": "Transmission\\AMT_12.vgbx",
"TCU": "Transmission\\AMT_12.vgbx",
"ShiftStrategy": "TUGraz.VectoCore.Models.SimulationComponent.Impl.AMTShiftStrategy",
"HybridStrategyParams": "ElectricMotor\\Inputdaten P2 Group 5\\Electric components\\Hybrid_Parameters.vhctl",
"AuxiliaryAssembly": "Classic",
"AuxiliaryVersion": "CLASSIC",
"AdvancedAuxiliaryFilePath": "",
"Aux": [],
"Padd": 3000.0,
"Padd_electric": 0.0,
"VACC": "Vehicle\\Truck.vacc",
"EngineStopStartAtVehicleStopThreshold": 0.0,
"EngineStopStartMaxOffTimespan": 0.0,
"EngineStopStartUtilityFactor": 0.0,
"EcoRollMinSpeed": 0.0,
"EcoRollActivationDelay": 0.0,
"EcoRollUnderspeedThreshold": 0.0,
"EcoRollMaxAcceleration": 0.0,
"PCCEnableSpeed": 0.0,
"PCCMinSpeed": 0.0,
"PCCUnderspeed": 0.0,
"PCCOverSpeed": 5.0,
"PCCPreviewDistanceUC1": 0.0,
"PCCPreviewDistanceUC2": 0.0,
"LAC": {
"Enabled": true,
"PreviewDistanceFactor": 10.0,
"DF_offset": 2.5,
"DF_scaling": 1.5,
"DF_targetSpeedLookup": "",
"Df_velocityDropLookup": "",
"MinSpeed": 50.0
},
"OverSpeedEcoRoll": {
"Mode": "Overspeed",
"MinSpeed": 50.0,
"OverSpeed": 2.5
},
"Cycles": [
"LongHaul",
"Coach",
"Construction",
"HeavyUrban",
"Interurban",
"MunicipalUtility",
"RegionalDelivery",
"Suburban",
"Urban",
"UrbanDelivery"
]
}
}
\ No newline at end of file
{
"Header": {
"CreatedBy": "",
"Date": "2020-08-21T09:25:38.1210499Z",
"AppVersion": "3",
"FileVersion": 6
},
"Body": {
"SavedInDeclMode": false,
"ModelName": "tractor_12gear_example",
"Inertia": 0.0,
"TracInt": 1.0,
"Gears": [
{
"Ratio": 2.64,
"LossMap": "Axle_4x2_Tractor.vtlm"
},
{
"Ratio": 14.93,
"LossMap": "Gear_1.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 11.64,
"LossMap": "Gear_2.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 9.02,
"LossMap": "Gear_3.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 7.04,
"LossMap": "Gear_4.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 5.64,
"LossMap": "Gear_5.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 4.4,
"LossMap": "Gear_6.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 3.39,
"LossMap": "Gear_7.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 2.65,
"LossMap": "Gear_8.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 2.05,
"LossMap": "Gear_9.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 1.6,
"LossMap": "Gear_10.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 1.28,
"LossMap": "Gear_11.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
},
{
"Ratio": 1.0,
"LossMap": "Gear_12.vtlm",
"ShiftPolygon": "",
"MaxTorque": "",
"MaxSpeed": ""
}
],
"TqReserve": 20.0,
"ShiftTime": 2.0,
"StartTqReserve": 20.0,
"StartSpeed": 2.0,
"StartAcc": 0.6,
"GearboxType": "AMT",
"TorqueConverter": {
"Enabled": false
},
"DownshiftAfterUpshiftDelay": 6.0,
"UpshiftAfterDownshiftDelay": 10.0,
"UpshiftMinAcceleration": 0.1,
"PowershiftShiftTime": 0.8
}
}
\ No newline at end of file
Input Speed [rpm],Input Torque [Nm],Torque Loss [Nm]
0,-5478,220
0,-176,28
0,0,8
0,116,14
0,220,17
0,326,21
0,432,24
0,641,31
0,853,38
0,1274,53
0,1696,67
0,2117,82
0,2538,96
0,2959,110
0,3376,119
0,3785,123
0,4200,130
0,6309,204
0,8409,268
0,10507,332
0,12606,396
0,16804,523
0,21002,651
0,25199,778
0,29397,905
0,33594,1032
0,37792,1160
0,41990,1288
0,46187,1415
0,50385,1542
143,-5482,216
143,-174,28
143,0,9
143,116,14
143,222,17
143,326,21
143,432,24
143,641,31
143,853,38
143,1273,52
143,1694,66
143,2115,80
143,2536,94
143,2957,108
143,3372,116
143,3786,123
143,4200,130
143,6323,218
143,8427,287
143,10532,356
143,12635,425
143,16843,563
143,21052,701
143,25260,839
143,29467,977
143,33676,1115
143,37884,1253
143,42092,1391
143,46300,1529
143,50509,1667
285,-5496,202
285,-172,32
285,0,10
285,118,16
285,223,19
285,327,22
285,432,24
285,641,31
285,851,37
285,1271,50
285,1690,63
285,2110,75
285,2530,88
285,2950,101
285,3369,113
285,3780,117
285,4195,124
285,6305,200
285,8402,262
285,10499,324
285,12596,386
285,16791,510
285,20987,636
285,25181,760
285,29376,884
285,33570,1009
285,37765,1133
285,41960,1259
285,46154,1383
285,50350,1507
428,-5501,200
428,-167,35
428,0,12
428,119,17
428,224,21
428,328,23
428,433,26
428,643,31
428,851,37
428,1270,49
428,1689,61
428,2109,74
428,2529,87
428,2949,100
428,3365,109
428,3778,115
428,4191,121
428,6296,191
428,8390,251
428,10485,310
428,12579,369
428,16767,486
428,20955,604
428,25143,723
428,29332,841
428,33521,958
428,37708,1076
428,41897,1195
428,46084,1313
428,50273,1430
570,-5512,188
570,-167,37
570,0,13
570,121,19
570,224,21
570,328,23
570,433,26
570,641,31
570,850,36
570,1268,46
570,1685,58
570,2104,70
570,2523,81
570,2943,94
570,3363,107
570,3776,113
570,4189,118
570,6281,175
570,8369,230
570,10459,283
570,12547,336
570,16724,443
570,20901,550
570,25078,658
570,29255,764
570,33432,871
570,37611,979
570,41788,1086
570,45965,1192
570,50142,1299
713,-5517,181
713,-165,39
713,0,14
713,122,20
713,225,22
713,329,24
713,433,27
713,641,30
713,850,36
713,1267,45
713,1684,56
713,2102,67
713,2521,79
713,2939,90
713,3358,102
713,3775,111
713,4188,118
713,6272,166
713,8357,217
713,10442,267
713,12527,317
713,16697,416
713,20867,517
713,25039,617
713,29209,717
713,33379,818
713,37549,918
713,41719,1017
713,45890,1117
713,50060,1218
855,-5524,174
855,-162,42
855,0,15
855,122,21
855,226,22
855,329,24
855,434,27
855,641,31
855,849,35
855,1266,45
855,1683,55
855,2100,65
855,2518,77
855,2937,87
855,3355,99
855,3775,111
855,4188,117
855,6264,158
855,8346,205
855,10427,252
855,12509,299
855,16674,393
855,20838,487
855,25003,581
855,29167,675
855,33330,769
855,37495,863
855,41659,957
855,45823,1051
855,49988,1145
998,-5526,172
998,-160,44
998,0,16
998,123,22
998,227,23
998,331,26
998,435,28
998,641,31
998,850,36
998,1266,45
998,1682,55
998,2100,64
998,2517,74
998,2935,86
998,3354,97
998,3772,109
998,4185,115
998,6258,153
998,8338,197
998,10418,242
998,12498,288
998,16658,377
998,20817,466
998,24977,556
998,29137,645
998,33297,735
998,37456,825
998,41616,914
998,45776,1003
998,49936,1093
1140,-5529,169
1140,-158,46
1140,0,18
1140,125,23
1140,229,24
1140,332,27
1140,436,29
1140,643,32
1140,851,37
1140,1267,45
1140,1683,55
1140,2100,64
1140,2516,74
1140,2934,85
1140,3352,96
1140,3771,108
1140,4183,114
1283,-5529,169
1283,-155,49
1283,0,19
1283,126,24
1283,230,26
1283,333,28
1283,437,30
1283,644,34
1283,853,38
1283,1267,46
1283,1683,55
1283,2098,64
1283,2516,74
1283,2934,85
1283,3351,95
1283,3764,101
1425,-5531,167
1425,-153,51
1425,0,20
1425,128,26
1425,231,27
1425,336,30
1425,436,29
1425,646,36
1425,853,38
1425,1268,46
1425,1683,55
1425,2098,63
1425,2516,73
1425,2932,84
1425,3345,89
1568,-5538,160
1568,-148,56
1568,0,21
1568,129,28
1568,232,29
1568,336,31
1568,440,32
1568,647,37
1568,854,41
1568,1269,48
1568,1684,57
1568,2101,65
1568,2517,74
1568,2929,80
1853,-5540,158
1853,-144,60
1853,0,24
1853,132,30
1853,234,31
1853,340,34
1853,442,35
1853,650,38
1853,856,42
1853,1269,49
1853,1684,57
1853,2098,64
1853,2515,73
1853,2928,79
Retarder Speed [1/min],Torque Loss [Nm]
0,10
100,10
200,10.1
300,10.2
400,10.3
500,10.5
600,10.7
700,11
800,11.3
900,11.6
1000,12
1100,12.4
1200,12.9
1300,13.4
1400,13.9
1500,14.5
1600,15.1
1700,15.8
1800,16.5
1900,17.2
2000,18
2100,18.8
2200,19.7
2300,20.6
2400,21.5
2500,22.5
2600,23.5
2700,24.6
2800,25.7
2900,26.8
3000,28
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