The integration of vast quantities of clean energy causes intense impact on the power grid reliability. Digital Twin can be used to handle the high‐growth data flow generated in the power grid, and thus accelerate its digitalization process to fulfill the clean energy consumption target. As the traditional central cloud network structure can no longer effectively support the operation of digital twin power grid, the mobile edge network can be used as a reasonable substitute. To support the information interaction process of the mobile edge network, considering total profit, time delay and energy consumption, this paper proposes the mobile edge network communication and computing resource joint allocation model. On the basis, the GA‐PSO algorithm is proposed to solve the resource allocation optimization function. The feasibility and effectiveness of the proposed model is verified by the related simulation experiment. © 2023 Institute of Electrical Engineer of Japan and Wiley Periodicals LLC.