Performance Of Bdfm As Generator And Motor