Residual current protection and AP with DTZ