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

Wagon ( RNAAR6126
	Type ( Carriage )
	FreightAnim ( RNAAR6000_IIIint.s 1 1 )
	WagonShape ( RNAAR6126.s )
	Name ("Renfe 6126 Primera/Cafeteria")
	Size ( 3.6m 4.47m 21.3m )
	CentreOfGravity ( 0.0m 2.239m 0.0m )
	Mass ( 45t )
	InertiaTensor ( Box (3.6m 4.47m 20.8m) )
	
	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( 51.994kN)

	MaxHandbrakeForce( 17.651kN )
	
	TripleValveRatio( 2.5 )
	MaxReleaseRate( 15 )
	MaxApplicationRate( 25 )
	MaxAuxilaryChargingRate( 5 )
	EmergencyResChargingRate( 5 )
	EmergencyResCapacity( 0.682ft^3 )
	EmergencyResVolumeMultiplier( 1 )
	BrakePipeVolume( 0.585ft^3 )

	EmergencyBrakeResMaxPressure( 70 )
	
	BrakeCylinderPressureForMaxBrakeBrakeForce( 50 )

	Adheasion ( 0.2 0.4 2 0 )
	DerailRailHeight ( 10cm )
	DerailRailForce ( 2.5*40t )
	DerailBufferForce ( 800kN )
	WheelRadius ( 0.448m )
	NumWheels (	4 )
	Friction (
		802.8N/m/s    -0.1    1.1mph    2.875N/m/s    1.788
		5.1N/rad/s		1		-1rad/s		0		1
	)

	ORTSDavis_A ( 802.8N )
	ORTSDavis_B ( 14.8073 )
	ORTSDavis_C ( 0.9775 )
	ORTSBearingType ( Roller )

	
	
	
	            Comment (  === VISTAS INTERIORES CON TECLA 5, Y MAYÚSCULAS+5 === )
 
     Inside (
	   PassengerCabinFile ( RNAAR6126.s  )
	   PassengerCabinHeadPos ( 1.1 2.6 3 )
	   RotationLimit ( 0 0 0 )
	   StartDirection ( 0 0 0 )
	   Sound ( "Vagon_int.sms" )
	)
	ORTSAlternatePassengerViewPoints (
	            ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.1 2.6 4.43 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 -90 0 )
                            )
	            ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( -1.1 2.4 1 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 200 0 )
                            )
				ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.2 2.6 0 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 180 0 )
                            )	
                ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.1 2.6 -7.85 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 10 0 )
                            )	
                ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.1 2.6 -3.4 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 195 0 )
                            )							
	)
	
	
					comment ( === Efectos especiales === )
						
	ORTSWagonSpecialType ( Heated )
	
	Effects (
    SpecialEffects ( 	
			comment ( === Vapor mangueras calefacción === )
			HeatingHoseFX(
                0.4 0.3 10.3
                0 1 0
                0.05
            )
			comment ( === Vapor mangueras calefacción === )
			HeatingHoseFX(
                0.4 0.3 -10.3
                0 1 0
                0.05
            )
			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 ( "GenPassWagModern.sms" )


	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.24 3.13 -10.49 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.3 )
				        )
				)
			)
		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.24 3.13 -10.49 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.3 )
				        )
				)
			)
		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 -10.20 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.5 )
					)
				)
			)
		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.24 3.13 10.49 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.3 )
				        )
				)
			)
		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.24 3.13 10.49 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.3 )
				        )
				)
			)
		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 10.20 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.5 )
				)
			)
		)
	)
)