A probabilistic approach for the calculation of seismic risk in RC structures affected by degradation phenomena