gpz, on 06 December 2015 - 04:48 AM, said:
Disc, don't try to guess the brake cylinder volume, it is available from the eng parameters, however it is tricky to get that, since it is indirect.
There is the "emergencyrescapacity" MSTS eng parameter. You have to divide it by the "emergencyresvolumemultiplier" to get the aux.cyl volume. If you further divide it by the "triplevalveratio", you get the brake cylinder volume. These MSTS parameters are all parsed for in AirSinglePipe.cs, the corresponding variables containing them are EmergResVolumeM3, EmergAuxVolumeRatio and AuxCylVolumeRatio, respectively.
So you don't need to implement any new default values for these, just use them. The only thing you might need to consider is adjusting the EmergResVolumeM3 default value, since that is set in eng files only rarely, so most of the eng-s are using the default we set.
Peter, what about older equipment that did not carry two reservoirs of air? Many cars built in North America before the 1930's had only one, often physically joined to the brake cylinder (K Brakes were either KC for combined or KD for divided).
A KC brake.
Such equipment was allowed on cars in interchange service (that would be almost all cars) up to 1952 or 53. IIRC cars built after 1937 were required to be built with AB brakes -- they had an emergency reservoir. For a handful of years before that some new cars were built with AB, others still with K.
Silhouette of the double reservoir used with AB Brakes.
Post WWII many such cars were scrapped, either worn out after many years of service or just too small to be worth changing the brake equipment, but were still common up to ~1950.
As a side note, I own copies of quite a few engineering drawings and many are the general arraignment of brake equipment for specific freight cars. It was very common for the draftsman to be required to document the maximum brake power and for many decades that was 70% of the empty car weight. Some were 65, a few others 60, but none over 70%. As I understand it, a higher value could cause the wheels to lock up and slide. Absent other information, this is calculation is a good data point for the value of MaxBrakePower() in .wags using either K or AB brakes.