Device creating electrical energy