Text this: Generation of electrical energy