modelMTPAa
MTPA logic for a generic (anisotropic) machine
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Current | Ipm | 1.5 | Permanent magnet current |
| Integer | pp | 1 | Pole pairs |
| Modelica.Units.SI.Resistance | Rs | 0.02 | Stator resistance |
| Modelica.Units.SI.Inductance | Ld | 0.4 | Basic direct-axis inductance |
| Modelica.Units.SI.Inductance | Lq | 1.1 | Basic quadrature-axis inductance |
| Modelica.Units.SI.Voltage | Umax | 100 | Max rms voltage per phase to the motor |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | torqueReq | ||
| Modelica.Blocks.Interfaces.RealInput | wMech | ||
| Modelica.Blocks.Interfaces.RealOutput | Id | ||
| Modelica.Blocks.Interfaces.RealOutput | Iq | ||
| Modelica.Blocks.Interfaces.RealInput | uDC | DC voltage | |
| Modelica.Blocks.Interfaces.RealOutput | Ipark |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Units.SI.Voltage | Ulim | min(uDC/sqrt(3), UmaxPk) | tensione limite (fase-picco) fa attivare il deflussaggio; |
| Modelica.Units.SI.Angle | gammaFF | ||
| Modelica.Units.SI.Angle | gammaStar | ||
| Modelica.Units.SI.Voltage | Vd | ||
| Modelica.Units.SI.Voltage | Vq | ||
| Modelica.Units.SI.Current | IdFF | Id FullFlux (i.e. before flux weaking evalation) | |
| Modelica.Units.SI.Current | IqFF | Iq FullFlux (i.e. before flux weaking evalation) | |
| Modelica.Units.SI.Voltage | VdFF | Vd FullFlux (i.e. before flux weaking evalation) | |
| Modelica.Units.SI.Voltage | VqFF | Vq FullFlux (i.e. before flux weaking evalation) | |
| Modelica.Units.SI.Current | IparkFF | Ipark amplitude FullFlux (i.e. before flux weaking evalation) | |
| Modelica.Units.SI.Voltage | VparkFF | Vpark amplitude FullFlux (i.e. before flux weaking evalation) | |
| Modelica.Units.SI.Voltage | Vpark | Vpark amplitude (=sqrt(Vd^2+Vq^2)) | |
| Modelica.Units.SI.Torque | T1 | Torque due to PM field | |
| Modelica.Units.SI.Torque | T2 | Torque due to anisotropy (reluctance torque) | |
| Modelica.Units.SI.AngularVelocity | w | pp*wMech | |
| Real | weakening |