Sizing of a photovoltaic module