Hi
@Cyclomania - the upper tube on this style of bicycle frame is called the "top tube", and while difficult to determine my guess would be that you'd end up taking pretty much all of the structural strength out of that (aluminum) top tube grinding a notch out of it big enough to 1.) retain the battery mounting tray and 2.) being able to slide the battery off said tray. Dunno about you, but keeping the ability to remove the battery is important to me (storage safety, sharing battery(s) between bikes, charging ease, etc.)
If this bike was used as an analog bike, at analog bike speeds, on smooth pavement, with a light load, maybe, just maybe you could get away without the top tube entirely. But I'm guessing this is the same bike you amped up the BBS02 motor on, so grinding on the top tube is not a path I'd go down personally. Admittedly I'm not a mechanical/structural engineer, but I've looked at a fair amount of step-thru frame designs, on which the down (lower) tubes are usually quite a bit bigger in size, and there's often added gusseting.
I have to ask - UPP provides the battery case dimensions. Did you mock it up before purchasing the battery?