Early warning model for secondary collapse of semi-ruined reinforced concrete frame structures under Aftershocks | Synapse