modelCurrentController
Current controller
Information
This is a simple current controller.
The desired RMS values of d and q component of the quasi-static space phasor current in rotor fixed coordinate system are the inputs id_rms and iq_rms.
Using the given rotor position input phi, the quasi-static m-phase output currents i[m] are calculated.
The model output can be used to feed a quasi-static current source with phase input to supply synchronous machines.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | m | 3 | Number of phases |
| Integer | p | Number of pole pairs | |
| SI.Angle | gamma0 | 0 | Offset added to electrical rotor angle |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | id_rms | ||
| Modelica.Blocks.Interfaces.RealInput | iq_rms | ||
| Modelica.Blocks.Interfaces.RealInput | phi | ||
| Modelica.ComplexBlocks.Interfaces.ComplexOutput[m] | I | Polyphase current phasors | |
| Modelica.Blocks.Interfaces.RealOutput | gamma | Reference angle of source |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Math.Gain | toGamma | ||
| Modelica.Electrical.QuasiStatic.Polyphase.Blocks.SingleToPolyphase | singleToMultiPhase | ||
| Modelica.ComplexBlocks.ComplexMath.RealToComplex | realToComplex | ||
| Modelica.Blocks.Math.Add | add | ||
| Modelica.Blocks.Sources.Constant | const |