modelElecDynBlk

Dynamical equations for electrical block of a type 3 wind machine

Parameters

TypeNameDefaultDescription
Types.ApparentPowerSbase100000000Power Rating [Normalization Factor]
Types.PerUnitVbus01Voltage from Power Flow
Types.Angleangle_0-0.00243Angle from Power Flow
Types.PerUnitPc0.0160000000000082Active Power, PowerFlow
Types.PerUnitQc0.030527374471207Reactive Power, Power Flow
Types.PerUnitomega_m0min(max(0.5*Pc*Sbase/Pnom + 0.5, 0.5), 1)
Types.ApparentPowerPnom10Nominal Power
Types.VoltageVbase400000Voltage rating
Types.Frequencyfreq50frequency rating
Types.PerUnitRs0.1stator Resistance
Types.PerUnitXs1stator Reactance
Types.PerUnitRr0.1Rotor Resitance
Types.PerUnitXr0.8rotor Reactance
Types.PerUnitXm30magnetisation reactance
Types.TimeHm0.3inertia
Types.PerUnitx1Xm + Xsstator plus magnetisation impedances
Types.PerUnitx2Xm + Xrrotor plus magnetisation impedances
SI.AngularVelocitywbase2*C.pi*freq/polesbasis for angular speed
Types.PerUnitiqr_max
Types.PerUnitidr_max
Types.PerUnitiqr_min
Types.PerUnitidr_min
Integerpoles2Number of poles-pair
RealKv10Voltage control gain
Types.TimeTe0.01Power Control time constant
Realkx1*Pnom/Vbus0/Xm/Sbasegain for iqr_off computation
Types.PerUnitids0((-vds0^2) + vds0*Xm*iqr0 - x1*Qc)/(Rs*vds0 - x1*vqs0)
Types.PerUnitiqs0((-vds0*vqs0) + vqs0*Xm*iqr0 - Rs*Qc)/(Rs*vds0 - x1*vqs0)
Types.PerUnitidr0-(vqs0 + Rs*iqs0 + x1*ids0)/Xm
Types.PerUnitiqr0-x1*Pnom*(2*omega_m0 - 1)/Vbus0/Xm/Sbase/omega_m0
Types.PerUnitvds0-Vbus0*sin(angle_0)
Types.PerUnitvqs0Vbus0*cos(angle_0)
Types.PerUnitvdr0(-Rr*idr0) + (1 - omega_m0)*(x2*iqr0 + Xm*iqs0)
Types.PerUnitvqr0(-Rr*iqr0) - (1 - omega_m0)*(x2*idr0 + Xm*ids0)
Types.TimeAgingi2Hm1/(2*Hm)inverse inertia

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealInputomega_mRotor Speed
Modelica.Blocks.Interfaces.RealInputVbusVbus
Modelica.Blocks.Interfaces.RealOutputidrsaturated idr
Modelica.Blocks.Interfaces.RealOutputiqrsaturated iqr

Components

TypeNameDefaultDescription
Types.PerUnitidrIinternal, non saturated idr
Types.PerUnitiqrIinternal, non saturated iqr
Types.PerUnitVref
Types.PerUnitiqr_off
Types.PerUnitpwa