Principles of Photovoltaic Battery Selection