Calculation method of earth capacitor