LumpedPortCoaxial
Description
Defines a coaxial lumped port excitation and reference impedance on selected surfaces of the electromagnetic model.
The port is characterized by its inner and outer conductor radii, origin, excitation voltage, reference impedance, and power flow direction.
Construction
port = LumpedPortCoaxial()port = LumpedPortCoaxial(boundary)port = LumpedPortCoaxial(boundary, property_name = property_value)port = LumpedPortCoaxial()
port = LumpedPortCoaxial() Creates a coaxial lumped port with default
parameters and without a boundary assignment.
port = LumpedPortCoaxial(boundary)
port = LumpedPortCoaxial(boundary) Creates a coaxial lumped port with
the specified boundary and with default parameter.
port = LumpedPortCoaxial(boundary, property_name = property_value)
port = LumpedPortCoaxial(boundary, property_name = property_value)
Creates a coaxial lumped port with the specified boundary and with
specified property values.
Constructor Inputs
boundary
int | list[int]
None
Mesh boundary IDs identifying the port surface.
inner_radius
float
m
1e-3
Radius of the inner conductor.
outer_radius
float
m
2e-3
Radius of the outer conductor.
origin
list[float]
m
0, 0, 0
Three-dimensional origin of the coaxial port.
impedance
float | complex
Ω
50.0
Reference impedance.
voltage
float
V
1.0
Excitation voltage.
power_flow_direction
list[float] | str
1, 0, 0
Positive power propagation direction toward the device under test.
Properties
boundary- Type
int | list[int]Access read/writeMesh boundary IDs identifying the port surface.
inner_radius- Type
floatAccess read/writeUnit mRadius of the inner conductor. Must be positive.
outer_radius- Type
floatAccess read/writeUnit mRadius of the outer conductor. Must be positive.
origin- Type
list[float]Access read/writeUnit mThree-dimensional origin of the port.
impedance- Type
float | complexAccess read/writeUnit ΩReference impedance.
voltage- Type
floatAccess read/writeUnit VExcitation voltage.
power_flow_direction- Type
list[float] | strAccess read/writePositive power propagation direction toward the device under test.
Examples
from hado.boundary import LumpedPortCoaxial
port = LumpedPortCoaxial(
boundary=5,
inner_radius=0.5e-3,
outer_radius=1.5e-3,
origin=[0.0, 0.0, 0.0],
power_flow_direction="z"
)
Errors / Exceptions
Error / Exceptions List
tanager:validatormessage: mustBe3DVector - Condition
origindoes not contain exactly three components.ResolutionSpecify
originas a list containing exactly three numeric coordinates. tanager:validatormessage: mustBeValidDirection - Condition
power_flow_directioncontains an unsupported direction string.ResolutionUse “x”, “y”, “z”, “-x”, “-y”, or “-z”, or specify a numeric direction vector.
Notes
The coaxial lumped port formulation assumes that outer_radius is
greater than inner_radius. The current implementation validates that
both radii are positive but does not enforce this relationship.
The power_flow_direction parameter accepts the axis strings "x",
"y", "z", "-x", "-y", and "-z", in addition to direction
vectors.