Sizing of an autonomous microgrid considering droop control