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

Wagon ( "RNBBL8101"
	Type ( Carriage )
	FreightAnim ( RNBBL8100_intIII.s 1 1 )
	WagonShape ( "RNBBL8101.s" )
	Name ("Renfe BBL8101 epIII")
	Size ( 3.19m 4.33m 26.47m )
	CentreOfGravity ( 0m 0m 0m )
	Mass ( 41.5t )
	InertiaTensor ( Box (3.19m 4.33m 26m) )
	
	Coupling (
		Type ( Automatic )
		Spring (
			Stiffness ( 1e6N/m 5e6N/m )
			Damping ( 1e6N/m/s 1e6N/m/s )
			Break ( 5.1e7N 5.1e7N )
			r0 ( 10cm 20cm )
		)
		CouplingHasRigidConnection ( 1 )
		Velocity ( 0.2m/s )
	)
	
	Buffers (
		Spring (
			Stiffness ( 9.8e5N/m 9.8e5N/m )
			Damping ( 1.7e6N/m/s 1.7e6N/m/s )
			r0 ( 10cm 20cm )
		)
		Centre ( 0.5 )
		Radius ( 1 )
		Angle ( 0.5deg )
	)
	
	BrakeEquipmentType( "Handbrake, Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )
	BrakeSystemType( "Air_single_pipe" )
	MaxBrakeForce( 51.371kN )

	MaxHandbrakeForce( 17.259kN )
	EmergencyBrakeResMaxPressure( 70 )
	TripleValveRatio( 2.5 )
	MaxReleaseRate( 15 )
	MaxApplicationRate( 25 )
	MaxAuxilaryChargingRate( 5 )
	EmergencyResCapacity( 0.682ft^3 )
	EmergencyResChargingRate( 5 )
	EmergencyResVolumeMultiplier( 1 )
	BrakePipeVolume( 0.730ft^3 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 50 )

	Adheasion ( 1 1 2 0 )
	DerailRailHeight ( 10cm )
	DerailRailForce ( 800kN )
	DerailBufferForce ( 1000kN )
	WheelRadius ( 0.96m )
	NumWheels (	8 )
	Friction (
		778.6N/m/s		-0.10		1.5mph		3.838N/m/s		1.684
		5.1N/rad/s		1		-1rad/s		0		1
	)

	ORTSDavis_A ( 778.57N )
	ORTSDavis_B ( 13.5569 )
	ORTSDavis_C ( 0.896060 )
	ORTSBearingType ( Roller )

	
   	            Comment (  === VISTAS INTERIORES CON TECLA 5, Y MAYÚSCULAS+5 === )
 
     Inside (
	   PassengerCabinFile ( RNBBL8101.s  )
	   PassengerCabinHeadPos ( 1.1 2.6 12.4 )
	   RotationLimit ( 0 0 0 )
	   StartDirection ( 0 -90 0 )
	   Sound ( "Vagon_int.sms" )
	)
    ORTSAlternatePassengerViewPoints (
	            ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.1 2.6 12.4 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 -170 0 )
                            )
	            ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.1 2.6 6.7 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 0 0 )
                            )	
                ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.2 2.6 7.8 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 -90 0 )
                            )
 				ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.2 2.7 -3 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 -160 0 )
                            )			
            	ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1 2.6 -5 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 180 0 )
                            )			
                ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 1.2 2.6 -12.4 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 -65 0 )
                            )  							
	)

	
	
	
					comment ( === Efectos especiales === )
						
	ORTSWagonSpecialType ( Heated )
	
	Effects (
    SpecialEffects ( 	
			comment ( === Vapor mangueras calefacción === )
			HeatingHoseFX(
                0.3 0.4 12.95
                0 1 0
                0.05
            )
			comment ( === Vapor mangueras calefacción === )
			HeatingHoseFX(
                0.3 0.4 -12.95
                0 1 0
                0.05
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.3 0.7 -2.6
                -0.6 -2 0.5
                0.2
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.3 0.7 -2.7
                -0.6 -2 0.5
                0.2
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.3 0.7 0
                0.6 -2 0.5
                0.2
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.3 0.7 -3.9
                -0.6 -2 0.5
                0.2
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.3 0.7 -4
                -0.6 -2 0.5
                0.2
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.3 0.7 -0.2
                0.6 -2 0.5
                0.2
            )
		)
	)
	
	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 ( "..\\..\\SONIDOS_HIRES\\PASAJEROS\\PASAJEROS.sms" )
		
 Lights	(	6
	
comment ( luces vagon en cola )
	
		Light	(
			Comment( superior izquierda reducido )
			Type( 0 )
			Conditions (
		                Service ( 2 )   
				Unit ( 3 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -1.02 2.96 -13.07 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.3 )
				)	
			)
		)		
		Light	(
			Comment( superior derecha reducido )
			Type( 0 )
			Conditions (
		                Service ( 2 )   
				Unit ( 3 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 1.02 2.96 -13.07 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.3 )
				)	
			)
		)			
		Light	(
			Comment( superior izquierda pleno )
			Type( 0 )
			Conditions (
		                Service ( 2 )   
				Unit ( 3 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 1.00 1.42 -13.09 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.6 )
				)	
			)
		)

comment ( luces vagon frontales )
	
		Light	(
			Comment( superior izquierda reducido )
			Type( 0 )
			Conditions (
		                Service ( 2 )   
				Unit ( 4 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -1.01 2.96 13.09 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.3 )
				)	
			)
		)		
		Light	(
			Comment( superior derecha reducido )
			Type( 0 )
			Conditions (
		                Service ( 2 )   
				Unit ( 4 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 1.01 2.96 13.09 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.3 )
				)	
			)
		)			
		Light	(
			Comment( superior izquierda pleno )
			Type( 0 )
			Conditions (
		                Service ( 2 )   
				Unit ( 4 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -1.00 1.42 13.1 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.6 )
				)	
			)
		)
	)



  )



