Requirements analysis and definition for eco-factories: the case of EMC2