Electrical power systems availability in buildings exposed to seismic hazard