A modal approach to reproduce subspan oscillations in the time domain