Process modeling of thermoset based composites