electricpy.puchgbase

electricpy.puchgbase(quantity, puB_old, puB_new)[source]

Per-Unit Change of Base Function.

Performs a per-unit change of base operation for the given value constrained by the old base and new base.

\[Z_{pu-new}=Z_{pu-old}*\frac{BASE_{OLD}}{BASE_{NEW}}\]
Parameters:
  • quantity (complex) – Current per-unit value in old base.

  • puB_old (float) – Old per-unit base.

  • puB_new (float) – New per-unit base.

Returns:

pu_new – New per-unit value.

Return type:

complex