Real-time global MHD simulation of the solar wind interaction with the earth’s magnetosphere