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

Wagon ( RN279005

    Type ( Engine )
    WagonShape ( RN279005.s )
    FreightAnim ( 7900INT.s 1 1 )
	
    comment(--- Características generales ---)
    Mass ( 80t )
    Size ( 3.83m 5.6m 17.72m )
    CentreOfGravity ( 0m 2.25m 0m )
    InertiaTensor ( Box ( 3.83m 5.6m 17.22m ) )

    comment(---Rodadura---)
    WheelRadius ( 0.65m )
    NumWheels ( 4 )
    Adheasion ( 0.2 0.4 2 0 )

    Friction (
        1025.9N/m/s    -0.10    1.3mph    10.215N/m/s    1.870
        5.1N/rad/s       1         -1rad/s      0               1
    )
	
    comment(---Descarrilamiento---)
    DerailRailHeight ( 10cm )
    DerailRailForce ( 2.5*80t )
    DerailBufferForce ( 800kN )

    comment(---Enganche---)
    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 ( 0 )
        Velocity ( 0.1m/s )
    )
    Buffers (
        Spring (
            Stiffness ( 1e6N/m 5e6N/m )
            Damping ( 1e6N/m/s 1e6N/m/s )
            r0 ( 0m 1e9 )
        )
        Centre ( 0.5 )
        Radius ( 1 )
        Angle ( 0.5deg )
    )

    comment(---Frenado---)
	
    BrakeEquipmentType( "graduated_release_triple_valve , Auxilary_reservoir, Emergency_brake_reservoir" )
    BrakeSystemType ( "Air_single_pipe" )
    MaxBrakeForce ( 76kN )
    EmergencyBrakeResMaxPressure( 110 )
    TripleValveRatio( 2.5 )
    MaxReleaseRate( 15 )
    MaxApplicationRate( 25 )
    MaxAuxilaryChargingRate( 5 )
    EmergencyResCapacity( 7 )
    EmergencyResChargingRate( 5 )
    EmergencyBrakeResMaxPressure( 90 )
    BrakeCylinderPressureForMaxBrakeBrakeForce( 50 )

    BrakeDistributorFullServicePressure( 82 )
    BrakeDistributorMaxAuxilaryResPressure( 110 )
    BrakeDistributorEmergencyResPressure( 110 )
    BrakeDistributorReleaseRate( 10 )
    BrakeDistributorApplicationRate( 15 )
    BrakeDistributorTrainPipeControlRatio( 2.03 )
    BrakeDistributorNormalFullReleasePressure( 110 )
	Brakepipevolume ( 0.5 )
	
	
    comment(---Luces---)
    Lights	( 17
		
            Light	(
			comment( Sphere of light -corta- )
			Type		( 1 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.1 )
			FadeOut	( 0.1 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.0 4.00  8.8 )
					Transition ( 0 )
					Radius ( 150.0 )
					Angle ( 10.0 )
					)
				)
			)
		Light	(
			comment( Sphere of light -larga- )
			Type		( 1 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.1 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.0 4.00 8.8 )
					Transition ( 0 )
					Radius ( 300.0 )
					Angle ( 15.0 )
			
					)
				)
			)
		Light	(
			comment( Alcance Dim )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.0 3.9 8.4 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.35 )
					)
				)
			)
		Light	(
			comment( Alcance Bright )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.0 3.9 8.4 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.7 )
					)
				)
			)
		Light	(
			comment( PosicionIzq Bright )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 1.16 1.93 8.3 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)
		Light	(
			comment( PosicionDer Bright )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( -1.16 1.93 8.3 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)
		Light	(
			comment( ColaIzq )
			Type		( 0 )
			Conditions(
     				Service ( 2 ) 
				Unit ( 3 )
			)
			FadeIn	( 0.1 )
			FadeOut	( 0.2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 1.11 3.87 -8.29 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.3 )
					)
				)
			)
		Light	(
			comment( ColaDer )
			Type		( 0 )
			Conditions(
     				Service ( 2 ) 
				Unit ( 3 )
			)
			FadeIn	( 0.1 )
			FadeOut	( 0.2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -1.11 3.87 -8.29 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.3 )
					)
				)
			)
		Light	(
			comment( Colacentral )
			Type		( 0 )
			Conditions(
     				Service ( 2 ) 
				Unit ( 3 )
			)
			FadeIn	( 0.1 )
			FadeOut	( 0.2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 0 1.93 -8.37 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.3 )
					)
				)
			)
		
Comment ( ========== luces reversibles ========= )

		Light	(
			comment( Alcance Dim )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 5 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.0 3.9 -8.4 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.35 )
					)
				)
			)
		Light	(
			comment( Alcance Bright )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 5 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.0 3.9 -8.4 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.7 )
					)
				)
			)
		Light	(
			comment( PosicionIzq Bright )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 5 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 1.16 1.93 -8.3 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)
		Light	(
			comment( PosicionDer Bright )
			Type		( 0 )
			Conditions	(
				Service ( 2 )
				Unit ( 5 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( -1.16 1.93 -8.3 )
					Azimuth ( -180 -180 -180 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)
		Light	(
			comment( ColaIzq )
			Type		( 0 )
			Conditions(
     				Service ( 2 ) 
				Unit ( 4 )
			)
			FadeIn	( 0.1 )
			FadeOut	( 0.2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 1.11 3.87 8.29 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.3 )
					)
				)
			)
		Light	(
			comment( ColaDer )
			Type		( 0 )
			Conditions(
     				Service ( 2 ) 
				Unit ( 4 )
			)
			FadeIn	( 0.1 )
			FadeOut	( 0.2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( -1.11 3.87 8.29 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.3 )
					)
				)
			)
		Light	(
			comment( Colacentral )
			Type		( 0 )
			Conditions(
     				Service ( 2 ) 
				Unit ( 4 )
			)
			FadeIn	( 0.1 )
			FadeOut	( 0.2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( eeff0000 )
					Position ( 0 1.93 8.37 )
					Azimuth ( 0 0 0 )
					Transition ( 0 )
					Radius ( 0.3 )
					)
				)
			)
		
Comment( ========== luces AI ========= )
			
		Light	(
			comment( Alcance Bright en AI de noche)
			Type		( 0 )
			Conditions	(
				Control(1)				
				Service(2) 
				TimeOfDay(0)
				Unit ( 2 )
				)
			FadeIn	( 0.2 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( d8ffdf90 )
					Position ( 0.0 3.9 8.4 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.7 )
                              		)
				)
			)
		)
    Sound ( "R269eng.sms" )
)

Engine ( RN279005

    comment(---Características generales ---)
    Name ( "RN279005" )
    Wagon ( RN279005 )

    Type ( Electric )
    comment ( 70kmh/130kmh )
    MaxVelocity ( 130kmh )
    WheelRadius ( 0.65m )
    MaxPower ( 2700kW )
    MaxForce ( 221kN )
    MaxContinuousForce ( 138kN )
    ORTSSpeedOfMaxContinuousForce ( 5kmh )

    MaxCurrent ( 2000A )
    NumWheels ( 4 )
    Sanding ( 1e9mph )

    AntiSlip (1)
    MaxSandingTime ( 1800s )

	Comment (---Frenos sección motriz---)
	
    AirBrakesAirCompressorPowerRating( 2 )
	AirBrakesMainMinResAirPressure( 50 )
	AirBrakesMainMaxAirPressure( 145.038 )
	AirBrakesMainResVolume( 8 )
	AirBrakesAirCompressorWattage( 10000 )
	AirBrakesCompressorRestartPressure( 120 )
	AirBrakesAirUsedPerPoundsOfBrakePipePressure( 1.5 )
	AirBrakesIsCompressorElectricOrMechanical( 1 )

	EngineBrakesControllerMinPressureReduction ( 7 )
	EngineBrakesControllerMaxApplicationRate ( 30 )
	EngineBrakesControllerMaxReleaseRate ( 40 )
	EngineBrakesControllerMinSystemPressure ( 0 )
	EngineBrakesControllerMaxSystemPressure ( 110 )
    EngineBrakesControllerEmergencyApplicationRate ( 50 )
	EngineBrakesControllerEmergencyBrakeTimePenalty ( 120 )
	EngineBrakesControllerFullServicePressureDrop ( 50 )
	EngineBrakesControllerHasProportionalBrake ( 1 )
	EngineBrakesControllerDirectControlExponent ( 1 )
    EngineBrakesProportionalBrakeLag( 0.1 )
	EngineBrakeHasEmergencyStopButton ( 0 )
	
	MainResChargingRate ( 0.4 )
	EngineBrakeReleaseRate ( 12.5 )
	EngineBrakeApplicationRate ( 12.5 )
	BrakePipeChargingRate ( 21 )
	BrakeServiceTimeFactor ( 1.009 )
	BrakeEmergencyTimeFactor ( 0.1 )
	BrakePipeTimeFactor ( 0.003 )
               
	TrainBrakesControllerMinPressureReduction ( 6 )
	TrainBrakesControllerMaxApplicationRate ( 2 )
	TrainBrakesControllerMaxReleaseRate ( 2 )
	TrainBrakesControllerMinSystemPressure ( 0 )
	TrainBrakesControllerMaxSystemPressure ( 110 )
	TrainBrakesControllerMaxQuickReleaseRate ( 80 )
    TrainBrakesControllerEmergencyApplicationRate ( 50 )
	TrainBrakesControllerEmergencyBrakeTimePenalty ( 120 )
	TrainBrakesControllerFullServicePressureDrop ( 50 )
	TrainBrakesControllerDirectControlExponent ( 1 )
	TrainPipeLeakRate ( 5 )

	DynamicBrakesMinUsableSpeed( 4 )
	DynamicBrakesMaximumEffectiveSpeed( 23 )
	DynamicBrakesMaximumForce( 200kN )
	DynamicBrakesResistorCurrentLimit ( 3300A )
	DynamicBrakesCutInSpeed( 5 )
	DynamicBrakesMaxAirBrakePressure ( 50 )
	DynamicBrakesFadingSpeed( 17 )
	DynamicBrakesDelayTimeBeforeEngaging ( 8 )
	DynamicBrakesMaximumSpeedForFadeOut ( 80 )
	DynamicBrakesEffectAtMaximumFadeOut( 0.34 )
	DynamicBrakesHigherSpeedCurveExponent( 1.2 )
	DynamicBrakesLowerSpeedCurveExponent( 0.9 )
	DynamicBrakesNumberOfControllerNotches( 1 )
	DynamicBrakeHasAutoBailOff ( 0 )

      BrakesEngineBrakeType( "Air_single_pipe"  )
      BrakesTrainBrakeType( "Air_single_pipe" )
      BrakesEngineControllers( "Independent, Train, Dynamic" )

    CabView ( "7900.cvf" )
    HeadOut ( -1.6 3 -7.9 )

    Sound ( "R269cab.sms" )

    comment(---Monitores---)
    EmergencyStopMonitor(
        MonitoringDeviceMonitorTimeLimit ( 0 )
        MonitoringDeviceAlarmTimeLimit ( 0 )
        MonitoringDevicePenaltyTimeLimit ( 0 )
        MonitoringDeviceCriticalLevel ( 0 )
        MonitoringDeviceResetLevel ( 0 )
        MonitoringDeviceAppliesFullBrake ( 0 )
        MonitoringDeviceAppliesEmergencyBrake ( 1 )
        MonitoringDeviceAppliesCutsPower ( 1 )
        MonitoringDeviceAppliesShutsDownEngine ( 0 )
    )

    AWSMonitor(
        MonitoringDeviceMonitorTimeLimit ( 0 )
        MonitoringDeviceAlarmTimeLimit ( 7 )
        MonitoringDevicePenaltyTimeLimit ( 0 )
        MonitoringDeviceCriticalLevel ( 0 )
        MonitoringDeviceResetLevel ( 0 )
        MonitoringDeviceAppliesFullBrake ( 0 )
        MonitoringDeviceAppliesEmergencyBrake ( 1 )
        MonitoringDeviceAppliesCutsPower ( 0 )
        MonitoringDeviceAppliesShutsDownEngine ( 0 )
    )

    VigilanceMonitor(
        MonitoringDeviceMonitorTimeLimit ( 60 )
        MonitoringDeviceAlarmTimeLimit ( 55 )
        MonitoringDevicePenaltyTimeLimit ( 0 )
        MonitoringDeviceCriticalLevel ( 0 )
        MonitoringDeviceResetLevel ( 0 )
        MonitoringDeviceAppliesFullBrake ( 1 )
        MonitoringDeviceAppliesEmergencyBrake ( 0 )
        MonitoringDeviceAppliesCutsPower ( 0 )
        MonitoringDeviceAppliesShutsDownEngine ( 1 )
        MonitoringDeviceResetOnZeroSpeed ( 1 )
    )

    OverspeedMonitor(
        MonitoringDeviceMonitorTimeLimit ( 0 )
        MonitoringDeviceAlarmTimeLimit ( 0 )
        MonitoringDevicePenaltyTimeLimit ( 0 )
        MonitoringDeviceCriticalLevel ( 150 )
        MonitoringDeviceResetLevel ( 0 )
        MonitoringDeviceAppliesFullBrake ( 1 )
        MonitoringDeviceAppliesEmergencyBrake ( 1 )
        MonitoringDeviceAppliesCutsPower ( 1 )
        MonitoringDeviceAppliesShutsDownEngine ( 0 )
        MonitoringDeviceTriggerOnTrackOverspeed ( 1 )
        MonitoringDeviceTriggerOnTrackOverspeedMargin ( 10 )
        MonitoringDeviceResetOnZeroSpeed ( 1 )
        MonitoringDeviceResetOnResetButton ( 0 )
    )

    comment(---Controles---)

   EngineControllers (
            Throttle ( 0 1 0.025 0
                NumNotches ( 8 )
				Notch ( 0 0 0 )
                Notch ( 0.20 0  )
                Notch ( 0.30 0  )
                Notch ( 0.35 0  )
                Notch ( 0.45 0  )
                Notch ( 0.60 0  )
                Notch ( 0.80 0  )
                Notch ( 1 0 )
    			 )
	Brake_Train ( 0 1 0.0125 0.65 
                NumNotches ( 6
                    Notch ( 0    0 TrainBrakesControllerReleaseStart )
                    Notch ( 0.2  0 TrainBrakesControllerHoldLappedStart )
                    Notch ( 0.25 0 TrainBrakesControllerGraduatedSelfLapLimitedHoldingStart )
                    Notch ( 0.85 0 TrainBrakesControllerSuppressionStart )
                    Notch ( 0.9  0 TrainBrakesControllerContinuousServiceStart )
                    Notch ( 0.95 0 TrainBrakesControllerEmergencyStart )
                )
            )
             Brake_Engine ( 0 1 0.04 0 
                NumNotches ( 10
                    Notch( 0 0 )
					Notch( 0.10 0 )
					Notch( 0.20 0 )
					Notch( 0.30 0 )
					Notch( 0.40 0 )
					Notch( 0.60 0 )
					Notch( 0.75 0 )
					Notch( 0.85 0 )
					Notch( 0.95 0 )
					Notch( 1 0 )
               	 )
       	  )
            Brake_Dynamic ( 0 1 0.04 0 
                	NumNotches ( 10
					Notch( 0 0 )
					Notch( 0.10 0 )
					Notch( 0.20 0 )
					Notch( 0.30 0 )
					Notch( 0.45 0 )
					Notch( 0.65 0 )
					Notch( 0.75 0 )
					Notch( 0.85 0 )
					Notch( 0.95 0 )
					Notch( 1 0 )
                   	)
            )
		Combined_Control( 0 1 0.1 0.5 throttle dynamic )
            DirControl ( -1 0 1 1 )
            BellToggle( 0 1 0 )
            Sanding ( 0 1 0 )
            Horn ( 0 1 0 )
            Wipers ( 0 1 0 )
            PantographToggle1 ( 0 1 0 )
            EmergencyStopResetToggle( 0 1 0 )
            EmergencyStopToggle( 0 1 0 )
            Vigilance ( 0 1 0 )
            Headlights ( 0 0.25 1 0 )
	)
    EngineVariables ( 5300 )

   Name ( "RN279005 librea original época IV (1972-1995)" )
      Description (
"Es una locomotora electrica bitension que adquirio RENFE entre los años 1967 y 1968."+
	"Renfe tuvo la necesidad de adquirir unas locomotoras capaces de traccionar"+ "trenes por las líneas en donde aún convivían las electrificaciones de 1500/3000V, sin"+ "tener que parar para cambiar de locomotora al pasar de una tensión a otra "+
      
	"Tipo de locomotora: Bo' Bo'\n\n"+
	"Costructores: CAF y CENEMESA.\n\n"+
	"Potencia: 2.700 kW (3.670c.v.)\n\n"+
	"Tension nominal: 1.5 Kv/ 3 Kv\n\n"+
            "Vel. maxima: 80km/h-130km/h\n\n"+
	"Numero de motores: 2\n\n"+
	"Tipo de motores: Mitsubishi 3200\n\n"+
	"Tipo de Bogies: Monomotores-birreductores\n\n"+
	"Años de adquisicion: de 1969 al 1972.\n\n"+
	"Diametro de las Ruedas: 1250mm.\n\n"+
	"Peso en servicio: 80t\n\n"+
	"Distancia entre topes: 17270mm.\n\n"+
	"Distancia entre bogies: 10400mm.\n\n"+
        )
     
)