Optimal Output Power Control of Switched Reluctance Generator at a Constant Speed