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

Wagon ( Shangyou
	comment( 2-8-2 )
	Type ( Engine )
	WagonShape ( SY.s )
	Size  ( 3.24m 4.44m 12.93m )
	CentreOfGravity ( 0m 2m 0m )
	Centre ( 0m 0m 0m )
	Mass ( 187.4t )
	InertiaTensor ( Box(3.24m 4.44m 12.93m) )
	Coupling (
		Type ( Automatic )
		Spring (
			Stiffness ( 4e6N/m 5e6N/m )
			Damping ( 1e6N/m/s 1e6N/m/s )
			Break ( 5e7N 5e7N )
			r0 ( 10cm 40cm )
		)
		Velocity ( 0.1m/s )
	)
	Buffers (
		Spring (
			Stiffness ( 5e6N/m 5e6N/m )
			Damping ( 1e6N/m/s 1e6N/m/s )
			r0 ( 0m 1e9 )
		)
		Centre ( 0.5 )
		Radius ( 1 )
		Angle ( 0.5deg )
	)
	Adheasion ( 0.26 0.56 2 0 )
	DerailRailHeight ( 4cm )
	DerailRailForce ( 2.5*187.4t )
	DerailBufferForce ( 400kN )
	WheelRadius ( 0.428m )
	NumWheels ( 8 )
	Friction (
		50N/m/s			1		-1mph		0		1
		5.1N/rad/s		1		-1rad/s		0		1
	)
	BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )
	BrakeSystemType( "Air_single_pipe" )
	MaxBrakeForce( 200kN )
	EmergencyBrakeResMaxPressure ( 90 )
	TripleValveRatio( 2.5 )
	MaxReleaseRate( 15 )
	MaxApplicationRate( 10 )
	MaxAuxilaryChargingRate( 2 )
	EmergencyResCapacity ( 10 )
	EmergencyResChargingRate ( 10 )
      BrakeCylinderPressureForMaxBrakeBrakeForce( 64 )
	
	
    	Sound (	"SYeng.sms" )
	
	Lights	(	2
		Light	(
			comment( Sphere of light )
			Type		( 1 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 5 )
			FadeOut	( 5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 0.0 2.777 6.118 )
					Transition ( 0 )
					Radius ( 400.0 )
					Angle ( 30.0 )
					)
				)
			)
		Light	(
			comment( Headlight Top Dim )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 5 )
			FadeOut	( 5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 0 2.771 6.041 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.8 )
					)
				)
			)
		)
	)

Engine ( Shangyou  
	comment( class Shangyou )
	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 4.453 -2.468
				0 2 0
				0.1
			)

			SafetyValvesFX
			(
				0 4.444 -1.528
				0 3 0
				0.1
			)

			StackFX
			(
				0 4.237 4.35
				0 2 0
				0.2
			)

			StackFX
			(
				0 4.237 4.35
				0 2 -1
				0.5
			)

			DrainpipeFX
			(
				-1.7 1.258 -3.886
				-0.4 -1 -0.2
				0.2
			)

			CylindersFX
			(
				-1.5 0.17 4.391
				-2 0.4 -2
				0.2
			)

			CylindersFX
			(
				1.5 0.17 4.391
				2 0.4 -2
				0.2
			)
		)
	)

	Wagon ( Shangyou )
	Type ( Steam )
	MaxPower ( 2400kW )
	MaxForce ( 60000lbf )
	MaxVelocity ( 90mph )
	IsTenderRequired( 1 )
	WheelRadius ( 0.73m )
	Sanding ( 1e14mph )
	NumWheels ( 8 )
	BoilerLength ( 6.25m )
	BoilerVolume ( "165*(ft^3)" )
	BoilerEffectivity ( 1.2 )
	DraftingEffect ( 0.85 )
	BoilerResponsiveness ( 1.22 )
	CoalBurnage ( 3.2 lb/hp/h )
	MaxBoilerOutput ( 61000lb/h )
	NumCylinders ( 2 )
	CylinderStroke ( 32in )
	CylinderDiameter ( 27in )
	CylinderVolume ( "21.2*(ft^3)" )
	CylinderEffectivity ( 1 )
	InjectorSizes ( 14mm 14mm )
	ExhaustLimit ( 41000lb/h )
	PrimingFactor ( 1 )
	SteamMinPrimingLevel  (.85)
	BlastExponent ( 0.85 )
	MaxBoilerPressure ( 228psipsi )
	MaxFireMass ( 2650lb )
	IdealFireMass ( 1850lb )
	MaxWaterMass ( 4050lb )  
	SafetyValvesSteamUsage ( 21500lb/h )
	ShovelCoalMass ( 3lb )
	SmokeCombustion ( 1 )
	MaxTenderCoalMass ( 32000lb )
	MaxTenderWaterMass ( 100000lb )
	comment(0 for live steam, 1 for exhaust steam)
	InjectorTypes( 1 1 ) 
	SuperHeater ( 1.20)
	SteamSmokeUnitsPerPoundOfFuel( 8.5 )
	SteamMaxSmokeUnitsReleaseRate( 9 )
	MaxSteamHeatingPressure( 80 )
	SafetyValvePressureDifference( 2 )
	SteamGaugeGlassHeight( 12 )
	SteamFiremanMaxPossibleFiringRate( 26000 )

	BasicSteamUsage ( 4000lb/h )
	BasicCoalUsage ( 700lb/h )
	InjectorLimits1 ( 65psi 0.65 1 )  
	InjectorLimits2 ( 65psi 0.65 1 )  
	CylinderCocksPowerEfficiency ( 0.85 )

	SteamCylinderCocksOperation( manual )
	SteamSmallestCutoff( 0.01 )
	NumberOfDamperSteps( 4 )

 	
	AirBrakesAirCompressorPowerRating( 1.2 )
    	AirBrakesMainMinResAirPressure( 0 )
    	AirBrakesMainMaxAirPressure( 130 )
	AirBrakesMainResVolume( 50 )
    	AirBrakesCompressorRestartPressure( 127 )
	AirBrakesAirUsedPerPoundsOfBrakePipePressure( 1.0 )

	EngineBrakesControllerHasProportionalBrake( 1 )
	EngineBrakesProportionalBrakeLag( 0.9 )
	EngineBrakesControllerMaxApplicationRate( 6 )
	TrainBrakesControllerMaxApplicationRate( 2.5 )
	EngineBrakesControllerMaxReleaseRate( 6 )
	TrainBrakesControllerMaxReleaseRate( 2.5 )
	EngineBrakesControllerEmergencyApplicationRate( 50 )
	TrainBrakesControllerEmergencyApplicationRate( 50 )
	EngineBrakesControllerMinSystemPressure( 0 )
	TrainBrakesControllerMinSystemPressure( 0 )
	EngineBrakesControllerMaxSystemPressure( 90 )
	TrainBrakesControllerMaxSystemPressure( 90 )
	
	BrakesEngineBrakeType( "Air_single_pipe"  )
	BrakesTrainBrakeType( "Air_single_pipe" )
	BrakesEngineControllers( "Train, Independent" )

	EngineBrakesControllerDirectControlExoinent ( 1 )
	AirBrakesHasLowPressureTest ( 1 )

	RegulatorValveType( Twin_port )
	RegulatorSecondValveStartPosition( 0.45 )
	RegulatorPilotValveExponent( 1.7 )
	RegulatorSecondValveExponent( 1.7 )
	RegulatorPilotValveFullOpenning( 0.35 )
	RegulatorMainValveInitialOpenning( 0.475 )

	SteamBlowerEffectExponent( 1.1 )
	SteamBlowerEfficiencyExponent( 1.1 )
	SteamBlowerMaxSteamUsageRate( 550 )	comment( lbs/h )
	SteamBlowerMaxProportionOfBlastEffect( 0.1 )
	
	SteamSmokeUnitsPerPoundOfFuel( 8.5 )

	CabView ( scotsman.cvf )
	HeadOut (  1.76 3.349 -6.673 )

        EngineControllers (
            Regulator ( 0 1 0.025 0 
                NumNotches( 0 )
            )
            Cutoff    ( -0.75 0.75 0.01 0 
                NumNotches( 0 )
            )
		Brake_Engine ( 0 1 0.0125 0
                NumNotches( 3
                    Notch(0    0 EngineBrakesControllerReleaseStart )
                    Notch(0.45 1 EngineBrakesControllerHoldStart )
                    Notch(0.5  1 EngineBrakesControllerApplyStart )
                )
            )            
		Brake_Train ( 0 1 0.0125 0.25 
                NumNotches( 4
                    Notch(0    0 TrainBrakesControllerReleaseStart )
                    Notch(0.25 0 TrainBrakesControllerHoldStart )
			  Notch(0.30 1 TrainBrakesControllerFullServiceStart )
			Notch(0.9  0 TrainBrakesControllerEmergencyStart )
                )
            )
            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.2 
                NumNotches( 0 )
            )
            HeatingTap ( 0 1 0.025 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 1 )
            Whistle ( 0 1 0 )
		SmallEjectorOrCompressor( 0 1 1 )
		BellToggle( 0 1 0 )
		Headlights( 0 1 0 )
        )

	comment(fire temp, fire mass, water mass, boiler pressure,
		water level, tender_water_mass, tender_coal_mass,
		smoke_quantity, fire_condition, coal quality )
		
	EngineVariables( 950 1850 3000 190 0.9 100000 32000 350 1 1 )
	Sound (	"SYcab.sms" )
	Name ( "Shangyou" )
	Description (
	"上游 蒸汽机车（SYSteam）"+ 
	"唐山厂"+ 
	"轴式1-4-1"+
 	"红谷制造"+
	"\n\n"+
 	"\n\n"+
 	"\n\n"+
 	"\n\n"+
 	"\n\n"+
 	"\n\n"+
 	"\n\n"+
 	"\n\n"+
 	"\n\n"+
 	"\n\n"+
 	"\n\n"+
 	"\n\n" 
)
	EngineOperatingProcedures (
	"To move forward\n"+
	"1.	Press the W key several times to move the reverser to full forward.\n"+
	"2.	Press the ; (SEMICOLON) key to release the train brakes.\n"+
	"3.	Press the D key to increase the throttle (regulator) setting.\n"+  
	"4.	As you accelerate, press the S key to slowly reduce the reverser setting, then adjust the throttle to maintain the desired speed.\n\n"+
	"To slow the train\n"+
	"1.	Press the A key to move the throttle to a lower setting.\n"+
	"2.	Use the brakes to further reduce speed if desired.\n\n"+
	"To apply the train brakes\n"+
	"1.	Press the ' (APOSTROPHE) key to apply the train brakes.\n"+
	"2. To stop exhausting the brake pipe, lower the brake lever to its lap (hold) position, by pressing the ; (SEMICOLON) key.\n\n"+
	"To release the train brakes\n"+
	"1. Press  the ; (SEMICOLON) key to release the train brakes.\n"+
	"2. When the brakes are released, raise the brake lever to its lap (hold) position, by pressing the ' (APOSTROPHE) key.\n\n"+
	"To back up\n"+
	"1.	Bring your train to a full stop.\n"+ 
	"2.	Press the S key several times to move the reverser to the full reverse position.\n"+
	"4.	Press the ; (SEMICOLON) key to release the brakes.\n"+
	"5.	Slowly advance the throttle (D key).\n\n"+
	"To load and unload passengers\n"+
	"1. Stop at a station.\n"+
	"2. Press the ENTER key.\n"+
	"3. Wait for the \"permission to depart\" whistle.\n"+
	"TIP: Use the Next Station driving aid (F10) to monitor loading and unloading.\n\n"+
	"To couple to a car or locomotive\n"+
	"1. Coast into the unit at a very slow speed, about 2 mph.\n"+
	"TIP: To use the Coupling view, press the 6 key.\n"+
	"2. Press F9 to open the Train Operations window.\n"+
	"3. If the icon for the unit you coupled to is red, the handbrake is on. Double-click the car to release the handbrake.\n"+
	"4. Close the Train Operations window.\n\n"+
	"To uncouple from a car or locomotive\n"+
	"1. Press F9 to open the Train Operations window.\n"+
	"2. Double-click a unit in the part of the train you want to uncouple from the locomotive, to set the handbrake.\n"+
	"3. Double-click the coupler between the units you want to uncouple and the rest of the train.\n"+
	"4. Close the Train Operations window.\n\n"+
	"Firing commands (automatic fireman OFF in options screen)\n"+
	"To add coal to the firebox\n"+
	"1. Press the F key to open the firebox door.\n"+
	"2. Press the R key to increase the shoveling rate.\n\n"+
	"To stop adding coal to the fire\n"+
	"1. Press SHIFT+R to decrease the shoveling rate.\n"+
	"2. Press SHIFT+F to close the firebox door.\n\n"+
	"To operate the blower\n"+
	"1.	Press the N key to increase the blower.\n"+
	"2. Press SHIFT+N to decrease the blower.\n\n"+
	"To operate the dampers\n"+
	"1.	Press the M key to open the dampers.\n"+
	"2. Press SHIFT+M to close the dampers.\n\n"+
	"To inject water into the boiler\n"+
	"1.	Press the I key to turn on the steam to injector 1.\n"+
	"(You can also press the O key to turn on the steam to injector 2.)\n"+
	"2.	Press the K key to increase the water flow to injector 1.\n"+
	"(To increase the water flow to injector 2, press the L key.)\n\n"+
	"To stop boiler water injection\n"+ 
	"1. Press the I key to turn off the steam to injector 1.\n"+
	"2. Press the O key to turn off the steam to injector 2."
	)
)