HFT electrostatic calculations