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

Wagon ( 251-010
	Type ( Engine )
	WagonShape ( 251-010.s )
	Name ( "Renfe 251.010 RO Mercancias" )
	freightAnim ( 251-010FA.s 1 1 )
	Size  ( 3.358m 4.514m 21.168m )
	CentreOfGravity ( 0.0m 2.257m 0.0m )
	Mass ( 138t )
	WheelRadius ( 0.625m )
	InertiaTensor ( Box ( 3.358m 4.514m 20.568m ) )
	Coupling (
		Type ( Automatic )
		Spring (
			Stiffness ( 1e6N/m 5e6N/m )
			Damping ( 1e6N/m/s 1e6N/m/s )
			Break ( 5.1e7N 5.1e7N )
			r0 ( 20cm 30cm )
		)
		CouplingHasRigidConnection ()
		Velocity ( 0.1m/s )
	)
	Buffers (
		Spring (
			Stiffness ( 1e6N/m 5e6N/m )
			Damping ( 1e6N/m/s 1e6N/m/s )
			r0 ( 20cm 30cm )
		)
		Centre ( 0.5 )
		Radius ( 1 )
		Angle ( 0.5deg )
		)

	comment( guessed brake force )
	MaxBrakeForce ( 150kN )
	Adheasion ( 1 1 2 0 )
	DerailRailHeight ( 10cm )
	DerailRailForce ( 2.5*138t )
	DerailBufferForce ( 800kN )
	NumWheels ( 8 )
	Friction (
		
		1911.6N/m/s		-0.10		1.2mph		14.944N/m/s		1.873
		5.1N/rad/s		1		-1rad/s		0		1	               
        )
	AntiSlip ()
	
	BrakeEquipmentType ( "Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )

	BrakeSystemType ( "Air_single_pipe" )
	
	MaxBrakeForce( 251kN )

	EmergencyBrakeResMaxPressure( 110 )
	TripleValveRatio( 2.5 )
	MaxReleaseRate( 20 )
	MaxApplicationRate( 20 )
	MaxAuxilaryChargingRate( 30 )
	EmergencyResCapacity( 10 )
	EmergencyResChargingRate( 30 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 70 )

	BrakeDistributorFullServicePressure( 82 )
	BrakeDistributorMaxAuxilaryResPressure( 110 )
	BrakeDistributorEmergencyResPressure( 110 )
	BrakeDistributorReleaseRate( 10 )
	BrakeDistributorApplicationRate( 15 )
	BrakeDistributorTrainPipeControlRatio( 2.03 )
	BrakeDistributorNormalFullReleasePressure( 110 )
	
        
Lights	( 28
		
            Light	(
			comment( Sphere of light -corta- )
			Type		( 1 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.1 )
			FadeOut	( 0.1 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.0 5.00  8.3 )
					Transition ( 0 )
					Radius ( 60.0 )
					Angle ( 15.0 )
			
					)
				)
			)
			
		Light	(
			comment( Sphere of light -larga- )
			Type		( 1 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.1 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.0 5.00 8.3 )
					Transition ( 0 )
					Radius ( 150.0 )
					Angle ( 15.0 )
			
					)
				)
			)			

		Light	(
			comment( Foco SuperiorDer )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.08 4.00 9.715 )
					Azimuth ( 0.0 0.0 0.0 ) 
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			)

		Light	(
			comment( Foco SuperiorIzq )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( -0.08 4.00 9.715 )
					Azimuth ( 0.0 0.0 0.0 ) 
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			)

		Light	(
			comment( Foco SuperiorTrasDer )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 5 )
				)
			Cycle	( 0 )
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.08 4.00 -9.715 )
					Azimuth ( -180 -180 -180 ) 
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			)

		Light	(
			comment( Foco SuperiorTrasIzq )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 5 )
				)
			Cycle	( 0 )
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( -0.08 4.00 -9.715 )
					Azimuth ( -180 -180 -180 ) 
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			)

		Light	(
			comment( PosicionIzq )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c )
					Position ( 1.357 2.300 10.255 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.4 )
                              )
				)
			)


		Light	(
			comment( PosicionDer )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c )
					Position ( -1.357 2.300 10.255 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.4 )	
					)
				)
			)

		Light	(
			comment( PosicionIzqTras )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 5 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c )
					Position ( 1.357 2.300 -10.255 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )
                              )
				)
			)


		Light	(
			comment( PosicionDerTras )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 5 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c )
					Position ( -1.357 2.300 -10.255 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )	
					)
				)
			)


		Light	(
			comment( AlcanceIzq )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c)
					Position ( 1.357 2.300 10.255 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.4 )	
					)
				)
			)

		Light	(
			comment( AlcanceDer )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c)
					Position ( -1.357 2.300 10.255 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.4 )	
					)
				)
			)

		Light	(
			comment( AlcanceIzqTras )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 5 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c)
					Position ( 1.357 2.300 -10.255 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )	
					)
				)
			)

		Light	(
			comment( AlcanceDerTras )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 5 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c)
					Position ( -1.357 2.300 -10.255 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )	
					)
				)
			)
		Light	(
			comment( Pantograph flash )
			Type		( 0 )
			Conditions	(
				Headlight ( 0 )
				Unit ( 2 )
				)
			FadeIn	( 0 )
			FadeOut	( 0 )
			Cycle	( 0 )
			States	(	8
				State	(
					Duration ( 4.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 1.3 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 15.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.5 -7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 7.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 1.1 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )

					)
				)
			)
		Light	(
			comment( Pantograph flash )
			Type		( 0 )
			Conditions	(
				Headlight ( 0 )
				Unit ( 5 )
				)
			FadeIn	( 0 )
			FadeOut	( 0 )
			Cycle	( 0 )
			States	(	8
				State	(
					Duration ( 4.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 1.3 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 15.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.5 7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 7.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 1.1 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )

					)
				)
			)
		
		Light	(
			comment( Pantograph flash )
			Type		( 0 )
			Conditions	(
				Headlight ( 0 )
				Unit ( 2 )
				)
			FadeIn	( 0 )
			FadeOut	( 0 )
			Cycle	( 0 )
			States	(	8
				State	(
					Duration ( 4.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 1.3 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 15.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.5 -7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 7.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 1.1 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 -7.7)
					Azimuth ( 180.0 0 -180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )

					)
				)
			)
		
		Light	(
			comment( Pantograph flash )
			Type		( 0 )
			Conditions	(
				Headlight ( 0 )
				Unit ( 5 )
				)
			FadeIn	( 0 )
			FadeOut	( 0 )
			Cycle	( 0 )
			States	(	8
				State	(
					Duration ( 4.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 1.3 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 15.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.5 7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 7.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 1.1 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( 11000000 )
					Position ( 0.0 5.4 7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )
					)
				State	(
					Duration ( 1.0 )
					LightColour ( ffaaaaff )
					Position ( 0.0 5.4 7.7)
					Azimuth ( -180.0 0 180.0)
					Transition ( 0 )
					Radius ( 0.90 )
					Elevation ( -90 0 90 )

					)
				)
			)


		Comment ( ========== luces traseras fijas ========= )

		Light	(
			comment( ColaIzq )
			Type		( 0 )
			Conditions(
				Control(0) 
     				Service(2) 
				Unit(3)
			)
			FadeIn	( 0.1 )
			FadeOut	( 0.2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( b8ff0000 )
					Position ( 1.357 1.917 -10.255 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.45 )
				        )
				)
			)

		Light	(
			comment( ColaDer )
			Type		( 0 )
			Conditions(
				Control(0) 
     				Service(2) 
				Unit(3)
			)
			FadeIn	( 0.1 )
			FadeOut	( 0.2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( b8ff0000 )
					Position ( -1.357 1.917 -10.255 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.45 )
                                )
				)
			)

		Light	(
			comment( ColaIzqTras )
			Type		( 0 )
			Conditions(
				Control(0) 
     				Service(2) 
				Unit(4)
			)
			FadeIn	( 0.1 )
			FadeOut	( 0.2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( b8ff0000 )
					Position ( 1.357 1.917 10.255 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.45 )
				        )
				)
			)

		Light	(
			comment( ColaDerTras )
			Type		( 0 )
			Conditions(
				Control(0) 
     				Service(2) 
				Unit(4)
			)
			FadeIn	( 0.1 )
			FadeOut	( 0.2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( b8ff0000 )
					Position ( -1.357 1.917 10.255 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.45 )
                              )
				)
		      )

	     
			
		Comment ( ========== luces AI Delanteras ========= )

		Light	(
			comment( PosicionIzq Dim en AI de dia )
			Type		( 0 )
			Conditions	(
				Control(1)	
				Service(2)
				TimeOfDay(1)
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c )
					Position ( 1.357 2.300 10.255 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.45 )
                              )
				)
			)

		Light	(
			comment( PosicionDer Dim en AI de dia )
			Type		( 0 )
			Conditions	(
				Control(1)	
				Service(2)
				TimeOfDay(1)
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c )
					Position ( -1.357 2.300 10.255 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.45 )	
					)
				)
			)



		Light	(
			comment( AlcanceIzq Bright en AI de noche )
			Type		( 0 )
			Conditions	(
				Control(1)				
				Service(2) 
				TimeOfDay(2)
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c)
					Position ( 1.357 2.300 10.255 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.45 )	
					)
				)
			)
		
		Light	(
			comment( AlcanceDer Bright en AI de noche )
			Type		( 0 )
			Conditions	(
				Control(1)				
				Service(2) 
				TimeOfDay(2)
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( 92f2941c)
					Position ( -1.357 2.300 10.255 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.45 )	
					)
				)
			)
			
 		Light	(
			comment( Foco Superior Der Bright en AI de noche )
			Type		( 0 )
			Conditions	(
				Control(1)				
				Service(2) 
				TimeOfDay(2)
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.08 4.00 9.715 )
					Azimuth ( 0.0 0.0 0.0 ) 
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			) 

            Light (
			comment( Foco Superior Izq Bright en AI de noche )
			Type		( 0 )
			Conditions	(
				Control(1)				
				Service(2) 
				TimeOfDay(2)
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( -0.08 4.00 9.715 )
					Azimuth ( 0.0 0.0 0.0 ) 
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			)                             
		)             
			        
	Sound ("R251eng.sms")


)

Engine ( 251-010
    Wagon ( 251-010 )
    Type ( Electric )
    MaxPower ( 4650kW )
    MaxForce ( 453kN#est )
    MaxContinuousForce ( 216kN )
    MaxVelocity ( 160kmh )
    MaxCurrent ( 2000A )
    WheelRadius ( 0.625m )
    Sanding ( 1e9mph )
    NumWheels ( 6 )

    CabView ( Renfe251.cvf )

    HeadOut ( 1.835 3.321 8.315 )


    
    AirBrakesAirCompressorPowerRating( 3.5 )
    AirBrakesMainMinResAirPressure( 125 )
    AirBrakesMainMaxAirPressure( 140 )
    AirBrakesMainResVolume( 10 )
    AirBrakesAirCompressorWattage( 30000 )
    AirBrakesCompressorRestartPressure( 135 )
    AirBrakesAirUsedPerPoundsOfBrakePipePressure( 0.5 )
    AirBrakesHasLowPressureTest( 1 )
    AirBrakesIsCompressorElectricOrMechanical( 1 )

    EngineBrakesControllerDirectControlExponent( 1 )

    EngineBrakesControllerMinPressureReduction( 6 )    
    TrainBrakesControllerMinPressureReduction( 6 )
    EngineBrakesControllerHasProportionalBrake( 1 )
    EngineBrakesProportionalBrakeLag( 0.9 )
    EngineBrakesControllerMaxApplicationRate( 20 )
    TrainBrakesControllerMaxApplicationRate( 20 )
    EngineBrakesControllerMaxReleaseRate( 10 )
    TrainBrakesControllerMaxReleaseRate( 2 )
    EngineBrakesControllerEmergencyApplicationRate( 50 )
    TrainBrakesControllerEmergencyApplicationRate( 50 )
    EngineBrakesControllerMinSystemPressure( 0 )
    TrainBrakesControllerMinSystemPressure( 0 )
    EngineBrakesControllerMaxSystemPressure( 110 )
    TrainBrakesControllerMaxSystemPressure( 110 )
    EngineBrakesControllerEmergencyBrakeTimePenalty( 60 )
    TrainBrakesControllerEmergencyBrakeTimePenalty( 60 )
    EngineBrakesControllerFullServicePressureDrop( 28 )
    TrainBrakesControllerFullServicePressureDrop( 28 )

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

    BrakesEngineBrakeType ( "Air_single_pipe"  )
    BrakesTrainBrakeType ( "Air_single_pipe" )
    BrakesEngineControllers( "Independent, Train, Dynamic" )
    
    DoesBrakeCutPower( 1 )
    DoesHornTriggerBell( 0 )
    BrakeCutsPowerAtBrakeCylinderPressure( 15 )
    
	EmergencyStopMonitor(
		MonitoringDeviceMonitorTimeLimit( 0 )
		MonitoringDeviceAlarmTimeLimit( 0 )
		MonitoringDevicePenaltyTimeLimit( 0 )
		MonitoringDeviceCriticalLevel( 0 )
		MonitoringDeviceResetLevel( 0 )
		MonitoringDeviceAppliesFullBrake( 0 )
		MonitoringDeviceAppliesEmergencyBrake( 1 )
		MonitoringDeviceAppliesCutsPower( 1 )
		MonitoringDeviceAppliesShutsDownEngine( 0 )
	)

	VigilanceMonitor(
		MonitoringDeviceMonitorTimeLimit( 45 )
		MonitoringDeviceAlarmTimeLimit( 30 )
		MonitoringDevicePenaltyTimeLimit( 0 )
		MonitoringDeviceCriticalLevel( 0 )
		MonitoringDeviceResetLevel( 0 )
		MonitoringDeviceAppliesFullBrake( 1 )
		MonitoringDeviceAppliesEmergencyBrake( 0 )
		MonitoringDeviceAppliesCutsPower( 0 )
		MonitoringDeviceAppliesShutsDownEngine( 0 )
	)

	OverspeedMonitor(
		MonitoringDeviceMonitorTimeLimit( 0 )
		MonitoringDeviceAlarmTimeLimit( 5 )
		MonitoringDevicePenaltyTimeLimit( 0 )
		MonitoringDeviceCriticalLevel( 151 )
		MonitoringDeviceResetLevel( 0 )
		MonitoringDeviceAppliesFullBrake( 1 )
		MonitoringDeviceAppliesEmergencyBrake( 1 )
		MonitoringDeviceAppliesCutsPower( 1 )
		MonitoringDeviceAppliesShutsDownEngine( 0 )
		MonitoringDeviceTriggerOnTrackOverspeed( 1 )
		MonitoringDeviceTriggerOnTrackOverspeedMargin( 2 )
		MonitoringDeviceResetOnZeroSpeed( 1 ) 
		MonitoringDeviceResetOnResetButton( 0 )
	)


    Sound ("R251cab.sms")
    Description (
 	""

    )
    EngineOperatingProcedures (
    "To move forward\n"+
    "1. The pantograph has been raised for you. (If it is not up for some reason, press the P key to raise it.)\n"+
    "2.	Press the W key to move the Reverser to Forward.\n"+
    "3.	Press the ; (SEMICOLON) key to release the train brakes.\n"+
    "4.	Press the D key to move increase the throttle setting.\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\n"+
    "To release the train brakes\n"+
    "1. Press the ; (SEMICOLON) key to release the train brakes.\n\n"+
    "To activate emergency braking\n"+
    "1.	Press the A key to reduce the throttle to Idle.\n"+
    "2.	Press the BACKSPACE key to activate emergency braking.\n\n"+
    "To back up\n"+
    "1.	Bring your train to a full stop.\n"+
    "2.	Press the S key to move the Reverser to the Reverse position.\n"+
    "3.	Press the ; (SEMICOLON)  to release the brakes.\n"+
    "4.	Slowly advance the throttle lever (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' signal.\n"+
    "TIP: Use the Next Station driving aid (F10) to monitor loading and unloading."
    ) 
        
    EngineControllers (
        Throttle ( 0 1 0.025 0           
            NumNotches ( 0                

               )
            )
                    
        Brake_Engine ( 0 1 0.1 0 
            NumNotches ( 1
                Notch( 0  1 Dummy )
            )
        )
        Brake_Train ( 0 1 0.0125 0.75 
            NumNotches ( 5
                Notch ( 0       1 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 )
        EmergencyStopResetToggle( 0 1 0 )
        EmergencyStopToggle( 0 1 0 )
        AWS ( 0 1 0 )
        Sanding ( 0 1 0 )
        Horn ( 0 1 0 )
        Vigilance ( 0 1 0 )
        PantographToggle1 ( 0 1 0 )
        Headlights ( 0 0.25 1 0 )
        Wipers ( 0 1 0 )
        BellToggle( 0 1 0 )
    )
)




