realistic QIE hysteresis