Seismic performance of residential buildings