Combining ternary phase diagrams and multiphase coupled matrix-based Monte Carlo to model phase dependent compositional and molar mass variations in high impact polystyrene synthesis