Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS will be completely phased out by mid-2025. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit 1d707b46 authored by Michael KRISPER's avatar Michael KRISPER
Browse files

removed CdA2 field for air drag

parent a8c4182b
No related branches found
No related tags found
No related merge requests found
......@@ -103,10 +103,6 @@ Partial Class F_VEH
Me.PnLoad = New System.Windows.Forms.Panel()
Me.GrAirRes = New System.Windows.Forms.GroupBox()
Me.PnCdATrTr = New System.Windows.Forms.Panel()
Me.LbCdATr = New System.Windows.Forms.Label()
Me.PnCdARig = New System.Windows.Forms.Panel()
Me.LbCdARig = New System.Windows.Forms.Label()
Me.TBcdA2 = New System.Windows.Forms.TextBox()
Me.Label38 = New System.Windows.Forms.Label()
Me.PictureBox1 = New System.Windows.Forms.PictureBox()
Me.CmOpenFile = New System.Windows.Forms.ContextMenuStrip(Me.components)
......@@ -126,7 +122,6 @@ Partial Class F_VEH
Me.PnLoad.SuspendLayout()
Me.GrAirRes.SuspendLayout()
Me.PnCdATrTr.SuspendLayout()
Me.PnCdARig.SuspendLayout()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).BeginInit()
Me.CmOpenFile.SuspendLayout()
Me.PnAll.SuspendLayout()
......@@ -168,7 +163,7 @@ Partial Class F_VEH
'Label3
'
Me.Label3.AutoSize = True
Me.Label3.Location = New System.Drawing.Point(36, 52)
Me.Label3.Location = New System.Drawing.Point(3, 6)
Me.Label3.Name = "Label3"
Me.Label3.Size = New System.Drawing.Size(37, 13)
Me.Label3.TabIndex = 8
......@@ -176,9 +171,7 @@ Partial Class F_VEH
'
'TBcdA
'
Me.TBcdA.Anchor = CType(((System.Windows.Forms.AnchorStyles.Top Or System.Windows.Forms.AnchorStyles.Left) _
Or System.Windows.Forms.AnchorStyles.Right), System.Windows.Forms.AnchorStyles)
Me.TBcdA.Location = New System.Drawing.Point(2, 24)
Me.TBcdA.Location = New System.Drawing.Point(46, 3)
Me.TBcdA.Name = "TBcdA"
Me.TBcdA.Size = New System.Drawing.Size(57, 20)
Me.TBcdA.TabIndex = 0
......@@ -743,9 +736,6 @@ Partial Class F_VEH
'GrAirRes
'
Me.GrAirRes.Controls.Add(Me.PnCdATrTr)
Me.GrAirRes.Controls.Add(Me.PnCdARig)
Me.GrAirRes.Controls.Add(Me.Label3)
Me.GrAirRes.Controls.Add(Me.Label38)
Me.GrAirRes.Location = New System.Drawing.Point(278, 3)
Me.GrAirRes.Name = "GrAirRes"
Me.GrAirRes.Size = New System.Drawing.Size(266, 124)
......@@ -755,51 +745,19 @@ Partial Class F_VEH
'
'PnCdATrTr
'
Me.PnCdATrTr.Controls.Add(Me.LbCdATr)
Me.PnCdATrTr.Controls.Add(Me.TBcdA)
Me.PnCdATrTr.Location = New System.Drawing.Point(79, 25)
Me.PnCdATrTr.Controls.Add(Me.Label38)
Me.PnCdATrTr.Controls.Add(Me.Label3)
Me.PnCdATrTr.Dock = System.Windows.Forms.DockStyle.Fill
Me.PnCdATrTr.Location = New System.Drawing.Point(3, 16)
Me.PnCdATrTr.Name = "PnCdATrTr"
Me.PnCdATrTr.Size = New System.Drawing.Size(64, 78)
Me.PnCdATrTr.Size = New System.Drawing.Size(260, 105)
Me.PnCdATrTr.TabIndex = 0
'
'LbCdATr
'
Me.LbCdATr.AutoSize = True
Me.LbCdATr.Location = New System.Drawing.Point(3, 3)
Me.LbCdATr.Name = "LbCdATr"
Me.LbCdATr.Size = New System.Drawing.Size(58, 13)
Me.LbCdATr.TabIndex = 25
Me.LbCdATr.Text = "Tr && Trailer"
'
'PnCdARig
'
Me.PnCdARig.Controls.Add(Me.LbCdARig)
Me.PnCdARig.Controls.Add(Me.TBcdA2)
Me.PnCdARig.Location = New System.Drawing.Point(146, 25)
Me.PnCdARig.Name = "PnCdARig"
Me.PnCdARig.Size = New System.Drawing.Size(64, 78)
Me.PnCdARig.TabIndex = 1
'
'LbCdARig
'
Me.LbCdARig.AutoSize = True
Me.LbCdARig.Location = New System.Drawing.Point(10, 3)
Me.LbCdARig.Name = "LbCdARig"
Me.LbCdARig.Size = New System.Drawing.Size(31, 13)
Me.LbCdARig.TabIndex = 25
Me.LbCdARig.Text = "Rigid"
'
'TBcdA2
'
Me.TBcdA2.Location = New System.Drawing.Point(3, 24)
Me.TBcdA2.Name = "TBcdA2"
Me.TBcdA2.Size = New System.Drawing.Size(57, 20)
Me.TBcdA2.TabIndex = 0
'
'Label38
'
Me.Label38.AutoSize = True
Me.Label38.Location = New System.Drawing.Point(212, 52)
Me.Label38.Location = New System.Drawing.Point(109, 6)
Me.Label38.Name = "Label38"
Me.Label38.Size = New System.Drawing.Size(24, 13)
Me.Label38.TabIndex = 24
......@@ -910,11 +868,8 @@ Partial Class F_VEH
Me.PnLoad.ResumeLayout(False)
Me.PnLoad.PerformLayout()
Me.GrAirRes.ResumeLayout(False)
Me.GrAirRes.PerformLayout()
Me.PnCdATrTr.ResumeLayout(False)
Me.PnCdATrTr.PerformLayout()
Me.PnCdARig.ResumeLayout(False)
Me.PnCdARig.PerformLayout()
CType(Me.PictureBox1, System.ComponentModel.ISupportInitialize).EndInit()
Me.CmOpenFile.ResumeLayout(False)
Me.PnAll.ResumeLayout(False)
......@@ -989,19 +944,15 @@ Partial Class F_VEH
Friend WithEvents ColumnHeader1 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader2 As System.Windows.Forms.ColumnHeader
Friend WithEvents PnLoad As System.Windows.Forms.Panel
Friend WithEvents LbCdARig As System.Windows.Forms.Label
Friend WithEvents LbCdATr As System.Windows.Forms.Label
Friend WithEvents TBcdA2 As System.Windows.Forms.TextBox
Friend WithEvents PnCdARig As System.Windows.Forms.Panel
Friend WithEvents PnAll As System.Windows.Forms.Panel
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents ColumnHeader3 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader4 As System.Windows.Forms.ColumnHeader
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents CbRim As System.Windows.Forms.ComboBox
Friend WithEvents PnWheelDiam As System.Windows.Forms.Panel
Friend WithEvents PicVehicle As System.Windows.Forms.PictureBox
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents PnAll As System.Windows.Forms.Panel
Friend WithEvents Label6 As System.Windows.Forms.Label
Friend WithEvents ColumnHeader3 As System.Windows.Forms.ColumnHeader
Friend WithEvents ColumnHeader4 As System.Windows.Forms.ColumnHeader
Friend WithEvents Label7 As System.Windows.Forms.Label
Friend WithEvents CbRim As System.Windows.Forms.ComboBox
Friend WithEvents PnWheelDiam As System.Windows.Forms.Panel
Friend WithEvents PicVehicle As System.Windows.Forms.PictureBox
Friend WithEvents Label8 As System.Windows.Forms.Label
Friend WithEvents PnCdATrTr As System.Windows.Forms.Panel
Friend WithEvents Label38 As System.Windows.Forms.Label
End Class
This diff is collapsed.
This diff is collapsed.
......@@ -91,16 +91,10 @@ namespace TUGraz.VectoCommon.InputData
Kilogram GrossVehicleMassRating { get; }
/// <summary>
/// P146 DragCoefficient * Cross Section Area - Truck & Trailer
/// P146, P147 DragCoefficient * Cross Section Area - Rigid
/// cf. VECTO Input Parameters.xlsx
/// </summary>
SquareMeter AirDragArea { get; }
/// <summary>
/// P147 DragCoefficient * Cross Section Area - Rigid
/// cf. VECTO Input Parameters.xlsx
/// </summary>
SquareMeter AirDragAreaRigidTruck { get; } // without trailer
SquareMeter AirDragArea { get; } // without trailer
/// <summary>
/// P117 Powered axle tyres/rims
......
......@@ -139,7 +139,7 @@
<Compile Include="Models\Declaration\PT1.cs" />
<Compile Include="Models\Declaration\Rims.cs" />
<Compile Include="Models\Declaration\Segments.cs" />
<Compile Include="Models\Declaration\StandardWeigths.cs" />
<Compile Include="Models\Declaration\StandardWeights.cs" />
<Compile Include="Models\Declaration\SteeringPump.cs" />
<Compile Include="Models\Declaration\TorqueConverter.cs" />
<Compile Include="Models\Declaration\VehicleClass.cs" />
......@@ -317,7 +317,7 @@
</None>
<EmbeddedResource Include="Resources\Declaration\LAC-DF-Vdrop.csv" />
<EmbeddedResource Include="Resources\Declaration\LAC-DF-Vtarget.csv" />
<EmbeddedResource Include="Resources\Declaration\StandardWeights.csv" />
<EmbeddedResource Include="Resources\Declaration\Body_Trailers_Weights.csv" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources\Declaration\Report\4x2r.png" />
......
......@@ -557,14 +557,14 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
Assert.IsTrue(new[] { 0.4, 0.6 }.SequenceEqual(longHaulMission.AxleWeightDistribution));
Assert.IsTrue(new double[] { }.SequenceEqual(longHaulMission.TrailerAxleWeightDistribution));
Assert.AreEqual(1900.SI<Kilogram>(), longHaulMission.MassExtra);
Assert.AreEqual(1900.SI<Kilogram>(), longHaulMission.BodyCurbWeight);
Assert.IsNotNull(longHaulMission.CycleFile);
Assert.IsTrue(!string.IsNullOrEmpty(new StreamReader(longHaulMission.CycleFile).ReadLine()));
Assert.AreEqual(0.SI<Kilogram>(), longHaulMission.MinLoad);
Assert.AreEqual(4150, longHaulMission.RefLoad.Value());
Assert.AreEqual(vehicleData.GrossVehicleMassRating - longHaulMission.MassExtra - vehicleData.CurbWeight,
Assert.AreEqual(vehicleData.GrossVehicleMassRating - longHaulMission.BodyCurbWeight - vehicleData.CurbWeight,
longHaulMission.MaxLoad);
var regionalDeliveryMission = segment.Missions[1];
......@@ -574,7 +574,7 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
Assert.IsTrue(new[] { 0.45, 0.55 }.SequenceEqual(regionalDeliveryMission.AxleWeightDistribution));
Assert.IsTrue(new double[] { }.SequenceEqual(regionalDeliveryMission.TrailerAxleWeightDistribution));
Assert.AreEqual(1900.SI<Kilogram>(), regionalDeliveryMission.MassExtra);
Assert.AreEqual(1900.SI<Kilogram>(), regionalDeliveryMission.BodyCurbWeight);
Assert.IsNotNull(regionalDeliveryMission.CycleFile);
Assert.IsTrue(!string.IsNullOrEmpty(new StreamReader(regionalDeliveryMission.CycleFile).ReadLine()));
......@@ -583,7 +583,7 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
Assert.AreEqual(0.3941 * vehicleData.GrossVehicleMassRating - 1705.9.SI<Kilogram>(),
regionalDeliveryMission.RefLoad);
Assert.AreEqual(
vehicleData.GrossVehicleMassRating - regionalDeliveryMission.MassExtra - vehicleData.CurbWeight,
vehicleData.GrossVehicleMassRating - regionalDeliveryMission.BodyCurbWeight - vehicleData.CurbWeight,
regionalDeliveryMission.MaxLoad);
var urbanDeliveryMission = segment.Missions[2];
......@@ -593,7 +593,7 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
Assert.IsTrue(new[] { 0.45, 0.55 }.SequenceEqual(urbanDeliveryMission.AxleWeightDistribution));
Assert.IsTrue(new double[] { }.SequenceEqual(urbanDeliveryMission.TrailerAxleWeightDistribution));
Assert.AreEqual(1900.SI<Kilogram>(), urbanDeliveryMission.MassExtra);
Assert.AreEqual(1900.SI<Kilogram>(), urbanDeliveryMission.BodyCurbWeight);
Assert.IsNotNull(urbanDeliveryMission.CycleFile);
Assert.IsTrue(!string.IsNullOrEmpty(new StreamReader(urbanDeliveryMission.CycleFile).ReadLine()));
......@@ -602,7 +602,7 @@ namespace TUGraz.VectoCore.Tests.Models.Declaration
Assert.AreEqual(0.3941 * vehicleData.GrossVehicleMassRating - 1705.9.SI<Kilogram>(),
urbanDeliveryMission.RefLoad);
Assert.AreEqual(
vehicleData.GrossVehicleMassRating - urbanDeliveryMission.MassExtra - vehicleData.CurbWeight,
vehicleData.GrossVehicleMassRating - urbanDeliveryMission.BodyCurbWeight - vehicleData.CurbWeight,
urbanDeliveryMission.MaxLoad);
}
......
......@@ -156,7 +156,6 @@
<Compile Include="Utils\DelauneyMapTest.cs" />
<Compile Include="Utils\MockModalDataContainer.cs" />
<Compile Include="Utils\DoubleExtensionMethodTest.cs" />
<Compile Include="Utils\VectoCSVTest.cs" />
<Compile Include="Utils\VectoMathTest.cs" />
</ItemGroup>
<ItemGroup>
......
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