It should be possible to incorporate the battery characteristics in the power output.
"... - Max safe Forward Flight speed estimate = Tips speed * 0.3, before the onset of uncontrollable cyclic handling from retreating blade stall (violent 'pitch up' effect 90º rotor offset to retreating blade), may occur between 0.3000 and 0.3333 of tip speed. Read the theory by Colin Mill, more here. ..."