"Dynamic-brake" container

From TrainzOnline
Jump to: navigation, search


The Dynamic-brake container is a top-level config.txt file entry used by 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

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.

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.

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).

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.

Personal tools