I have a battery bank, 12v Lithium-Ion 40Ah. Let's disregard discharge rate. I want to boost it to 40volt. I have a motor rated at 40v 500w. How long can my battery run for?