The power grid, as a unified whole composed of various links of generation, transmission, transformation, distribution and use, needs mutual coordination and unified scheduling in terms of operation characteristics. This paper establishes a power 3D engine based on lightweight 3D engine technology, and builds a panoramic display platform for grid one map generation information on this basis. In order to explore the feasibility of this platform on grid optimization and scheduling, this paper establishes a two-layer optimization and scheduling model of the grid by taking the minimization of the operation cost as the objective function of the upper layer, and combining the supply-side and demand-side balancing objectives of the lower microgrid. The PSO algorithm is improved by introducing the immune mechanism, linear adjustment, and linear combination, and the HPSO algorithm is used to solve the grid two-layer optimal dispatch model. The simulation shows that the economic cost and environmental cost are reduced by 51.78% and 23.07%, respectively, and the total cost is reduced by 8.66*106 yuan after considering the uncontrollable residential electricity load. Relying on the One Grid Map platform can realize the accurate analysis of the peaking capacity and climbing residual capacity of the grid at typical time periods, providing reliable data support to meet the peak shaving and valley filling of the grid. Combined with the lightweight 3D engine technology, the panoramic display platform of production information of one map of power grid helps to obtain real-time grid operation and environmental information, realize monitoring and comprehensive analysis of the system, and make real-time decisions and interactions for optimal dispatching of power grid.