The 11-Year Solar-Cycle In The Temperature In The Upper-Stratosphere And Mesosphere: Part Ii Numerical Simulation And Role Of Planetary Waves