Ring current simulation in connection with interplanetary space conditions