assign_impedance_to_sheet#

Hfss.assign_impedance_to_sheet(sheet_name, sourcename=None, resistance=50, reactance=0, is_infground=False)[source]#

Create an impedance taking one sheet.

Parameters:
sheet_namestr

Name of the sheet to apply the boundary to.

sourcenamestr, optional

Name of the impedance. The default is None.

resistanceoptional

Resistance value in ohms. The default is 50. If None, this parameter is disabled.

reactanceoptional

Reactance value in ohms. The default is 0. If None, this parameter is disabled.

is_infgroundbool, optional

Whether the impedance is an infinite ground. The default is False.

Returns:
pyaedt.modules.Boundary.BoundaryObject

Boundary object if successful, False otherwise.

References

>>> oModule.AssignImpedance

Examples

Create a sheet and use it to create an impedance.

>>> sheet = hfss.modeler.create_rectangle(hfss.PLANE.XY,
...                                       [0, 0, -90], [10, 2], name="ImpedanceSheet",
...                                        matname="Copper")
>>> impedance_to_sheet = hfss.assign_impedance_to_sheet(sheet.name, "ImpedanceFromSheet", 100, 50)
>>> type(impedance_to_sheet)
<class 'pyaedt.modules.Boundary.BoundaryObject'>