The state-dependent queue: M/M/1/N with reneging and general balk functions · Study