Skip to content

Commit 4c9375e

Browse files
committed
Update Documentation
1 parent 1df98a3 commit 4c9375e

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Source/Documentation/Manual/physics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2753,7 +2753,7 @@ Brake Shoe Force - This is the current change being implemented. The following c
27532753

27542754
``ORTSBrakeShoeType`` - this defines a number of different brake shoe types and curves. To provide a more realistic representation of the braking force the default CoF curves are 2D, ie
27552755
they are impacted by both the speed and Brake Shoe Force. Typically ``ORTSBrakeShoeType`` will have one of the following keywords included -
2756-
``CastIron`` - cast iron brake shoe, 2D as above, ``HiFrictionCompost`` - high friction composite shoe, 2D as above, ``UserDefined`` - is a user defined curve
2756+
``Cast_Iron`` - cast iron brake shoe, 2D as above, ``Hi_Friction_Composite`` - high friction composite shoe, 2D as above, ``User_Defined`` - is a user defined curve
27572757
using the ORTSBrakeShoeFriction parameter, 1D (ie, speed only, see above section for the parameter format).
27582758

27592759
``ORTSNumberCarBrakeShoes`` - to facilitate the operation of the default 2D curves above it is necessary to configure the number of brake shoes for each car.

Source/Orts.Simulation/Simulation/RollingStocks/MSTSWagon.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ public virtual void LoadFromWagFile(string wagFilePath)
626626
NumberCarBrakeShoes = (LocoNumDrvAxles * 4) + (WagonNumAxles * 4); // Assume 4 brake shoes per axle on all wheels
627627
}
628628

629-
if (Simulator.Settings.VerboseConfigurationMessages && (BrakeShoeType == BrakeShoeTypes.Cast_Iron || BrakeShoeType == BrakeShoeTypes.Hi_Friction_Compost))
629+
if (Simulator.Settings.VerboseConfigurationMessages && (BrakeShoeType == BrakeShoeTypes.Cast_Iron || BrakeShoeType == BrakeShoeTypes.High_Friction_Composite))
630630
{
631631
Trace.TraceInformation("Number of Locomotive Brakeshoes set to default value of {0}", NumberCarBrakeShoes);
632632
}
@@ -635,7 +635,7 @@ public virtual void LoadFromWagFile(string wagFilePath)
635635
{
636636
NumberCarBrakeShoes = WagonNumAxles * 4; // Assume 4 brake shoes per axle
637637

638-
if (Simulator.Settings.VerboseConfigurationMessages && (BrakeShoeType == BrakeShoeTypes.Cast_Iron || BrakeShoeType == BrakeShoeTypes.Hi_Friction_Compost))
638+
if (Simulator.Settings.VerboseConfigurationMessages && (BrakeShoeType == BrakeShoeTypes.Cast_Iron || BrakeShoeType == BrakeShoeTypes.High_Friction_Composite))
639639
{
640640
Trace.TraceInformation("Number of Wagon Brakeshoes set to default value of {0}", NumberCarBrakeShoes);
641641
}

Source/Orts.Simulation/Simulation/RollingStocks/TrainCar.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -684,7 +684,7 @@ public enum BrakeShoeTypes
684684
{
685685
Unknown,
686686
Cast_Iron,
687-
Hi_Friction_Compost,
687+
High_Friction_Composite,
688688
User_Defined,
689689
}
690690
public BrakeShoeTypes BrakeShoeType;
@@ -3243,7 +3243,7 @@ public virtual float GetBrakeShoeFrictionFactor()
32433243
{
32443244
frictionfraction = 0.6f * ((1.6f * brakeShoeForcekN + 100.0f) / (8.0f * brakeShoeForcekN + 100.0f)) * ((MpS.ToKpH(AbsSpeedMpS) + 100.0f) / (5.0f * MpS.ToKpH(AbsSpeedMpS) + 100.0f));
32453245
}
3246-
else if (BrakeShoeType == BrakeShoeTypes.Hi_Friction_Compost)
3246+
else if (BrakeShoeType == BrakeShoeTypes.High_Friction_Composite)
32473247
{
32483248
frictionfraction = 0.44f * ((0.1f * brakeShoeForcekN + 20.0f) / (0.4f * brakeShoeForcekN + 20.0f)) * ((MpS.ToKpH(AbsSpeedMpS) + 150.0f) / (2.0f * MpS.ToKpH(AbsSpeedMpS) + 150.0f));
32493249
}
@@ -3310,7 +3310,7 @@ public virtual float GetBrakeShoeFrictionCoefficientHuD()
33103310
{
33113311
frictionfraction = 0.6f * ((1.6f * brakeShoeForcekN + 100.0f) / (8.0f * brakeShoeForcekN + 100.0f)) * ((MpS.ToKpH(AbsSpeedMpS) + 100.0f) / (5.0f * MpS.ToKpH(AbsSpeedMpS) + 100.0f));
33123312
}
3313-
else if (BrakeShoeType == BrakeShoeTypes.Hi_Friction_Compost)
3313+
else if (BrakeShoeType == BrakeShoeTypes.High_Friction_Composite)
33143314
{
33153315
frictionfraction = 0.44f * ((0.1f * brakeShoeForcekN + 20.0f) / (0.4f * brakeShoeForcekN + 20.0f)) * ((MpS.ToKpH(AbsSpeedMpS) + 150.0f) / (2.0f * MpS.ToKpH(AbsSpeedMpS) + 150.0f));
33163316
}

0 commit comments

Comments
 (0)