The use of cyber-physical systems in production and logistics is an important component of Industry 4.0. The merger of production and logistics systems with information technology facilitates the transition from centralized to decentralized production planning and control. However, the need to equip logistic objects with the necessary technology is associated with high investment costs for production companies. This paper presents a method using dynamic clustering, which is suitable for identifying those parts of the production system, where an investment in technology for autonomous control leads to the largest increase in performance of the overall system.