Quantifying the total cost of ownership by modelling product lifetime