The pharmaceutical industry is undergoing a significant transition from batch to continuous manufacturing, driven by increasing regulatory requirements and sustainability pressures. Digital twins (DTs) play a pivotal role in facilitating this transition by enabling real-time data visualisation, process optimisation, and predictive analytics. While substantial progress has been made in the development and application of DTs, particularly in industries such as energy and automotive, there remains a critical need for further research and development focused on creating sustainability-oriented digital twins tailored to pharmaceutical processes. In the pharmaceutical sector, DTs are being progressively utilised not only for real-time monitoring and analysis but also as dynamic training platforms for engineers and operators, enhancing both operational efficiency and workforce competency. This paper examines the University of Sheffield’s Diamond Pilot Plant (DiPP), a facility showcasing the future of pharmaceutical manufacturing through the integration of Industry 4.0 technologies and advanced sensors. This paper focuses on developing a data-driven model to predict energy consumption in a twin-screw granulator (TSG) within the DiPP. The model, based on second-degree polynomial regression, demonstrates strong predictive accuracy with R-squared values exceeding 0.8. By optimising energy performance indicators, this work aims to improve the sustainability of pharmaceutical manufacturing processes. This research contributes to the field of pharmaceutical manufacturing by providing a foundation for creating energy models and advancing the development of comprehensive DT.