FDTD_Solver.add_lumped_port

rfnetwork.solver.FDTD_Solver.add_lumped_port

FDTD_Solver.add_lumped_port(number, face, integration_line, r0=50, name=None)

Attach a lumped port to a face.

Parameters

numberint

port number

facepv.PolyData

pyvista PolyData object of 2D face. Must be aligned with the cartesian axis

integration_linestr, {“x+”, “x-”, “y+”, “y-”, “z+”, “z-“}

axis that the port voltage is evaluated across. The line direction defines the positive current direction when the port is acting as a source. The direction is important if computing s-parameters, the direction should be pointing into the port from the reference ground into the conducting structure.

PolyData lines are also supported. The line direction from the first point to the second is used as the integration direction. For stripline ports, the face should extend across the full height of the substrate, and the integration line should start from one ground plane and end on the stripline.

r0float, default: 50

port impedance