The influence of thermal history on the microstructure of sulfonated polystyrene ionomers