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

Wagon ( RN282F0403a
	Type ( Engine )
	WagonShape ( RN282-0403a.s )
	Size  ( 3.34m 4.03m 6.5m )
	CentreOfGravity ( 0m 0m 0m )
	Centre ( 0m 0m 0m )
	Mass ( 100.5t )
	InertiaTensor ( Box(3.34m 4.03m 6m))
	Coupling (
		Type ( Bar )
			Spring (
			Stiffness ( 1e6N/m 5e6N/m )
			Damping ( 1e6N/m 5e6N/m )
			Break ( 1e7N 1e7N )
			r0 ( 5cm 10cm )
		)
		CouplingHasRigidConnection(1)
	)

	Coupling (
		Type ( Automatic )
		Spring (
			Stiffness ( 4e6N/m 5e6N/m )
			Damping ( 1e6N/m 4e6N/m )
			Break ( 2e9N 2e9N )
			r0 ( 10cm 20cm )
		)
		Velocity ( -0.1m/s )
	)
	Adheasion ( 0.38 0.76 1.41 0 )	

	DerailRailHeight ( 7cm )
	DerailRailForce ( 2.5*86t )
	DerailBufferForce ( 400kN)
	WheelRadius ( 0.47m )
	NumWheels ( 8 )

comment(Fcalc 70kmh, 8 axles, 12M2, 86T, 43T, 1.00)
	Friction (
		2061.4N/m/s    -0.10    1.6mph    20.846N/m/s    1.732
		5.1N/rad/s 	1	-1rad/s	 	0	    1
	)

comment (BRAKES-WAG)

	BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Handbrake" )
	BrakeSystemType( "Air_single_pipe" )
	MaxBrakeForce ( 92.27kN )
	MaxHandbrakeForce ( 70.0kN )
	NumberOfHandbrakeLeverSteps ( 10 )
	TripleValveRatio( 2.5 )	
        MaxReleaseRate( 20 )
        MaxApplicationRate( 20 )
        MaxAuxilaryChargingRate( 30 )
        BrakeCylinderPressureForMaxBrakeBrakeForce( 70 )


Lights	(	9
	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 ( 20ffffff )
		         Position ( 0 3.65 15 )
		         Transition ( 0 )
		         Radius ( 180.0 )
		         Angle ( 15.0 )
		      )
		)
	)
	Light	(
		comment( Foco central )
		Type		( 0 )
		Conditions	(
			Headlight ( 3 )
			Unit ( 2 )
		)
		FadeIn	( 0.5 )
		FadeOut	( 0.5 )
		Cycle		( 0 )
		States	( 1
			State	(
				Duration ( 0.0 )
				LightColour ( eeffffff )
				Position ( 0 3.65 1.9 )
				Azimuth ( 0 0 0 )
				Transition ( 0 )
				Radius ( 0.4 )
				Elevation ( 0 0 0 )
			)
		)
	)
	Light	(
		comment( Foco pequeño derecho )
		Type		( 0 )
		Conditions	(
			Headlight ( 3 )
			Unit ( 2 )
		)
		FadeIn	( 0.5 )
		FadeOut	( 0.5 )
		Cycle		( 0 )
		States	(	1
			State	(
				Duration ( 0.0 )
				LightColour ( bbffffff )
				Position ( 1.0 2.0 1.8)
				Azimuth ( 0 0 0 )
				Transition ( 0 )
				Radius ( 0.2 )
				Elevation ( 0 0 0 )
			)
		)
	)
	Light	(
		comment( Foco pequeño izquierdo )
		Type		( 0 )
		Conditions	(
			Headlight ( 3 )
			Unit ( 2 )
		)
		FadeIn	( 0.5 )
		FadeOut	( 0.5 )
		Cycle		( 0 )
		States	(	1
			State	(
				Duration ( 0.0 )
				LightColour ( bbffffff )
				Position ( -1.0 2.0 1.8)
				Azimuth ( 0 0 0 )
				Transition ( 0 )
				Radius ( 0.2 )
				Elevation ( 0 0 0 )
			)
		)
	)
	Light	(
		comment( Foco pequeño central )
		Type		( 0 )
		Conditions	(
			Headlight ( 3 )
			Unit ( 2 )
		)
		FadeIn	( 0.5 )
		FadeOut	( 0.5 )
		Cycle		( 0 )
		States	(	1
			State	(
				Duration ( 0.0 )
				LightColour ( bbffffff )
				Position ( 0 3.28 1.6)
				Azimuth ( 0 0 0 )
				Transition ( 0 )
				Radius ( 0.2 )
				Elevation ( 0 0 0 )
			)
		)
	)


	Light	(
		comment( Foco central AI)
		Type		( 0 )
		Conditions	(
			Headlight ( 0 )
			Unit ( 2 )
			Control ( 1 )
			Service ( 2 )
			TimeOfDay ( 0 )
		)
		FadeIn	( 0.5 )
		FadeOut	( 0.5 )
		Cycle		( 0 )
		States	( 1
			State	(
				Duration ( 0.0 )
				LightColour ( eeffffff )
				Position ( 0 3.65 1.9 )
				Azimuth ( 0 0 0 )
				Transition ( 0 )
				Radius ( 0.4 )
				Elevation ( 0 0 0 )
			)
		)
	)
	Light	(
		comment( Foco pequeño derecho AI)
		Type		( 0 )
		Conditions	(
			Headlight ( 0 )
			Unit ( 2 )
			Control ( 1 )
			Service ( 2 )
			TimeOfDay ( 0 )
		)
		FadeIn	( 0.5 )
		FadeOut	( 0.5 )
		Cycle		( 0 )
		States	(	1
			State	(
				Duration ( 0.0 )
				LightColour ( bbffffff )
				Position ( 1.0 2.0 1.8)
				Azimuth ( 0.0 0 0 )
				Transition ( 0 )
				Radius ( 0.2 )
				Elevation ( 0 0 0 )
			)
		)
	)
	Light	(
		comment( Foco pequeño izquierdo AI)
		Type		( 0 )
		Conditions	(
			Headlight ( 0 )
			Unit ( 2 )
			Control ( 1 )
			Service ( 2 )
			TimeOfDay ( 0 )
		)
		FadeIn	( 0.5 )
		FadeOut	( 0.5 )
		Cycle		( 0 )
		States	(	1
			State	(
				Duration ( 0.0 )
				LightColour ( bbffee88 )
				Position ( -1.0 2.0 1.8)
				Azimuth ( 0.0 0 0 )
				Transition ( 0 )
				Radius ( 0.2 )
				Elevation ( 0 0 0 )
			)
		)
	)
	Light	(
		comment( Foco pequeño central AI)
		Type		( 0 )
		Conditions	(
			Headlight ( 0 )
			Unit ( 2 )
			Control ( 1 )
			Service ( 2 )
			TimeOfDay ( 0 )
		)
		FadeIn	( 0.5 )
		FadeOut	( 0.5 )
		Cycle		( 0 )
		States	(	1
			State	(
				Duration ( 0.0 )
				LightColour ( bbffffff )
				Position ( 0 3.28 1.6)
				Azimuth ( 0.0 0 0 )
				Transition ( 0 )
				Radius ( 0.2 )
				Elevation ( 0 0 0 )
			)
		)
	)


)
	Sound ( "282eng.sms" )
	IntakePoint ( -14.5 2.5 FuelCoal  )
	IntakePoint ( -17.0 2.5 FuelWater )
)


Engine ( RN282F0403a
	comment( Class A1 )
	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.179 4.30 -11.456
				0 2 0
				0.3
			)

			SafetyValvesFX
			(
				0 3.765 -10.786
				0 1.5 0
				0.3
			)

			SafetyValvesFX
			(
				0 3.765 -11.170
				0 1.5 0
				0.3
			)

			StackFX
			(
				0 4.257 -5.183
				0 1.5 0
				0.5
			)

			DrainpipeFX
			(
				-1.5 5.258 -3.88
				-0.4 -1 -0.2
				0.05
			)

			CylindersFX
			(
				-1.158 0.321 0.81
				-0.9 0.05 0.22
    				0.25
			)

			CylindersFX
			(
				1.158 0.321 0.81
				0.9 0.05 0.22
    				0.25
			)
			CylindersFX
			(
				-1.158 0.321 -19.634
				-0.9 0.05 0.22
    				0.25
			)

			CylindersFX
			(
				1.158 0.321 -19.634
				0.9 0.05 0.22
    				0.25
			)
		)
	)

	Wagon ( RN282F0403a )
	IsTenderRequired( -1 )	
	Type ( Steam )
	MaxPower ( 1536.8kW )
	MaxForce ( 301.23kN )
	MaxVelocity ( 45mph )
 	WheelRadius ( 0.600m )
	NumWheels ( 8 )
	ORTSSteamLocomotiveType( Simple )

	Comment( "Configuración de la caldera" )

	BoilerLength ( 4.10m )
	BoilerVolume ( 517.7 )
	BoilerEffectivity ( 1.00 )
	BoilerResponsiveness ( 1.00 )
	DraftingEffect ( 1.1160 )
	BlastExponent ( 0.50 )
	Superheater( 1.32 )
	MaxBoilerPressure ( 213.35psi )
	ORTSSteamBoilerType( Superheated )
	ORTSEvaporationArea( 2119.41 )
	ORTSSuperheatArea( 737.33 )
	ORTSGrateArea( 45.21 )
	ORTSBoilerEfficiency( 5lbs/ft^2/h, 0.85
					40lbs/ft^2/h, 0.70
					80lbs/ft^2/h, 0.65
					120lbs/ft^2/h, 0.50
					160lbs/ft^2/h, 0.40 )

	ORTSBoilerEvaporationRate( 15 )

	Comment( "Consumo y producción de vapor" )

	CoalBurnage ( 3.51lb/hp/h )
	MaxBoilerOutput ( 39715b/h )
	ExhaustLimit ( 36065lb/h )
	IdealFireMass ( 904.1lb )
	MaxFireMass ( 1446.6lb )
	MaxTenderCoalMass( 19842lb )
	MaxTenderWaterMass( 48502lb )
	SteamFiremanMaxPossibleFiringRate( 7232.8 )
	MaxWaterMass ( 6451.4lb )
	SteamGaugeGlassHeight (	8 )
	BasicSteamUsage (800lb/h )
	BasicCoalUsage ( 452.1lb/h )
	SafetyValvesSteamUsage ( 20000lb/h )
	ORTSSteamFiremanMaxPossibleFiringRate( 5500lb/h )
	ORTSFuelCalorific( 18000btu/lb )

	Comment( "Cilindros" )
 
	NumCylinders ( 4 )
	CylinderStroke ( 24.02in )
	CylinderDiameter ( 17.32in )
	CylinderVolume ( 30.21 )
	CylinderEffectivity ( 1.53 )
	ORTSCylinderEfficiencyRate( 1 )
	ORTSCylinderPortOpening( 0.09 )

	Comment( "Inyectores" )
	
	InjectorSizes ( 11mm 0mm )
	InjectorTypes( 0 0 ) 
	Injector1WaterValveVariance( .8 )
	InjectorLimits1 ( 50psi 0.2 1 )
	Injector1FeedRateMultiplierLive (2.0)

	Comment( "Producción de vapor / consumo de carbón" )

	ORTSBurnRate( 0.0 10.0  4608.0 452.05  11260.0 1205.0  16126.0 1808.0  20841.0 2411.0  24323.0 3014.0  27645.0 3616.0  30464.0 4219.0  32769.0 4822.0  34563.0 5425.0  35839.0 6027.0  36608.0 6630.0  36866.0 7233.0 )

	Comment( "Otros parámetros" )

	Sanding ( 1e9mph )
	PrimingFactor ( 1 )
	ShovelCoalMass ( 2lb )
	SmokeCombustion ( 1 )

	SteamSmokeUnitsPerPoundOfFuel( 0.5 )
	SteamMaxSmokeUnitsReleaseRate( 1 )
	MaxSteamHeatingPressure( 80 )
	SafetyValvePressureDifference( 15 )
	CylinderCocksPowerEfficiency ( 0.9 )
	SteamCylinderCocksOperation( Manual )
	NumberOfDamperSteps( 4 )

	RegulatorValveType( Single_port )
	RegulatorMainValveExponent( 1 )
	CutoffMaxReverse ( -0.75 ) 
	CutoffMaxForward ( 0.75 ) 
	SteamSmallestCutoff ( 0.15 )

	Comment( "Ventilador" )

	SteamBlowerEffectExponent( 0.9 )
	SteamBlowerEfficiencyExponent( 1.1 )
	SteamBlowerMaxSteamUsageRate( 1500 )
	SteamBlowerMaxProportionOfBlastEffect( 0.15 )

comment (BRAKES-ENG)

	AirBrakesAirCompressorPowerRating( 3.93 )
	AirBrakesMainMinResAirPressure( 0 )
	AirBrakesMainMaxAirPressure( 110 )
	AirBrakesMainResVolume( 25 )
	AirBrakesCompressorRestartPressure( 105 )
	AirBrakesAirUsedPerPoundsOfBrakePipePressure( 2 )
	AirBrakesHasLowPressureTest( 1 )
	AirBrakesIsCompressorElectricOrMechanical( 1 )

	BrakesEngineBrakeType( "Air_single_pipe"  )
	BrakesEngineControllers( "Train, Independent" )
	EngineBrakesControllerMinPressureReduction( 6 )
	EngineBrakesControllerHasProportionalBrake( 1 )
	EngineBrakesProportionalBrakeLag( 0.9 )
	EngineBrakesControllerMaxApplicationRate( 2.66 )
	EngineBrakesControllerMaxReleaseRate( 20 )
	EngineBrakesControllerEmergencyApplicationRate( 7.7 )
	EngineBrakesControllerMinSystemPressure( 0 )
	EngineBrakesControllerMaxSystemPressure( 90 )
	EngineBrakesControllerEmergencyBrakeTimePenalty( 60 )
	EngineBrakesControllerFullServicePressureDrop( 26 )
	EngineBrakesControllerDirectControlExponent( 1 )

	BrakesTrainBrakeType( "Air_single_pipe" )
	TrainBrakesControllerMinPressureReduction( 6 )
	TrainBrakesControllerMaxApplicationRate( 2.66 )
	TrainBrakesControllerMaxReleaseRate( 2.66 )
	TrainBrakesControllerEmergencyApplicationRate( 7.7 )
	TrainBrakesControllerMinSystemPressure( 0 )
	TrainBrakesControllerMaxSystemPressure( 90 )
	TrainBrakesControllerEmergencyBrakeTimePenalty( 60 )
	TrainBrakesControllerFullServicePressureDrop( 26 )

comment (Final frenos ENG *****************************)
		
	CabView ( "RENFE462-Fuel-air.cvf"  )
	
	HeadOut ( 1.7 3.265 -12.506 )

        EngineControllers (
            comment( Engine controls )
        
            Regulator ( 0 1 0.025 0 
                NumNotches( 0 )
            )
           
	    Cutoff    ( -0.75 0.75 0.05 0 
                NumNotches( 0 )
            )

COMMENT( 
	    Cutoff ( -.6 .8 0.05 0 
                NumNotches( 25 
			Notch(-.75  0 )
			Notch(-.70  0 )
			Notch(-.65  0 )
			Notch(-.60  0 )
			Notch(-.55 0 )
			Notch(-.50 0 )
			Notch(-.45 0 )
			Notch(-.40 0 )
			Notch(-.35 0 )
			Notch(-.30 0 )
			Notch(-.25 0 )
			Notch(-.20 0 )
			Notch(0   0 )  
			Notch(.20  0 )
			Notch(.25  0 )
			Notch(.30  0 )
			Notch(.35  0 )
			Notch(.40  0 )
			Notch(.45  0 )
			Notch(.50  0 )
			Notch(.55  0 )
			Notch(.60  0 )
			Notch(.65  0 )
			Notch(.70  0 )
			Notch(.75  0 )) 
	    	)
)
            Brake_Train ( 0 1 0.05 0.8 
                NumNotches( 4
                    Notch(0     1 TrainBrakesControllerReleaseStart )
                    Notch(0.4   1 TrainBrakesControllerRunningStart )
                    Notch(0.5   1 TrainBrakesControllerApplyStart )
		    Notch(0.9	1 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 )   
         
comment(	   WaterScoop ( 0 1 0 )     )

            SmallEjectorOrCompressor( 0 1 1 )
            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 904.1 5161.1 213.35 0 0 0 200 1 )
Sound ( "282cab.sms" )


    	Name ( "RENFE 282F0403" )
 	Description (
 	"Locomotora Garratt diseñadas para servicios de Mercancias entre Valencia y Zaragoza en las lineas del Ferrocarril Central de Aragón. Forma parte de una serie de 6 locomotoras articuladas Garratt ( 201 a 206 ) construidas por Babcock & Wilcox (Bilbao) en 1931. "+
 	"Originalmente tenian freno de aire y de vacio. pero al pasar a RENFE se les hizo unas modificaciones entre las que estaba la perdida del freno de aire comprimido. Posteriormente, entre 1954 y 1959 fueron fuelizadas. "+ 
 	"Tambien realizaron servicios entre Tarragona y Valencia, y entre Valencia y La Encina. "+
	"La potencia de la locomotora es 1800 cv y el esfuerzo de tracción 18540 kg" 
	)
	EngineOperatingProcedures (
	"Para mover hacia adelante\n"+
	"1.	Pulsa W varias veces hasta colocar el Inversore al todo avante.\n"+
	"2.	Pulsa Ñ Para retirar el freno.\n"+
	"3.	Pulsa D para abrir el Regulador.\n"+  
	"4.	Cuando haya acelerado, pulsa S lentamente para reducir la posicion del inversor, y ajusta el regulador para mentener la velocidad deseada.\n\n"+
	"Para reducir la velocidad del tren\n"+
	"1.	Pulsa A para cerrar un poco el regulador.\n"+
	"2.	Usa el freno para reducir la velocidad mas rapidamente.\n\n"+
	"Para frenar\n"+
	"1.	Pulsa ' (acento) para aplicar los frenos del tren.\n"+
	"2. To hold the brakes at their current setting, lower the brake lever until it's in its middle (Neutral) 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 until it's in its middle (Neutral) 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 regulator (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."
	)
)