a port is a pair of terminals connecting an electrical network or circuit to an external circuita point of entry or exit for electrical energy. A port consists of two nodes (terminals) connected to an outside circuit that meets the port condition; the currents flowing into the two nodes must be equal and opposite.