Modeling of ion dynamics in the inner geospace during enhanced magnetospheric activity