Computer Modeling of Events in the Inner Magnetosphere