Using Automation in food factories Revolutionizing Pharmaceutical Factories: Energy Management and Automation Technologies