Dust from asymptotic giant branch stars: relevant factors and modelling uncertainties