20 initial engines were built, then 30 further units were built, designated Class Q (LNER Class D17/2).
The initial production consisted of twenty engines, and then thirty more units were added, which were classified as Class Q (LNER Class D17/2).