While this booklet has a little age to it, it is still a great resource. This document will give you a deep dive into understanding and doing the calculations needed to design a stand-alone (off grid) photovoltaic system.
stand-alone-photovoltaic-systems
Credit to this document goes to Sandia.