get_core_loss_coefficients#
- Material.get_core_loss_coefficients(points_at_frequency, core_loss_model_type='Electrical Steel', thickness='0.5mm', conductivity=0, coefficient_setup='w_per_cubic_meter')#
Get electrical steel or power ferrite core loss coefficients at a given frequency.
- Parameters:
- points_at_frequency
dict
Dictionary where keys are the frequencies (in Hz) and values are lists of points (BP curve). If the core loss model is calculated at one frequency, this parameter must be provided as a dictionary with one key (single frequency in Hz) and values are lists of points at that specific frequency (BP curve).
- core_loss_model_type
str
,optional
Core loss model type. The default value is
"Electrical Steel"
. Options are"Electrical Steel"
and"Power Ferrite"
.- thickness
str
,optional
Thickness provided as the value plus the unit. The default is
0.5mm
.- conductivity
float
,optional
Material conductivity. The default is
0
.- coefficient_setup
str
,optional
Core loss unit. The default is
"w_per_cubic_meter"
. Options are"kw_per_cubic_meter"
,"w_per_cubic_meter"
,"w_per_kg"
, and"w_per_lb"
.
- points_at_frequency
- Returns:
list
List of core loss coefficients. Returns Kh, Kc, and Ke coefficients if the core loss model is
"Electrical Steel"
. Returns Cm, X, and Y if the core loss model is"Power Ferrite"
.
Examples
This example shows how to get core loss coefficients for Electrical Steel core loss model.
>>> from ansys.aedt.core import Maxwell3d >>> m3d = Maxwell3d() >>> box = m3d.modeler.create_box([-10, -10, 0],[20, 20, 20],"box_to_split") >>> box.material = "magnesium" >>> coefficients = m3d.materials["magnesium"].get_core_loss_coefficients( ... points_at_frequency={60 : [[0, 0], [1, 3], [2, 7]]}, ... thickness="0.5mm",conductivity=0) >>> print(coefficients) >>> m3d.release_desktop(True, True)