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
Automatic merge of T1.5.1-687-gd279e384a and 18 pull requests
- Pull request #570 at c59c788: Experimental glTF 2.0 support with PBR lighting
- Pull request #839 at d00beb9: First phase of https://blueprints.launchpad.net/or/+spec/additional-cruise-control-parameters
- Pull request #865 at 67014b7: Dispatcher window improvements
- Pull request #874 at f8dbeab: Dynamic brake controller refactoring
- Pull request #875 at 43bf33e: Bug fix for https://bugs.launchpad.net/or/+bug/2036346 Player train switching doesn't work with 3D cabs
- Pull request #876 at f92de76: docs: add source for documents previously on website to source Documentation folder
- Pull request #878 at f9aa2ad: Implement Polach Adhesion
- Pull request #882 at d8a1c4d: Blueprint/train car operations UI window
- Pull request #883 at edcc2dd: SwitchPanel disconnect/connect handling
- Pull request #885 at c81447b: feat: Add notifications to Menu
- Pull request #886 at 8da48b3: Scene viewer extension to TrackViewer
- Pull request #887 at 4665bda: docs: Document projects, assemblies, namespaces
- Pull request #888 at d7daf62: docs: Document player application model
- Pull request #889 at 43341cf: No speed update
- Pull request #892 at 1f5ba4c: Signal Function OPP_SIG_ID_TRAINPATH
- Pull request #893 at bf8876b: Signal errors
- Pull request #894 at 794fddf: Correct Decrease Colour
- Pull request #896 at 5866028: First implementation of https://blueprints.launchpad.net/or/+spec/specific-sounds-for-ai-trains
// Test to determine whether to use Polach or Pacha adhesion
958
+
varScreenFrameRate=Simulator.SmoothedFrameRate;
959
+
960
+
// Switches between Polach (high performance) adhesion model and Pacha (low performance) adhesion model
961
+
if(ScreenFrameRate>59)
962
+
{
963
+
UsePoalchAdhesion=true;
964
+
}
965
+
elseif(ScreenFrameRate<55)
966
+
{
967
+
UsePoalchAdhesion=false;
968
+
if(TrainSpeedMpS>0)
969
+
{
970
+
Trace.TraceInformation("Advanced adhesion model switched to low performance option due to low frame rate {0} at ElapsedClockSeconds of {1}",ScreenFrameRate,timeSpan);
@@ -1170,6 +1190,7 @@ public double SlipCharacteristics(double slipSpeedMpS)
1170
1190
}
1171
1191
1172
1192
/// <summary>
1193
+
/// ***** Polach Adhesion *****
1173
1194
/// Uses the Polach creep force curves calculation described in the following document
1174
1195
/// "Creep forces in simulations of traction vehicles running on adhesion limit" by O. Polach 2005 Wear - http://www.sze.hu/~szenasy/VILLVONT/polachslipvizsg.pdf
1175
1196
///
@@ -1183,12 +1204,55 @@ public double SlipCharacteristics(double slipSpeedMpS)
1183
1204
/// <param name="slipSpeedMpS">Difference between train speed and wheel speed</param>
1184
1205
/// <param name="speedMpS">Current speed</param>
1185
1206
/// <returns>Relative force transmitted to the rail</returns>
0 commit comments