Modelling and understanding multiple roles of sediment transport in floods