The increasing adoption of renewable energy sources (RESs) in manufacturing plants has led to growing interest in efficiently integrating these variable energy sources into production processes. The Event-Triggered Hybrid Scheduling (ETHS) approach was developed to generate both off-line and on-line schedules for varied components by engaging components of diverse flexibilities at various scheduling stages. However, ETHS primarily focuses on the virtual system, leaving a gap in effectively channelling critical data from the physical to the virtual system. In this study, we introduce a comprehensive framework for creating a digital twin of manufacturing systems integrated with RESs. This framework categorises the flexibilities of different components, outlines strategies for transferring data from the physical to the virtual environment and explains how the results from the virtual model inform decision-making in the physical system. A case study was undertaken to validate our proposed digital twin model, revealing its capability to balance system performance, robustness, and computational efficiency.