pwrs.core.makeSdzip#

pwrs.core.makeSdzip.makeSdzip(baseMVA, bus, mpopt=None)[source]#

Build vectors of nominal complex bus power demands for ZIP loads.

Parameters:
  • baseMVA (float) – System base MVA.

  • bus (npt.NDArray[np.float64]) – MATPOWER bus matrix.

  • mpopt (MatpowerConfig, optional) – MATPOWER options. The system-wide ZIP fractions are read from exp.sys_wide_zip_loads.pw and exp.sys_wide_zip_loads.qw.

Returns:

Dictionary with fields "z", "i" and "p", each containing an nb x 1 complex vector of nominal constant-impedance, constant- current and constant-power demand in per unit.

Return type:

dict

Notes

If ZIP fractions are omitted, the load defaults to constant-power only.