"Dynamic-brake" container

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
m (1 revision)

Revision as of 19:19, 9 March 2010

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.

Personal tools