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

Wagon ( DF4D3309
	Type ( Engine )
	WagonShape ( DF4D3309.s )
	Size ( 3.13m 4.755m 21.m )
	comment( 250000lbs US )
	Mass ( 138.0t )
	WheelRadius ( 0.575m )
	InertiaTensor ( Box (3.1m 4.6m 21.m) )
	Coupling (
		Type ( Automatic )
		Spring (
			Stiffness ( 1e6N/m 5e6N/m  )
			Damping ( 1e6N/m/s 1e6N/m )
			Break ( 1.1e7N 1.1e7N)
			r0 ( 8cm 1e9 )
		)
		CouplingHasRigidConnection ()
	)

	Buffers (
		Spring (
			Stiffness ( 1e6N/m 5e6N/m)
			Damping ( 1e6N/m/s 1e6N/m/s)
			r0 ( 0m 1e9 )
		)
		Centre ( 0.0 )
		Radius ( 1 )
		Angle ( 0.4deg )
	)
	
	Adheasion ( 5000 10000 20000 0 )
	DerailRailHeight ( 4cm )
	DerailRailForce ( 230kn)
	DerailBufferForce ( 156kN )
	NumWheels ( 12 )
	Friction (
	11N/m/s		1		 60mph	11N/m/s                        1
		2.1N/rad/s		1		1rad/s		0		1
	)
	AntiSlip (  )

	BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )

	BrakeSystemType( "Air_single_pipe" )
	MaxBrakeForce ( 300kN )
	
	EmergencyBrakeResMaxPressure( 110 )
	TripleValveRatio( 2.5 )
	MaxReleaseRate( 30 )
	MaxApplicationRate( 25 )
	MaxAuxilaryChargingRate( 20 )
	EmergencyResCapacity( 10 )
	EmergencyResChargingRate( 25 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 70 )

	IntakePoint ( -3.33 0.4 FuelDiesel )
	IntakePoint ( 3.33 0.4 FuelDiesel )

	Lights	(	7
		Light	(
			comment( Sphere of light )
			Type		( 1 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 0.0 3.5 20 )
					Transition ( 0 )
					Radius ( 400.0 )
					Angle ( 15.0 )
					)
				)
			)
		Light	(
			comment( Head light left dim )
			Type		( 0 )
			Conditions	(
				Headlight ( 2)
				Unit ( 2 )
				)
			FadeIn	( 3 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( fff5c37b )
					Position ( 1.19 2.153 10.356 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.7 )
					Elevation ( 0 0 0))
				)
			)
		Light	(
			comment( Head light right dim )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 2 )
				)
			FadeIn	( 3 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( fff5c37b)
					Position ( -1.19 2.153 10.356 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.7 )
					Elevation ( 0 0 0 ))
				)
			)
		Light	(
			comment( Head light right bright )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 2.5 )
			FadeOut	( 1.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( -1.19 2.153 10.356 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.5 )
					Elevation ( 0 0 0 ))
				)
			)
		Light	(
			comment( Head light left bright )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 2.5 )
			FadeOut	( 1.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 1.19 2.153 10.356 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.5 )
					Elevation ( 0 0 0 )
					)
				)
			)		
		Light	(
			comment( top light bright)
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 5.5 )
			FadeOut	( 5.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 0.0 4.12 10.008 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 1.2 )
					Elevation ( 0 0 0 )
					)
				)
			)
	Light	(
			comment( back light)
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 3.5 )
			FadeOut	( 3.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffff1111 )
					Position ( -.97 2.153 -10.352 )
					Azimuth ( 180 180 180 )
					Transition ( 0 )
					Radius ( .3 )
					Elevation ( 0 0 0 )
					)
				)
			)

	
		)

    	Sound ("../../Common.Snd/DF_Snd/df4dEng.sms" )
	)

Engine ( DF4D3309
	Effects
		(
		DieselSpecialEffects
			(
				comment
				(
					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.0  4.8 1.78
					0 1 0
					0.2
				)
				Exhaust2
				(
					0.0 4.8 -1.78
					0 1 0
					0.2
				)
			)
        	)
        
	Wagon ( DF4D3309 )
	Type ( Diesel )
	MaxPower ( 3500kw )
	MaxForce ( 300kN )	
	MaxContinuousForce ( 200kN )
	MaxVelocity ( 150kmh )
	MaxCurrent ( 3000A ) 
	WheelRadius ( 0.575m )
	Sanding ( 1e9mph )
	NumWheels ( 1 )
	MaxTemperature ( 120 )
	MaxOilPressure ( 90 )

	CabView ( df4.cvf )
	MaxDieselLevel ( 3600gal )
	DieselUsedPerHourAtMaxPower ( 60gal )
	DieselUsedPerHourAtIdle ( 10gal )

	AirBrakesAirCompressorPowerRating( 1.2 )
	AirBrakesMainMinResAirPressure( 0 )
	AirBrakesMainMaxAirPressure( 90 )
	AirBrakesMainResVolume( 8 )
	AirBrakesAirCompressorWattage( 19000 )
	AirBrakesCompressorRestartPressure( 87 )
	AirBrakesAirUsedPerPoundsOfBrakePipePressure( 0.22 )
	AirBrakesIsCompressorElectricOrMechanical( 1 )

	EngineBrakesControllerMinPressureReduction( 6 )
	TrainBrakesControllerMinPressureReduction( 6 )
	EngineBrakesControllerHasProportionalBrake( 1 )
	EngineBrakesProportionalBrakeLag( 0.9 )
	EngineBrakesControllerMaxApplicationRate( 20 )
	TrainBrakesControllerMaxApplicationRate( 20 )
	EngineBrakesControllerMaxReleaseRate( 15 )
	TrainBrakesControllerMaxReleaseRate( 4 )
	EngineBrakesControllerEmergencyApplicationRate( 50 )
	TrainBrakesControllerEmergencyApplicationRate( 50 )
	EngineBrakesControllerMinSystemPressure( 0 )
	TrainBrakesControllerMinSystemPressure( 0 )
	EngineBrakesControllerMaxSystemPressure( 90 )
	TrainBrakesControllerMaxSystemPressure( 90 )
	EngineBrakesControllerEmergencyBrakeTimePenalty( 60 )
	TrainBrakesControllerEmergencyBrakeTimePenalty( 60 )
	EngineBrakesControllerFullServicePressureDrop( 26 )
	TrainBrakesControllerFullServicePressureDrop( 26 )


	DynamicBrakesMinUsableSpeed( 5 )
	DynamicBrakesMaximumEffectiveSpeed( 190 )
	DynamicBrakesMaximumForce( 55000 )
	DynamicBrakesResistorCurrentLimit ( 5000 )
	DynamicBrakesCutInSpeed( 8 )
	DynamicBrakesMaxAirBrakePressure ( 15 )
	DynamicBrakesFadingSpeed( 25 )
	DynamicBrakesDelayTimeBeforeEngaging ( 8 )
	DynamicBrakesMaximumSpeedForFadeOut ( 65 )
	DynamicBrakesEffectAtMaximumFadeOut( 0 )
	DynamicBrakesHigherSpeedCurveExponent( 1 )
	DynamicBrakesLowerSpeedCurveExponent( 1 )
	DynamicBrakesNumberOfControllerNotches( 10 )


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

	MaxDieselLevel ( 2000gal )
	DieselUsedPerHourAtMaxPower ( 60gal )
	DieselUsedPerHourAtIdle ( 10gal )

	DieselSmokeEffectInitialMagnitude( 1.5 )
	DieselSmokeEffectMaxMagnitude( 1.5 )
	DieselSmokeEffectInitialSmokeRate( 0.5 )
	DieselSmokeEffectMaxSmokeRate( 2.5 )	
	
	DieselEngineIdleRPM( 255 )
	DieselEngineMaxRPM( 904 )
	DieselEngineSpeedOfMaxTractiveEffort( 20.8kph )        
        DieselEngineMaxRPMChangeRate( 40 )

	DoesHornTriggerBell( 0 )

	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 )
		)
	
	EngineVariables( 3600 )
			
        EngineControllers (
            Throttle ( 0 1 0.025 0 
                NumNotches ( 0
                )
            )
            Brake_Engine ( 0 1 0.0125 0 
                NumNotches ( 1
                    Notch( 0  1 Dummy )
                )
            )
            Brake_Train ( 0 1 0.0125 0.1
                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 ("../../Common.Snd/DF_Snd/df4dCab.sms" )
    	Name ("DF4D 3309")
    	Description (
	" \n\n"+
	" \n\n"+
	" \n\n"+
	" \n\n"+
	" \n\n"
	""
    	)
    	EngineOperatingProcedures (
    	" "
    	) 
)

