Modelling of bridges for inelastic analysis