A Time-Inhomogeneous Prendiville Model with Failures and Repairs