Models and algorithms for terrestrial digital broadcasting