AirGapDC
Linear airgap model of a DC machine
![]()
Library
Electrical/Machines/BasicMachines/Components
Description
Linear model of the airgap (without saturation effects) of a DC machine, using only equations.Induced excitation voltage is calculated from der(flux), where flux is defined by excitation inductance times excitation current.
Induced armature voltage is calculated from flux times angular velocity.
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_quasiStationary | quasiStationary | No electrical transients if true | Scalar | true |
mo_turnsRatio | turnsRatio | Ratio of armature turns over number of turns of the excitation winding | Scalar | |
mo_Le | Le | Excitation inductance | Scalar |

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_w | w | w | Structure | |
mo_w/fixed | fixed | Cell of scalars | true | |
mo_w/start | start | Cell of scalars | ||
mo_vei | vei | vei | Structure | |
mo_vei/fixed | fixed | Cell of scalars | true | |
mo_vei/start | start | Cell of scalars | ||
mo_ie | ie | ie | Structure | |
mo_ie/fixed | fixed | Cell of scalars | true | |
mo_ie/start | start | Cell of scalars | ||
mo_psi_e | psi_e | psi_e | Structure | |
mo_psi_e/fixed | fixed | Cell of scalars | true | |
mo_psi_e/start | start | Cell of scalars | ||
mo_vai | vai | vai | Structure | |
mo_vai/fixed | fixed | Cell of scalars | true | |
mo_vai/start | start | Cell of scalars | ||
mo_ia | ia | ia | Structure | |
mo_ia/fixed | fixed | Cell of scalars | true | |
mo_ia/start | start | Cell of scalars | ||
mo_tauElectrical | tauElectrical | tauElectrical | Structure | |
mo_tauElectrical/fixed | fixed | Cell of scalars | true | |
mo_tauElectrical/start | start | Cell of scalars |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
flange | implicit | input | 1 | |
support | implicit | Support at which the reaction torque is acting | input | 2 |
pin_ap | implicit | input | 3 | |
pin_ep | implicit | input | 4 | |
pin_an | implicit | output | 1 | |
pin_en | implicit | output | 2 |