assign_em_losses#

Icepak.assign_em_losses(assignment: str | Object3d | list[str] | list[Object3d], design: str, setup: str, sweep: str, map_frequency: str | float | list[float] | list[str] | None = None, source_project_name: str | None = None, name: str | None = None, surface_objects: list[str | int] | None = None, parameters: list[str] | dict[str, str] | None = None, force_source_solve: bool = True, preserve_source_solution: bool = True, loss_multiplier: float | PieceWiseLinearDictionary = 1.0, harmonic_loss_sweep_coupling: bool = False, q3d_loss_type: Literal['DCVolOrACSurfLoss', 'ContactResistanceLoss', 'HarmonicLoss'] = 'DCVolOrACSurfLoss')#

Map EM losses to an Icepak design.

Parameters:
assignmentstr, ::class::aedt.core.modeler.cad.object_3d.Object3d,

list of str, or list of ::class::aedt.core.modeler.cad.object_3d.Object3d

List of objects to apply EM Losses to.

designstr

Name of the source design from which to map losses.

setupstr

Name of the source setup from which to map losses.

sweepstr

Name of the source setup sweep from which to map losses.

map_frequencystr, float, list of float, or list of str, optional

Frequency or frequencies to map. The default is None.

source_project_namestr, optional

Name of the source project from which to map losses. The default is None, in which case the source from the same project is used.

namestr, optional

Name to assign to the boundary condition. The default is None in which case it will be automatically generated. The value must be None for Eigenmode analysis.

surface_objectslist, optional

List of objects in the source that are metals. The default is None.

parameterslist or dict, optional

List of parameters to map between the source and Icepak design. - If None (default), variables are set to their values (no mapping). - If a list is provided, the specified variables in the Icepak design are mapped

to variables in the source design having the same name.

  • If a dictionary is provided, it maps variables to the source design using the structure {"source_design_variable": "icepak_variable"}.

force_source_solvebool, optional

Whether to force the source design to solve if results are missing. The default is True.

preserve_source_solutionbool, optional

Whether to preserve the source solution. The default is True.

loss_multiplierfloat or PieceWiseLinearDictionary, optional

Multiplier for the EM losses. The default is 1.0.

harmonic_loss_sweep_couplingbool, optional

Whether to enable harmonic loss sweep coupling. The default is False.

q3d_loss_typestr, optional

Type of Q3D loss mapping. Options are "DCVolOrACSurfLoss", "ContactResistanceLoss", or "HarmonicLoss". The default is "DCVolOrACSurfLoss". Relevant only if the coupling is with Q3D.

Returns:
BoundaryObject

The created boundary object.

References

>>> oModule.AssignEMLoss