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 circuitthat meets the port condition; the currents flowing into the two nodes must be equal and opposite.