Process modelling of thermoset based composites