Principle of Operation of a DC Generator