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.6-rc5-39-g6dd094783 and 11 pull requests
- Pull request #1086 at e10390b: Add Settings Exporter tool (copy settings to INI, etc)
- Pull request #1104 at 86d38a2: Handle simple adhesion within the axle module
- Pull request #1115 at 270f22f: Do not activate ETS switch if no suitable cars are attached
- Pull request #1120 at ba3c47f: Automatically Calculate Friction Values if Missing
- Pull request #1121 at 91d2d26: Manually Override Articulation
- Pull request #1130 at 8ae6bb7: Fix F9 points to an incorrect car ID.
- Pull request #1139 at b47224d: Fix for bug https://bugs.launchpad.net/or/+bug/2117357.
- Pull request #1082 at 5845a1a: Allow variable water level in glass gauge
- Pull request #1081 at 689494b: Brake cuts power unification
- Pull request #1124 at fab5457: Built-in PBL2 brake controller
- Pull request #1128 at 58de4c3: Particle Emitter Overhaul
@@ -111,43 +107,43 @@ A list of the available .eng file CC parameters follows here below.
111
107
"ThrottleFullRangeDecreaseTimeSeconds", "Time in seconds needed for the regulator to pass from 100 to 0% of power", "Seconds", "5"
112
108
"DynamicBrakeFullRangeIncreaseTimeSeconds", "Same as above, but for dynamic braking", "Seconds", "5"
113
109
"DynamicBrakeFullRangeDecreaseTimeSeconds", "Same as above, but for dynamic braking", "Seconds", "5"
114
-
"TrainBrakeFullRangeIncreaseTimeSeconds", "Same as above, but for train brakes", "Seconds", "6"
115
-
"TrainBrakeFullRangeDecreaseTimeSeconds", "Same as above, but for train brakes", "Seconds", "6"
116
-
"SpeedDeltaFunctionMode", "Algorithm used to convert speed delta to required acceleration. Recommended to use Linear mode, Sqrt mode is deprecated", "String", "Sqrt"
117
-
"ThrottlePID", "Proportional, Integral and Derivative coefficients used to convert demanded acceleration to throttle percent. Changing it is not recommended", "Floats", ""
118
-
"DynamicBrakePID", "Proportional, Integral and Derivative coefficients used to convert demanded deceleration to dynamic brake percent. Changing it is not recommended", "Floats", ""
119
-
"TrainBrakePID", "Proportional, Integral and Derivative coefficients used to convert demanded deceleration to train brake percent. Changing it is not recommended", "Floats", ""
110
+
"TrainBrakeFullRangeIncreaseTimeSeconds", "Same as above, but for train brakes", "Seconds", "10"
111
+
"TrainBrakeFullRangeDecreaseTimeSeconds", "Same as above, but for train brakes", "Seconds", "5"
120
112
"DefaultForceStep", "When OR is started, this will be the selected force step, usually set at 0", "Integer", "1"
121
113
"DisableCruiseControlOnThrottleAndZeroSpeed", "If train is stationary and throttle is increased and CC is still in auto, this will revert the mode to manual", "Boolean", "FALSE"
122
114
"DisableCruiseControlOnThrottleAndZeroForce", "If train is moving and throttle is increased and CC is still in auto and selected force is zero, this will revert the mode to manual", "Boolean", "FALSE"
123
115
"DynamicBrakeCommandHasPriorityOverCruiseControl", "When cruise control is in Auto, manually activating the dynamic brake has priority", "Boolean", "TRUE"
124
116
"HasIndependentThrottleDynamicBrakeLever", "The cabview is equipped with a combined Throttle-Dynamic brake lever independent from the CC controls", "Boolean", "FALSE"
125
117
"DoComputeNumberOfAxles", "Number of train axles automatically computed at game start", "Boolean", "FALSE"
118
+
"AntiWheelSpinEquipped", "Self explaining. Note: if there are multiple locos in the consist, the loco with most speed diff takes the decision to activate", "Boolean", "FALSE"
119
+
"AntiWheelSpinSpeedDiffThreshold", "The speed difference (MpS) between wheel speed and train speed that activates the anti spin system and reduces power", "Boolean", "FALSE"
126
120
"ParkingBrakeEngageSpeed", "The speed when automatic parking brake will be engaged if present", "Float (speed)", "0"
127
121
"ParkingBrakePercent", "To what engine brake percent should the parking brake be set if engaged", "Float", "0"
128
122
"MaxPowerThreshold", "At this speed, no matter what max force was selected by the driver, the regulator will lineary reach force to 100%", "Float (speed)", "0"
129
123
"SafeSpeedForAutomaticOperationMpS", "Some locos/systems need the 'confirm to drive' button to be held until the safe speed is reached. This is the speed above which the loco will continue delivering power.", "Float (speed)", "0"
"PowerBreakoutAmpers", "Some locos are unable to maintain power when current is lower than this value. In that case, a breakout is generated and the power goes to 0", "Float(Amperes)", "100"
"PowerResumeSpeedDelta", "When breakout was activated, this is the speed hysteresis, when speed is reduced by this value the engine will resume power", "Float", "100"
131
128
"PowerReductionDelayPaxTrain", "Time required for the loco to reach maximum percent of power set in PowerReductionValue until the whole train is in pull on its couplers for passenger trains", "Float (seconds)", "0"
132
129
"PowerReductionDelayCargoTrain", "Time required for the loco to reach maximum percent of power set in PowerReductionValue until the whole train is in pull on its couplers for freight trains", "Float (seconds)", "0"
133
130
"PowerReductionValue", "Maximum power in % to maintain until PowerReductionDelay is reached", "Float", "100"
134
131
"DisableZeroForceStep", "Minimum force step is limited above zero", "Boolean", "FALSE"
135
-
"DisableZeroSelectedSpeedStep", "The minimum speed that can be selected is greater than 0", "Boolean", "FALSE"
136
132
"UseThrottleAsSpeedSelector", "if ControllerCruiseControlLogic is set to SpeedOnly, throttle when in Auto mode will change the maximum CC speed", "Boolean", "FALSE"
137
133
"UseThrottleAsForceSelector", "if ControllerCruiseControlLogic is set to None, throttle when in Auto mode will change the maximum CC Force", "Boolean", "FALSE"
134
+
"UseThrottleInCombinedControl", "Throttle is used as force selector or speed selector even if in combined control, to be used in conjunction of one of the two above parameters", "Boolean", "FALSE"
138
135
"ControllerCruiseControlLogic", "Can have values 'None', 'SpeedOnly', 'Full'", "Enum", "Full"
139
136
"HasProportionalSpeedSelector", "Speed selector is performed by a lever ranging from 0 to max speed", "Boolean", "FALSE"
140
-
"SpeedSelectorIsDiscrete", "Speed selected can have only values multiple of NominalSpeedStep", "Boolean", "TRUE"
137
+
"SpeedSelectorIsDiscrete", "Speed selected can have only values multiple of NominalSpeedStep, even if selection is through mouse", "Boolean", "FALSE"
141
138
"ModeSwitchAllowedWithThrottleNotAtZero", "Switch from manual to auto and vice-versa can occur also when throttle lever is not at 0", "Boolean", "FALSE"
142
139
"DisableManualSwitchToAutoWhenSetSpeedNotAtTop", "Manual Switch to Cruise Control Auto Mode can't occur when speed is not set at maximum value and at the same moment train speed is not 0", "Boolean", "FALSE"
"TrainBrakeCommandHasPriorityOverCruiseControl", "A manual train braking inhibits Cruise Control to use both dynamic braking and tractive force", "Boolean", "TRUE"
146
143
"TrainBrakeCommandHasPriorityOverAcceleratingCruiseControl", "A manual train braking inhibits Cruise Control to use tractive force", "Boolean", "TRUE"
147
-
"BrakeCommandHasPriorityOverASCBraking", "A manual train brake command inhibits the Automatic Speed Control braking, even if the latter is more restrictive", "Boolean", "FALSE"
148
-
"ASCSpeedTakesPriorityOverSpeedSelector", "Set speed demanded by the Automatic Speed Control system overrides the speed selected by the driver, even if the latter is lower", "Boolean", "FALSE"
149
144
"SpeedDeltaToEnableTrainBrake", "This is the minimum speed delta between actual speed and desired speed for the CC to use also the train brake", "Float(speed)", "5m/s"
150
-
"TrainBrakeMinPercentValue", "This is the minimum train brake percent used by the CC. 0 means no braking, 100 means full service braking", "Float(percent)", "10"
145
+
"SpeedDeltaToEnableFullTrainBrake", "This is the minimum speed delta between actual speed and desired speed for the CC to use also the train brake with no reduced intensity", "Float(speed)", "10m/s"
146
+
"TrainBrakeMinPercentValue", "This is the minimum train brake percent used by the CC. 0 means no braking, 100 means full service braking", "Float(percent)", "30"
151
147
"TrainBrakeMaxPercentValue", "As above for maximum value. It must not be too high to avoid that the brake is not fully released timely", "Float(percent)", "85"
152
148
"ThrottleNeutralPosition", "The zero throttle position is neutral in auto mode, that is in such position the CC does not intervene", "Boolean", "FALSE"
153
149
"MinimumSpeedForCCEffect", "Below this speed CC has no effect", "Float(speed)", "0"
@@ -166,7 +162,6 @@ found in the table here below.
166
162
"RegulatorManual",
167
163
"RegulatorTest",
168
164
"EngageForceOnNonZeroSpeed",
169
-
"EngageParkingOnZeroSpeed",
170
165
"StartFromZero", "No need to confirm you want to drive. If speed is set above zero, the train starts to move"
171
166
"SelectorNeutral",
172
167
"SelectorOn",
@@ -185,42 +180,27 @@ block within the .eng file.
185
180
186
181
Train brake usage occurs when the delta between the actual train speed and
187
182
the target speed is higher than parameter SpeedDeltaToEnableTrainBrake.
188
-
Above this value, the train brake is continuously adjusted to achieve
189
-
the target deceleration. If available, dynamic brake takes priority. Only when
190
-
the requested dynamic brake percent exceeds MinDynamicBrakePercentToEnableTrainBrake,
191
-
the train brake is activated to supplement dynamic brakes.
192
-
193
-
UseTrainBrakeAndDynBrake ( True ) comment (** CC uses train brake and dyn brake together **)
194
-
SpeedDeltaToEnableTrainBrake ( 5km/h ) comment (** This is the minimum speed delta between actual speed and desired speed for the CC to use also the train brake **)
183
+
Between this delta and SpeedDeltaToEnableFullTrainBrake the train brake is
184
+
set at TrainBrakeMinPercentValue. Above SpeedDeltaToEnableFullTrainBrake
185
+
the train brake is continuously adjusted to achieve a constant deceleration.
186
+
In other words, when the speed delta is high, train braking is adjusted to
187
+
obtain a constant deceleration when dynamic braking is not enough; when train decelerates
188
+
and delta reduces to SpeedDeltaToEnableFullTrainBrake the train brake is reduced to
189
+
TrainBrakeMinPercentValue. When train decelerates further and delta reduces to
190
+
SpeedDeltaToEnableTrainBrake the train brake is released. By adjusting these
191
+
parameters to the locomotive and a typical train it pulls, it can be made sure that
192
+
the brake pipe is fully recharged when the target speed is reached. Else the
193
+
train speed could be significantly reduced below the target speed.
194
+
195
+
An example of the relevant lines in the CruiseControl
196
+
block within the .eng file follows here::
197
+
198
+
UseTrainBrakeAndDynBrake ( True ) comment (** CC uses train brake and dyn brake together **)
199
+
SpeedDeltaToEnableTrainBrake ( 15km/h ) comment (** This is the minimum speed delta between actual speed and desired speed for the CC to use also the train brake **)
200
+
SpeedDeltaToEnableFullTrainBrake ( 30km/h ) comment (** This is the minimum speed delta between actual speed and desired speed for the CC to use also the train brake with no reduced intensity **)
195
201
TrainBrakeMinPercentValue ( 10 ) comment (** This is the minimum train brake percent used by the CC, where 0 means no braking and 100 full braking **)
196
202
TrainBrakeMaxPercentValue ( 60 ) comment (** As above for maximum value. It must not be too high to avoid that the brake is not fully released timely **)
197
203
198
-
Speed and force selectors
199
-
-------------------------
200
-
Speed and force selectors with custom notches can be defined in the ``EngineControllers`` block of the ENG file,
201
-
using ``orts_speed_selector`` and ``orts_force_selector`` controller names. The range should be between 0 and 1,
202
-
where 0 means zero force/speed and 1 means maximum force/speed.
203
-
204
-
Example::
205
-
206
-
Engine (
207
-
EngineControllers (
208
-
ORTS_Speed_Selector ( 0 1 0.1 0
209
-
NumNotches ( 0 )
210
-
ORTSDelayTimeBeforeUpdating ( 0.5s )
211
-
)
212
-
ORTS_Force_Selector ( 0 1 0.1 0
213
-
NumNotches ( 4
214
-
Notch ( 0 0 )
215
-
Notch ( 0.25 0 )
216
-
Notch ( 0.5 0 )
217
-
Notch ( 1 0 )
218
-
)
219
-
)
220
-
)
221
-
)
222
-
223
-
224
204
Multi Position Controller (MPC)
225
205
-------------------------------
226
206
@@ -299,32 +279,6 @@ MPC is connected. Controllers linked may be either "Throttle" or
299
279
The boolean parameter *CanControlTrainBrake*, which is false by
300
280
default, is optional.
301
281
302
-
Automatic Speed Control
303
-
=======================
304
-
Cab signaling systems can be integrated with speed control systems to automatically
305
-
respect speed restrictions and stop at signals and station stops. The
306
-
:ref:`Train Control System scripts <features-scripting-tcs>` can request a setpoint
307
-
speed for the cruise control system, eliminating the need for the driver to manually
308
-
adjust the train speed. The interface consists of two variables available from
309
-
the TCS script:
310
-
311
-
.. code-block:: csharp
312
-
313
-
float?SetSpeedMpS
314
-
315
-
This variable, if not null, instructs the cruise control system to adjust
316
-
the train speed in order to reach the requested setpoint.
317
-
318
-
.. code-block:: csharp
319
-
320
-
floatSetSpeedAccelerationMpS
321
-
322
-
This variable controls the requested acceleration when the train is at the set speed.
323
-
When the set speed is constant because the TCS is supervising a ceiling speed,
324
-
the requested acceleration should be 0. However, during a braking curve,
325
-
as the set speed is decreasing, the requested acceleration should be negative,
0 commit comments