Advanced modelling of composite frames subject to earthquake loading