As electric lighting replaced Gas lighting, carriages acquired both battery boxes and a dynamo to charge them.
There were several type of dynamo used by the LNER and pre grouping railways, so far I'm only able to offer the standard lighting option.
Floyd Kraemer on ebay provides some excellent options for the modeller with other dynamos.
23 Oak Tree Road, Thatcham RG19 4QP, UK