How to use a Tesla battery in a solar off-grid system