how to calculate solar panel battery and inverter pdf