First we need a 1/48th scale working compressor.

The equations for the pneumatics might not scale at the same ratio as the model unless you play with the working fluid density. It might not be physically possible to make true "scale" working air brakes.
All the brake components in my model are about scale size. I need to work on the tolerances of the brake shoe clearances to get them a bit tighter, but it basically works like the real ones. The ratchet mechanism is much simplified on the model. It is the friction in the brake shaft holder that holds the chain.