Determination of the voltage required to power barbed wire into electric fence