As you haven't mentioned which battery you have it is difficult to say what is causing the cutting out.
I suspect the battery's
BMS is not able to supply the 25-30 Amps continuous that the Magic Pie will try to draw under full load, and it is simply disconnecting the power to prevent damage to the battery.
A Magic Pie needs a battery that is capable of delivering a continuous 1500 Watts power output, but many 48V ebike batteries are only rated for 500-1000 Watts.
If a battery's
BMS was only rated for 20 Amps continuous
(1000 Watts), you would need to set the maximum current setting on the Magic Pie's controller to 20A
(or lower) to prevent the
BMS from being overloaded and cutting out under sustained full power.
I recently bought a
BMS stated as being 40A continuous and 50A max, but the
BMS that arrived is marked 30A continuous and 50A max:
Unfortunately, the battery it was to be installed on will be used with a modified Magic Pie that regularly draws up to 45A when working hard, and 30A continuous is not sufficient for my needs.
Purchasing items online can be very frustrating when the descriptions don't match the item being supplied, and battery capacities and power outputs etc. are regularly exaggerated just to make a sale.
I bought two non-genuine DeWalt style battery packs which were supposed to be 6Ah capacity:
When I looked inside, I found that each pack contained ten 2,500mAh cells in a 5S2P configuration, which should have produced a useable capacity of 5Ah - not the stated 6Ah.
I fully charge one of them to 4.1V per cell using the DeWalt charger and then discharged it at 1.5~2A until the lowest of the cells reached 2.5V, and it only produced a capacity of 3.703Ah.
I then fully charged the pack all the way up to to 4.2V per cell using my icharger and the total amount put back was just 4.032Ah!
If I had purchased 4Ah packs, I would have been very happy with these results, but it's very frustrating when you buy two "6Ah packs" which only have 2/3rds of their stated capacity.
The above "18650 High capacity 48V battery" is described as having a capacity of 30,000mAh
(30Ah) but it is constructed from 39 18650 cells with 3 parallelled groups of 13 cells connected in series (13S3P).
I've yet to see an 18650 cell with a genuine capacity of more than 3500mAh
(3.5Ah) so it's very doubtful that this battery contains 18650 cells with a true capacity of 10,000mAh
(10Ah) each.
Alan