A licence is required in order to generate electricity for the purpose of giving a supply to any premises or enabling a supply to be given.