Theoretical explsnation & formuls are here:
https://discussions.flightaware.com/t/antenna-height-question/19510/4