On the generalized potential of inertial forces