Sample ENG file


Close this window


SIMISA@@@@@@@@@@JINX0D0t______
Comment ( Above stuff that MSTS understands )

Wagon ( SD40_BNSF1234
      Comment ( This wagon name is a unique identifier for this loco. )
      Comment ( We'll use this name again below in the WagonShape line, )
      Comment ( another Wagon line, and the Engine line. )
      Comment ( **                                                 ** )
      Comment ( ** Locomotive Physics V4.1 by Bob Boudoin          ** )
      Comment ( ** Bob has put a lot of work into investigating    ** )
      Comment ( ** and deriving more realistic values for various  ** )
      Comment ( ** locomotive and wagon parameters to improve MSTS ** )
      Comment ( ** This sample file taken from Bob's generic       ** )
      Comment ( ** locos files, available from Train-Sim.com       ** )
      Comment ( ** in download file sdphy41.zip                    ** )
      Comment ( ** As at 18-Apr-02                                 ** )
      Comment ( **                                                 ** )
      Type ( Engine )
      Comment ( Engine type for locos )
      WagonShape ( SD40_BNSF1234.s )
      Comment ( This .S shape file has the same name as the sub-folder, and in )
      Comment ( the 2 Wagon lines and the other Engine line below. )
      Comment ( As well, in this loco's sub-folder, the shape definition )
      Comment ( file is named SD40_BNSF1234.sd )
      Size ( 10ft 15ft+10in 65ft+1in )
      Mass ( 176.4t )
      WheelRadius ( 20in )
      InertiaTensor ( Box (10ft 15ft+10in 65ft) )
      Coupling (
        Type ( Automatic )
        Spring (
          Stiffness ( 1e6N/m 5e6N/m )
            Damping ( 1.2e6N/m 1.2e6N/m )
              Break ( 1.6e7N 1.6e7N )
                r0 ( 20cm 30cm )
                )
          comment( CouplingHasRigidConnection () )
          Velocity ( 0.1m/s )
      )
      Buffers (
        Spring (
          Stiffness ( 1e6N/m 5e6N/m )
            Damping ( 1.2e6N/m/s 1.2e6N/m/s )
              r0 ( 0m 1e9 )
                )
            Centre ( 0.5 )
            Radius ( 1 )
            Angle ( 0.5deg )
      )

      Comment ( Adheasion, NumWheels & Friction are important for prototypical performance )
      Adheasion ( 0.23 0.45 1.8 0 )
      Comment ( Not a mis-spelling! )
      DerailRailHeight ( 4cm )
      DerailRailForce ( 2.5*176.4t )
      DerailBufferForce ( 385kN )
      NumWheels ( 12 )
      Friction (
        1880N/m/s   0  .7mph    19.5N/m/s  1.8
        5.1N/rad/s  1  -1rad/s  0            1
      )

      BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )

      BrakeSystemType( "Air_single_pipe" )
      MaxBrakeForce( 82kN )

      EmergencyBrakeResMaxPressure( 110 )
      TripleValveRatio( 2.5 )
      MaxReleaseRate( 7 )
      MaxApplicationRate( 5.5 )
      MaxAuxilaryChargingRate( 2 )
      EmergencyResCapacity( 11 )
      EmergencyResChargingRate( 2.8 )
      BrakeCylinderPressureForMaxBrakeBrakeForce( 66 )

      Comment ( Some locos may have values for as many 30 lights )      
      Lights  ( 15
        Light (
          Type  ( 1 )
            Comment ( Sphere of light High beam )

      ... then follows lots of stuff about the loco's lighting ...

      Sound ( "sd40Eng.sms" )
      Comment ( This is a line which is edited for aliasing. )
)

Engine ( SD40_BNSF1234
  Comment ( This name uniquely identifies this loco. It's the same name )
  Comment ( as the loco's sub-folder, the 2 Wagon lines, )
  Comment ( the WagonShape line, the loco's .s file and )
  Comment ( the loco's .sd file )
  Effects
    (
      DieselSpecialEffects
        (
          _skip
            (
               the format of these little blocks is as follow:
                  offset.x offset.y offset.z
                  normal.x normal.y normal.z
                  width in metres

                    defining the offset from the shape pivot point
                    where steam / smoke should appear, the direction
                    it should go and the width of the nozzle
            )
          Exhaust1
            (
               0.23418 4.93000 0.950000
               0 1 0
               0.15
            )
        )
    )
        
    Wagon ( SD40_BNSF1234 )
    Comment ( Same as the first Wagon line in this file. )
    Comment ( Also used in the Engine and WagonShape lines. )
    Type ( Diesel )
    Comment ( The following power & force values can be changed for more prototypical performance )
    MaxPower ( 2238kW )
    MaxForce ( 413.8kN )
    MaxContinuousForce ( 365.3kN )
    MaxVelocity ( 65mph )
    MaxCurrent ( 1500A )
    WheelRadius ( 20in )

    Sanding ( 15mph #sanding system is switched off when faster than given velocity )

    NumWheels ( 4 )
    MaxTemperature ( 120 )
    MaxOilPressure ( 90 )

    CabView ( gp38.cvf )
    Comment ( This is a line which is edited for aliasing. )

    HeadOut (1.8 3.7 5.1 )
    MaxDieselLevel ( 4000gal )
    DieselUsedPerHourAtMaxPower ( 164.4al )
    DieselUsedPerHourAtIdle ( 5.2gal )

    Comment ( Air brake & dynamic brake parameters )
    AirBrakesAirCompressorPowerRating( 4 )
    AirBrakesMainMinResAirPressure( 14.7 )
    AirBrakesMainMaxAirPressure( 140 )
    AirBrakesMainResVolume( 11 )
    AirBrakesAirCompressorWattage( 19000 )
    AirBrakesCompressorRestartPressure( 136 )
    AirBrakesAirUsedPerPoundsOfBrakePipePressure( 1.4 )
    AirBrakesHasLowPressureTest( 1 )
    AirBrakesIsCompressorElectricOrMechanical( 1 )

    EngineBrakesControllerMinPressureReduction( 6 )
    TrainBrakesControllerMinPressureReduction( 6 )
    EngineBrakesControllerHasProportionalBrake( 1 )
    EngineBrakesProportionalBrakeLag( 0.6 )
    EngineBrakesControllerMaxApplicationRate( 7 )
    TrainBrakesControllerMaxApplicationRate( 5.5 )
    EngineBrakesControllerMaxReleaseRate( 14 )
    TrainBrakesControllerMaxReleaseRate( 3.4 )
    EngineBrakesControllerEmergencyApplicationRate( 8 )
    TrainBrakesControllerEmergencyApplicationRate( 7 )
    EngineBrakesControllerMinSystemPressure( 15 )
    TrainBrakesControllerMinSystemPressure( 15 )
    EngineBrakesControllerMaxSystemPressure( 95 )
    TrainBrakesControllerMaxSystemPressure( 95 )
    EngineBrakesControllerEmergencyBrakeTimePenalty( 60 )
    TrainBrakesControllerEmergencyBrakeTimePenalty( 60 )
    EngineBrakesControllerFullServicePressureDrop( 26 )
    TrainBrakesControllerFullServicePressureDrop( 26 )

    DynamicBrakesMinUsableSpeed( 3 )
    DynamicBrakesMaximumEffectiveSpeed( 23 )
    DynamicBrakesMaximumForce( 267kN )
    DynamicBrakesResistorCurrentLimit ( 700 )
    DynamicBrakesCutInSpeed( 5 )
    DynamicBrakesMaxAirBrakePressure ( 50 )
    DynamicBrakesFadingSpeed( 19 )
    DynamicBrakesDelayTimeBeforeEngaging ( 8 )
    DynamicBrakesMaximumSpeedForFadeOut ( 400 )
    DynamicBrakesEffectAtMaximumFadeOut( 0 )
    DynamicBrakesHigherSpeedCurveExponent( 10 )
    DynamicBrakesLowerSpeedCurveExponent( 1.6 )
    DynamicBrakesNumberOfControllerNotches( 1 )
    DynamicBrakeHasAutoBailOff ( 0 )

    BrakesEngineBrakeType( "Air_single_pipe"  )
    BrakesTrainBrakeType( "Air_single_pipe" )
    BrakesEngineControllers( "Independent, Train, Dynamic" )

    MaxDieselLevel ( 4000gal )
    DieselUsedPerHourAtMaxPower ( 164.4gal )
    DieselUsedPerHourAtIdle ( 5.2gal )

    DieselSmokeEffectInitialMagnitude( 1.5 )
    DieselSmokeEffectMaxMagnitude( 1.5 )

    DieselSmokeEffectInitialSmokeRate( 0.7 )
    DieselSmokeEffectMaxSmokeRate( 2.8 )

    DieselEngineIdleRPM( 315 )
    DieselEngineMaxRPM( 900 )
    DieselEngineSpeedOfMaxTractiveEffort( 10.9mph )
    DieselEngineMaxRPMChangeRate( 40 )
  
    DoesHornTriggerBell( 1 )

    EmergencyStopMonitor(
      MonitoringDeviceMonitorTimeLimit( 0 )
      MonitoringDeviceAlarmTimeLimit( 0 )
      MonitoringDevicePenaltyTimeLimit( 0 )
      MonitoringDeviceCriticalLevel( 0 )
      MonitoringDeviceResetLevel( 0 )
      MonitoringDeviceAppliesFullBrake( 0 )
      MonitoringDeviceAppliesEmergencyBrake( 1 )
      MonitoringDeviceAppliesCutsPower( 0 )
      MonitoringDeviceAppliesShutsDownEngine( 0 )
      )

    AWSMonitor(
      MonitoringDeviceMonitorTimeLimit( -1 )
      MonitoringDeviceAlarmTimeLimit( 5 )
      MonitoringDevicePenaltyTimeLimit( 0 )
      MonitoringDeviceCriticalLevel( 0 )
      MonitoringDeviceResetLevel( 0 )
      MonitoringDeviceAppliesFullBrake( 0 )
      MonitoringDeviceAppliesEmergencyBrake( 1 )
      MonitoringDeviceAppliesCutsPower( 0 )
      MonitoringDeviceAppliesShutsDownEngine( 0 )
      )
	
    VigilanceMonitor(
      MonitoringDeviceMonitorTimeLimit( 20 )
      MonitoringDeviceAlarmTimeLimit( 10 )
      MonitoringDevicePenaltyTimeLimit( 7 )
      MonitoringDeviceCriticalLevel( 0 )
      MonitoringDeviceResetLevel( 0 )
      MonitoringDeviceAppliesFullBrake( 1 )
      MonitoringDeviceAppliesEmergencyBrake( 0 )
      MonitoringDeviceAppliesCutsPower( 0 )
      MonitoringDeviceAppliesShutsDownEngine( 0 )
      )

    EngineBrakesControllerDirectControlExponent( 1 )

    EngineControllers (
      Throttle ( 0 1 0.125 0 
        NumNotches ( 9
          Notch ( 0       0 Dummy )
                  Notch ( 0.125   0 Dummy )
                  Notch ( 0.25    0 Dummy )
                  Notch ( 0.375   0 Dummy )
                  Notch ( 0.5     0 Dummy )
                  Notch ( 0.625   0 Dummy )
                  Notch ( 0.75    0 Dummy )
                  Notch ( 0.875   0 Dummy )
                  Notch ( 1       0 Dummy )
                )
          )
          Brake_Engine ( 0 1 0.0250 0 
            NumNotches ( 2
              Notch( 0   0 EngineBrakesControllerReleaseStart )
              Notch( 0.3 1 EngineBrakesControllerGraduatedSelfLapLimitedStart )
              )
            )
            Brake_Train ( 0 1 0.0125 0.75 
              NumNotches ( 5
                Notch( 0    0 TrainBrakesControllerReleaseStart )
                Notch( 0.3  1 TrainBrakesControllerGraduatedSelfLapLimitedHoldingStart )
                Notch( 0.85 0 TrainBrakesControllerSuppressionStart )
                Notch( 0.9  0 TrainBrakesControllerContinuousServiceStart )
                Notch( 0.95 0 TrainBrakesControllerEmergencyStart )
              )
            )
            Brake_Dynamic ( 0 1 0.11 0 
              NumNotches ( 10 
                Notch ( 0       0 Dummy )
                Notch ( 0.11    0 Dummy )
                Notch ( 0.22    0 Dummy )
                Notch ( 0.33    0 Dummy )
                Notch ( 0.44    0 Dummy )
                Notch ( 0.55    0 Dummy )
                Notch ( 0.66    0 Dummy )
                Notch ( 0.77    0 Dummy )
                Notch ( 0.88    0 Dummy )
                Notch ( 1       0 Dummy )
                )
            )

    DirControl ( -1 0 1 1 )
      BellToggle( 0 1 0 )
      AWS ( 0 1 0 )
      Sanding ( 0 1 0 )
      Horn ( 0 1 0 )
      Wipers ( 0 1 0 )
      EmergencyStopResetToggle( 0 1 0 )
      EmergencyStopToggle( 0 1 0 )
      Vigilance ( 0 1 0 )
      Headlights ( 0 0.25 1 0 )
      BailOffButton( 0 1 0 )
      )

    Sound ( "sd40cab.sms" )
    Comment ( This is a line which is edited for aliasing. )
    Name ( "SD40 BNSF #1234" )
      Comment ( The title in the Name line appears in the locos list )
      Comment ( in MSTS and in ConBuilder. It can't be very long but )
      Comment ( make use of it so you know which loco is which. )
      Description (
      "The SD40 diesel-electric locomotive, a popular and versatile performer "+
      "capable of tasks ranging "+
      "from switching to pulling freight over the main line.\n\n"+
      "Locomotive type: Diesel-Electric\n\n"+

      ... and so on, as shown under Details in MSTS...

      "Length: 59 ft. 2 in. (18 m)\n\n"+
      "Width: 10 ft. 4 in. (3.1 m)"
      )
      EngineOperatingProcedures (
      "To move forward\n"+
      "1. Press the W key to move the Reverser to Forward.\n"+
      "2. Press the ; (SEMICOLON) key to release the train brakes.\n"+

      ... and so on, as shown under Briefing in MSTS ...

      ) 
)
    Comment ( End of ENG file )


Close this window