Analytical and numerical modelling of underground structures in seismic conditions