Thank you Mauld,
but I suspect this device was not a voltage regulator.
According to some sources “….on early Spitfire it was mounted low on the back of frame 11, directly behind the pilot’s seat [thus not visible]. Starting in the N30xx series this was repositioned higher on frame 11, appearing low in the rear transparency, and from N32xx it was mounted more higher, directly behind the pilot’s headrest”.
In addition, on some Spitfires both devices are installed:
