A Dynamic Coupled Magnetosphere-Ionosphere-Ring Current Model