comp_I_mag (method)¶
-
comp_I_mag
(self, time, is_stator, phase=None)[source]¶ Compute the current on the given lamination and time vector to use it in Magnetics model Phase currents are divided by the number of parallel circuits per pole and per phase to account for actual current in slot conductors
- Parameters
self (OutElec) – an OutElec object
time (ndarray) – Time vector on which to interpolate currents stored in OutElec
is_stator (bool) – True if lamination is stator
per_a (int) – (Anti-)periodicity factor
- Returns
I – Current matrix accounting for periodicities [q_pera,len(time)]
- Return type
ndarray