Digital factory planning