The grounding system is a safety system in the event of an error or disturbance in electrical equipment, so that excess current can be channeled directly to the ground and does not harm the human body. This research aims to optimize the design of the grounding system in a substation with a rectangular shape whose grid mesh construction is not uniform. The method used is modifying the grid shape…