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

Wagon ( DR_52_8019
	Type ( Engine )
	WagonShape ( DR_52_8019.s )
	Mass ( 83.5t )
	Size  ( 3.2m 4.6m 13.65m )
	CentreOfGravity ( 0.0m 1.7m 0.0m )
	InertiaTensor ( Box(3.2m 4.6m 13.65m) )
	

	
	Sound ( "BR2310eng.sms" )

	Coupling (
		Type ( bar )
		Spring (
			Stiffness ( 1e7N/m 1e7N/m )
			Damping ( 1e7N/m/s 1e7N/m/s )
			Break ( 1e9N 1e9N )
			r0 ( 20cm 40cm )
		)
		CouplingHasRigidConnection (1)

	)

	Coupling (
		Type ( Chain )
		Spring (
			Stiffness ( 1e6N/m 5e6N/m )
			Damping ( 1e6N/m/s 1e6N/m/s )
			Break ( 1e9N 1e9N )
			r0 ( 20cm 40cm )
		)
		Velocity ( 10km/h )
	)

	DerailRailHeight ( 10cm )
	DerailRailForce ( 300t )
	DerailBufferForce ( 300kN )
	WheelRadius ( 0.425m )
	Adheasion ( 0.03 0.35 2 0 )
	NumWheels ( 2 #Anzahl der nicht angetriebenen Räder)

	Friction (
		1189N/m/s	0	1mph		7.62N/m/s		1.8
		5.1N/rad/s	1	-1rad/s		0		1
	)

	BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Handbrake, Emergency_brake_reservoir" )
	BrakeSystemType( "Air_single_pipe" )
	MaxBrakeForce( 100kN )  
	MaxHandbrakeForce( 80kN )
	NumberOfHandbrakeLeverSteps( 10 )

	TripleValveRatio( 2.5 )
	MaxReleaseRate( 5 )
	MaxApplicationRate( 3 )
	MaxAuxilaryChargingRate( 5 )
	BrakeCylinderPressureForMaxBrakeBrakeForce( 70 )

	EmergencyResCapacity( 7 )
	EmergencyResChargingRate( 5 )
	EmergencyBrakeResMaxPressure( 100 )

	Inside (
		comment ( hier für die Sicht aus der Heizerseite )
		 PassengerCabinFile ( DR_52_8019.s  )
		 PassengerCabinHeadPos ( -1.6 3.25 -6.5 )
		 RotationLimit ( 0 180 0 )
		 StartDirection ( 0 0 0 )
		)

	Lights ( 7
		Light	(
			comment( Lichtkegel )
			Type( 1 )
			Conditions(
				Headlight ( 3 )
				Unit ( 2 )
				)
			Cycle	( 0 )
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( 00808040 ) 
					Position ( 0 1.4 6.5  )
					Transition ( 0 )
					Radius ( 150.0 )
					Angle ( 25.0 )
					)
				)
			)
			
		
		Light	(
			comment( Licht oben )
			Type( 0 )
			Conditions (
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffe0a0 )
					Position ( 0 3.59 5.5 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)


		Light	(
			comment( Licht rechts )
			Type( 0 )
			Conditions (
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffe0a0 )
					Position ( 0.85 1.54 6.14 )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)

		Light	(
			comment( Licht links )
			Type( 0 )
			Conditions (
				Headlight ( 3 )
				Unit ( 2 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffe0a0 )
					Position ( -0.85 1.54 6.14  )
					Azimuth ( 0.0 0.0 0.0 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)

		Light	(	
			comment( Licht oben KI)
			Type( 0 )
			Conditions (
				Headlight ( 0 )
				Unit ( 2 )
				Control (1)
				Service (2)
				TimeOfDay (2)
				Weather (0)
				Coupling (0)
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffe0a0 )
					Position ( 0 3.59 5.5  )
					Azimuth ( 0.0 -5.0 5.0 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)

		
		Light	(	
			comment( Licht rechts KI)
			Type( 0 )
			Conditions (
				Headlight ( 0 )
				Unit ( 2 )
				Control (1)
				Service (2)
				TimeOfDay (2)
				Weather (0)
				Coupling (0)
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffe0a0 )
					Position ( 0.88 1.53 4.75 )
					Azimuth ( 0.0 -5.0 5.0 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)
		Light	(	
			comment( Licht links KI)
			Type( 0 )
			Conditions (
				Headlight ( 0 )
				Unit ( 2 )
				Control (1)
				Service (2)
				TimeOfDay (2)
				Weather (0)
				Coupling (0)
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	( 1
				State	(
					Duration ( 0.0 )
					LightColour ( ffffe0a0 )
					Position ( -0.88 1.53 4.75 )
					Azimuth ( 0.0 -5.0 5.0 )
					Transition ( 0 )
					Radius ( 0.4 )
					)
				)
			)
comment (
		Light	(
			comment( Flickering open firedoor )
			Type		( 0 )
			Conditions	(
				Headlight ( 0 )
				Unit ( 0 )
				)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	2
							State	(
									Duration ( 0.05 )
									LightColour ( 60ff7200 )
									Position ( 0 2.6 -6.1 )
									Azimuth ( -180 -180 -180 )
									Transition ( 0 )
									Radius ( 1.4 )
								)
							State	(
									Duration ( 0.05 )
									LightColour ( 60ffe610 )
									Position ( 0 2.6 -6.1 )
									Azimuth ( -180 -180 -180 )
									Transition ( 0 )
									Radius ( 1.4 )
									
								)
						)
			)

		Light	(
			comment( flickering ashpan frontview)
			Type	( 0 )
			Conditions	(
				Headlight ( 0 )
				Unit ( 0 )
				
			)
			FadeIn	( 0.5 )
			FadeOut	( 0.5 )
			Cycle	( 0 )
			States	(	2
							State	(
									Duration ( 0.05 )
									LightColour ( 40ff7200 )
									Position ( 0 0.5 -4.6 )
									Azimuth ( 0 -90 90 )
									Transition ( 0 )
									Radius ( 2.0 )
									Elevation ( 0 0 0 )
								)
							State	(
									Duration ( 0.05 )
									LightColour ( 40ffe610  )
									Position ( 0 0.5 -4.6)
									Azimuth ( 0 -90 90 )
									Transition ( 0 )
									Radius ( 2.0 )
									Elevation ( 0 0 0 )
								)
				)
			)
		end comment )

		)

)

Engine ( DR_52_8019 

	Type ( Steam )
	IsTenderRequired( 1 )
	Name ( "DR_52_8019_Bw_Zittau" )
	Wagon ( DR_52_8019 )

	
	Sound ( "BR2310cab.sms" )

	
	CabView ( BR52.cvf )

	HeadOut ( 1.7 3.2 -6.5 )
	
Effects ( 
	SteamSpecialEffects (
			comment
			(
				the format of these little blocks is as follow:

				offset.x offset.y offset.z
				normal.x normal.y normal.z
				width in metres

				defining the offset from the shape pivot point
				where steam / smoke should appear, the direction
				it should go and the width of the nozzle
			)

			WhistleFX
			(
				0.55 4.10 0.55
				0 1 0
				0.3
			)

			SafetyValvesFX
			(
				0 4.2 -2.3
				0 1 0
				0.2
			)

			StackFX
			(
				0 4.6 3.64
				0 1 0
				0.2
			)

			CylindersFX
			(
				-1.2 0.35 3.6
				-0.3 -1 0
				0.2
			)

			CylindersFX
			(
				1.2 0.35 3.6
				0.3 -1 0
				0.2
			)
		)
	)

Comment(common data)
	MaxPower ( 1620PS )
	MaxForce ( 217kN )
	MaxContinusedForce( 160kn )
	MaxVelocity ( 80kmh )
	comment ( WheelRadius ( 0.7m ) )
	WheelRadius ( 0.65m ) 
	NumWheels ( 3 )

comment(boiler)
	SteamGaugeGlassHeight( 16 )
	BoilerLength ( 2.2m )
	BoilerEffectivity ( 1 )
	MaxBoilerOutput ( 12t/h )
	BoilerResponsiveness ( 1 )
	ExhaustLimit ( 10t/h )
	comment ( CoalBurnage ( 4lb/hp/h ) scheint so fast keine Kohle zu brauchen )
	CoalBurnage ( 4lb/hp/h ) 
	MaxBoilerPressure ( 16bar )
	SuperHeater ( 1.22 )

	PrimingFactor ( 1 )
	SteamMinPrimingLevel ( 0.9 )
	SteamPrimingReductionWithCylinderCocksOpen ( 0.6 )

	SteamPrimingPowerLossProportion ( 0.7 # how much steam is used while priming )
	SteamPrimingWaterUsageIncreaseProportion ( 10 # how much water is lost by priming )
	SteamPrimingInjectorsFailAtLevel ( 0.9 # the level when injectors stop feeding)

comment(blast & draft)
	DraftingEffect ( 0.85 )
	BlastExponent ( 0.9 )
	SteamBlowerEffectExponent( 1.1 )
	SteamBlowerEfficiencyExponent( 1.1 )
	SteamBlowerMaxSteamUsageRate( 1900 # sadly not working )
	SteamBlowerMaxProportionOfBlastEffect( 0.30 )

comment(Safety valves)
	SafetyValvesSteamUsage ( 30000lb/h )
	SafetyValvePressureDifference( 10 )


comment(cylinders)
	NumCylinders ( 2  )
	CylinderStroke ( 0.66m  )
	CylinderDiameter ( 0.60m )
	comment ( CylinderVolume ( "186575*4*(cm^3)" ) )
	CylinderVolume ( "0.37*(m^3)" )
	CylinderEffectivity ( 1 )
	CylinderCocksPowerEfficiency ( 0.75 )
	SteamCylinderCocksOperation( manual )

Comment(fuel & consumption)
	MaxFireMass ( 2500lb )
	IdealFireMass ( 1480lb )
	MaxWaterMass( 16700lb )
	MaxTenderCoalMass ( 22000lb )
	MaxTenderWaterMass ( 60000lb )
	SteamFiremanMaxPossibleFiringRate( 5000 )
	BasicSteamUsage ( 2000lb/h )
	BasicCoalUsage ( 200lb/h )
	MaxSteamHeatingPressure( 70 )


comment(smoke & steam)
	SteamSmokeUnitsPerPoundOfFuel( 0.7 )
	SteamMaxSmokeUnitsReleaseRate( 30 )


comment(feed water system)
	InjectorTypes( 0 1 # live exhaust )
	InjectorSizes ( 25mm 35mm # water feed )
	Injector1FeedrateMultiplierLive ( 0.25 # steam consumption) 
	Injector2FeedrateMultiplierExhaust ( 0.5 )
	Injector1WaterValveVariance ( 0.5 )
	Injector2WaterValveVariance ( 0.5 )
	InjectorLimits1 ( 60psi  0.5 1 # limits of the injectors)  
	InjectorLimits2 ( 80psi 0.6 1 )
	


comment(throttle & reverser)
	SteamSmallestCutoff( 3 # of course not a real value but cheated for proper operating)
	CutoffMaxReverse ( -0.5 # in these standard settings not necessary ) 
	CutoffMaxForward ( 0.8 # in these standard settings not necessary )
      RegulatorValveType( single_port # I prefer single_port )
	RegulatorSecondValveStartPosition( 0.1 )
	RegulatorPilotValveExponent( 1.75 # opening the regulator more, much more steam will be used)
	RegulatorSecondValveExponent( 1.7 )
	RegulatorPilotValveFullOpenning( 0.49 )
	RegulatorMainValveInitialOpenning( 0.495 )

comment(Brakes)
	BrakesEngineBrakeType( "Air_single_pipe"  )
	BrakesTrainBrakeType( "Air_single_pipe" )
      BrakesEngineControllers( "Train, Independent, Hand" )

    	AirBrakesAirCompressorPowerRating( 100 )
    	AirBrakesMainMinResAirPressure( 0 )
    	AirBrakesMainMaxAirPressure( 100 )
	AirBrakesMainResVolume( 40 # for quick refill of the brakes )
    	AirBrakesCompressorRestartPressure( 65 )
	AirBrakesAirUsedPerPoundsOfBrakePipePressure( 3 )	
	AirBrakesHasLowPressureTest( 1 ) comment(that simulates the Knorr-Brake)
	AirBrakesIsCompressorElectricOrMechanical( 1 )

      TrainBrakesControllerMaxPressureDropInNormalApplication( 16 )
	TrainBrakesControllerMaxReleaseRate( 5 # how fast the pipes are refilled )
	TrainBrakesControllerMaxApplicationRate ( 1 # how fast the pipe's pressure drops down )
	TrainBrakesControllerMinSystemPressure( 0 )
	TrainBrakesControllerMaxSystemPressure( 72 # usual pressure in German brake pipes ) 
	TrainPipeLeakRate (0.8)

	EngineBrakesControllerMaxPressureDropInNormalApplication( 16 )
	EngineBrakesControllerMaxReleaseRate( 5 # how fast the pipes are refilled )
	EngineBrakesControllerMaxApplicationRate ( 1 # how fast the pipe's pressure drops down )
	EngineBrakesControllerMinSystemPressure( 0 )
	EngineBrakesControllerMaxSystemPressure( 72 # usual pressure in German brake pipes ) 
	EnginePipeLeakRate (0.9)

comment(Sand - these parameters look pretty, but are out of function)
	Sanding ( 10mph )
	MaxSandingTime( -1 ) 

	EngineControllers (
            Regulator ( 0 1 0.05 0 
			NumNotches( 0 )
            )
            Cutoff    ( -0.85 0.85 0.05 0 
             	NumNotches ( 0 )
			)

		Brake_Engine ( 0 1 0.02 0 
	            NumNotches( 4
				Notch(0	0 EngineBrakesControllerFullQuickReleaseStart )
    				Notch(0.3 	0 EngineBrakesControllerNeutralhandleOffStart) 
    				Notch(0.6 	1 EngineBrakesControllerFullServiceStart ) 
            		Notch(1.0 	0 EngineBrakesControllerEmergencyStart ) 
            		)
			)

            Brake_Train ( 0 1 0.02 0.6 
	            NumNotches( 4
				Notch(0	0 TrainBrakesControllerReleaseStart )
    				Notch(0.3 	0 TrainBrakesControllerNeutralhandleOffStart) 
    				Notch(0.6 	1 TrainBrakesControllerFullServiceStart ) 
            		Notch(1.0 	1 TrainBrakesControllerEmergencyStart )
            		)
			)

            FireDoor ( 0 1 1 0 
                NumNotches( 0 )
            )
            Sanding( 0 1 0 )
            Blower ( 0 1 0.05 0.2 
                NumNotches( 0 )
            )
            HeatingTap ( 0 1 0.05 0 
                NumNotches( 0 )
            )
            Shovel ( 0 1 0.1 0 
                NumNotches( 0 )
            )

		comment ( 16 Vmax-Schilder gesamt, 10. Schild ausgewählt )
		DampersBack ( 0 16 1 10
                NumNotches ( 0 )
            )

            DampersFront ( 0 1 0.05 1 
                NumNotches ( 2 
                	Notch ( 0     	0 Dummy )
                  Notch ( 0.7   	1 Dummy )
			)
		)
            Injector1Steam ( 0 1 0 )
            Injector2Steam ( 0 1 0 )
            Injector1Water ( 0 1 0.1 1 
                NumNotches( 0 )
            )
            Injector2Water ( 0 1 0.1 1 
                NumNotches( 0 )
            )
            CylinderCocks ( 0 1 1 )
            Whistle ( 0 1 0 )
            BellToggle( 0 1 0 )
            SmallEjectorOrCompressor( 0 1 1 )
            Headlights( 0 1 0 )
        )

	comment( 1. fire temp, 2. fire mass, 3. water mass, 4. boiler pressure,
		   5. tender_water_mass, 6. tender_coal_mass,
		   7. smoke_quantity, 8. fire_condition, 9. coal quality )

	EngineVariables( 950 1100 9000 190 20000 6000 300 0.9 0.7 )

	


 	Description (
	"In den Jahren 1958 bis 1961 erfolgte die Neubekesselung der BR52 im Raw Stendal.\n"+ 
	"Diese Maschinen bildeten in der DR noch lange Zeit das Rückgrad im Güterzugverkehr.\n"+
	"Noch heute fahren einige Maschinen vor Sonderzügen." 
	)
	EngineOperatingProcedures (
	"To move forward\n"+
	"1.	Press the W key several times to move the Reverser to full Forward.\n"+
	"2.	Press the ; (SEMICOLON) key to release the train brakes.\n"+
	"3.	Press the D key to increase the Regulator setting.\n"+  
	"4.	As you accelerate, press the S key to slowly reduce the Reverser setting, then adjust the Regulator to maintain the desired speed.\n\n"+
	"To slow the train\n"+
	"1.	Press the A key to move the Regulator to a lower setting.\n"+
	"2.	Use the brakes to further reduce speed if desired.\n\n"+
	"To apply the train brakes\n"+
	"1.	Press the ' (APOSTROPHE) key to apply the train brakes.\n"+
	"2. To hold the brakes at their current setting, lower the brake lever until it's in its middle (Neutral) position, by pressing the ; (SEMICOLON) key.\n\n"+
	"To release the train brakes\n"+
	"1. Press  the ; (SEMICOLON) key to release the train brakes.\n"+
	"2. When the brakes are released, raise the brake lever until it's in its middle (Neutral) position, by pressing the ' (APOSTROPHE) key.\n\n"+
	"To back up\n"+
	"1.	Bring your train to a full stop.\n"+ 
	"2.	Press the S key several times to move the Reverser to the full Reverse position.\n"+
	"4.	Press the ; (SEMICOLON) key to release the brakes.\n"+
	"5.	Slowly advance the regulator (D key).\n\n"+
	"To load and unload passengers\n"+
	"1. Stop at a station.\n"+
	"2. Press the ENTER key.\n"+
	"3. Wait for the \"permission to depart\" whistle.\n"+
	"TIP: Use the Next Station driving aid (F10) to monitor loading and unloading.\n\n"+
	"To couple to a car or locomotive\n"+
	"1. Coast into the unit at a very slow speed, about 2 mph.\n"+
	"TIP: To use the Coupling view, press the 6 key.\n"+
	"2. Press F9 to open the Train Operations window.\n"+
	"3. If the icon for the unit you coupled to is red, the handbrake is on. Double-click the car to release the handbrake.\n"+
	"4. Close the Train Operations window.\n\n"+
	"To uncouple from a car or locomotive\n"+
	"1. Press F9 to open the Train Operations window.\n"+
	"2. Double-click a unit in the part of the train you want to uncouple from the locomotive, to set the handbrake.\n"+
	"3. Double-click the coupler between the units you want to uncouple and the rest of the train.\n"+
	"4. Close the Train Operations window.\n\n"+
	"Firing commands (Automatic Fireman OFF in Options screen)\n"+
	"To add coal to the firebox\n"+
	"1. Press the F key to open the Firebox door.\n"+
	"2. Press the R key to increase the shoveling rate.\n\n"+
	"To stop adding coal to the fire\n"+
	"1. Press SHIFT+R to decrease the shoveling rate.\n"+
	"2. Press SHIFT+F to close the firebox door.\n\n"+
	"To operate the blower\n"+
	"1.	Press the N key to increase the blower.\n"+
	"2. Press SHIFT+N to decrease the blower.\n\n"+
	"To operate the dampers\n"+
	"1.	Press the M key to open the dampers.\n"+
	"2. Press SHIFT+M to close the dampers.\n\n"+
	"To inject water into the boiler\n"+
	"1.	Press the I key to turn on the steam to Injector 1.\n"+
	"(You can also press the O key to turn on the steam to Injector 2.)\n"+
	"2.	Press the K key to increase the water flow to Injector 1.\n"+
	"(To increase the water flow to Injector 2, press the L key.)\n\n"+
	"To stop boiler water injection\n"+ 
	"1. Press the I key to turn off the steam to Injector 1.\n"+
	"2. Press the O key to turn off the steam to Injector 2."
	)
)
