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

Wagon ( Y_8117 
	comment( Y_8117 )
	Type ( Engine )
	WagonShape ( Y_8117.s )
	
	Size ( 2.922m 3.89538m 9.80233m )  
	Mass ( 35t )
	WheelRadius ( 16in )
	InertiaTensor ( Box ( 2.922m 3.89538m 9.80233m ) )
	Coupling (
		Type ( Chain )
		Spring (
			Stiffness ( 1e6N/m 5e6N/m )
			Damping ( 1e6N/m/s 1e6N/m/s )
			Break ( 1.1e7N 1.1e7N )
			r0 ( 5cm 12cm )
		)
		comment( CouplingHasRigidConnection () )
		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 )
	)
	Inside (
		PassengerCabinFile ( Y_8117.s)
		PassengerCabinHeadPos ( 1.1 3.0 -2.35 )
		RotationLimit ( 30 280 0)
		StartDirection ( 0 0 0)
		Sound ( SNCF_Y8134cab.sms)
	)


	Adheasion ( 0.2 0.4 2 0 )
	DerailRailHeight ( 10cm )
	DerailRailForce ( 2.5*35t )
	DerailBufferForce ( 500kN )
	NumWheels (	1 )
	Friction (
		100N/m/s		1		-1mph		0		1
		5.1N/rad/s		1		-1rad/s		0		1
	)

	AntiSlip ()

	BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Emergency_brake_reservoir" )
	BrakeSystemType( "Air_single_pipe" )
	MaxBrakeForce( 45kN )

	EmergencyBrakeResMaxPressure( 100 )
	TripleValveRatio( 5 )
	MaxReleaseRate( 25 )
	MaxApplicationRate( 25 )
	MaxAuxilaryChargingRate( 15 )
	EmergencyResCapacity( 8 )
	EmergencyResChargingRate( 18 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 70 )

	IntakePoint ( 1.2 0.61 FuelDiesel )

	Lights ( 22
  comment (Réglage par FRED37 pour la série Yoyo serie 8 de YOYO8131)
  Light (
   Comment( Player Control Section )
   Comment( Sphere of light forward Bright )
   Type  ( 1 )
   Conditions (
    Headlight ( 3 )
    Unit ( 2 )
    )
   Cycle ( 0 )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( fffad09f )
     Position ( 0.0 0.2 0.0 )
     Transition ( 0 )
     Radius ( 187.0 )
     Angle ( 7.9 )
     )
    )
   )
  Light (
   Comment( Player Control Section )
   Comment( Sphere of light forward Bright reversibilité )
   Type  ( 1 )
   Conditions (
    Headlight ( 3 )
    Unit ( 5 )
    )
   Cycle ( 0 )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( fffad09f )
     Position ( 0.0 0.2 0.0 )
     Transition ( 0 )
     Azimuth ( 180.0 180.0 180.0 ) 
     Radius ( 187.0 )
     Angle ( 7.9 )
     )
    )
   )
   Light (
   Comment( Veuilleuse Av Dr )
   Type  ( 0 )
   Conditions (
    Headlight ( 2 )
    Unit ( 2 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( bbffffaa )
     Position ( 0.877 1.586 4.33 )
     Azimuth ( 0.0 -5.0 5.0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Veuilleuse Av Ga )
   Type  ( 0 )
   Conditions (
    Headlight ( 2 )
    Unit ( 2 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( bbffffaa )
     Position ( -0.877 1.586 4.33 )
     Azimuth ( 0.0 -5.0 5.0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Plein feu AV Dr )
   Type  ( 0 )
   Conditions (
    Headlight ( 3 )
    Unit ( 2 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( ffffffaa )
     Position ( 0.877 1.586 4.33 )
     Azimuth ( 0.0 -5.0 5.0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Plein Feu AV Ga )
   Type  ( 0 )
   Conditions (
    Headlight ( 3 )
    Unit ( 2 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( ffffffaa )
     Position ( -0.877 1.586 4.33 )
     Azimuth ( 0.0 -5.0 5.0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Veuilleuse Ar Gauche Blanc Reversibilité )
   Type  ( 0 )
   Conditions (
    Headlight ( 2 )
    Unit ( 5 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( bbffffaa )
     Position ( -0.877 1.586 -4.33 )
     Azimuth ( 180 180 180 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Plein Feu Ar Gauche Blanc Reversibilité )
   Type  ( 0 )
   Conditions (
    Headlight ( 3 )
    Unit ( 5 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( ffffffaa )
     Position ( -0.877 1.586 -4.33 )
     Azimuth ( 180 180 180 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Veuilleuse Ar Droite Blanc Reversibilité )
   Type  ( 0 )
   Conditions (
    Headlight ( 2 )
    Unit ( 5 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( bbffffaa )
     Position ( 0.877 1.586 -4.33 )
     Azimuth ( 180 180 180 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Plein feu Ar Droite Blanc Reversibilité )
   Type  ( 0 )
   Conditions (
    Headlight ( 3 )
    Unit ( 5 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( ffffffaa )
     Position ( 0.877 1.586 -4.33 )
     Azimuth ( 180 180 180 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Veuilleuse rouge Ar Gauche )
   Type  ( 0 )
   Conditions (
    Headlight ( 2 )
    Unit ( 3 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( 80ff0000 )
     Position ( -0.61 1.58 -4.33)
     Azimuth ( 180.0 180.0 180.0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Plein Feu rouge Ar Gauche )
   Type  ( 0 )
   Conditions (
    Headlight ( 3 )
    Unit ( 3 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( 80ff0000 )
     Position ( -0.61 1.58 -4.33)
     Azimuth ( 180.0 180.0 180.0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Veuilleuse rouge Ar Gauche Reversibilité )
   Type  ( 0 )
   Conditions (
    Headlight ( 2 )
    Unit ( 4 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( 80ff0000 )
     Position ( -0.61 1.58 4.33)
     Azimuth ( 0 0 0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Plein Feu rouge Ar Gauche Reversibilité )
   Type  ( 0 )
   Conditions (
    Headlight ( 3 )
    Unit ( 4 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( 80ff0000 )
     Position ( -0.61 1.58 4.33)
     Azimuth ( 0 0 0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Veuilleuse rouge Ar Droite )
   Type  ( 0 )
   Conditions (
    Headlight ( 2 )
    Unit ( 3 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( 80ff0000 )
     Position ( 0.61 1.58 -4.33 )
     Azimuth ( 180 180 180 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Plein feu rouge Ar Droite )
   Type  ( 0 )
   Conditions (
    Headlight ( 3 )
    Unit ( 3 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( 80ff0000 )
     Position ( 0.61 1.58 -4.33 )
     Azimuth ( 180 180 180 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Veuilleuse rouge Ar Droite Reversibilité )
   Type  ( 0 )
   Conditions (
    Headlight ( 2 )
    Unit ( 4 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( 80ff0000 )
     Position ( 0.61 1.58 4.33)
     Azimuth ( 0 0 0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Plein Feu rouge Ar Droite Reversibilité )
   Type  ( 0 )
   Conditions (
    Headlight ( 3 )
    Unit ( 4 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( 80ff0000 )
     Position ( 0.61 1.58 4.33)
     Azimuth ( 0 0 0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( AI Section )
   Comment( Headlight bottom right bright )
   Type  ( 0 )
   Conditions (
    Unit ( 2 )
    Control ( 1 )
    Service ( 2 )
    TimeOfDay ( 0 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( ffffffff )
     Position ( 0.877 1.586 4.33 )
     Azimuth ( 0.0 -5.0 5.0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Headlight bottom left bright )
   Type  ( 0 )
   Conditions (
    Unit ( 2 )
    Control ( 1 )
    Service ( 2 )
    TimeOfDay ( 0 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( ffffffff )
     Position ( -0.877 1.586 4.33 )
     Azimuth ( 0.0 -5.0 5.0 )
     Transition ( 0 )
     Radius ( 0.6 )
     )
    )
   )
  Light (
   Comment( Rear red light left bright)
   Type  ( 0 )
   Conditions (
    Unit ( 3 )
    Control ( 1 )
    Service ( 2 )
    TimeOfDay ( 0 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( 80ff0000 )
     Position ( -0.61 1.58 4.33 )
     Azimuth ( -180 -180 -180 )
     Transition ( 0 )
     Radius ( 0.9 )
     )
    )
   )
  Light (
   Comment( Rear red light right bright)
   Type  ( 0 )
   Conditions (
    Unit ( 3 )
    Control ( 1 )
    Service ( 2 )
    TimeOfDay ( 0 )
    )
   FadeIn ( 0.5 )
   FadeOut ( 0.5 )
   Cycle ( 0 )
   States ( 1
    State (
     Duration ( 0.0 )
     LightColour ( 80ff0000 )
     Position ( 0.61 1.58 4.33 )
     Azimuth ( -180 -180 -180 )
     Transition ( 0 )
     Radius ( 0.9 )
     )
    )
   )
  )

	Sound ( SNCF_Y8134eng.sms )
	FreightAnim ( Y_8117_TRK.s 1 1 )
)

Engine ( Y_8117
	Effects
	(
		DieselSpecialEffects
		(
			Exhaust1
			(
                        0 4.14 -1.2
				0 1 0
				0.1
			)
		)
	)

	Wagon ( Y_8117 )
	Type ( Diesel )
	MaxPower ( 210kW )
	MaxForce ( 260kN )
	MaxContinuousForce ( 200kN )
	MaxVelocity ( 75kmh )
	MaxCurrent ( 1200A )
	WheelRadius ( 16in )
	Sanding ( 6mph )
	NumWheels ( 2 )
	MaxTemperature ( 120 )
	MaxOilPressure ( 90 )

	AirBrakesAirCompressorPowerRating( 4 )
	AirBrakesMainMinResAirPressure( 30 )
	AirBrakesMainMaxAirPressure( 100 )
	AirBrakesMainResVolume( 7 )
	AirBrakesAirCompressorWattage( 10000 )
	AirBrakesCompressorRestartPressure( 70 )

	AirBrakesAirUsedPerPoundsOfBrakePipePressure( 0.5 )
	AirBrakesHasLowPressureTest( 0)
	AirBrakesIsCompressorElectricOrMechanical( 1)

	TrainBrakesControllerMaxApplicationRate( 15 )
	TrainBrakesControllerMaxReleaseRate( 15 )
	TrainBrakesControllerEmergencyApplicationRate( 30 )
	TrainBrakesControllerMinSystemPressure( 0 )
	TrainBrakesControllerMaxSystemPressure( 90 )
	TrainBrakesControllerEmergencyBrakeTimePenalty( 0 )
	TrainBrakesControllerFullServicePressureDrop( 26 )

	BrakesTrainBrakeType( "Air_single_pipe" )
	BrakesEngineControllers ( "Train" )

	CabView ( SNCF_Y8134.cvf )
	HeadOut ( -1.55 3.0 -2.35 )

	MaxDieselLevel ( 190gal )
	DieselUsedPerHourAtMaxPower ( 60gal )
	DieselUsedPerHourAtIdle ( 10gal )

	DieselSmokeEffectInitialMagnitude( 0.2 )
	DieselSmokeEffectMaxMagnitude( 1 )
	DieselSmokeEffectInitialSmokeRate( 0.2 )
	DieselSmokeEffectMaxSmokeRate( 1 )

	DieselEngineIdleRPM( 315 )
	DieselEngineMaxRPM( 1200 )
	DieselEngineSpeedOfMaxTractiveEffort( 13mph )
	DieselEngineMaxRPMChangeRate( 40 )

	MaxSandingTime( -1 )

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

	EngineControllers (
		Throttle ( 0 1 0.125 0 
			NumNotches ( 9
				Notch ( 0       0 Dummy )
				Notch ( 0.125   0 Dummy )
				Notch ( 0.25    0 Dummy )
				Notch ( 0.375   0 Dummy )
				Notch ( 0.5     0 Dummy )
				Notch ( 0.625   0 Dummy )
				Notch ( 0.75    0 Dummy )
				Notch ( 0.875   0 Dummy )
				Notch ( 1       0 Dummy )
			)
		)

            Brake_Train ( 0 1 0.0125 0.4
                NumNotches ( 5
                    Notch( 0    0 TrainBrakesControllerReleaseStart )
                    Notch( 0.3  1 TrainBrakesControllerGraduatedSelfLapLimitedHoldingStart )
                    Notch( 0.85 0 TrainBrakesControllerSuppressionStart )
                    Notch( 0.9  0 TrainBrakesControllerContinuousServiceStart )
                    Notch( 0.95 0 TrainBrakesControllerEmergencyStart )
                )
            )

            EngineBrakingButton( 0 1 0 )
		EmergencyStopToggle ( 0 1 0 )
		DirControl ( -1 0 1 1 )
		Vigilance ( 0 1 0 )
		Sanding ( 0 1 0 )
		Horn ( 0 1 0 )
		Headlights ( 0 0.25 1 0 )
	)

	comment( fuel_level )
	EngineVariables ( 190 )
	Sound ( SNCF_Y8134cab.sms )

	Name ( "Y_8117" )
	Description (
	"Y8000 SNCF locomotive diesel de manoeuvre\n"+
	"Années de construction : 1977-1995\n"+
	"Moteur POYAUD V12 (puissance 205Kw)\n"+
	"ou Moteur RVI (puissance 230Kw)\n"+
	"Transmission hydraulique\n"+
	"Vitesse maximale : 80 km/h - 60 km/h en service \n"+
	"Poids : 35 tonnes, Longueur : 10,14 m\n"+
	"site Web : http://alain.morency.free.fr/YOYO8131/\n"+
	"Thierry Stachnik & Friends 2011"
	)
	EngineOperatingProcedures (
	"Standard : touche Z, puis M, puis D: marche avant\n"+
	"Après arrêt d'urgence : réarmez par W\n"+
	"Inversion des feux : H marche avant\n"+
	"  HH marche arrière.\n"+
	"Vue conducteur : touche 1\n"+
	"Vue accompagnateur pour manoeuvre :\n"+
	 "touche 5 et flèches"
	)
)
