Circuit.currents(power, phase)[source]

Currents at internal ports.

NB: current direction is defined as positive when entering a node.

NB: external current sign are opposite than corresponding internal ones,

as the internal currents are actually flowing into the “port” networks

  • power (list or array) – Input power at external ports in Watts [W]

  • phase (list or array) – Input phase at external ports in radian [rad]


I – Currents in Amperes [A] (peak) at internal ports.

Return type:

complex array of shape (nfreqs, nports)