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

Wagon ( RNB7051
	Type ( Carriage )
	WagonShape ( RNB7051.s )
	FreightAnim ( RNB7000_int2.s 1 1 )
	Name ("Renfe B7051 ep.IIIb")
	Size ( 3.2m 4.46m 16.2m )
	CentreOfGravity ( 0.0m 2.23m 0.0m )
	Mass ( 28t )
	InertiaTensor ( Box (3.2m 4.46m 15.7m) )
	Coupling (
		Type ( Automatic )
		Spring (
			Stiffness ( 1e6N/m 2e6N/m )
			Damping ( 1e6N/m/s 1e6N/m/s)
			Break ( 5.1e7N 5.1e7N )
			r0 ( 10cm 20cm )
		)
		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 )
	)
	BrakeEquipmentType( "Handbrake, Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )
	BrakeSystemType( "Air_single_pipe" )
	MaxBrakeForce( 31.172kN )

	MaxHandbrakeForce( 10.983kN )
	
	TripleValveRatio( 2.5 )
	MaxReleaseRate( 15 )
	MaxApplicationRate( 25 )
	MaxAuxilaryChargingRate( 5 )
	EmergencyResCapacity( 0.447ft^3 )
	EmergencyResChargingRate( 5 )
	BrakePipeVolume( 0.425ft^3 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 50 )

	EmergencyBrakeResMaxPressure( 70 )

	ORTSDavis_A ( 436.46N )
	ORTSDavis_B ( 9.2134 )
	ORTSDavis_C ( 0.896060 )
	ORTSBearingType( Roller )

	Adheasion ( 0.2 0.4 2 0 )
	DerailRailHeight ( 10cm )
	DerailRailForce ( 2.5*32t )
	DerailBufferForce ( 800kN )
	WheelRadius ( 0.5241m )
	NumWheels (	2 )
	Friction (
		600.1N/m/s    -0.25    5.5mph    3.234N/m/s    1.691
		5.1N/rad/s		1		-1rad/s		0		1
	)
	
	
	
	           Comment (  === VISTAS INTERIORES CON TECLA 5, Y MAYÚSCULAS+5 === )
 
     Inside (
	   PassengerCabinHeadPos ( 1.1 2.6 3.2 )
	   RotationLimit ( 0 0 0 )
	   StartDirection ( 0 -60 0 )
	   Sound ( "Vagon_interior.sms" )
	)
	ORTSAlternatePassengerViewPoints (
	            ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1 2.6 4.1 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 -105 0 )
                            )
				ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.1 2.6 -3.3 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 -130 0 )
                            )          
			
				ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.1 2.6 -6.55 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 -90 0 )
                            )			
	)
	
	
	
	
	
	
	Lights(	6

		Light	(
			comment(DIM: luz superior izquierda)
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 3 )
				)
			FadeIn	( 0 )
			FadeOut	( 1.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -1.25 3.20 -7.92 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )
				        )
				)
			)
		Light	(
			comment(DIM: luz superior derecha)
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 3 )
				)
			FadeIn	( 0 )
			FadeOut	( 1.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 1.25 3.20 -7.92 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )
				        )
				)
			)
		Light	(
			comment(DIM: luz inferior )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 3 )
				)
			FadeIn	( 0 )
			FadeOut	( 1.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 0.97 1.65 -7.63 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.6 )
					)
				)
			)
		Light	(
			comment(DIM: luz superior izquierda)
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 4 )
				)
			FadeIn	( 0 )
			FadeOut	( 1.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -1.25 3.20 7.83 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.4 )
				        )
				)
			)
		Light	(
			comment(DIM: luz superior derecha)
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 4 )
				)
			FadeIn	( 0 )
			FadeOut	( 1.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 1.25 3.20 7.83 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.4 )
				        )
				)
			)
		Light	(
			comment(DIM: luz inferior )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 4 )
				)
			FadeIn	( 0 )
			FadeOut	( 1.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -0.97 1.65 7.53 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.6 )
					)
				)
			)
		)




    					comment ( === EFECTOS ESPECIALES === )
	comment ( Activar e incrementar con ALT+U, y disminuir y desactivar con ALT+D )				
	comment ( Los efectos especiales, a fecha de hoy, no funcionan en los trenes IA. 05-05-25)					
	ORTSWagonSpecialType ( Heated )
	
	Effects (
    SpecialEffects ( 	
			comment ( === Vapor mangueras calefacción === )
			HeatingHoseFX(
                0.4 0.4 7.8
                0 1 0
                0.03
            )
			comment ( === Vapor mangueras calefacción === )
			HeatingHoseFX(
                0.4 0.4 -7.8
                0 1 0
                0.03
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.45 0.5 -0.75
                -1 -1 0.5
                0.2
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.45 0.5 -0.85
                -1 -1 0.5
                0.15
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.45 0.5 -0.95
                -1 -1 0.5
                0.2
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.45 0.5 0.9
                -1 -1 0.5
                0.15
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.45 0.5 1
                -1 -1 0.5
                0.15
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.45 0.5 1.1
                -1 -1 0.5
                0.15
            )
		)
	)
	
	Comment ( **************************** Calefacción de vapor del coche ****************************
          Punto de ajuste de la temperatura de la cabina, dimensiones de la tubería de calefacción, etc.
          ********************************************************************************* )

    ORTSHeatingCompartmentTemperatureSet ( 68degF )
    ORTSHeatingCompartmentPipeAreaFactor ( 2.0 )
    ORTSHeatingWindowDeratingFactor ( 0.25 )
    ORTSHeatingTrainPipeOuterDiameter (  2.875in  )
    ORTSHeatingTrainPipeInnerDiameter ( 2.07in )
    ORTSHeatingConnectingHoseOuterDiameter ( 2.05in )
    ORTSHeatingConnectingHoseInnerDiameter ( 1.5in )
	

	Sound ( "GenPassWagSteam.sms" )


)
