modelDCBase

Base DC machine

Extends from Ports.Port_p (One port, 'positive').

Information

Contains the pole-pair transformation

  pp*airgap.phi = phi_el;
  airgap.tau = -pp*tau_el;

between the 'electrical' variables phi_el and tau_el and the 'mechanical' variables airgap.phi and airgap.tau.
The connector 'airgap' transfers the electromagnetic rotor-torque to the mechanical system.

Parameters

TypeNameDefaultDescription
Integerpp2pole-pair nb
BooleanstIni_entrueenable steady-state initial equation
SI.Anglephi_el_ini0initial rotor angle electric
SI.AngularVelocityw_el_ini0initial rotor angular velocity el

Connectors

TypeNameDefaultDescription
Base.Interfaces.ElectricV_pterm (from Port_p)positive terminal
Base.Interfaces.Rotation_nairgapelectro-mechanical connection
Base.Interfaces.ThermalV_nheatheat source port {stator, rotor}

Components

TypeNameDefaultDescription
SI.Anglephi_elrotor angle electric
SI.AngularVelocityw_elrotor angular velocity el
SI.Torquetau_elelectromagnetic torque
SI.Voltagevvoltage
SI.Currenticurrent