Rhymney Railway P class
The Rhymney Railway P class was a class of 0-6-2T steam locomotive introduced into traffic in 1909 designed by the Rhymney Railway's engineer C. T. Hurry Riches. These were substantial sized tank locomotives, weighed  ( after rebuilding) and were  in length. Construction
There were initially three locos in the class augmented by another in 1917. The first batch were built by Robert Stephenson and Company but the last  by Hudswell Clarke. The last differed in having a Belpaire firebox and was classed as P1. Four more were built by Hudswell Clarke in 1921 just before the company was absorbed by the GWR. These had superheaters and larger cylinders and were classified AP. The Rhymney subsequently rebuilt one of the P class, No. 5, to P1 class. Overview of RR classes
The P/P1 classes and preceding 1904 introduced M and 1910 A and R classes were closely related designs ideally suited to hauling trains a relatively short distance. The P's were specifically designed for passenger work having larger driving wheels of  diameter. All four were reboilered by the GWR with the number 10 boiler from 1926 onwards and in this form was visually similar to the GWR 5600 Class apart from the larger wheels. Thus the P's (as opposed to the related "Stephenson" M class, R and A classes) were designed for passenger work on the Rhymney Railway, replacing smaller locomotives. When the smaller railway companies were forcibly merged into the GWR these modern 0-6-2's were in generally good order (some were a few months old) and had proved successful. Collectively they became the blueprint for the 200 strong 5600 class. The design of the 5600 class followed the Rhymney designs quite closely but adopted GWR practice as far as possible, by utilising many standardized parts. Included in Collett's innovations was a standard number 2 boiler which was suitable for the 5600 (and the M and R class Rhymney locomotives), complete with the traditional copper GWR safety valve casing and copper-capped chimney. A and P classes were rebuilt but used the slightly shorter standard number 10 boiler, also to good effect. All told twenty nine "Stephenson" locos were similarly dealt with up to as late as 1949. Welsh 0-6-2T types
The railways of South Wales seem to have had a particular liking for the 0-6-2T type. This was because the nature of the work they undertook demanded high adhesive weight, plenty of power with good braking ability, but no need for outright speed, nor large tanks or bunker as the distances from pit to port were short. These Welsh locomotives were taken over by the GWR at the grouping in 1923 and many including seventeen of the Rhymney A, M, P and R's were rebuilt with GWR taper boilers. All the Rhymney Stevenson derived locos passed into British Railways (BR) ownership in 1948. Others included (with some gaps in numbering):

Brecon and Merthyr Railway, BR numbers 431-436 
Cardiff Railway, BR number 155 
Rhymney Railway, BR numbers 35-83 
Taff Vale Railway, BR numbers 204-399 
For further information on these pre-grouping locomotives see Locomotives of the Great Western Railway. See also
 Welsh 0-6-2T locomotives

References

External links
 Rail UK database entry for Rhymney Railway P class
 Rail UK database entry for Rhymney Railway AP class
 5600 class

P class
0-6-2T locomotives
Robert Stephenson and Company locomotives
Hudswell Clarke locomotives
Railway locomotives introduced in 1909
Scrapped locomotives
Standard gauge steam locomotives of Great Britain
Passenger locomotives