generation of electrical energy br gupta