"Dynamic-brake" container: Difference between revisions

From TrainzOnline
Jump to navigationJump to search
Fabartus (talk | contribs)
+{{ORP-top}}+{{ORP-bot}}+cat Kind Engine containers
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{ORP-top}}
The Dynamic-brake container is a top-level [[config.txt file]] entry used by [[KIND Engine|Enginespec]] assets.
 
The '''Dynamic-brake container''' is a top-level [[config.txt file]] entry used by [[KIND Engine|Enginespec]] assets.
==Parent Class==
[[KIND Engine]] in which the container must be specified in the config.txt file with the below tag names and corresponding data fields.


==Supported Tags==
==Supported Tags==


The Dynamic-brake container has a sequence of numeric subcontainer data structures. Each one refers to a specific throttle notch, and is correspondingly indented within the nested braces '{'{{...}}'}' delimiting the container contents.
The Dynamic-brake container has a sequence of numeric subcontainers. Each one refers to a specific throttle notch.


Within each subcontainer, there are a series of numerically 'named' lines. Each line specifies a speed (m/s) and a braking force (kN) value. Together, these points define a braking force graph for a specific throttle notch.
Within each subcontainer, there are a series of numeric named lines. Each line specifies a speed (m/s) and a braking force (kN) value. Together, these points define a braking force graph for a specific throttle notch.


==Example dynamic-brake container==
==Example dynamic-brake container==


Here is an example dynamic-brake container, as it might appear in an engine config.txt file. (Several notches have been omitted - the format is identical throughout).
Here is an example dynamic-brake container. (Several notches have been omitted - the format is identical throughout).


  dynamic-brake
  dynamic-brake
Line 39: Line 35:
     15                                  0
     15                                  0
   }
   }
  ... 
 
...
  ....
... 
 
   7
   7
   {
   {
Line 63: Line 59:
Note that the graph is clamped to zero at a low speed - dynamic brakes are only effective in specific speed ranges, and become ineffective at low speed.
Note that the graph is clamped to zero at a low speed - dynamic brakes are only effective in specific speed ranges, and become ineffective at low speed.


[[Category:Config Container]]
[[Category:Config Container|D]]
[[Category:Kind Engine containers|Dynamic-brake]]
[[Category:Kind Engine containers|Dynamic-brake]]
{{ORP-bot}}

Latest revision as of 06:45, 8 September 2025

The Dynamic-brake container is a top-level config.txt file entry used by Enginespec assets.

Supported Tags

The Dynamic-brake container has a sequence of numeric subcontainers. Each one refers to a specific throttle notch.

Within each subcontainer, there are a series of numeric named lines. Each line specifies a speed (m/s) and a braking force (kN) value. Together, these points define a braking force graph for a specific throttle notch.

Example dynamic-brake container

Here is an example dynamic-brake container. (Several notches have been omitted - the format is identical throughout).

dynamic-brake
{
  0
  {
    0                                   0
  }
  
  1
  {
    1.333                               0
    2                                   30
    5                                   25
    10                                  15
    12                                  0
  }
  
  2
  {
    1.333                               0
    3                                   50
    10                                  35
    14                                  20
    15                                  0
  }
 
....
  
  7
  {
    1.333                               0
    5                                   250
    10                                  100
    32                                  60
    36                                  0
  }
  
  8
  {
    1.33                                0
    5                                   250
    10                                  100
    36                                  50
    40                                  0
  }
}

Note that the graph is clamped to zero at a low speed - dynamic brakes are only effective in specific speed ranges, and become ineffective at low speed.