Battery modelling and usage guidelines in Solar Home Systems