I am considering simple M/M/1 queue with customer impatience. Customer waits and leaves the system if the delay before service is more than an exponential wait time. Arrival rate is $\lambda$, service rate is $\mu$, and abandonment rate due to delay is $\lambda_W$. I was able to find distribution of state probabilities as;
$p_0 \lambda= p_1 \mu $
$p_1 (\mu +\lambda)= p_0 \lambda+ p_2 (\mu +\lambda_W)$
$p_2 (\mu +\lambda+\lambda_W)= p_1 \lambda+ p_3 (\mu +2\lambda_W)$
$p_3 (\mu +\lambda+2\lambda_W)= p_2 \lambda+ p_4 (\mu +3\lambda_W)$ ...
From the equilibrium conditions, I found
$p_1 = p_0 \frac{\lambda}{\mu }$
$p_2 = p_1 \frac{\lambda}{\mu +\lambda_W} =p_0 \frac{\lambda^2}{\mu (\mu + \lambda_W)}$. ..
Considering $\sum_{n=0}^{\infty}p_n = 1$, $p_0 = \Big(1+ \sum_{n=1}^{\infty} \lambda^{n}\prod_{k=1}^{n}\frac{1}{\mu +(k-1)\lambda_{W}} \Big)^{-1}$ I want to find
the fraction of customers which leave the system due to delay?
Distribution of waiting time given that customer receives service?
Any idea is appreciated thank you