ENG and WAG File Structure
Aim - this section describes the structure and layout for Open Rails
Index
Engine and Wagon Example Templates
Introduction
The examples below put all the pieces together to create "realistic"
The examples are based upon NSWGR standards, which may differ from the system that you are modelling. For example NSWGR used single pipe air brakes. If you need vacuum brakes, just adjust the appropriate sections accordingly.
- Basic - Rolling stock can be customized using data and information that is readily available from the Internet. Open Rails
uses default values for a number of parameters, that therefor can be excluded from the
ENG andWAG files. Typically only the information that is relatively unique to the rolling stock is modelled. - Advanced - Rolling stock can be customized closely matching real life performance, using data that may not be readily available, such as from test reports, etc.
File Structure
It is highly recommended to format the
Each section contains the following type of information:
- Section Name - as indicated by the Comment statement.
- Included in section - the type of information found in this section.
- Example code - provides a representative sample of the parameter statements that may appear in each section. Some of the actual statements may be optional depending upon the type of locomotive.
- Link - if more detailed information on the topic in the section is available, a link is provided to the apporpriate CTN Physics page.
When building the
- comment statements be used to provide relevant documentation that will allow easy finding and checking of information in the relevant file.
- only parameters known to work in OR are included in the files. This will reduce files sizes, and make them easier to read. Alternatively if it is desired to maintain these parameters in the files, then they should be grouped in a separate sections of the file, and clearly commented as such.
Using Include Files
An Open Rails
- Separation of MSTS and OR parameters - the original
ENG orWAG files are maintained in a form suitable for operation in MSTS. The file that contains the parameters required specifically for OR operation will include the originalENG orWAG file, which avoids the duplication of the originalENG orWAG file code. - Duplication of common elements - allows common elements used on multiple occassions by different rolling stock to be managed from a
single source file. For example, brakes or couplers could be specified in a single source file, and then inserted (included) into multiple
ENG orWAG files.
To implement an
- Create a folder called
OpenRails that you wish to insert theINCLUDE file to, in one of the following locations:- within the root folder of the route (eg.
../Routes/"my route"/OpenRails ), - in the folder of the rolling stock (eg.
../Trains/Trainset/"my train"/OpenRails ), or - anywhere in the OR file structure, but in this instance the full path name to the folder would be required to refer to the original file.
- within the root folder of the route (eg.
- The
INCLUDE filename must be the same as the "original" filename, for example, the statement:
include ( filename ) .
entered at the start of the Open Rails specificINCLUDE file:
C://Open Rails - CTN Test Route/Trains/Trainset/AU_NSW_1905_Goods_Wagons/OpenRails/~CTN-PT5-Tender-FC.wag
will include "original" file:
C://Open Rails - CTN Test Route/Trains/Trainset/AU_NSW_1905_Goods_Wagons/~CTN-PT5-Tender-FC.wag
Wagon (WAG) File Structure
Wagon Section
Click on the section name to see an example of the information grouped in the section. Copy and Paste the examples into your own
Included in this section - Type, Shape, Size, Mass, etc
*********************************************************************************** )
Type ( Engine )
WagonShape ( ctn_test_atlantic.s )
Size ( 3.123m 3.79m 11.859m )
Mass ( 82.21t-uk )
WheelRadius ( 18in )
NumWheels ( 3 )
Sanding ( 25mph )
Included in this section - Type, Spring, Buffer, Velocity, etc
*********************************************************************************** )
Coupling (
Type ( Chain )
Spring (
Stiffness ( 1e4N/m 4.5e6N/m )
Break ( 150kN 150kN ) Comment (0.15MN)
r0 ( 10cm 10cm )
)
)
Links
Included in this section - Type, Force, Reservoir, Application, Release, etc
********************************************************************************** )
BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Handbrake" )
BrakeSystemType ( "Air_single_pipe" )
MaxBrakeForce ( 29.413kN ) Comment (Assume weight of 6.3t-uk)
MaxHandbrakeForce ( 7.174kN )
EmergencyResVolumeMultiplier ( 1.0 )
TripleValveRatio ( 2.5 )
MaxReleaseRate ( 50.0 )
MaxApplicationRate ( 50.0 )
MaxAuxilaryChargingRate ( 20.0 )
EmergencyResChargingRate ( 20.0 )
EmergencyResCapacity ( 0.447ft^3 ) Comment
(Assume brake cylinder (6in) / auxiliary reservoir (0.447 cu ft))
BrakeCylinderPressureForMaxBrakeBrakeForce ( 50.0 )
BrakePipeVolume ( 0.191ft^3 )
ORTSBrakeShoeFriction ( 0.0 0.5 8.0 0.288 16.1 0.241 24.1 0.211
32.2 0.187 40.2 0.173 48.3 0.161 56.3 0.150 64.4 0.142 72.2 0.139 80.5
0.134 88.5 0.129 96.6 0.125 104.6 0.123 112.7 0.121) Comment (Cast Iron
Brakeshoes)
Included in this section - Wheelbase, gauge, friction, etc
*********************************************************************************** )
Comment ( === Level Resistance === )
ORTSBearingType ( Friction )
Comment( Assumptions - speed - 65mph (105km/h), Friction Bearing, 4
axles, frontal area - 4.23m2, Wagon Weight - 7.31 ton (metric))
ORTSDavis_A ( 580.33 )
ORTSDavis_B ( 4.985 )
ORTSDavis_C ( 0.506712 )
Comment ( === Wind Resistance === )
ORTSWagonFrontalArea ( 62.5ft^2 )
ORTSDavisDragConstant ( 0.0012 )
Comment ( === Curve Resistance === )
CentreOfGravity ( 0m 1.61m 0m )
ORTSTrackGauge ( 2ft 0in )
ORTSRigidWheelbase ( 3ft 1.5in )
ORTSUnbalancedSuperelevation ( 6in )
Comment ( === Trailing Locomotive Resistance === )
ORTSTrailLocomotiveResistanceFactor ( 0.2083 )
Links
Light (
Comment ( Rear Marker Lamp - Left - #1 (AI) )
Type ( 0 )
Conditions (
Control ( 1 )
TimeOfDay ( 2 )
Unit ( 3 )
Service ( 2 )
)
FadeIn ( 1 )
FadeOut ( 1 )
Cycle ( 0 )
States ( 1
State ( 1
Duration ( 0.0 )
LightColour ( 80ff0000 )
Position ( -1.212 3.327 -3.436)
Azimuth ( 180 180 180 )
Transition ( 0.0 )
Radius ( 0.2 )
)
)
)
Links
Included in this section - Effect type, etc
********************************************************************************** )
Effects (
SpecialEffects (
Comment ( Wagon Smoke )
WagonSmokeFX (
-1.0485 1.0 2.8
-1 0 0
0.1
)
)
Links
Included in this section - Freight Animation information, etc
*********************************************************************************** )
ORTSFreightAnims
(
MSTSFreightAnimEnabled (0)
WagonEmptyWeight(10.0t-uk)
IsGondola(0)
UnloadingStartDelay (5)
FreightAnimContinuous
(
IntakePoint ( 0.0 6.0 FuelWater )
FreightWeightWhenFull(54.13t-uk)
FullAtStart(0)
)
)
Included in this section - File, Location, Direction, etc
********************************************************************************** )
Inside (
PassengerCabinFile ( BZZ_NG2_OR_JackCar1.s )
PassengerCabinHeadPos ( -0.5 2.0 0.5 )
StartDirection ( 0 35 0 )
RotationLimit ( 35 120 0 )
)
Included in this section - Car Temperature set point, heating pipe dimensions, etc
********************************************************************************** )
ORTSHeatingCompartmentTemperatureSet ( 55degF )
ORTSHeatingCompartmentPipeAreaFactor ( 2.0 )
ORTSHeatingWindowDeratingFactor ( 0.25 )
ORTSHeatingTrainPipeOuterDiameter ( 2.75in )
Included in this section - Name, Sounds, etc
********************************************************************************** )
Sound ( "../../common.sound/ctn-passenger-bogie/ctn-passenger-bogie.sms" )
Name ( "Burrinjuck - State Car" ) NB: Locomotive names go into the miscellaneous section in the engine section of the file.
ORTSWaterScoopFillElevation ( 3 )
ORTSWaterScoopDepth ( 0.2 )
ORTSWaterScoopWidth ( 0.3 )
Engine (ENG) File Structure
The
Wagon Section
Included in this section - Type, Shape, Size, Mass, etc
*********************************************************************************** )
Type ( Engine )
WagonShape ( ctn_test_atlantic.s )
Size ( 3.123m 3.79m 11.859m )
Mass ( 82.21t-uk )
WheelRadius ( 18in )
NumWheels ( 3 )
Sanding ( 25mph )
Included in this section - Type, Spring, Buffer, Velocity, etc
*********************************************************************************** )
Coupling (
Type ( Chain )
Spring (
Stiffness ( 1e4N/m 4.5e6N/m )
Break ( 150kN 150kN ) Comment (0.15MN)
r0 ( 10cm 10cm )
)
)
Links
Included in this section - Type, Force, Reservoir, Application, Release, etc
********************************************************************************** )
BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Handbrake" )
BrakeSystemType ( "Air_single_pipe" )
MaxBrakeForce ( 29.413kN ) Comment (Assume weight of 6.3t-uk)
MaxHandbrakeForce ( 7.174kN )
EmergencyResVolumeMultiplier ( 1.0 )
TripleValveRatio ( 2.5 )
MaxReleaseRate ( 50.0 )
MaxApplicationRate ( 50.0 )
MaxAuxilaryChargingRate ( 20.0 )
EmergencyResChargingRate ( 20.0 )
EmergencyResCapacity ( 0.447ft^3 ) Comment
(Assume brake cylinder (6in) / auxiliary reservoir (0.447 cu ft))
BrakeCylinderPressureForMaxBrakeBrakeForce ( 50.0 )
BrakePipeVolume ( 0.191ft^3 )
ORTSBrakeShoeFriction ( 0.0 0.5 8.0 0.288 16.1 0.241 24.1 0.211
32.2 0.187 40.2 0.173 48.3 0.161 56.3 0.150 64.4 0.142 72.2 0.139 80.5
0.134 88.5 0.129 96.6 0.125 104.6 0.123 112.7 0.121) Comment (Cast Iron
Brakeshoes)
Included in this section - Wheelbase, gauge, friction, etc
*********************************************************************************** )
Comment ( === Level Resistance === )
ORTSBearingType ( Friction )
Comment( Assumptions - speed - 65mph (105km/h), Friction Bearing, 4
axles, frontal area - 4.23m2, Wagon Weight - 7.31 ton (metric))
ORTSDavis_A ( 580.33 )
ORTSDavis_B ( 4.985 )
ORTSDavis_C ( 0.506712 )
Comment ( === Wind Resistance === )
ORTSWagonFrontalArea ( 62.5ft^2 )
ORTSDavisDragConstant ( 0.0012 )
Comment ( === Curve Resistance === )
CentreOfGravity ( 0m 1.61m 0m )
ORTSTrackGauge ( 2ft 0in )
ORTSRigidWheelbase ( 3ft 1.5in )
ORTSUnbalancedSuperelevation ( 6in )
Comment ( === Trailing Locomotive Resistance === )
ORTSTrailLocomotiveResistanceFactor ( 0.2083 )
Links
Light (
Comment ( Rear Marker Lamp - Left - #1 (AI) )
Type ( 0 )
Conditions (
Control ( 1 )
TimeOfDay ( 2 )
Unit ( 3 )
Service ( 2 )
)
FadeIn ( 1 )
FadeOut ( 1 )
Cycle ( 0 )
States ( 1
State ( 1
Duration ( 0.0 )
LightColour ( 80ff0000 )
Position ( -1.212 3.327 -3.436)
Azimuth ( 180 180 180 )
Transition ( 0.0 )
Radius ( 0.2 )
)
)
)
Links
Included in this section - Freight Animation information, etc
*********************************************************************************** )
ORTSFreightAnims
(
MSTSFreightAnimEnabled (0)
WagonEmptyWeight(10.0t-uk)
IsGondola(0)
UnloadingStartDelay (5)
FreightAnimContinuous
(
IntakePoint ( 0.0 6.0 FuelWater )
FreightWeightWhenFull(54.13t-uk)
FullAtStart(0)
)
)
Included in this section - File, Location, Direction, etc
********************************************************************************** )
Inside (
PassengerCabinFile ( BZZ_NG2_OR_JackCar1.s )
PassengerCabinHeadPos ( -0.5 2.0 0.5 )
StartDirection ( 0 35 0 )
RotationLimit ( 35 120 0 )
)
Included in this section - Car Temperature set point, heating pipe dimensions, etc
********************************************************************************** )
ORTSHeatingCompartmentTemperatureSet ( 55degF )
ORTSHeatingCompartmentPipeAreaFactor ( 2.0 )
ORTSHeatingWindowDeratingFactor ( 0.25 )
ORTSHeatingTrainPipeOuterDiameter ( 2.75in )
Included in this section - Name, Sounds, etc
********************************************************************************** )
Sound ( "../../common.sound/ctn-passenger-bogie/ctn-passenger-bogie.sms" )
Name ( "Burrinjuck - State Car" ) NB: Locomotive names go into the miscellaneous section in the engine section of the file.
ORTSWaterScoopFillElevation ( 3 )
ORTSWaterScoopDepth ( 0.2 )
ORTSWaterScoopWidth ( 0.3 )
Engine Section
Included in this section - Steam emissions, etc
*********************************************************************** )
Effects (
SteamSpecialEffects (
Comment ( Cylinder - Left/Rear )
CylindersFX (
-1.0485 1.0 2.8
-1 0 0
0.1
)
)
Links
Included in this section - Wheels, sanding, etc
*********************************************************************** )
ORTSSteamLocomotiveType ( Simple )
Type ( Steam )
WheelRadius ( 0.310m )
NumWheels ( 2 )
Sanding ( 20mph )
ORTSDriveWheelWeight ( 12.0t-uk )
IsTenderRequired( 1 )
Links
Included in this section - Length, volume, heating area, pressure, etc
*********************************************************************** )
ORTSSteamBoilerType ( Saturated )
BoilerVolume ( 70.8ft^3 )
ORTSEvaporationArea ( 236.8ft^2 )
MaxBoilerPressure ( 180psi )
Links
Included in this section - Number, Stroke, Diameter, steam usage, etc
*********************************************************************** )
NumCylinders ( 2 )
CylinderStroke ( 11.1875in )
CylinderDiameter ( 8.875in )
Links
Included in this section - Fuel Quality, Grate Area, Shoveling Rate, etc
*********************************************************************** )
ORTSFuelCalorific ( 13700btu/lb )
ORTSGrateArea ( 4.3ft^2 )
SteamFiremanMaxPossibleFiringRate( 3000 )
Links
Included in this section - Coal, water, etc
*********************************************************************** )
MaxTenderCoalMass ( 355lb )
MaxTenderWaterMass ( 3000lb )
Links
Included in this section - Gear type, ratio, etc
*********************************************************************** )
ORTSSteamGearType ( Select )
ORTSSteamGearRatio ( 9.0 4.5 ) Comment ( Equivalent to TE 6,600 lbf 13,200 lbf)
ORTSSteamMaxGearPistonRate ( 450 )
Links
Included in this section - Compressor, Reservoir, Application rates, etc
*********************************************************************** )
Comment ( == Compressor, Main Reservoir and General == )
AirBrakesMainMaxAirPressure( 105.0 )
AirBrakesCompressorRestartPressure( 90.0 )
AirBrakesMainResVolume ( 9.549ft^3 ) Comment (Assume 1 x 9.549 cu ft main reservoir volume)
ORTSMainResChargingRate ( 0.313 ) Comment (Assume 6.0in Compressor)
ORTSBrakePipeChargingRate ( 40.0 )
Comment ( == Automatic Brake valve - Train == )
TrainBrakesControllerMaxSystemPressure ( 70 )
TrainBrakesControllerMaxReleaseRate ( 1.0 )
TrainBrakesControllerMaxQuickReleaseRate ( 20.0 )
TrainBrakesControllerMaxApplicationRate ( 0.5 )
TrainBrakesControllerEmergencyApplicationRate ( 30.0 )
TrainBrakesControllerFullServicePressureDrop ( 25.0 )
TrainBrakesControllerMinPressureReduction ( 7.0 )
Comment ( == Independent Brake valve - Engine & Tender == )
EngineBrakesControllerMaxSystemPressure ( 70 )
EngineBrakesControllerMaxReleaseRate ( 1.0 )
EngineBrakesControllerMaxQuickReleaseRate ( 20.0 )
EngineBrakesControllerMaxApplicationRate ( 0.5 )
EngineBrakesControllerEmergencyApplicationRate ( 30.0 )
EngineBrakesControllerFullServicePressureDrop ( 25.0 )
EngineBrakesControllerMinPressureReduction ( 7.0 )
Included in this section - Controllers for Regulator, Reverser, Brakes, etc
*********************************************************************** )
EngineControllers (
Brake_Engine ( 0 1 0.01 0.25
NumNotches ( 5
Notch( 0.0 0 EngineBrakesControllerReleaseStart )
Notch( 0.25 0 EngineBrakesControllerRunningStart )
Notch( 0.50 0 EngineBrakesControllerHoldStart )
Notch( 0.75 0 EngineBrakesControllerFullServiceStart )
Notch( 1.0 0 EngineBrakesControllerEmergencyStart )
)
)
Included in this section - Alternate Views, Sounds, etc
*********************************************************************** )
Sound ( "jack_cab.sms" )
CabView ( jack.cvf )
HeadOut ( 1.0 2.3 -2.0 )
Included in this section - Stock Description, Operating Procedures, etc
*********************************************************************** )
Description (
"CTN Test Stock Atlantic 4-4-2 - based on PRR Locomotive #5266")
EngineOperatingProcedures (
"To move forward\n"+
"1. Press the W key several times to move the Reverser to full Forward.\n"+
Wagon Section
Included in this section - Type, Shape, Size, Mass, etc
*********************************************************************************** )
Type ( Engine )
WagonShape ( ctn_test_atlantic.s )
Size ( 3.123m 3.79m 11.859m )
Mass ( 82.21t-uk )
WheelRadius ( 18in )
NumWheels ( 3 )
Sanding ( 25mph )
Included in this section - Type, Spring, Buffer, Velocity, etc
*********************************************************************************** )
Coupling (
Type ( Chain )
Spring (
Stiffness ( 1e4N/m 4.5e6N/m )
Break ( 150kN 150kN ) Comment (0.15MN)
r0 ( 10cm 10cm )
)
)
Links
Included in this section - Type, Force, Reservoir, Application, Release, etc
********************************************************************************** )
BrakeEquipmentType( "Triple_valve, Auxilary_reservoir, Handbrake" )
BrakeSystemType ( "Air_single_pipe" )
MaxBrakeForce ( 29.413kN ) Comment (Assume weight of 6.3t-uk)
MaxHandbrakeForce ( 7.174kN )
EmergencyResVolumeMultiplier ( 1.0 )
TripleValveRatio ( 2.5 )
MaxReleaseRate ( 50.0 )
MaxApplicationRate ( 50.0 )
MaxAuxilaryChargingRate ( 20.0 )
EmergencyResChargingRate ( 20.0 )
EmergencyResCapacity ( 0.447ft^3 ) Comment
(Assume brake cylinder (6in) / auxiliary reservoir (0.447 cu ft))
BrakeCylinderPressureForMaxBrakeBrakeForce ( 50.0 )
BrakePipeVolume ( 0.191ft^3 )
ORTSBrakeShoeFriction ( 0.0 0.5 8.0 0.288 16.1 0.241 24.1 0.211
32.2 0.187 40.2 0.173 48.3 0.161 56.3 0.150 64.4 0.142 72.2 0.139 80.5
0.134 88.5 0.129 96.6 0.125 104.6 0.123 112.7 0.121) Comment (Cast Iron
Brakeshoes)
Included in this section - Wheelbase, gauge, friction, etc
*********************************************************************************** )
Comment ( === Level Resistance === )
ORTSBearingType ( Friction )
Comment( Assumptions - speed - 65mph (105km/h), Friction Bearing, 4
axles, frontal area - 4.23m2, Wagon Weight - 7.31 ton (metric))
ORTSDavis_A ( 580.33 )
ORTSDavis_B ( 4.985 )
ORTSDavis_C ( 0.506712 )
Comment ( === Wind Resistance === )
ORTSWagonFrontalArea ( 62.5ft^2 )
ORTSDavisDragConstant ( 0.0012 )
Comment ( === Curve Resistance === )
CentreOfGravity ( 0m 1.61m 0m )
ORTSTrackGauge ( 2ft 0in )
ORTSRigidWheelbase ( 3ft 1.5in )
ORTSUnbalancedSuperelevation ( 6in )
Comment ( === Trailing Locomotive Resistance === )
ORTSTrailLocomotiveResistanceFactor ( 0.2083 )
Links
Light (
Comment ( Rear Marker Lamp - Left - #1 (AI) )
Type ( 0 )
Conditions (
Control ( 1 )
TimeOfDay ( 2 )
Unit ( 3 )
Service ( 2 )
)
FadeIn ( 1 )
FadeOut ( 1 )
Cycle ( 0 )
States ( 1
State ( 1
Duration ( 0.0 )
LightColour ( 80ff0000 )
Position ( -1.212 3.327 -3.436)
Azimuth ( 180 180 180 )
Transition ( 0.0 )
Radius ( 0.2 )
)
)
)
Links
Included in this section - Freight Animation information, etc
*********************************************************************************** )
ORTSFreightAnims
(
MSTSFreightAnimEnabled (0)
WagonEmptyWeight(10.0t-uk)
IsGondola(0)
UnloadingStartDelay (5)
FreightAnimContinuous
(
IntakePoint ( 0.0 6.0 FuelWater )
FreightWeightWhenFull(54.13t-uk)
FullAtStart(0)
)
)
Included in this section - File, Location, Direction, etc
********************************************************************************** )
Inside (
PassengerCabinFile ( BZZ_NG2_OR_JackCar1.s )
PassengerCabinHeadPos ( -0.5 2.0 0.5 )
StartDirection ( 0 35 0 )
RotationLimit ( 35 120 0 )
)
Included in this section - Car Temperature set point, heating pipe dimensions, etc
********************************************************************************** )
ORTSHeatingCompartmentTemperatureSet ( 55degF )
ORTSHeatingCompartmentPipeAreaFactor ( 2.0 )
ORTSHeatingWindowDeratingFactor ( 0.25 )
ORTSHeatingTrainPipeOuterDiameter ( 2.75in )
Included in this section - Name, Sounds, etc
********************************************************************************** )
Sound ( "../../common.sound/ctn-passenger-bogie/ctn-passenger-bogie.sms" )
Name ( "Burrinjuck - State Car" ) NB: Locomotive names go into the miscellaneous section in the engine section of the file.
ORTSWaterScoopFillElevation ( 3 )
ORTSWaterScoopDepth ( 0.2 )
ORTSWaterScoopWidth ( 0.3 )
Engine Section
Included in this section - Diesel emissions, etc
********************************************************************************** )
Effects (
DieselSpecialEffects (
Comment ( Exhaust1 - Left/Rear )
Exhaust1 (
-1.0485 1.0 2.8
-1 0 0
0.1
)
)
Included in this section - Wheels, sanding, etc
********************************************************************************** )
Type ( Diesel )
WheelRadius ( 0.310m )
NumWheels ( 2 )
Sanding ( 20mph )
ORTSDriveWheelWeight ( 12.0t-uk )
Included in this section - Information relating to traction motors, etc
********************************************************************************** )
MaxPower ( 1560.0hp )
MaxForce ( 50000lb )
MaxContinuousForce ( 30000lb )
ORTSSpeedOfMaxContinuousForce ( 19.5mph )
MaxVelocity ( 90mph )
MaxCurrent ( 2600A )
Included in this section - Information about the diesel engine, etc
*********************************************************************************** )
MaxDieselLevel( 1180g-uk )
MaxTemperature ( 120degF )
MaxOilPressure ( 90 )
DieselUsedPerHourAtMaxPower ( 75.2g-uk )
DieselUsedPerHourAtIdle ( 25.5g-uk )
DieselEngineIdleRPM( 450 )
DieselEngineMaxRPM( 850 )
Included in this section - Gear type, ratio, etc
********************************************************************************** )
GearBoxNumberOfGears ( 2 )
GearBoxOperation ( Manual )
Included in this section - Compressor, Reservoir, Application rates, etc
********************************************************************************** )
Comment ( == Compressor, Main Reservoir and General == )
AirBrakesMainMaxAirPressure( 105.0 )
AirBrakesCompressorRestartPressure( 90.0 )
AirBrakesMainResVolume ( 9.549ft^3 ) Comment (Assume 1 x 9.549 cu ft main reservoir volume)
ORTSMainResChargingRate ( 0.313 ) Comment (Assume 6.0in Compressor)
ORTSBrakePipeChargingRate ( 40.0 )
Comment ( == Automatic Brake valve - Train == )
TrainBrakesControllerMaxSystemPressure ( 70 )
TrainBrakesControllerMaxReleaseRate ( 1.0 )
TrainBrakesControllerMaxQuickReleaseRate ( 20.0 )
TrainBrakesControllerMaxApplicationRate ( 0.5 )
TrainBrakesControllerEmergencyApplicationRate ( 30.0 )
TrainBrakesControllerFullServicePressureDrop ( 25.0 )
TrainBrakesControllerMinPressureReduction ( 7.0 )
Comment ( == Independent Brake valve - Engine & Tender == )
EngineBrakesControllerMaxSystemPressure ( 70 )
EngineBrakesControllerMaxReleaseRate ( 1.0 )
EngineBrakesControllerMaxQuickReleaseRate ( 20.0 )
EngineBrakesControllerMaxApplicationRate ( 0.5 )
EngineBrakesControllerEmergencyApplicationRate ( 30.0 )
EngineBrakesControllerFullServicePressureDrop ( 25.0 )
EngineBrakesControllerMinPressureReduction ( 7.0 )
Included in this section - Monitoring of Overspeed, Emergency Braking, Vigilance, etc
*********************************************************************************** )
OverspeedMonitor(
MonitoringDeviceMonitorTimeLimit( 0 )
MonitoringDeviceAlarmTimeLimit( 0 )
MonitoringDevicePenaltyTimeLimit( 0 )
Included in this section - Controllers for Regulator, Reverser, Brakes, etc
*********************************************************************************** )
EngineControllers (
Brake_Engine ( 0 1 0.01 0.25
NumNotches ( 5
Notch( 0.0 0 EngineBrakesControllerReleaseStart )
Notch( 0.25 0 EngineBrakesControllerRunningStart )
Notch( 0.50 0 EngineBrakesControllerHoldStart )
Notch( 0.75 0 EngineBrakesControllerFullServiceStart )
Notch( 1.0 0 EngineBrakesControllerEmergencyStart )
)
)
Included in this section - Alternate Views, Sounds, etc
********************************************************************************** )
Sound ( "jack_cab.sms" )
CabView ( jack.cvf )
HeadOut ( 1.0 2.3 -2.0 )
Included in this section - Stock Description, Operating Procedures, etc
********************************************************************************** )
Description (
"CTN Test Stock Atlantic 4-4-2 - based on PRR Locomotive #5266")
EngineOperatingProcedures (
"To move forward\n"+
"1. Press the W key several times to move the Reverser to full Forward.\n"+
Wagon Section
Included in this section - Type, Shape, Size, Mass, etc
*********************************************************************************** )
Type ( Electrical )
WagonShape ( ...tbd.s )
Size ( 3.123m 3.79m 11.859m )
Mass ( 82.21t-uk )
WheelRadius ( 18in )
NumWheels ( 3 )
Sanding ( 25mph )
Engine and Wagon Example Templates
A number of sample locomotives can be downloaded on the Test Stock and Activities page. Please note that not all the locomotives are up to date including the latest features. If you are searching for a particular feature as an example, you may need to look at a number of the models on this page to find a recent example.
Steam Locomotive Tender (pick the latest example of a steam locomotive from the stock page)
Once the files have been built, make sure that they are tested using some of these performance tests