Small photovoltaic battery model