Online prediction of battery discharge and flight mission assessment for electrical rotorcraft