Analytical and finite element models for the prediction of the mechanical properties of textile composites