Modelling care system costs and contributions