What is the mechanism for the various thresholds and delays to work? For eg, for delays, is the time counter reset every time the parameter value exceeds the threshold? This becomes important for ripples, and affected by BMS internal sampling frequency