modelElecBlk
Electrical block for Type 3 wind machine
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Types.ApparentPower | Sbase | 100000000 | Power Rating [Normalization Factor] |
| Types.PerUnit | Vbus0 | 1 | Voltage from Power Flow |
| Types.Angle | angle_0 | -0.00243 | Angle from Power Flow |
| Types.PerUnit | Pc | 0.0160000000000082 | Active Power, PowerFlow |
| Types.PerUnit | Qc | 0.030527374471207 | Reactive Power, Power Flow |
| Types.PerUnit | omega_m0 | min(max(0.5*Pc*Sbase/Pnom + 0.5, 0.5), 1) | |
| Types.ApparentPower | Pnom | 10 | Nominal Power |
| Types.Voltage | Vbase | 400000 | Voltage rating |
| Types.Frequency | freq | 50 | frequency rating |
| Types.PerUnit | Rs | 0.1 | stator Resistance |
| Types.PerUnit | Xs | 1 | stator Reactance |
| Types.PerUnit | Rr | 0.1 | Rotor Resitance |
| Types.PerUnit | Xr | 0.8 | rotor Reactance |
| Types.PerUnit | Xm | 30 | magnetisation reactance |
| Types.Time | Hm | 0.3 | inertia |
| Types.PerUnit | x1 | Xm + Xs | stator plus magnetisation impedances |
| SI.AngularVelocity | wbase | 2*C.pi*freq/poles | basis for angular speed |
| Real | k | x1*Pnom/Vbus0/Xm/Sbase | gain for iqr_off computation |
| Types.PerUnit | ids0 | ((-vds0^2) + vds0*Xm*iqr0 - x1*Qc)/(Rs*vds0 - x1*vqs0) | |
| Types.PerUnit | iqs0 | ((-vds0*vqs0) + vqs0*Xm*iqr0 - Rs*Qc)/(Rs*vds0 - x1*vqs0) | |
| Types.PerUnit | idr0 | -(vqs0 + Rs*iqs0 + x1*ids0)/Xm | |
| Types.PerUnit | iqr0 | -x1*Pnom*(2*omega_m0 - 1)/Vbus0/Xm/Sbase/omega_m0 | |
| Types.PerUnit | vds0 | -Vbus0*sin(angle_0) | |
| Types.PerUnit | vqs0 | Vbus0*cos(angle_0) | |
| Types.PerUnit | vdr0 | (-Rr*idr0) + (1 - omega_m0)*((Xm + Xr)*iqr0 + Xm*iqs0) | |
| Types.PerUnit | vqr0 | (-Rr*iqr0) - (1 - omega_m0)*((Xm + Xr)*idr0 + Xm*ids0) | |
| Integer | poles | 2 | Number of poles-pair |
| Types.TimeAging | i2Hm | 1/(2*Hm) | inverse inertia |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.RealInput | omega_m | Rotor Speed | |
| Modelica.Blocks.Interfaces.RealInput | idr | idr | |
| Modelica.Blocks.Interfaces.RealInput | iqr | iqr | |
| Modelica.Blocks.Interfaces.RealOutput | Tel | Electrical Torque | |
| Modelica.Blocks.Interfaces.RealOutput | Vbus | Bus Voltage Magnitude | |
| OpenIPSL.Interfaces.PwPin | pin |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| Types.PerUnit | vds | stator tension, in dq | |
| Types.PerUnit | vqs | stator tension, in dq | |
| Types.PerUnit | p | Active power | |
| Types.PerUnit | q | Reactive Power | |
| Types.PerUnit | ids | stator current, in dq | |
| Types.PerUnit | iqs | stator current, in dq | |
| Types.PerUnit | vdr | rotor voltage in dq | |
| Types.PerUnit | vqr | rotor voltage in dq | |
| Real | slip | ||
| Types.Angle | Anglebus | atan(pin.vi/pin.vr) |