The aim of this study is to investigate the implementation process of digital twin technology in commercial buildings with the goal of optimizing energy consumption and improving building lifecycle efficiency. The research method is a simulation-based case study, in which a combination of Building Information Modeling (BIM), the Internet of Things (IoT), machine learning algorithms, and the open-source software Blender has been employed to create a digital twin of the Parand commercial complex in Tehran. Three-dimensional modeling was carried out in Blender, and the dynamic behavior of components such as elevators and entrance doors was simulated using the Python programming language and the bpy library. Furthermore, computational models for heat conduction, air infiltration, and solar radiation—based on ASHRAE standards—were implemented. The simulation findings indicate that the use of a digital twin, through dynamic control of ventilation and lighting systems, can reduce energy consumption in selected sectors by up to 30% compared to the baseline scenario. It is concluded that the digital twin is not merely a technological tool but also a platform for data-driven energy management in Iranian commercial buildings. However, the lack of real-time data infrastructure and technical standards remains a major challenge for the widespread implementation of this technology in the country.