Modelling of failure of structural textile composites