Researchers simulate earthquakes on 10-storey building in California