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

Wagon ( RNDD5022
	Type ( Carriage )
	WagonShape ( RNDD5022.s )
	FreightAnim ( DDINT.s 1 1 )
	Name ("Renfe DD 5022 epIIIb")
	Size ( 3.21m 4.45m 21.06m )
	CentreOfGravity ( 0.0m 2.228m 0.0m )
	Mass ( 45t )
	InertiaTensor ( Box (3.21m 4.45m 20.6m) )
	Coupling (
		Type ( Automatic )
		Spring (
			Stiffness ( 1e6N/m 5e6N/m )
			Damping ( 1e6N/m 1e6N/m )
			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( 53.328kN )

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

	EmergencyBrakeResMaxPressure( 70 )

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

	Adheasion ( 0.2 0.4 2 0 )
	DerailRailHeight ( 4cm )
	DerailRailForce ( 2.5*45t )
	DerailBufferForce ( 1000kN )
	WheelRadius ( 0.4825m )
	NumWheels (	8 )
	Friction (
		802.8N/m/s	-0.1	14.0mph	3.9N/m/s	1.688
		5.1N/rad/s		1		-1rad/s		0		1
	)

	Lights	(	6

		Light	(
			comment( cola lfm ama derecha )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 3 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffff0000 )
					Position ( 1.01 3.22 -10.08  )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.3 )
				)
			)
		)
		Light	(
			comment( cola lfm reducido izquierda )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 3 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffff0000 )
					Position ( -1.01 3.22 -10.08  )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.3 )
				)
			)
		)
		Light	(
			comment( cola lfm reducido inferior )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 3 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffff0000 )
					Position ( 0.77 1.41 -10.15 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.6 )
				)
			)
		)
		Light	(
			comment( cola lfo ama derecha )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 4 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffff0000 )
					Position ( -1.01 3.22 10.07  )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.3 )
				)
			)
		)
		Light	(
			comment( cola lofm reducido derecha )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 4 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffff0000 )
					Position ( 1.01 3.22 10.07  )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.3 )
				)
			)
		)
		Light	(
			comment( cola lofm reducido inferior )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 4 )
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle		( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffff0000 )
					Position ( -0.81 1.41 10.13  )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.6 )
				)
			)
		)
	)

	
	                 Comment === VISTAS INTERIORES ===
		Inside (
     	     PassengerCabinFile ( RNDD5022.s )
     	     PassengerCabinHeadPos ( -1.2 2.5 0.5 )
     	     RotationLimit ( 0 0 0 )
     	     StartDirection ( -0.5 15 0 )
     	     Sound ( "Vagon_int.sms"  )	
        )
		ORTSAlternatePassengerViewPoints (
	            ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 0.5 2.4 -1.6 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( -0.5 -90 0 )
                            )
	            ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 0.5 2.7 -4.5 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 200 0 )
                            )
				ORTSAlternatePassengerViewPoint (
                    PassengerCabinHeadPos ( 0 2.7 -2.8 )
                            RotationLimit ( 0 0 0 )
                            StartDirection ( 0 180 0 )
                            )						 
	)
	
	
					comment ( === Efectos especiales === )
						
	ORTSWagonSpecialType ( Heated )
	
	Effects (
    SpecialEffects ( 	
			comment ( === Vapor mangueras calefacción === )
			HeatingHoseFX(
                0.4 0.35 10.2
                0 1 0
                0.05
            )
			comment ( === Vapor mangueras calefacción === )
			HeatingHoseFX(
                0.4 0.35 -10.2
                0 1 0
                0.05
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.2 0.6 -1.6
                -0.5 -1 0.5
                0.2
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.2 0.6 -1.7
                -0.5 -1 0.5
                0.2
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.2 0.6 -1.8
                -0.5 -1 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 ( "genpasswagsteam.sms" )

	)
