Random vibrations analysis

Hi all,
I have to perform random vibration analysis of a structure subjected to a known Input Power Spectral Density(PSD). I want to extend the modal analysis code to random vibrations analysis. Can you please guide me or suggest me some references to do the same through FEniCS.