How to wire a 7-14s 50a JBD BMS to a Li-ion battery. 24v as a UPS and 48v for an off grid inverter