A lumped port specified as an input port calculates the impedance, Zport, and
S11 S-parameter for that port. The parameters are directly given by the relations
where Vport is the extracted voltage for the port given by the electric field line integral between the terminals averaged over the entire port. The current
Iport is the averaged total current over all cross sections parallel to the terminals. Ports not specified as input ports only return the extracted voltage and current.