change_inductance_computation#
- Maxwell3d.change_inductance_computation(compute_transient_inductance=True, incremental_matrix=False)#
Enable the inductance computation for the transient analysis and set the incremental matrix.
- Parameters:
- compute_transient_inductancebool,
optional Whether to enable the inductance calculation for the transient analysis. The default is
True.- incremental_matrixbool,
optional Whether to set the inductance calculation to
Incrementalifcompute_transient_inductance=True. The default isFalse, in which case theApparentinductance calculation is enabled.
- compute_transient_inductancebool,
- Returns:
- bool
Truewhen successful,Falsewhen failed.
References
>>> oDesign.SetDesignSettings
Examples
Set
Incrementalas inductance calculation.>>> from ansys.aedt.core import Maxwell3d >>> m3d = Maxwell3d("Transient") >>> m3d.change_inductance_computation(compute_transient_inductance=True, incremental_matrix=True) >>> m3d.desktop_class.close_desktop()