You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -2108,46 +2101,38 @@ public void UpdateWindComponents()
2108
2101
//These will be representative of the train whilst it is on a straight track, but each wagon will vary when going around a curve.
2109
2102
// Note both train and wind direction will be positive between 0 (north) and 180 (south) through east, and negative between 0 (north) and 180 (south) through west
2110
2103
// Wind and train direction to be converted to an angle between 0 and 360 deg.
2111
-
if (TrainWindResistanceDependent)
2112
-
{
2113
-
// Calculate Wind speed and direction, and train direction
2114
-
// Update the value of the Wind Speed and Direction for the train
// Drag, impact of wind on train, will increase resistance when head on, will decrease resistance when acting as a tailwind.
2863
2862
// Lateral resistance - due to wheel flange being pushed against rail due to side wind.
2864
2863
// Calculation based upon information provided in AREA 1942 Proceedings - https://archive.org/details/proceedingsofann431942amer - pg 56
2865
2864
2866
-
if(Train.TrainWindResistanceDependent&&!CarTunnelData.FrontPositionBeyondStartOfTunnel.HasValue&&AbsSpeedMpS>2.2352)// Only calculate wind resistance if option selected in options menu, and not in a tunnel, and speed is sufficient for wind effects (>5mph)
2865
+
if(!CarTunnelData.FrontPositionBeyondStartOfTunnel.HasValue&&AbsSpeedMpS>2.2352)// Only calculate wind resistance if option selected in options menu, and not in a tunnel, and speed is sufficient for wind effects (>5mph)
0 commit comments