create_lumped_rlc_between_objects#
- Hfss.create_lumped_rlc_between_objects(assignment, reference, start_direction=0, name=None, rlc_type='Parallel', resistance=None, inductance=None, capacitance=None, is_boundary_on_plane=True)#
Create a lumped RLC taking the closest edges of two objects.
- Parameters:
- assignment
Starting object for the integration line.
- reference
Ending object for the integration line.
- start_direction
int
oransys.aedt.core.application.analysis.Analysis.AxisDir
,optional
Start direction for the boundary location.. It should be one of the values for
Application.AxisDir
, which are:XNeg
,YNeg
,ZNeg
,XPos
,YPos
, andZPos
. The default isApplication.AxisDir.XNeg
.- name
str
,optional
Perfect H name. The default is
None
, in which case a name is automatically assigned.- rlc_type
str
,optional
Type of the RLC. Options are
"Parallel"
and"Serial"
. The default is"Parallel"
.- resistance
optional
Resistance value in ohms. The default is
None
, in which case this parameter is disabled.- inductance
optional
Inductance value in H. The default is
None
, in which case this parameter is disabled.- capacitance
optional
Capacitance value in F. The default is
None
, in which case this parameter is disabled.- is_boundary_on_planebool,
optional
Whether to create the boundary on the plane orthogonal to
AxisDir
. The default isTrue
.
- Returns:
ansys.aedt.core.modules.boundary.BoundaryObject
or boolBoundary object if successful,
False
otherwise.
References
>>> oModule.AssignLumpedRLC
Examples
Create two boxes for creating a lumped RLC named
'LumpedRLC'
.>>> box1 = hfss.modeler.create_box([0, 0, 50],[10, 10, 5],"rlc1","copper") >>> box2 = hfss.modeler.create_box([0, 0, 60],[10, 10, 5],"rlc2","copper") >>> rlc = hfss.create_lumped_rlc_between_objects("rlc1","rlc2",hfss.AxisDir.XPos,"Lumped RLC",resistance=50, ... inductance=1e-9, capacitance=1e-6) PyAEDT INFO: Connection Correctly created