HysteresisWithRandomLosses is available as:
This model demonstrates the use of a modal model to implement hysteresis, but where, with a specified probability, the model fails to switch levels on detecting a threshold crossing.