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

Wagon ( RoyalScotsClass  
	Type ( Engine )
	WagonShape ( UKRoyalScot.s )
	Size  ( 2.64m 3.868m 12.7m )
	CentreOfGravity ( 0m 1.7m 0m )
	Centre ( 0m 0m 0m )
	Mass ( 86t )
	InertiaTensor ( Box(3.5m 5m 12m) )
	Coupling (
		Type ( Chain )
		Spring (
			Stiffness ( 2e6N/m 2e6N/m )
			Damping ( 0.5e5N/m/s 0.5e5N/m/s )
			Break ( 1e6N 1e6N )
			r0 ( 10cm 1e9 )
		)
		Velocity ( 0.1m/s )
	)
	Adheasion ( 0.15 0.3 2 0.5 )
	DerailRailHeight ( 4cm )
	DerailRailForce ( 240kN )
	DerailBufferForce ( 400kN )
	WheelRadius ( 0.4825m )
	NumWheels (	1 )
	Friction (
		50N/m/s			1		-1mph		0		1
		5.1N/rad/s		1		-1rad/s		0		1
	)

	BrakeEquipmentType( "Handbrake" )
	BrakeSystemType( "Vacuum_single_pipe" )
	MaxBrakeForce( 75kN )

	MaxHandbrakeForce( 55kN )
	NumberOfHandbrakeLeverSteps( 100 )

	MaxReleaseRate( 15 )
	MaxApplicationRate( 15 )
	MaxAuxilaryChargingRate( 12 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 21 )
	
	Lights (	3
		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 1.5 5.25 )
					Transition ( 0 )
					Radius ( 200.0 )
					Angle ( 75.0 )
				)
			)
		)
		Light	(
			Type		( 0 #Head light right dim )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 1.064 1.606 5.384 )
					Azimuth ( 0.0 -5.0 5.0 )
					Transition ( 0 )
					Radius ( 5.0 )
				)
			)
		)
		Light	(
			Type	( 0 #Head light left dim )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( -1.064 1.606 5.384 )
					Azimuth ( 0.0 -5.0 5.0 )
					Transition ( 0 )
					Radius ( 5.0 )
				)
			)
		)
	)
	Sound ( "GenSteamEng.sms" )
)



Engine ( RoyalScotsClass
	Effects
	(
		SteamSpecialEffects
		(
			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
			)

			WhistleFX
			(
				-0.66 3.59 -4.49
				0 1 0
				0.05
			)

			SafetyValvesFX
			(
				0 3.885 -2.65
				0 1 0
				0.2
			)

			StackFX
			(
				0 4.3 3.65
				0 1 0
				0.2
			)

			DrainpipeFX
			(
				-1.5 1.258 -3.886
				-0.4 -1 -0.2
				0.05
			)

			CylindersFX
			(
				-1.223 1.0 4.0
				0 0 1
				0.1
			)

			CylindersFX
			(
				1.223 1.0 4.0
				0 0 1
				0.1
			)
		)
	)

	Wagon ( RoyalScotsClass )
	Type ( Steam )
	MaxPower ( 1300kW )
	MaxForce ( 33150lbf )
	IsTenderRequired( 1 )
	
	MaxVelocity ( 130mph )
	WheelRadius ( 1.03m )
	Sanding ( 1e9mph )
	NumWheels ( 1 )
	BoilerLength ( 6.2m )
	BoilerVolume ( "160*(ft^3)" )
	BoilerEffectivity ( 1.22 )
	DraftingEffect ( "0.85 #lower setting => more steam" )
	BoilerResponsiveness ( 1.24 )
	CoalBurnage ( 4.05lb/hp/h )
	MaxBoilerOutput ( 28000lb/h )
	NumCylinders ( 3 )
	CylinderStroke ( 26in )
	CylinderDiameter ( 18in )
	CylinderVolume ( "11.48*(ft^3)" )
	CylinderEffectivity ( 1 )
	InjectorSizes ( 11mm 12mm )
	ExhaustLimit ( 31000lb/h )
	PrimingFactor ( 1 )
	BlastExponent ( "1.05 #easy 0.85" )
	MaxBoilerPressure ( 250psi )
	MaxFireMass ( "3000lb #easy 3500lb!" )
	IdealFireMass ( 2200lb )
	MaxWaterMass ( 5000lb )
	SafetyValvesSteamUsage ( 8800lb/h )
	ShovelCoalMass ( 1lb )
	SmokeCombustion ( 1 )
	MaxTenderCoalMass ( 11200lb )
	MaxTenderWaterMass ( 40000lb )
	InjectorTypes( 0 1 #0 for live steam, 1 for exhaust steam)
	SuperHeater ( 1.2 )

	BasicSteamUsage ( 1250lb/h )
	BasicCoalUsage ( 950lb/h )
	InjectorLimits1 ( 60psi 0.6 1  #min steam pressure, min water proportion, max water proportion )
	InjectorLimits2 ( 60psi 0 1  #min steam pressure, min water proportion, max water proportion )
	CylinderCocksPowerEfficiency ( 0.9 )

	VacuumBrakesSmallEjectorPowerRating( 4 )
	VacuumBrakesMinBoilerPressureMaxVacuum( 110 )
	VacuumBrakesSmallEjectorUsageRate( 500 )
	VacuumBrakesLargeEjectorUsageRate( 2400 )
	VacuumBrakesHasVacuumPump( 0 )

	TrainBrakesControllerMaxReleaseRate( 12 )
	TrainBrakesControllerEmergencyApplicationRate( 45 )
	TrainBrakesControllerMinSystemPressure( 0 )
	TrainBrakesControllerMaxSystemPressure( 21 )


CabView ( scotsman.cvf )
	HeadOut (  1.7 3.1 -5.5 )


	EngineBrakesControllerHasProportionalBrake( 1 )
        EngineBrakesProportionalBrakeLag( 0.9 )

	BrakesEngineBrakeType( "Single_pipe_vacuum"  )
	BrakesTrainBrakeType( "Single_pipe_vacuum" )
        BrakesEngineControllers( "Hand, Train" )

	CutoffMaxReverse( 75 )
	CutoffMaxForward( 75 )
	SteamSmallestCutoff( 8 )
	NumberOfDamperSteps( 4 )

	RegulatorValveType( Twin_port )
	RegulatorSecondValveStartPosition( 0.5 )
	RegulatorPilotValveExponent( 1.7 )
	RegulatorSecondValveExponent( 1.7 )
	RegulatorPilotValveFullOpenning( 0.3 )
	RegulatorMainValveInitialOpenning( 0.4 )

	SteamBlowerEffectExponent( 0.9 )
	SteamBlowerEfficiencyExponent( 1.1 )
	SteamBlowerMaxSteamUsageRate( 500 #lbs/h )
	SteamBlowerMaxProportionOfBlastEffect( 0.15 )

	SteamWaterScoopMinPickupSpeed( 30 #mph )
	SteamWaterScoopMaxPickupSpeed( 60 #mph )
	SteamWaterScoopResistance( 6000N )
	SteamWaterScoopMaxPickupRate( 65 #Gallons per second )
		
        EngineControllers (
            Regulator ( 0 1 0.025 0 
                NumNotches( 0 )
            )
            Cutoff    ( -0.75 0.75 0.01 0 
                NumNotches( 0 )
            )
            Brake_Train ( 0 1 0.0125 0 
                NumNotches( 3
                    Notch( 0    0 TrainBrakesControllerReleaseStart )
                    Notch( 0.4  1 TrainBrakesControllerRunningStart )
                    Notch( 0.5  1 TrainBrakesControllerApplyStart   )
                )
            )
            Brake_Hand ( 0 1 0.0125 0 
                NumNotches( 0 )
            )
            FireDoor ( 0 1 0.1 0 
                NumNotches( 0 )
            )
            Sanding( 0 1 0 )
            Blower ( 0 1 0.025 0 
                NumNotches( 0 )
            )
            HeatingTap ( 0 1 0.1 0
                NumNotches( 0 )
            )
            Shovel ( 0 1 0.1 0 
                NumNotches( 0 )
            )
            DampersFront ( 0 1 0.1 1 
                NumNotches( 0 )
            )
            DampersBack ( 0 1 0.1 0 
                NumNotches( 0 )
            )
            Injector1Steam ( 0 1 0 )
            Injector2Steam ( 0 1 0 )
            Injector1Water ( 0 1 0.1 0
                NumNotches( 0 )
            )
            Injector2Water ( 0 1 0.1 0
                NumNotches( 0 )
            )
            CylinderCocks ( 0 1 0 )
            Whistle ( 0 1 0 )
            WaterScoop ( 0 1 0 )
            SmallEjectorOrCompressor( 0 1 1 )            
        )
        
	comment( fire temp, fire mass, water mass, boiler pressure,
		tender_water_mass, tender_coal_mass,
		smoke_quantity, fire_condition, coal quality )
	
	EngineVariables( 800 2000 3500 230 40000 11200 350 1 1 )
)