set_core_losses#

Maxwell3d.set_core_losses(objects, value=False)[source]#

Whether to enable core losses for a set of objects.

For EddyCurrent and Transient solver designs, core losses calulcations may be included in the simulation on any object that has a corresponding core loss definition (with core loss coefficient settings) in the material library.

Parameters:
objectslist, str

List of object to apply core losses to.

valuebool, optional

Whether to enable Consider core loss effect on field for the given list. The default is False.

Returns:
bool

True when successful, False when failed.

References

>>> oModule.SetCoreLoss

Examples

Set core losses in Maxwell 3D.

>>> from pyaedt import Maxwell3d
>>> maxwell_3d = Maxwell3d()
>>> maxwell_3d.set_core_losses(["PQ_Core_Bottom", "PQ_Core_Top"], True)