Title: Theoretical studies of the mid-latitude ionosphere