The Digital Shopfloor: Industrial Automation in the Industry 4.0 Era. Performance Analysis and Applications