psse_convert_xfmr

psse_convert_xfmr(warns, trans2, trans3, verbose, baseMVA, bus, bus_name)

psse_convert_xfmr() - Convert transformer data from PSS/E RAW to MATPOWER.

[XFMR, BUS, WARNINGS] = PSSE_CONVERT_XFMR(WARNINGS, TRANS2, TRANS3, ...
                                VERBOSE, BASEMVA, BUS)
[XFMR, BUS, WARNINGS, BUS_NAME] = PSSE_CONVERT_XFMR(WARNINGS, TRANS2, ...
                                TRANS3, VERBOSE, BASEMVA, BUS, BUS_NAME)

Convert all transformer data read from a PSS/E RAW data file
into MATPOWER format. Returns a branch matrix corresponding to
the transformers and an updated bus matrix, with additional buses
added for the star points of three winding transformers.

Inputs:
    WARNINGS :  cell array of strings containing accumulated
                warning messages
    TRANS2  : matrix of raw two winding transformer data returned
              by PSSE_READ in data.trans2.num
    TRANS3  : matrix of raw three winding transformer data returned
              by PSSE_READ in data.trans3.num
    VERBOSE :   1 to display progress info, 0 (default) otherwise
    BASEMVA : system MVA base
    BUS     : MATPOWER bus matrix
    BUS_NAME: (optional) cell array of bus names

Outputs:
    XFMR    : MATPOWER branch matrix of transformer data
    BUS     : updated MATPOWER bus matrix, with additional buses
              added for star points of three winding transformers
    WARNINGS :  cell array of strings containing updated accumulated
                warning messages
    BUS_NAME: (optional) updated cell array of bus names

See also psse_convert().