Semi-analytic modelling of galaxy formation: The local Universe