Six Phase Permanent Magnet Synchronous Motor

Electrical ODE

\[\begin{split}\frac{\mathrm{d} i_\mathrm{d}}{\mathrm{d} t}&= \frac{u_\mathrm{d} + \omega_\mathrm{el} L_\mathrm{q} i_\mathrm{q} - R_\mathrm{s} i_\mathrm{d}}{L_\mathrm{d}} \\ \frac{\mathrm{d} i_\mathrm{q}}{\mathrm{d} t}&= \frac{u_\mathrm{q} - \omega_\mathrm{el} L_\mathrm{d} i_\mathrm{d} - R_\mathrm{s} i_\mathrm{q} - \omega_\mathrm{el} \psi_\mathrm{PM}}{L_\mathrm{q}} \\ \frac{\mathrm{d} i_\mathrm{x}}{\mathrm{d} t}&= \frac{u_\mathrm{x} - \omega_\mathrm{el} L_\mathrm{y} i_\mathrm{y} - R_\mathrm{s} i_\mathrm{x}}{L_\mathrm{x}} \\ \frac{\mathrm{d} i_\mathrm{y}}{\mathrm{d} t}&= \frac{u_\mathrm{y} + \omega_\mathrm{el} L_\mathrm{x} i_\mathrm{x} - R_\mathrm{s} i_\mathrm{y}}{L_\mathrm{y}} \\\end{split}\]

Torque Equation

\[T=\frac{3}{2} p (\mathit{\Psi}_\mathrm{p} +(L_\mathrm{d}-L_\mathrm{q})i_\mathrm{sd}) i_\mathrm{sq}\]

Code Documentation

class gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM(motor_parameter=None, nominal_values=None, limit_values=None, motor_initializer=None)[source]

Bases: SixPhaseMotor

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

electrical_jacobian(state, u_in, omega, *args)[source]

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.electrical_jacobian.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

electrical_ode(state, u_dqxy, omega, *_)[source]

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.electrical_ode.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

i_in(state)[source]

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.i_in.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

initialize(state_space, state_positions, **__)

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.initialize.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

next_generator()

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.next_generator.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

static q(quantities, epsilon)

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.q.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

static q_inv(quantities, epsilon)

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.q_inv.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

reset(state_space, state_positions, **__)[source]

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.reset.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

seed(seed=None)

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.seed.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

static t_46(quantities)

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.t_46.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

torque(currents)[source]

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.torque.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

CURRENTS = ['i_sd', 'i_sq', 'i_sx', 'i_sy']

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.CURRENTS.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

CURRENTS_IDX = [0, 1, 2, 3]

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.CURRENTS_IDX.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

HAS_JACOBIAN = True

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.HAS_JACOBIAN.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

IO_CURRENTS = ['i_a1', 'i_b1', 'i_a2', 'i_b2', 'i_c2', 'i_c1', 'i_sd', 'i_sq', 'i_sx', 'i_sy']
IO_VOLTAGES = ['u_a1', 'u_b1', 'u_c1', 'u_a2', 'u_b2', 'u_c2', 'u_sd', 'u_sq', 'u_sx', 'u_sy']
I_SD_IDX = 0
I_SQ_IDX = 1
I_SX_IDX = 2
I_SY_IDX = 3
VOLTAGES = ['u_sd', 'u_sq', 'u_sx', 'u_sy']

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.VOLTAGES.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

property initial_limits

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.initial_limits.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

property initializer

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.initializer.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

property limits

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.limits.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

property motor_parameter

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.motor_parameter.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

property nominal_values

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.nominal_values.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

property random_generator

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.random_generator.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.

property seed_sequence

API for gym_electric_motor.physical_systems.electric_motors.SixPhasePMSM.seed_sequence.

Note

The original docstring is temporarily suppressed due to formatting issues upstream. Once it’s cleaned, we’ll restore the full text here.