The invention discloses a
grid optimization method based on a double
delay depth deterministic policy gradient (TD3)
algorithm, and belongs to the technical field of
engineering simulation grid optimization, and the
grid optimization method comprises the following steps: S1, reading a
grid file in an industrial standard format, and extracting a node identifier, a coordinate and a connection relation; s2, constructing a
reinforcement learning environment, and defining a
state space, an action space and a reward function; s3, constructing a TD3 framework comprising an Actor strategy network and a dual Critic evaluation network; s4, iteratively training the
network model; and S5, applying the trained model to optimize the grid, outputting a standard format optimization file, and generating a quality report and a
visualization result. According to the method, autonomous grid optimization is achieved through deep
reinforcement learning, the grid division quality in
engineering simulation can be improved, the method has the advantages of being high in
automation degree, high in optimization speed and the like, an efficient and reliable grid optimization solution is provided for the field of
engineering simulation, and numerical simulation precision and research and development efficiency can be improved.