通过改变输出有功、无功功率指令值,可有效控制双馈风力发电机实际输出有功、无功功率,并且控制过程中不会对网侧变流器控制的直流 母线电压产生不良影响,实现了输出有功功率、无功功率的独立控制。
变桨距控制,可输入风速,风机台数,形成风电场!
内部控制方式
代码:
!=======================================================================
! Generated by : PSCAD v4.6.2.0
!
! Warning: The content of this file is automatically generated.
! Do not modify, as any changes made here will be lost!
!-----------------------------------------------------------------------
! Component : DFIG_Detailed_Model_3
! Description :
!-----------------------------------------------------------------------
!=======================================================================
SUBROUTINE DFIG_Detailed_Model_3Dyn(Vw, Mud)
!---------------------------------------
! Standard includes
!---------------------------------------
INCLUDE 'nd.h'
INCLUDE 'emtconst.h'
INCLUDE 'emtstor.h'
INCLUDE 's0.h'
INCLUDE 's1.h'
INCLUDE 's2.h'
INCLUDE 's4.h'
INCLUDE 'branches.h'
INCLUDE 'pscadv3.h'
INCLUDE 'fnames.h'
INCLUDE 'radiolinks.h'
INCLUDE 'matlab.h'
INCLUDE 'rtconfig.h'
!---------------------------------------
! Function/Subroutine Declarations
!---------------------------------------
! SUBR EMTDC_X2COMP ! 'Comparator with Interpolation'
! SUBR EMTDC_XONDLAY ! 'Delay Function with Interpolation'
! SUBR PitchControl_5Dyn !
! SUBR WindTurbine_5Dyn !
! SUBR DriveTrain_3Dyn !
! SUBR DGIF_Controls_5Dyn !
!---------------------------------------
! Variable Declarations
!---------------------------------------
! Subroutine Arguments
REAL, INTENT(IN) :: Vw, Mud
! Electrical Node Indices
INTEGER NT_5(3), NT_8(3)
! Control Signals
INTEGER IT_1, S2TMODE, DBlk_Rtr, DBlk_Gr
INTEGER DBlk, BRK
REAL CTRL(12), BETA, RT_1, RT_2, Wwt
REAL RT_3, RT_4, Wg, Qref_pu, Tid_R
REAL Kpd_R, Kpq_R, Tiq_R, Kp_Q_R
REAL Ti_Q_R, Ti_P, Kp_P, Ti_Q_S, Kp_Q_S
REAL Q_ord, Edc_ord, Kp_Edc_S, Ti_Edc_S
REAL KpqS, TiqS, TidS, KpdS, TM, TE
REAL RT_5, RT_6, RT_7, RT_8, RT_9
REAL RT_10, Theta, Tcrow_bar, Icrow_bar
REAL RT_11, W0, PG, QG, Pref_pu
REAL WindTRQ, RT_12, RT_13, Vs(3)
REAL Istator(3), IG(3), VG(3), Vrms_bus
REAL Vz(3), IL(3), VL(3), PL, QL
REAL Vrms_pu