Regenerative- and plug-braking operations of inverter-fed asynchronous motors