Weak differentiability of the control-to-state mapping in a parabolic equation with hysteresis