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 number
Initialization
Types.DynamicsdynTypesystem.dynTypetransient or steady-state model
PS.Voltagev_start0start value of voltage drop
PS.Currenti_start0start value of current
SI.Anglephi_el_start0initial rotor angle electric

Connectors

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

Components

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