I recently , i.e. 2 months, joined the ebike crowd by impulse buying a used cargo bike with an electric hub motor. The Bike is an ex-food delivery bike built by Thrust bikes which is out of business. I knew nothing about ebikes but took the plunge due to impossible parking situation at my kids school. I have been very happy with the bike. It has exceeded all my expectations. I have been using it daily without problems. Last night I got around to fixing a couple of things on the bike one of which included replacing the brake lever out with a new one which had a working cut out switch. Today on the way home from the school I smelled burning electrics and the bike shut down. the breaker on the controller was not tripped. I could not find any problem with the controller and the battery smelled burned so I removed the battery from its case and found a battery which looks like many of the ones I have seen trying to learn more about ebikes since my purchase. Once I peeled back the shrink wrap I was able to determine that the voltage from the actual batteries was pretty good at a little over 51 volts. There was however 0 voltage from what I am guessing are the terminals on the output side of the BMS. Is there a way to test the BMS? I could feel that the BMS was hot. I can not diagnose anything further as this particular unit is potted in resin. So my questions are: all the batteries 78 CGR18650CH 6 per group 13 groups measure pretty closely to each other within .2 of a volt. I do not see any arcing melting etc... Anything else I should do to check them out? I think its clear I need at a minimum a new BMS so what kind should I get? It appears if I have done my math properly that the current setup is 48v/13.2AH. I have an idea to get another battery which would be 48v/20AH lifepo4. Also the cells while fairly closely matched seem like they could be better balanced. The wheel I have now is a rear mounted 20" rim with an ampedbikes ( also apparently out of business ) direct drive motor. I am uncertain about the wattage rating. Although one place I saw on the web where it was mentioned that it may be a 750watt. The controller is labeled for 36v/22A, its generic and not much other information is available. I cruise at 18-19MPH faster a little if alone. I would like to change my setup in the future to a 1000watt front mounted wheel with a nexus style rear 20" internal gear hub. I hooked up the battery directly to the controller with some jumper leads and the bike turned on and ran although I did not ride it or put a load on it. Finally it seems that this must be related to the brake lever I installed which is a switch to shut the motor down during breaking? This is what I was told by the PO. Does it in fact do something different? My wife really wanted that hooked up. Many thanks for any help that could be offered. George