Modelling resilience of ageing structures