Electric driving of weaving sheds