Digital modeling of the actual production line is carried out to establish the static attributes and dynamic methods of all process equipment, and the digital twins of the actual production line are cloned. According to the reality of the whole coking process, the digital twin platform receives real-time production data, including equipment action instructions, material information data, equipment status data and movement process timing data, to express the production twin status in a real, intuitive and real-time manner, and accurately realize the twin of the real factory in a virtual scene.