makeSdzip

makeSdzip(baseMVA, bus, mpopt)

makeSdzip() - Builds vectors of nominal complex bus power demands for ZIP loads.

SD = MAKESDZIP(BASEMVA, BUS, MPOPT) returns a struct with three fields,
each an nb x 1 vectors. The fields 'z', 'i' and 'p' correspond to the
nominal p.u. complex power (at 1 p.u. voltage magnitude) of the constant
impedance, constant current, and constant power portions, respectively of
the ZIP load model.

Example:
    Sd = makeSdzip(baseMVA, bus, mpopt);