Safe and resilient operation is essential for a Human/Machine or system. The dynamic behavior control and its protection play a vital role in sectors like power systems automation and sensitive electronic equipment. The main exposure of this work is to implement the safe economical protective system and the dynamic dependency of soil parameters on frequency, the effect of transient earthing design on cost. The related study focuses on the techno-economical solution to design a good transient earthing system, using optimal design parameters such as the number of electrodes, diameter, depth, length of the electrode etc., and safety parameters. Earthing system performance can assess during abnormal conditions and it’s becoming a challenge. Under those conditions, the frequency-dependent soil parameters can decide the nature of a good earthing system. One of the electrode frequency-dependent dimensions (length of rod) is obtained under prescribed critical frequency range. To study the dependency of these soil parameters on cost, we proposed a mathematical model of cost function with eight decisive design parameters and six safety and security restrictions. The economical solution and the performance of the proposed model analyzed with the application of metaheuristic techniques.