Digital Rails

HomeContentKHP2_CP1694.zip

File: KHP2_CP1694/KHP2_CP1694.eng

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

Wagon ( KHP2_CP1694
	Type ( Engine )
	WagonShape ( KHP2_CP1694.s )
	Comment ( Original Engine by Maple Leaf Tracks, Renumber by Bernard Grant)
	Comment ( Glass Freight Animation adapted by Bernard Grant from originals by Edgar Njari )
	freightanim ( glass-gp9u.s 1 1 )
	Size ( 3.316m 4.8m 17m )
	comment( 247,500lbs )
	Mass ( 112.5t )
	WheelRadius ( 40in )
	InertiaTensor ( Box (3.316m 4.8m 15.82m) )
	Coupling (
		Type ( Automatic )
		Spring (
			Stiffness ( 1e6N/m 1e7N/m )
			Damping ( 1e7N/m/s 1e8N/m/s )
			Break ( 3.1e7N 3.1e7N )
			r0 ( 10cm 10cm )
		)
		Velocity ( 0.1m/s )
	)
	Adheasion ( 0.15 0.25 2 0 )
	DerailRailHeight ( 4cm )
	DerailRailForce ( 2.5*112.5t )
	DerailBufferForce ( 400kN )
	Friction (
		1236N/m/s	1	1mph		20.53N/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( 112kN )
	EmergencyBrakeResMaxPressure( 110 )
	TripleValveRatio( 2.5 )
	MaxReleaseRate( 6 )
	MaxApplicationRate( 5 )
	MaxAuxilaryChargingRate( 1.9 )
	EmergencyResCapacity( 9 )
	EmergencyResChargingRate( 2.1 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 64 )

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

	Lights (	20
	
	Comment ( Leading Loco )
		Light	(
			comment( Sphere of light Bright)
			Type		( 1 )
			Conditions	(
					Headlight ( 3 )
					Unit ( 2 )
					)
			Cycle		( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 80FFFFCA )
					Position ( 0.0 3.0 4.0 )
					Transition ( 0 )
					Radius ( 300.0 )
					Angle ( 60.0 )
					)
				)
			)
		Light	(
			comment( Sphere of light Dim )
			Type		( 1 )
			Conditions	(
					Headlight ( 2 )
					Unit ( 2 )
					)
			Cycle		( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 40FFFFCA )
					Position ( 0.0 3.0 4.0 )
					Transition ( 0 )
					Radius ( 100.0 )
					Angle ( 45.0 )
					)
				)
			)
            Light	(
			comment( Head light top dim )
			Type		( 0 )
			Conditions	(
					Headlight ( 2 )
					Unit ( 2 )
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 80FFFFCA )
					Position ( 0 3.15 7.3 )
					Transition ( 0 )
					Radius ( 0.8 )
					)
				)
			)
		Light	(
			comment( Head light bottom dim )
			Type		( 0 )
			Conditions	(
					Headlight ( 2 )
					Unit ( 2 )
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 80FFFFCA )
					Position ( 0 2.89 7.28 )
					Transition ( 0 )
					Radius ( 0.8 )
					)
				)
			)
		Light	(
			comment( Head light top bright )
			Type		( 0 )
			Conditions	(
					Headlight ( 3 )
					Unit ( 2 )
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( 0 3.15 7.3 )
					Transition ( 0 )
					Radius ( 1.0 )
					)
				)
			)
		Light	(
			comment( Head light bottom bright )
			Type		( 0 )
			Conditions	(
					Headlight ( 3 )
					Unit ( 2 )
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( 0 2.89 7.28 )
					Transition ( 0 )
					Radius ( 1.0 )
					)
				)
			)
		Light	(
			comment( Left Ditch Light )
			Type		( 0 )
			Conditions	(
					Headlight ( 3 )
					Unit ( 2 )
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( -0.92 1.81 7.95 )
					Transition ( 0 )
					Radius ( 1.2 )
					)
				)
			)
		Light	(
			comment( Right Ditch Light )
			Type		( 0 )
			Conditions	(
					Headlight ( 3 )
					Unit ( 2 )
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( 0.92 1.81 7.95 )
					Transition ( 0 )
					Radius ( 1.2 )
					)
				)
			)
		Light	(
			comment( Left Front Marker Light )
			Type		( 0 )
			Conditions	(
					Unit ( 2 )
					)
			Cycle		( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.7 )
			States(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( 0.78 4.4 4.75 )
					Azimuth ( 0.0 30.0 30.0 )
					Transition ( 0 )
					Radius ( 0.180 )
					)				
				)
			)
		Light	(
			comment( Right Front Marker Light )
			Type		( 0 )
			Conditions	(
					Unit ( 2 )
					)
			Cycle		( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.7 )
			States(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( -0.78 4.4 4.75 )
					Azimuth ( 0.0 -30.0 -30.0 )
					Transition ( 0 )
					Radius ( 0.180 )
					)			
				)
			)
	
	Comment ( Trailing Loco )
		Light	(
			comment( Rear light top bright )
			Type		( 0 )
			Conditions	(
					Headlight ( 3 )
					Unit ( 3 )
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( 0 3.99 -7.24 )
					Azimuth ( 180 180 180 )
					Transition ( 0 )
					Radius ( 1.0 )
					)
				)
			)
		Light	(
			comment( Rear light bottom bright )
			Type		( 0 )
			Conditions	(
					Headlight ( 3 )
					Unit ( 3 )
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFFFFCA )
					Position ( 0 3.73 -7.22 )
					Azimuth ( 180 180 180 )
					Transition ( 0 )
					Radius ( 1.0 )
					)
				)
			)
		Light	(
			comment( Rear light top dim )
			Type		( 0 )
			Conditions	(
					Headlight ( 2 )
					Unit ( 3 )
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 80FFFFCA )
					Position ( 0 3.99 -7.24 )
					Azimuth ( 180 180 180 )
					Transition ( 0 )
					Radius ( 0.8 )
					)
				)
			)
		Light	(
			comment( Rear light bottom dim )
			Type		( 0 )
			Conditions	(
					Headlight ( 2 )
					Unit ( 3 )
					)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 80FFFFCA )
					Position ( 0 3.73 -7.22 )
					Azimuth ( 180 180 180 )
					Transition ( 0 )
					Radius ( 0.8 )
					)
				)
			)
		Light	(
			comment( Left Rear Marker Light )
			Type		( 0 )
			Conditions	(
					Unit ( 3 )
					)
			Cycle		( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.7 )
			States(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFF0000 )
					Position ( 0.8 4.15 -6.85 )
					Azimuth ( 0.0 130.0 130.0 )
					Transition ( 0 )
					Radius ( 0.180 )
					)				
				)
			)
		Light	(
			comment( Right Rear Marker Light )
			Type		( 0 )
			Conditions	(
					Unit ( 3 )
					)
			Cycle		( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.7 )
			States(	1
				State	(
					Duration ( 0.0 )
					LightColour ( FFFF0000 )
					Position ( -0.8 4.15 -6.85 )
					Azimuth ( 0.0 -130.0 -130.0 )
					Transition ( 0 )
					Radius ( 0.180 )
					)			
				)
			)

	Comment ( AI Loco )
		Light	(
			comment( Head light top 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 3.15 7.3 )
					Transition ( 0 )
					Radius ( 1.0 )
					)
				)
			)
		Light	(
			comment( 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 2.89 7.28 )
					Transition ( 0 )
					Radius ( 1.0 )
					)
				)
			)
		Light	(
			comment( Left Ditch Light )
			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.92 1.81 7.95 )
					Transition ( 0 )
					Radius ( 1.2 )
					)
				)
			)
		Light	(
			comment( Right Ditch Light )
			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.9 1.8 7.95 )
					Transition ( 0 )
					Radius ( 1.2 )
					)
				)
			)
		)
		Sound (	"..\\..\\KHP2_Required\\EMDLocoSound\\NonTurboEMDeng.sms" )
	)

Engine ( KHP2_CP1694
	Effects
		(
		DieselSpecialEffects
			(

				Exhaust1
				(
					0.1 4.42 -0.3
					0 1 0
					0.15
				)
                        Exhaust2
				(
					0.1 4.42 -2.9
					0 1 0
					0.15
				)
			)
        	)
	Wagon ( KHP2_CP1694 )
	Type ( Diesel )
	MaxPower ( 1052kw ) Comment ( 1750 HP derated to 80.6% efficiency )
	MaxForce ( 195.7kN )	
	MaxContinuousForce ( 164.85kN )
	MaxVelocity ( 65mph )
	MaxCurrent ( 1600A ) 
	WheelRadius ( 20in )
	NumWheels ( 2 )
	MaxTemperature ( 120 )
	MaxOilPressure ( 90 )
	
	CabView ( GP9u.cvf )
	HeadOut (1.72 3.4 3.48 )

	AirBrakesAirCompressorPowerRating( 2.5 )
	AirBrakesMainMinResAirPressure( 14.7 )
	AirBrakesMainMaxAirPressure( 130 )
	AirBrakesMainResVolume( 9 )
	AirBrakesAirCompressorWattage( 15000 )
	AirBrakesCompressorRestartPressure( 126 )
	AirBrakesAirUsedPerPoundsOfBrakePipePressure( 1.4 )
	AirBrakesIsCompressorElectricOrMechanical( 1 )
	AirBrakesHasLowPressureTest( 1 )

	EngineBrakesControllerMinPressureReduction( 6 )
	TrainBrakesControllerMinPressureReduction( 6 )
	EngineBrakesControllerHasProportionalBrake( 1 )
	EngineBrakesProportionalBrakeLag( 0.8 )
	EngineBrakesControllerMaxApplicationRate( 3.5 )
	TrainBrakesControllerMaxApplicationRate( 3.5 )
	EngineBrakesControllerMaxReleaseRate( 10 )
	TrainBrakesControllerMaxReleaseRate( 3.5 )
	EngineBrakesControllerEmergencyApplicationRate( 8 )
	TrainBrakesControllerEmergencyApplicationRate( 7 )
	EngineBrakesControllerMinSystemPressure( 15 )
	TrainBrakesControllerMinSystemPressure( 15 )
	EngineBrakesControllerMaxSystemPressure( 85 )
	TrainBrakesControllerMaxSystemPressure( 85 )
	EngineBrakesControllerEmergencyBrakeTimePenalty( 0 )
	TrainBrakesControllerEmergencyBrakeTimePenalty( 0 )
	EngineBrakesControllerFullServicePressureDrop( 26 )
	TrainBrakesControllerFullServicePressureDrop( 26 )
	EngineBrakesControllerDirectControlExponent( 1 )

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

	MaxDieselLevel ( 1600gal )
	DieselUsedPerHourAtMaxPower ( 122.9gal )
	DieselUsedPerHourAtIdle ( 4.6gal )
	DieselSmokeEffectInitialMagnitude( 1.5 )
	DieselSmokeEffectMaxMagnitude( 2.5 )
	DieselSmokeEffectInitialSmokeRate( 0.5 )
	DieselSmokeEffectMaxSmokeRate( 3.5 )		
	DieselEngineIdleRPM( 255 )
	DieselEngineMaxRPM( 904 )
	DieselEngineSpeedOfMaxTractiveEffort( 12mph )        
      DieselEngineMaxRPMChangeRate( 27 )

	DoesHornTriggerBell( 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.025 0 
                NumNotches ( 1
                    Notch( 0  1 Dummy )
                )
            )
            Brake_Train ( 0 1 0.0125 0.5
                NumNotches ( 5
                    Notch( 0    0 TrainBrakesControllerReleaseStart )
                    Notch( 0.3  1 TrainBrakesControllerGraduatedSelfLapLimitedStart )
                    Notch( 0.85 0 TrainBrakesControllerSuppressionStart )
                    Notch( 0.9  0 TrainBrakesControllerContinuousServiceStart )
                    Notch( 0.95 0 TrainBrakesControllerEmergencyStart )
                )
            )
            DirControl ( -1 0 1 1 )
            BellToggle( 0 1 0 )
            Sanding ( 0 1 0 )
            Horn ( 0 1 0 )
            Vigilance ( 0 1 0 )
            Headlights ( 0 0.25 1 0 )
		EmergencyStopToggle( 0 1 0 )
            BailOffButton( 0 1 0 )
	)
	Sound (	"..\\..\\KHP2_Required\\EMDLocoSound\\NonTurboEMDcab.sms" )
            
    	Name ("CPR GP9u #1694")
    	Description (
	"GP9u.  General Purpose Locomotive built by EMD as GP9 #8831 in 1959, Rebuilt as GP9U with nose chopped in 1985, 
	used for switching and pulling freight over the main line.  \n"+
	"Locomotive type: Diesel-Electric\n\n"+
	"Power source: EMD 16-567B, supercharged, 2 stroke\n\n"+
	"Power: 1,750 hp @ 904 rpm\n\n"+
	"Max. speed: 65 mph (105 km/h)\n\n"+
	"Gear ratio: 62:15\n\n"+
	"Alternator (rectified output): AR10\n\n"+
	"Traction motors: Four model D77 DC, series wound, axle-hung\n\n"+
	"Max. continuous tractive effort: 44,000 lb (20,000 kg)@ 12 mph\n\n"+
	"Wheel configuration: Eight 40-in (102 cm), tapered tread in B-B configuration.\n\n"+
	"Weight: 124 tons (112.5 metric tons)\n\n"+
	"Height: 15 ft. 4 in. (4.7 m)\n\n"+
	"Length: 59 ft. 2 in. (17.1 m)\n\n"+
	"Width: 10 ft. 4 in. (3.1 m)"
    	)
)

Valid XHTML 1.0 Strict