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

Wagon ( fs_e645_101b
	Type ( Engine )
	WagonShape ( fs_e645_101b.s )	
      Size ( 3.12m 4.15m 9.00m )
	CentreOfGravity ( 0m 2.0m 0m )
	Mass ( 55.0t )
	WheelRadius ( 0.625m )
	InertiaTensor ( Box (3.0m 4.15m 9.00m) )
	Coupling (
		Type ( Chain )
		Spring (
			Stiffness ( 5e6N/m 0  )
			Damping ( 1e6N/m/s 0 )
			Break ( 2e7N 0 )
			r0 ( 15cm 1e9 )
		)
		CouplingHasRigidConnection ()
		Velocity ( 0.1m/s )
	)
	Coupling (
		Type ( Bar )
		Spring (
			Stiffness ( 5e6N/m 0  )
			Damping ( 1e6N/m/s 0 )
			Break ( 2e7N 0 )
			r0 ( 15cm 1e9 )
		)
		CouplingHasRigidConnection ()
		Velocity ( 0.1m/s )
	)
	Buffers (
		Spring (
			Stiffness ( 1e7N/m 0 )
			Damping ( 1e6N/m/s 0 )
			r0 ( 0m 1e9 )
		)
		Centre ( 0.5 )
		Radius ( 1 )
		Angle ( 0.5deg )
	)

	
	Adheasion ( 0.26 0.52 3 0 )
	DerailRailHeight ( 4cm )
	DerailRailForce ( 230kN )
	DerailBufferForce ( 200kN )
	NumWheels ( 6 )
	Friction (
		1542N/m/s		0		1mph		0		0
		5.1N/rad/s		1		-1rad/s		0		1
	)
	comment ( AntiSlip () )
	
	BrakeEquipmentType( "Air_single_pipe, Distributor" )

	BrakeSystemType( "Air_single_pipe" )
	
	MaxBrakeForce( 66kN )

	EmergencyBrakeResMaxPressure( 110 )
	TripleValveRatio( 2.5 )
	MaxReleaseRate( 20 )
	MaxApplicationRate( 20 )
	MaxAuxilaryChargingRate( 30 )
	EmergencyResCapacity( 10 )
	EmergencyResChargingRate( 30 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 70 )

	BrakeDistributorFullServicePressure( 82 )
	BrakeDistributorMaxAuxilaryResPressure( 110 )
	BrakeDistributorEmergencyResPressure( 110 )
	BrakeDistributorReleaseRate( 10 )
	BrakeDistributorApplicationRate( 15 )
	BrakeDistributorTrainPipeControlRatio( 2.03 )
	BrakeDistributorNormalFullReleasePressure( 110 )
	
    	Sound (	"..\\..\\HHP\\SOUND\\HHPEng.sms" )

	Lights	( 5
		Light	(
			comment( LuceBiancaProfFull )
			Type	( 1 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 3 )
				)
			Cycle		( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 0.0 2.0 -126.0 )
					Transition ( 0 )
					Radius ( 100.0 )
					Angle ( 50.0 )
					)
				)
			)
		Light	(
			comment( LuceDxBiancaFull )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 0 )
				)
			FadeIn	( 1 )
			FadeOut	( 2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( -0.90 1.65 -3.87 )
					Azimuth (  180.0 180.0 180.0)
					Transition ( 0 )
					Radius ( 0.40 )
					Elevation ( 0 0 0 )
					)
				)
			)
		Light	(
			comment( LuceSxBiancaFull )
			Type		( 0 )
			Conditions	(
				Headlight ( 3 )
				Unit ( 0 )
				)
			FadeIn	( 1 )
			FadeOut	( 2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffffff )
					Position ( 0.90 1.65 -3.87 )
					Azimuth ( 180.0 180.0 180.0)
					Transition ( 0 )
					Radius ( 0.40 )
					Elevation ( 0 0 0 )
					)
				)
			)
		Light	(
			comment( LuceDxRossaDim )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 3 )
				)
			FadeIn	( 1 )
			FadeOut	( 2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffff0000 )
					Position ( -0.90 1.65 -3.87 )
					Azimuth ( 180.0 180.0 180.0)
					Transition ( 0 )
					Radius ( 0.40 )
					Elevation ( 0 0 0 )
					)
				)
			)
		Light	(
			comment( LuceSxRossaDim )
			Type		( 0 )
			Conditions	(
				Headlight ( 2 )
				Unit ( 3 )
				)
			FadeIn	( 1 )
			FadeOut	( 2 )
			Cycle	( 0 )
			States	(	1
				State	(
					Duration ( 0.0 )
					LightColour ( ffff0000 )
					Position ( 0.90 1.65 -3.87 )
					Azimuth ( 180.0 180.0 180.0)
					Transition ( 0 )
					Radius ( 0.40 )
					Elevation ( 0 0 0 )
					)
				)
			)

		)
	)

Engine ( fs_e645_101b
    Wagon ( fs_e645_101b )
    Type ( Electric )
    MaxPower ( 1990kW )
    MaxForce ( 140.14kN )
    MaxContinuousForce ( 170.57kN )
    MaxVelocity ( 128Km/h )
    MaxCurrent ( 800A )
    WheelRadius ( 0.625m )
    Sanding ( 1e9mph )
    NumWheels ( 6 )

	CabView ( e645.cvf )

    AirBrakesAirCompressorPowerRating( 3.5 )
    AirBrakesMainMinResAirPressure( 0 )
    AirBrakesMainMaxAirPressure( 140 )
    AirBrakesMainResVolume( 10 )
    AirBrakesAirCompressorWattage( 19000 )
    AirBrakesCompressorRestartPressure( 130 )
    AirBrakesAirUsedPerPoundsOfBrakePipePressure( 0.5 )
    AirBrakesHasLowPressureTest( 1 )
    AirBrakesIsCompressorElectricOrMechanical( 1 )

    EngineBrakesControllerHasProportionalBrake( 1 )
    EngineBrakesProportionalBrakeLag( 1 )

    TrainBrakesControllerMinPressureReduction( 6 )
    TrainBrakesControllerMaxApplicationRate( 10 )
    TrainBrakesControllerMaxReleaseRate( 2 )
    TrainBrakesControllerEmergencyApplicationRate( 40 )
    TrainBrakesControllerMinSystemPressure( 0 )
    TrainBrakesControllerMaxSystemPressure( 110 )
    TrainBrakesControllerEmergencyBrakeTimePenalty( 60 )
    TrainBrakesControllerFullServicePressureDrop( 26 )

    DynamicBrakesMinUsableSpeed( 5 )
    DynamicBrakesMaximumEffectiveSpeed( 25 )
    DynamicBrakesMaximumForce( 20000 )
    DynamicBrakesResistorCurrentLimit ( 5000 )
    DynamicBrakesCutInSpeed( 8 )
    DynamicBrakesMaxAirBrakePressure ( 15 )
    DynamicBrakesFadingSpeed( 25 )
    DynamicBrakesDelayTimeBeforeEngaging ( 10 )
    DynamicBrakesMaximumSpeedForFadeOut ( 65 )
    DynamicBrakesEffectAtMaximumFadeOut( 0 )
    DynamicBrakesHigherSpeedCurveExponent( 1 )
    DynamicBrakesLowerSpeedCurveExponent( 1 )
    DynamicBrakesNumberOfControllerNotches( 8 )

    BrakesEngineBrakeType( "Air_single_pipe"  )
    BrakesTrainBrakeType( "Air_single_pipe" )
    BrakesEngineControllers( "Train, Dynamic, Blended" )
    
    DoesBrakeCutPower( 1 )
    DoesHornTriggerBell( 0 )
    BrakeCutsPowerAtBrakeCylinderPressure( 15 )
    
	EmergencyStopMonitor(
		MonitoringDeviceMonitorTimeLimit( 0 )
		MonitoringDeviceAlarmTimeLimit( 0 )
		MonitoringDevicePenaltyTimeLimit( 0 )
		MonitoringDeviceCriticalLevel( 0 )
		MonitoringDeviceResetLevel( 0 )
		MonitoringDeviceAppliesFullBrake( 0 )
		MonitoringDeviceAppliesEmergencyBrake( 1 )
		MonitoringDeviceAppliesCutsPower( 1 )
		MonitoringDeviceAppliesShutsDownEngine( 0 )
		)

	VigilanceMonitor(
		MonitoringDeviceMonitorTimeLimit( 45 )
		MonitoringDeviceAlarmTimeLimit( 37 )
		MonitoringDevicePenaltyTimeLimit( 0 )
		MonitoringDeviceCriticalLevel( 0 )
		MonitoringDeviceResetLevel( 0 )
		MonitoringDeviceAppliesFullBrake( 1 )
		MonitoringDeviceAppliesEmergencyBrake( 0 )
		MonitoringDeviceAppliesCutsPower( 0 )
		MonitoringDeviceAppliesShutsDownEngine( 0 )
		)

	OverspeedMonitor(
		MonitoringDeviceMonitorTimeLimit( 0 )
		MonitoringDeviceAlarmTimeLimit( 5 )
		MonitoringDevicePenaltyTimeLimit( 0 )
		MonitoringDeviceCriticalLevel( 151 )
		MonitoringDeviceResetLevel( 0 )
		MonitoringDeviceAppliesFullBrake( 1 )
		MonitoringDeviceAppliesEmergencyBrake( 1 )
		MonitoringDeviceAppliesCutsPower( 1 )
		MonitoringDeviceAppliesShutsDownEngine( 0 )
		MonitoringDeviceTriggerOnTrackOverspeed( 1 )
		MonitoringDeviceTriggerOnTrackOverspeedMargin( 2 )
		MonitoringDeviceResetOnZeroSpeed( 1 ) 
		MonitoringDeviceResetOnResetButton( 0 )
		)


    Sound ( "..\\..\\HHP\\SOUND\\HHPCab.sms" )
    Name ( "FS E 645 101 Verde B" )
    Description (
	"Locomotiva Elettrica del gruppo FS E646 \n"+
	"Rodiggio Bo-Bo-Bo\n"+
      "Alimentazione 3.000 Volt cc\n"+
	"Potenza Oraria 3.980 kW\n"+
      "Potenza continua 3.480 kW\n"+
      "Rapporto Trasmissione 25/64\n"+
	"Velocità Massima 140/150 Km/h\n"+
	"Lunghezza totale 18,25 Metri \n"+
      "Massa in Servizio 110 t. \n\n"+
      "Versione Finale 1.00 (c)Tardioli Alex. \n"
    )
    EngineOperatingProcedures (
    "Per muoversi in avanti\n"+
    "1.     Il pantografo deve essere sollevato. (Se non e sollevato premere il tasto P)\n"+
    "2.	Premi il tasto W per impostare senso di marcia in avanti Forward.\n"+
    "3.	Premi il tasto @ per diminuire intensita frenata convoglio.\n"+
    "4.	Premi il tasto D per aumentare la potenza dei motori Throttle.\n\n"+  
    "Per rallentare il convoglio\n"+
    "1.	Premi il tasto A per diminuire la potenza motori Throttle.\n"+
    "2.	Usare i freni se si vuole ridurre rapidamente la velocita.\n\n"+   
    "Per attivare i freni del convoglio\n"+
    "1.	Premi il tasto # per aumentare intensita dei freni.\n\n"+
    "Per rilasciare i freni\n"+
    "1.     Premi il tasto @ per diminuire intensita freni.\n\n"+
    "Per attivare frenata di emergenza\n"+
    "1.	Premi il tasto A per diminuire potenza ai motori e qiando arriva a 0,\n"+
    "2.     premere S per passare a folle stato IDLE.\n"+
    "3.	Premi il tasto BACKSPACE per attivare frenata emergenza.\n\n"+
    "Per muoversi indietro\n"+
    "1.	Fermare completamente il convoglio.\n"+
    "2.	Premi il tasto S per impostare il senso di marcia indietro Reverse.\n"+
    "3.	Premi il tasto @ per  diminuire intensita frenata convoglio.\n"+
    "4.	Premi il tasto D per aumentare la potenza ai motori.\n\n"+
    "Per far salire e scendere i passeggeri\n"+
    "1. Fermarsi alla stazione.\n"+
    "2. Premi in tasto Invio.\n"+
    "3. Per ripartire aspettare il segnale.\n"+
    "Per vedere lo stato dei passeggeri salita/discesa premi  (F10) Next Station driving aid."
    ) 
    
    EngineControllers (
        Throttle ( 0 1 0.025 0
            NumNotches ( 0 )
        )
        Brake_Train ( 0 1 0.0125 0.5 
            NumNotches ( 6
                Notch ( 0       0 TrainBrakesControllerReleaseStart )
                Notch ( 0.2	0 TrainBrakesControllerHoldLappedStart )
                Notch ( 0.25    1 TrainBrakesControllerGraduatedSelfLapLimitedHoldingStart )
                Notch ( 0.85    0 TrainBrakesControllerSuppressionStart )
                Notch ( 0.9     0 TrainBrakesControllerContinuousServiceStart )
                Notch ( 0.95    0 TrainBrakesControllerEmergencyStart )
            )
        )
        Brake_Dynamic ( 0 1 0.0125 0 
            NumNotches( 0 )
        )
        DirControl ( -1 0 1 1 )
        EmergencyStopResetToggle( 0 1 0 )
        EmergencyStopToggle( 0 1 0 )
        AWS ( 0 1 0 )
        Sanding ( 0 1 0 )
        Horn ( 0 1 0 )
        Vigilance ( 0 1 0 )
        PantographToggle1 ( 0 1 1 )
        Headlights ( 0 0.25 1 0 )
        Wipers ( 0 1 0 )
        BellToggle( 0 1 0 )
    )
)
