Digital Rails

HomeContentCNSD402WPack.zip

File: CN5301/CN_SD40_2W_5301.ENG

SIMISA@@@@@@@@@@JINX0D0t______

Wagon ( CN_SD40_2W_5301
      Type ( Engine )
	WagonShape ( CN_SD40_2W_5301.s )
	Size ( 3.318m 4.768m 20.648m )
	Mass ( 179.4t )
	WheelRadius ( 20in )
	InertiaTensor ( Box (3.318m 4.768m 20.648m) )

	comment ( MSTS V2.2 Bin Rigid Large Road Engine Coupler values contributed by Joe Morris
         and Bill Prieger)
	Coupling (
		Type ( Automatic )
		Spring (
			Stiffness ( 4e2N/m 6e6N/m )
			Damping ( 1.5e6N/m/s 4.8e6N/m/s )
			Break ( 5.4e7N 5.4e7N )
			r0 ( 12cm 15cm )
		)
		Velocity ( 0.2m/s )
	)
	Coupling (
		Type ( Automatic )
		Spring (
			Stiffness ( 4e2N/m 6e6N/m )
			Damping ( 1.5e6N/m/s 4.8e6N/m/s )
			Break ( 5.4e7N 5.4e7N )
			r0 ( 12cm 15cm )
		)
		Velocity ( -0.2m/s )
	)
	Buffers (
		Spring (
			Stiffness ( 1e6N/m 4.5e6N/m )
			Damping ( 1.2e6N/m/s 1.8e6N/m/s )
			r0 ( 0m 1e9 )
		)
		Centre ( 0.5 )
		Radius ( 1 )
		Angle ( 0.5deg )
	)
	
	Adheasion ( 0.29 0.53 2.0 0 )
	DerailRailHeight ( 5cm )
	DerailRailForce ( 2.7*179.4t )
	DerailBufferForce ( 745kN )
	NumWheels (	12 )
	Friction (
		1917.5N/m/s    -0.10    1.3mph    19.945N/m/s    1.777
		5.1N/rad/s		1	-1rad/s	0		1
	)
		
	BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )
	BrakeSystemType( "Air_single_pipe" )
	MaxBrakeForce( 105.5kN )

	TripleValveRatio( 2.5 )
	MaxReleaseRate( 0.93 )
	MaxApplicationRate( 0.45 )
	MaxAuxilaryChargingRate( 0.845 )
	EmergencyResCapacity( 2.604 )
	EmergencyResChargingRate( 0.829 )
	EmergencyBrakeResMaxPressure( 90 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 70 )

Lights	(	22
		Light	(
				Type		( 1 #Sphere of light)
				Conditions	(
							Headlight ( 3 )
							Unit ( 2 )
						)
				Cycle		( 0 )
				FadeIn	( 0.5 )
				FadeOut	( 0.5 )
				States	(	1
							State	(
									Duration ( 0.0 )
									LightColour ( ffffffff )
									Position ( 0 3.894 12 )
									Transition ( 0 )
									Radius ( 200.0 )
									Angle ( 75.0 )
								)
						)
			)
Light	(
			comment( Front Right Bogie Light Bright )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.7 )
			FadeOut	( 0.7 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 1.1 1.3 7.3 )
					Azimuth ( 90.0 90.0 90.0 ) 
                              Transition ( 0.0 )
					Radius ( 0.6 )
					Angle ( 10.0 )
					)
				)
			)
          Light	(
			comment( Front Left Bogie Light Bright )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.7 )
			FadeOut	( 0.7 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( -1.1 1.3 7.3 )
					Azimuth ( -90.0 -90.0 -90.0 )
                              Transition ( 0.0 )
					Radius ( 0.6 )
					Angle ( 10.0 )
					)
				)
			)
            Light	(
			comment( Front Right Bogie Light Bright )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.7 )
			FadeOut	( 0.7 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 1.1 1.3 7.3 )
					Azimuth ( 90.0 90.0 90.0 ) 
                              Transition ( 0.0 )
					Radius ( 0.6 )
					Angle ( 10.0 )
					)
				)
			)
          Light	(
			comment( Front Left Bogie Light Bright )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.7 )
			FadeOut	( 0.7 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( -1.1 1.3 7.3 )
					Azimuth ( -90.0 -90.0 -90.0 )
                              Transition ( 0.0 )
					Radius ( 0.6 )
					Angle ( 10.0 )
					)
				)
			)

		Light	(
				Type		( 0 #Head light top dim)
				Conditions	(
							Headlight ( 2 )
							Unit ( 2 )
						)
				FadeIn	( 0.5 )
				FadeOut	( 0.5 )
				Cycle		( 0 )
				States	(	1
							State	(
									Duration ( 0.0 )
									LightColour ( 80ffffff )
									Position ( 0 3.117 8.72 )
									Azimuth ( 0.0 -5.0 5.0 )
									Transition ( 0 )
									Radius ( 0.5 )
								)
						)
			)
		Light	(
				Type		( 0 #Head light bottom dim)
				Conditions	(
							Headlight ( 2 )
							Unit ( 2 )
						)
				FadeIn	( 0.5 )
				FadeOut	( 0.5 )
				Cycle		( 0 )
				States	(	1
							State	(
									Duration ( 0.0 )
									LightColour ( 80ffffff )
									Position ( 0 2.86 8.71 )
									Azimuth ( 0.0 -5.0 5.0 )
									Transition ( 0 )
									Radius ( 0.5 )
								)
						)
			)
		Light	(
				Type		( 0 #Head light top bright)
				Conditions	(
							Headlight ( 3 )
							Unit ( 2 )
						)
				FadeIn	( 0.5 )
				FadeOut	( 0.5 )
				Cycle		( 0 )
				States	(	1
							State	(
									Duration ( 0.0 )
									LightColour ( ffffffff )
									Position ( 0 3.117 8.72 )
									Azimuth ( 0.0 -5.0 5.0 )
									Transition ( 0 )
									Radius ( 0.5 )
								)
						)
			)
		Light	(
				Type		( 0 #Head light bottom bright)
				Conditions	(
							Headlight ( 3 )
							Unit ( 2 )
						)
				FadeIn	( 0.5 )
				FadeOut	( 0.5 )
				Cycle		( 0 )
				States	(	1
							State	(
									Duration ( 0.0 )
									LightColour ( ffffffff )
									Position ( 0 2.86 8.71 )
									Azimuth ( 0.0 -5.0 5.0 )
									Transition ( 0 )
									Radius ( 0.5 )
								)
						)
			)

		Light	(
				Type		( 0 #Rear light dim )
				Conditions	(
							Headlight ( 2 )
							Unit ( 3 )
						)
				FadeIn	( 0.5 )
				FadeOut	( 0.5 )
				Cycle		( 0 )
				States	(	1
							State	(
									Duration ( 0.0 )
									LightColour ( 80ffffff )
									Position ( -0 4.015 -8.29 )
									Azimuth ( -180 -180 -180 )
									Transition ( 0 )
									Radius ( 0.4 )
								)
						)
			)
			Light	(
				Type		( 0 #Rear light bright )
				Conditions	(
							Headlight ( 3 )
							Unit ( 3 )
						)
				FadeIn	( 0.5 )
				FadeOut	( 0.5 )
				Cycle		( 0 )
				States	(	1
							State	(
									Duration ( 0.0 )
									LightColour ( ffffffff )
									Position ( -0 4.015 -8.29 )
									Azimuth ( -180 -180 -180 )
									Transition ( 0 )
									Radius ( 0.4 )
								)
						)
			)

		Light	(
				Type		( 0 #Front left ditch bright)
				Conditions	(
							Headlight ( 3 )
							Unit ( 2 )
							Service ( 2 )
							TimeofDay ( 0 )
						)
				FadeIn	( 0 )
				FadeOut	( 0 )
				Cycle		( 0 )
				States	(	1
							State	(
									Duration ( 0.0 )
									LightColour ( ffffffff )
									Position ( 0.75 1.77 10.1 )
									Azimuth ( 0.0 -5.0 5.0 )
									Transition ( 0 )
									Radius ( 0.5 )
								)
						)
			)

		Light	(
				Type		( 0 #Front right ditch bright)
				Conditions	(
							Headlight ( 3 )
							Unit ( 2 )
							Service ( 2 )
							TimeofDay ( 0 )
												)
				FadeIn	( 0.0 )
				FadeOut	( 0.0 )
				Cycle		( 0 )
				States	(	1
							State	(
									Duration ( 0.0 )
									LightColour ( ffffffff )
									Position ( -0.75 1.77 10.1 )
									Azimuth ( 0.0 -5.0 5.0 )
									Transition ( 0 )
									Radius ( 0.5 )
								)
						)
			)

comment ( AI section )
           Light	(
			comment( AI Head light top bright )
			Type		( 0 )
			Conditions	(				
					Control ( 1 )
					Unit ( 2 )
                              Service ( 2)
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	( 1
				State (	
					Duration ( 0.0 )	
					LightColour ( FFFFFFCA )
					Position ( 0.0 2.98 8.76 )
					Transition ( 0 )
					Radius ( 1.0 )
					)
				)
			)
		Light	(
			comment( AI Head light bottom bright )
			Type		( 0 )
			Conditions	(
					Control ( 1 )
					Unit ( 2 )
                              Service ( 2)
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( 0.0 2.73 8.74 )		
					Transition ( 0 )
					Radius ( 1.0 )
					)
				)
			)
		Light	(
			comment( AI Front right ditch light )
			Type		( 0 )
			Conditions	(
					Control ( 1 )
					Unit ( 2 )
                              Service ( 2)
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	( 1
				State (
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( -0.92 1.4 10.05 )
					Transition ( 0 )
					Radius ( 1.2 )
					)
				)
			)
		Light	(
			comment( AI Front left ditch light )
			Type		( 0 )
			Conditions	(
					Control ( 1 )
					Unit ( 2 )
                              Service ( 2)
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States 	( 1
				State (
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( 0.92 1.4 10.05 )
					Transition ( 0 )
					Radius ( 1.2 )
					)
				)
			)
		)

	Sound (	"../../common.snd/CN_SD40/sd40eng.sms" )

)

Engine ( CN_SD40_2W_5301
	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.00 4.57 1.56
				0 1 0
				0.19
			)
		)
      )
        
	Wagon ( CN_SD40_2W_5301 )
	Type ( Diesel )
	MaxPower ( 1880.0kW)
	MaxForce ( 463.7kN )
	MaxContinuousForce ( 369.6kN )
	MaxVelocity ( 69mph )
	MaxCurrent ( 1500A  )
	WheelRadius ( 20in )
	Sanding ( 15mph )
	WheelRadius (20in )
	NumWheels ( 4 )
	MaxTemperature ( 120 )
	MaxOilPressure ( 90 )
	RunUpTimeToMaxForce (30.0 )

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

	AirBrakesAirCompressorPowerRating( 3.8 )
	AirBrakesMainMinResAirPressure( 14.7 )
	AirBrakesMainMaxAirPressure( 140 )
	AirBrakesMainResVolume( 11 )
	AirBrakesAirCompressorWattage( 19000 )
	AirBrakesCompressorRestartPressure( 134 )
	AirBrakesAirUsedPerPoundsOfBrakePipePressure( 1.44 )
	AirBrakesIsCompressorElectricOrMechanical( 1 )

	EngineBrakesControllerMinPressureReduction( 6 )
	TrainBrakesControllerMinPressureReduction( 6 )
	EngineBrakesControllerHasProportionalBrake( 1 )
	EngineBrakesProportionalBrakeLag( 0.47 )
	EngineBrakesControllerMaxApplicationRate( 9 )
	TrainBrakesControllerMaxApplicationRate( 6.5 )
	EngineBrakesControllerMaxReleaseRate( 10 )
	TrainBrakesControllerMaxReleaseRate( 2.6 )
	EngineBrakesControllerEmergencyApplicationRate( 1.3 )
	TrainBrakesControllerEmergencyApplicationRate( 1.2 )
	EngineBrakesControllerMinSystemPressure( 15 )
	TrainBrakesControllerMinSystemPressure( 15 )
	EngineBrakesControllerMaxSystemPressure( 90 )
	TrainBrakesControllerMaxSystemPressure( 90 )
	EngineBrakesControllerEmergencyBrakeTimePenalty( 60 )
	TrainBrakesControllerEmergencyBrakeTimePenalty( 60 )
	EngineBrakesControllerFullServicePressureDrop( 26 )
	TrainBrakesControllerFullServicePressureDrop( 26 )

	DynamicBrakesMinUsableSpeed( 3 )
	DynamicBrakesMaximumEffectiveSpeed( 24 )
	DynamicBrakesMaximumForce( 267kN )
	DynamicBrakesResistorCurrentLimit ( 700 )
	DynamicBrakesCutInSpeed( 5.5 )
	DynamicBrakesMaxAirBrakePressure ( 50 )
	DynamicBrakesFadingSpeed( 7 )
	DynamicBrakesDelayTimeBeforeEngaging ( 10 )
	DynamicBrakesMaximumSpeedForFadeOut ( 450 )
	DynamicBrakesEffectAtMaximumFadeOut( 0 )
	DynamicBrakesHigherSpeedCurveExponent( 10.2 )
	DynamicBrakesLowerSpeedCurveExponent( 0.9 )
	DynamicBrakesNumberOfControllerNotches( 1 )
      DynamicBrakeHasAutoBailOff ( 1 )

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

	EngineBrakesControllerDirectControl ( 1 )

	CabView ( HR_GenCN.cvf )
	HeadOut (1.75 3.575 5.3 )
	MaxDieselLevel ( 4000gal )
	DieselUsedPerHourAtMaxPower ( 164.4gal )
	DieselUsedPerHourAtIdle ( 5.2gal )
	DieselSmokeEffectInitialMagnitude( 1.2 )
	DieselSmokeEffectMaxMagnitude( 1.8 )
	DieselSmokeEffectInitialSmokeRate( 0.4 )
	DieselSmokeEffectMaxSmokeRate( 3.1 )
	DieselEngineIdleRPM( 315 )
	DieselEngineMaxRPM( 904 )
	DieselEngineSpeedOfMaxTractiveEffort( 11.1mph )
      DieselEngineMaxRPMChangeRate( 55 )
      DoesHornTriggerBell ( 1 )

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

	AWSMonitor(
		MonitoringDeviceMonitorTimeLimit( -1 )
		MonitoringDeviceAlarmTimeLimit( 5 )
		MonitoringDevicePenaltyTimeLimit( 0 )
		MonitoringDeviceCriticalLevel( 0 )
		MonitoringDeviceResetLevel( 0 )
		MonitoringDeviceAppliesFullBrake( 0 )
		MonitoringDeviceAppliesEmergencyBrake( 1 )
		MonitoringDeviceAppliesCutsPower( 1 )
		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 0.8 0.025 0.8 
			NumNotches ( 2
				Notch ( 0.0000 0	EngineBrakesControllerReleaseStart )
				Notch ( 0.0125 1	EngineBrakesControllerApplyStart )
                )
            )
            Brake_Train ( 0 1 0.0025 0.405
			NumNotches ( 7
				Notch ( 0.000 0 TrainBrakesControllerReleaseStart )
				Notch ( 0.350 1 TrainBrakesControllerGraduatedSelfLapLimitedHoldingStart )
				Notch ( 0.455 0 TrainBrakesControllerFullServiceStart )
				Notch ( 0.460 0 TrainBrakesControllerSuppressionStart )
				Notch ( 0.465 0 TrainBrakesControllerContinuousServiceStart )
				Notch ( 0.470 0 TrainBrakesControllerFullServiceStart )
				Notch ( 0.500 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 (	"../../common.snd/CN_SD40/sd40cab.sms" )

	Name ( "CN SD40-2W #5301" )
 	Description (
	"The Electro-Motive SD-40-2W, an CN diesel-electric locomotive with a wide cab, most effective "+
	"pulling heavy loads over long stretches at slow speeds.\n\n"+
	"Locomotive type: EMD SD40-2\n\n"+
	"Power: 3,000 hp\n\n"+
	"Max. speed: 65 mph (104 km/h)\n\n"+
	"Gear ratio: 62:15\n\n"+
	"Power source: GM 6453 16 cylinder\n\n"+
	"Alternator: GMG 197\n\n"+
	"Max. starting tractive effort: 76,680 lb \n\n"+
	"Max. continuous tractive effort: 64,300 lb \n\n"+
	"Wheel configuration: Twelve 42-inch (16.5 cm) diameter in C-C configuration (two sets of three "+
	"driven axles)\n\n"+
	"Height: 15 ft. 8 in. (4 69/89 m)\n\n"+
	"Width: 10 ft. 3 in. (3 1/8 m)\n\n"+
	"Length: 68 ft. 10 in. (20 50/51 m)\n\n"+
	"Weight: 194.624 U.S. tons (176.524 metric tons)"	
 	)
)

Valid XHTML 1.0 Strict