Simulation of Stimuli-Responsive Polymer Networks