Comparison between an empirical and a theoretical model of the D-region