Analysis of RED/dRED stack performance using a resistances in series model