Text this: Implementation of p-q theory on unified power flow controller