Library with auxiliary models for testing
Extends from Modelica.Icons.UtilitiesPackage (Icon for utility packages).
Name | Description |
---|---|
ParameterRecords | Parameter records |
VfController | Voltage-Frequency-Controller |
ToDQ | Transform instantaneous stator inputs to rotor fixed space phasor |
FromDQ | Transform rotor fixed space phasor to instantaneous stator quantities |
CurrentController | Current controller |
VoltageController | Voltage controller |
SwitchYD | Y-D-switch |
TerminalBox | Terminal box Y/D-connection |
MultiTerminalBox | Terminal box Y/D-connection |
SwitchedRheostat | Rheostat which is shortened after a given time |
RampedRheostat | Rheostat with linearly decreasing resistance |
SynchronousMachineData | Computes machine parameter from usual datasheet |
TransformerData | Calculates Impedances from nominal values |
Voltage-Frequency-Controller
Extends from Modelica.Blocks.Interfaces.SIMO (Single Input Multiple Output continuous control block).
Name | Description |
---|---|
nout | Number of outputs |
m | Number of phases |
orientation[m] | Orientation of phases [rad] |
VNominal | Nominal RMS voltage per phase [V] |
fNominal | Nominal frequency [Hz] |
BasePhase | Common phase shift [rad] |
EconomyMode | Economy mode: voltage quadratic dependent on frquency |
Name | Description |
---|---|
y[nout] | Connector of Real output signals |
Transform instantaneous stator inputs to rotor fixed space phasor
The multi phase input values u[m]
are transformed to the corresponding space phasor which is rotated to the rotor fixed reference system,
using the provided mechanical rotor angle phi. The output are the resulting d and q components of the space phasor arranged in one vector y[2]
.
Extends from Modelica.Blocks.Interfaces.MIMO (Multiple Input Multiple Output continuous control block).
Name | Description |
---|---|
nin | Number of inputs |
nout | Number of outputs |
m | Number of phases |
p | Number of pole pairs |
Name | Description |
---|---|
u[nin] | Connector of Real input signals |
y[nout] | Connector of Real output signals |
phi | [rad] |
Transform rotor fixed space phasor to instantaneous stator quantities
The d and q components of a space phasor u[2]
are rotated back to the stator fixed reference system,
using the provided mechanical rotor angle phi. The output are the instantaneous multi phase values y[m]
.
Extends from Modelica.Blocks.Interfaces.MIMO (Multiple Input Multiple Output continuous control block).
Name | Description |
---|---|
nin | Number of inputs |
nout | Number of outputs |
m | Number of phases |
p | Number of pole pairs |
Name | Description |
---|---|
u[nin] | Connector of Real input signals |
y[nout] | Connector of Real output signals |
phi | [rad] |
Current controller
Simple Current-Controller.
The desired rms values of d- and q-component of the space phasor current in rotor fixed coordinate system are given by inputs "id_rms" and "iq_rms". Using the given rotor position (input "phi"), the correct three-phase currents (output "y[3]") are calculated. They can be used to feed a current source which in turn feeds an induction machine.
Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block).
Name | Description |
---|---|
m | Number of phases |
p | Number of pole pairs |
nout | Number of outputs |
Name | Description |
---|---|
y[nout] | Connector of Real output signals |
id_rms | |
iq_rms | |
phi | [rad] |
Voltage controller
Simple Voltage-Controller
The desired rms values of d- and q-component of the space phasor current in rotor fixed coordinate system are given by inputs "id_rms" and "iq_rms". Using the given rotor position (input "phi"), the actual threephase currents are measured and transformed to the d-q coordinate system. Two PI-controller determine the necessary d- and q- voltages, which are transformed back to threephase (output "y[3]"). They can be used to feed a voltage source which in turn feeds a permanent magnet synchronous machine.
Note: No care is taken for current or voltage limiting, as well as for field weakening.
Extends from Modelica.Blocks.Interfaces.MO (Multiple Output continuous control block).
Name | Description |
---|---|
p | Number of pole pairs |
fsNominal | Nominal frequency [Hz] |
VsOpenCircuit | Open circuit RMS voltage per phase @ fsNominal [V] |
Rs | Stator resistance per phase [Ohm] |
Ld | Inductance in d-axis [H] |
Lq | Inductance in q-axis [H] |
decoupling | Use decoupling network |
nout | Number of outputs |
Name | Description |
---|---|
y[nout] | Connector of Real output signals |
id_rms | |
iq_rms | |
phi | [rad] |
iActual[m] |
Y-D-switch
Name | Description |
---|---|
m | Number of phases |
Name | Description |
---|---|
plugSupply | To grid |
plug_sp | To positive stator plug |
plug_sn | To negative stator plug |
control[m] |
Terminal box Y/D-connection
Name | Description |
---|---|
m | Number of phases |
terminalConnection | Choose Y=star/D=delta |
Name | Description |
---|---|
plug_sp | To positive stator plug |
plug_sn | To negative stator plug |
plugSupply | To grid |
starpoint |
Terminal box Y/D-connection
Name | Description |
---|---|
m | number of phases |
terminalConnection | Choose Y=star/D=delta |
Name | Description |
---|---|
plug_sp | To positive stator plug |
plug_sn | To negative stator plug |
plugSupply | To grid |
starpoint |
Rheostat which is shortened after a given time
Switched rheostat, used for starting asynchronous induction motors with slipring rotor:
The external rotor resistance RStart
is shortened at time tStart
.
Name | Description |
---|---|
m | Number of phases |
RStart | Starting resistance [Ohm] |
tStart | Duration of switching on the starting resistor [s] |
Name | Description |
---|---|
plug_p | To positive rotor plug |
plug_n | To negative rotor plug |
Rheostat with linearly decreasing resistance
Ramped rheostat, used for starting asynchronous induction motors with slipring rotor:
The external rotor resistance RStart
is reduced to zero,
starting at time tStart
with a linear ramp tRamp
.
Name | Description |
---|---|
m | Number of phases |
RStart | Starting resistance [Ohm] |
tStart | Time instance of reducing the rheostat [s] |
tRamp | Duration of ramp [s] |
Name | Description |
---|---|
plug_p | To positive rotor plug |
plug_n | To negative rotor plug |
Computes machine parameter from usual datasheet
The parameters of the synchronous machine model with electrical excitation (and damper) are calculated from parameters normally given in a technical description, according to the standard EN 60034-4:2008 Appendix C.
Extends from Modelica.Icons.Record (Icon for records).
Name | Description |
---|---|
SNominal | Nominal apparent power [V.A] |
VsNominal | Nominal stator voltage per phase [V] |
fsNominal | Nominal stator frequency [Hz] |
IeOpenCircuit | Open circuit excitation current @ nominal voltage and frequency [A] |
effectiveStatorTurns | Effective number of stator turns |
x0 | Stator stray inductance per phase (approximately zero impedance) [pu] |
xd | Synchronous reactance per phase, d-axis [pu] |
xq | Synchronous reactance per phase, q-axis [pu] |
xdTransient | Transient reactance per phase, d-axis [pu] |
xdSubtransient | Subtransient reactance per phase, d-axis [pu] |
xqSubtransient | Subtransient reactance per phase, q-axis [pu] |
Ta | Armature time constant [s] |
Td0Transient | Open circuit field time constant Td0' [s] |
Td0Subtransient | Open circuit subtransient time constant Td0'', d-axis [s] |
Tq0Subtransient | Open circuit subtransient time constant Tq0'', q-axis [s] |
Material | |
TsSpecification | Specification temperature of stator resistance [K] |
TsRef | Reference temperature of stator resistance [K] |
alpha20s | Temperature coefficient of stator resistance at 20 degC [1/K] |
TrSpecification | Specification temperature of (optional) damper cage [K] |
TrRef | Reference temperature of damper resistances in d- and q-axis [K] |
alpha20r | Temperature coefficient of damper resistances in d- and q-axis [1/K] |
TeSpecification | Specification excitation temperature [K] |
TeRef | Reference temperature of excitation resistance [K] |
alpha20e | Temperature coefficient of excitation resistance [1/K] |
Result | |
Rs | Stator resistance per phase at TRef [Ohm] |
Lssigma | Stator stray inductance per phase [H] |
Lmd | Main field inductance per phase in d-axis [H] |
Lmq | Main field inductance per phase in q-axis [H] |
Lrsigmad | Damper stray inductance in d-axis [H] |
Lrsigmaq | Damper stray inductance in q-axis [H] |
Rrd | Damper resistance in d-axis at TRef [Ohm] |
Rrq | Damper resistance in q-axis at TRef [Ohm] |
Re | Excitation resistance at TRef [Ohm] |
sigmae | Stray fraction of total excitation inductance |
Calculates Impedances from nominal values
The parameters of the transformer models are calculated from parameters normally given in a technical description.
Extends from Modelica.Icons.Record (Icon for records).
Name | Description |
---|---|
f | Nominal frequency [Hz] |
V1 | Primary nominal line-to-line voltage (RMS) [V] |
C1 | Choose primary connection |
V2 | Secondary open circuit line-to-line voltage (RMS) @ primary nominal voltage [V] |
C2 | Choose secondary connection |
SNominal | Nominal apparent power [V.A] |
v_sc | Impedance voltage drop pu |
P_sc | Short-circuit (copper) losses [W] |
Result | |
n | Ratio primary voltage (line-to-line) / secondary voltage (line-to-line) |
R1 | Warm primary resistance per phase [Ohm] |
L1sigma | Primary stray inductance per phase [H] |
R2 | Warm secondary resistance per phase [Ohm] |
L2sigma | Secondary stray inductance per phase [H] |