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

Wagon ( CIWL-WL3365
	Type ( Carriage )
	WagonShape ( CIWL-WL3365.s )
	FreightAnim ( WLINT.s 1 1 )
	
	
	Size ( 3.17m 4.42m 21.45m )
	InertiaTensor ( Box (3.17m 4.42m 21m) )
	CentreOfGravity ( 0.0m 0.0m 0.0m )
	Mass ( 47.5t )

	Coupling (
     Type ( Automatic )
     Spring (
     Stiffness ( 1e6N/m 5e6N/m )
     Damping ( 1e6N/m/s 1e6N/m/s )
     Break ( 5.1e7N 5.1e7N )
     r0 ( 10cm 20cm )
    )
    Velocity ( 0.2m/s )
    )
	
    Buffers (
    Spring (
    Stiffness ( 1e6N/m 5e6N/m )
    Damping ( 1e6N/m/s 1e6N/m/s )
    r0 ( 10cm 20cm )
    )
    Centre ( 0.5 )
    Radius ( 1 )
    Angle ( 0.5deg )
    )
 
    Adheasion ( 0.2 0.4 2 0 )
    DerailRailHeight ( 10cm )
    DerailRailForce ( 2.5*47.5t )
    DerailBufferForce ( 800kN )
	ORTSMaximumWheelFlangeAngle ( 70deg )
	ORTSWheelFlangeLength ( 1.0in )
	ORTSLengthCouplerFace ( 21.45m )
	ORTSNumberBogies ( 2 )
    ORTSNumberAxles ( 4 )
	
	Friction (
    1060.6N/m/s    -0.25    6.0mph    4.308N/m/s    1.640
    5.1N/rad/s  1  -1rad/s  0  1
    )
	
	
	BrakeEquipmentType( "Handbrake, Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )
	BrakeSystemType( "Air_single_pipe" )
	MaxBrakeForce( 74.48kN )

	MaxHandbrakeForce( 18.62kN )
    NumberOfHandbrakeLeverSteps( 100 )

    TripleValveRatio( 2.5 )
    MaxReleaseRate( 15 )
    MaxApplicationRate( 25 )
    MaxAuxilaryChargingRate( 5 )
    EmergencyResCapacity( 7 )
    EmergencyResChargingRate( 5 )
    EmergencyBrakeResMaxPressure( 90 )
    BrakeCylinderPressureForMaxBrakeBrakeForce( 50 )
	
	PassengerCapacity ( 14 )
	
	
	           	    comment ( === Luces === )
	
	Lights  ( 15

		Light	(
			comment( Luz de cola superior derecha Dim )
			Type( 0 )
			Conditions (
			    Headlight ( 2 )
				Service ( 2 )
				Unit ( 3 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( 80ff0000 )
					Position ( 1 2.85 -10.54 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)
		Light	(
			comment( Luz de cola superior derecha Bright )
			Type( 0 )
			Conditions (
			    Headlight ( 3 )
				Service ( 2 )
				Unit ( 3 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 1 2.85 -10.54 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)	
		Light	(
			comment( Luz de cola superior izquierda Dim )
			Type( 0 )
			Conditions (
				Headlight ( 2 )
				Service ( 2 )
				Unit ( 3 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( 80ff0000 )
					Position ( -1 2.85 -10.54 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )			
					)
				)
			)
		Light	(
			comment( Luz de cola superior izquierda Bright )
			Type( 0 )
			Conditions (
				Headlight ( 3 )
				Service ( 2 )
				Unit ( 3 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -1 2.85 -10.54 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )			
					)
				)
			)	
 		Light	(
			comment( Luz de cola inferior Dim )
			Type( 0 )
			Conditions (
				Headlight ( 2 )
				Service ( 2 )
				Unit ( 3 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( 80ff0000 )
					Position ( 0.9 1.43 -10.39 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.55 )
					)
				)
			)
		Light	(
			comment( Luz de cola inferior Bright )
			Type( 0 )
			Conditions (
				Headlight ( 3 )
				Service ( 2 )
				Unit ( 3 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 0.9 1.43 -10.39 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.55 )
					)
				)
			)	
			
						
			           comment ( luces reversibles )
					   					   
		Light	(
			comment( Luz de cola superior derecha Dim )
			Type( 0 )
			Conditions (
				Headlight ( 2 )
				Service ( 2 )
				Unit ( 4 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( 80ff0000 )
					Position ( -1 2.85 10.56 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.35 )
					)
				)
			)
		Light	(
			comment( Luz de cola superior derecha Bright )
			Type( 0 )
			Conditions (
				Headlight ( 3 )
				Service ( 2 )
				Unit ( 4 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -1 2.85 10.56 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.35 )
					)
				)
			)	
		Light	(
			comment( Luz de cola superior izquierda Dim )
			Type( 0 )
			Conditions (
				Headlight ( 2 )
				Service ( 2 )
				Unit ( 4 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( 80ff0000 )
					Position ( 1 2.85 10.56 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.35 )
					)
				)
			)
		Light	(
			comment( Luz de cola superior izquierda Bright )
			Type( 0 )
			Conditions (
				Headlight ( 3 )
				Service ( 2 )
				Unit ( 4 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 1 2.85 10.56 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.35 )
					)
				)
			)	
		Light	(
			comment( Luz de cola inferior Dim )
			Type( 0 )
			Conditions (
				Headlight ( 2 )
				Service ( 2 )
				Unit ( 4 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( 80ff0000 )
					Position ( -0.9 1.43 10.39 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.55 )
					)
				)
			)
		Light	(
			comment( Luz de cola inferior Bright )
			Type( 0 )
			Conditions (
				Headlight ( 3 )
				Service ( 2 )
				Unit ( 4 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -0.9 1.43 10.39 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.55 )
					)
				)
			)

                           comment ( === Luces IA === )
		
        Light	(
			comment( Luz de cola superior derecha )
			Type( 0 )
			Conditions (
			    Control ( 1 )
				Service ( 2 )
				Unit ( 3 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 1 2.85 -10.54 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)
		Light	(
			comment( Luz de cola superior izquierda )
			Type( 0 )
			Conditions (
				Control ( 1 )
				Service ( 2 )
				Unit ( 3 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -1 2.85 -10.54 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )			
					)
				)
			)
        Light	(
			comment( Luz de cola inferior )
			Type( 0 )
			Conditions (
				Control ( 1 )
				Service ( 2 )
				Unit ( 3 )
				TimeOfDay ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	      ( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 0.9 1.43 -10.39 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.55 )
					)
				)
			)		
		
		)


            comment ( === Vistas interiores con Mayúsculas + 5 === )

    
	Inside (
	   PassengerCabinFile     ( "WLINT.s" )
	   PassengerCabinHeadPos ( -1.25 2.65 -3 )
	   RotationLimit ( 360 360 360 )
	   StartDirection (0 20 0 )
	   Sound ( "Vagon_int.sms" )
	)
	
	Inside (
	   PassengerCabinFile     ( "WLINT.s" )
	   PassengerCabinHeadPos ( -0.5 2.45 5 )
	   RotationLimit ( 360 360 360 )
	   StartDirection (0 65 0 )
	   Sound ( "Vagon_int.sms" )
	)
	
	Inside (
	   PassengerCabinFile     ( "WLINT.s" )
	   PassengerCabinHeadPos ( 1.15 2.45 6.1 )
	   RotationLimit ( 360 360 360 )
	   StartDirection (0 180 0 )
	   Sound ( "Vagon_int.sms" )
	)
	
	Inside (
	   PassengerCabinFile     ( "WLINT.s" )
	   PassengerCabinHeadPos ( -0.5 2.45 3 )
	   RotationLimit ( 360 360 360 )
	   StartDirection (0 65 0 )
	   Sound ( "Vagon_int.sms" )
	)
	
    
	
	
	
	                 comment ( === Efectos especiales === )
					 

    ORTSWagonSpecialType ( Heated )
	
	Effects (
    SpecialEffects ( 	       				
			comment ( === Vapor mangueras calefacción === )
			HeatingHoseFX(
                0.0 0.55 10.4
                0 1 0
                0.05
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.3 0.7 1.2
                -0.6 -1 0.5
                0.15
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.3 0.7 1.3
                -0.6 -1 0.5
                0.15
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.3 0.7 1
                0.6 -1 0.5
                0.15
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.3 0.7 1.1
                0.6 -1 0.5
                0.15
            )			
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.3 0.7 -1.4
                -0.6 -1 0.5
                0.15
            )
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                -1.3 0.7 -1.5
                -0.6 -1 0.5
                0.15
            )					
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.3 0.7 -1.7
                0.6 -1 0.5
                0.15
            )			
			comment ( === Vapor calefacción === )
			HeatingHoseFX(
                1.3 0.7 -1.8
                0.6 -1 0.5
                0.15
            )
			comment ( === Humo chimenea === )
			WagonSmokeFX (   
			      -1.05 3.85 -9.1
                  0 2 0
                  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 ( 1.0 )
    ORTSHeatingWindowDeratingFactor ( 0.25 )
    ORTSHeatingTrainPipeOuterDiameter (  2.875in  )
    ORTSHeatingTrainPipeInnerDiameter ( 2.07in )
    ORTSHeatingConnectingHoseOuterDiameter ( 2.05in )
    ORTSHeatingConnectingHoseInnerDiameter ( 1.5in )	

	Sound ( "GenPassWagModern.sms" )


)
