.. _RenPitch: ================================================================================ RenPitch ================================================================================ Renewable generator pitch controller group. Common Parameters: u, name, rea Available models: WTPTA1_ .. _WTPTA1: -------------------------------------------------------------------------------- WTPTA1 -------------------------------------------------------------------------------- Wind turbine pitch control model. Parameters ---------- +---------+----------------------+--------------------------------------+---------+--------+------------+ | Name | Symbol | Description | Default | Unit | Properties | +=========+======================+======================================+=========+========+============+ | idx | | unique device idx | | | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | u | :math:`u` | connection status | 1 | *bool* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | name | | device name | | | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | rea | | Renewable aerodynamics model idx | | | mandatory | +---------+----------------------+--------------------------------------+---------+--------+------------+ | Kiw | :math:`K_{iw}` | Pitch-control integral gain | 0.100 | *p.u.* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | Kpw | :math:`K_{pw}` | Pitch-control proportional gain | 0 | *p.u.* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | Kic | :math:`K_{ic}` | Pitch-compensation integral gain | 0.100 | *p.u.* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | Kpc | :math:`K_{pc}` | Pitch-compensation proportional gain | 0 | *p.u.* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | Kcc | :math:`K_{cc}` | Gain for P diff | 0 | *p.u.* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | Tp | :math:`T_{\theta}` | Blade response time const. | 0.300 | *s* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | thmax | :math:`\theta_{max}` | Max. pitch angle | 30 | *deg.* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | thmin | :math:`\theta_{min}` | Min. pitch angle | 0 | *deg.* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | dthmax | :math:`\theta_{max}` | Max. pitch angle rate | 5 | *deg.* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | dthmin | :math:`\theta_{min}` | Min. pitch angle rate | -5 | *deg.* | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | rego | | | 0 | | | +---------+----------------------+--------------------------------------+---------+--------+------------+ | ree | | | 0 | | | +---------+----------------------+--------------------------------------+---------+--------+------------+ Variables --------- +----------+-----------------------+----------+--------------------------+------+------------+ | Name | Symbol | Type | Description | Unit | Properties | +==========+=======================+==========+==========================+======+============+ | PIc_xi | :math:`xi_{PI_c}` | State | Integrator output | | v_str | +----------+-----------------------+----------+--------------------------+------+------------+ | PIw_xi | :math:`xi_{PI_w}` | State | Integrator output | | v_str | +----------+-----------------------+----------+--------------------------+------+------------+ | LG_y | :math:`y_{LG}` | State | State in lag TF | | v_str | +----------+-----------------------+----------+--------------------------+------+------------+ | wt | :math:`wt` | ExtState | | | | +----------+-----------------------+----------+--------------------------+------+------------+ | Pord | :math:`Pord` | ExtState | | | | +----------+-----------------------+----------+--------------------------+------+------------+ | PIc_yul | :math:`y^{ul}_{PI_c}` | Algeb | | | v_str | +----------+-----------------------+----------+--------------------------+------+------------+ | PIc_y | :math:`y_{PI_c}` | Algeb | PI output | | v_str | +----------+-----------------------+----------+--------------------------+------+------------+ | wref | :math:`\omega_{ref}` | Algeb | optional speed reference | | v_str | +----------+-----------------------+----------+--------------------------+------+------------+ | PIw_yul | :math:`y^{ul}_{PI_w}` | Algeb | | | v_str | +----------+-----------------------+----------+--------------------------+------+------------+ | PIw_y | :math:`y_{PI_w}` | Algeb | PI output | | v_str | +----------+-----------------------+----------+--------------------------+------+------------+ | theta | :math:`\theta` | ExtAlgeb | | | | +----------+-----------------------+----------+--------------------------+------+------------+ | Pref | :math:`Pref` | ExtAlgeb | | | | +----------+-----------------------+----------+--------------------------+------+------------+ Initialization Equations ------------------------ +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | Name | Symbol | Type | Initial Value | +==========+=======================+==========+=========================================================================================+ | PIc_xi | :math:`xi_{PI_c}` | State | :math:`0.0` | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | PIw_xi | :math:`xi_{PI_w}` | State | :math:`0.0` | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | LG_y | :math:`y_{LG}` | State | :math:`1.0 y_{PI_c} + 1.0 y_{PI_w}` | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | wt | :math:`wt` | ExtState | | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | Pord | :math:`Pord` | ExtState | | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | PIc_yul | :math:`y^{ul}_{PI_c}` | Algeb | :math:`K_{pc} \left(Pord - Pref\right)` | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | PIc_y | :math:`y_{PI_c}` | Algeb | :math:`PIc_{hl zi} y^{ul}_{PI_c} + PIc_{hl zl} \theta_{min} + PIc_{hl zu} \theta_{max}` | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | wref | :math:`\omega_{ref}` | Algeb | :math:`wt` | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | PIw_yul | :math:`y^{ul}_{PI_w}` | Algeb | :math:`K_{pw} \left(K_{cc} \left(Pord - Pref\right) - \omega_{ref} + wt\right)` | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | PIw_y | :math:`y_{PI_w}` | Algeb | :math:`PIw_{hl zi} y^{ul}_{PI_w} + PIw_{hl zl} \theta_{min} + PIw_{hl zu} \theta_{max}` | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | theta | :math:`\theta` | ExtAlgeb | | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ | Pref | :math:`Pref` | ExtAlgeb | | +----------+-----------------------+----------+-----------------------------------------------------------------------------------------+ Differential Equations ----------------------------- +---------+-------------------+----------+---------------------------------------------------------------------------------+--------------------+ | Name | Symbol | Type | RHS of Equation "T x' = f(x, y)" | T (LHS) | +=========+===================+==========+=================================================================================+====================+ | PIc_xi | :math:`xi_{PI_c}` | State | :math:`K_{ic} \left(Pord - Pref\right)` | | +---------+-------------------+----------+---------------------------------------------------------------------------------+--------------------+ | PIw_xi | :math:`xi_{PI_w}` | State | :math:`K_{iw} \left(K_{cc} \left(Pord - Pref\right) - \omega_{ref} + wt\right)` | | +---------+-------------------+----------+---------------------------------------------------------------------------------+--------------------+ | LG_y | :math:`y_{LG}` | State | :math:`- y_{LG} + 1.0 y_{PI_c} + 1.0 y_{PI_w}` | :math:`T_{\theta}` | +---------+-------------------+----------+---------------------------------------------------------------------------------+--------------------+ | wt | :math:`wt` | ExtState | :math:`0` | | +---------+-------------------+----------+---------------------------------------------------------------------------------+--------------------+ | Pord | :math:`Pord` | ExtState | :math:`0` | | +---------+-------------------+----------+---------------------------------------------------------------------------------+--------------------+ Algebraic Equations ----------------------------- +----------+-----------------------+----------+-------------------------------------------------------------------------------------------------------------+ | Name | Symbol | Type | RHS of Equation "0 = g(x, y)" | +==========+=======================+==========+=============================================================================================================+ | PIc_yul | :math:`y^{ul}_{PI_c}` | Algeb | :math:`K_{pc} \left(Pord - Pref\right) + xi_{PI_c} - y^{ul}_{PI_c}` | +----------+-----------------------+----------+-------------------------------------------------------------------------------------------------------------+ | PIc_y | :math:`y_{PI_c}` | Algeb | :math:`PIc_{hl zi} y^{ul}_{PI_c} + PIc_{hl zl} \theta_{min} + PIc_{hl zu} \theta_{max} - y_{PI_c}` | +----------+-----------------------+----------+-------------------------------------------------------------------------------------------------------------+ | wref | :math:`\omega_{ref}` | Algeb | :math:`- \omega_{ref} + wref_{0}` | +----------+-----------------------+----------+-------------------------------------------------------------------------------------------------------------+ | PIw_yul | :math:`y^{ul}_{PI_w}` | Algeb | :math:`K_{pw} \left(K_{cc} \left(Pord - Pref\right) - \omega_{ref} + wt\right) + xi_{PI_w} - y^{ul}_{PI_w}` | +----------+-----------------------+----------+-------------------------------------------------------------------------------------------------------------+ | PIw_y | :math:`y_{PI_w}` | Algeb | :math:`PIw_{hl zi} y^{ul}_{PI_w} + PIw_{hl zl} \theta_{min} + PIw_{hl zu} \theta_{max} - y_{PI_w}` | +----------+-----------------------+----------+-------------------------------------------------------------------------------------------------------------+ | theta | :math:`\theta` | ExtAlgeb | :math:`- \theta_{0} + y_{LG}` | +----------+-----------------------+----------+-------------------------------------------------------------------------------------------------------------+ | Pref | :math:`Pref` | ExtAlgeb | :math:`0` | +----------+-----------------------+----------+-------------------------------------------------------------------------------------------------------------+ Services ---------- +--------+---------------+----------------------+-----------------+ | Name | Symbol | Equation | Type | +========+===============+======================+=================+ | wref0 | :math:`wref0` | :math:`\omega_{ref}` | PostInitService | +--------+---------------+----------------------+-----------------+ Discretes ----------- +---------+-------------------+----------------+----------------+ | Name | Symbol | Type | Info | +=========+===================+================+================+ | PIc_aw | :math:`aw_{PI_c}` | AntiWindup | | +---------+-------------------+----------------+----------------+ | PIc_hl | :math:`hl_{PI_c}` | HardLimiter | | +---------+-------------------+----------------+----------------+ | PIw_aw | :math:`aw_{PI_w}` | AntiWindup | | +---------+-------------------+----------------+----------------+ | PIw_hl | :math:`hl_{PI_w}` | HardLimiter | | +---------+-------------------+----------------+----------------+ | LG_lim | :math:`lim_{LG}` | AntiWindupRate | Limiter in Lag | +---------+-------------------+----------------+----------------+ Blocks ------- +------+--------------+-------------------+-----------------------------------------+ | Name | Symbol | Type | Info | +======+==============+===================+=========================================+ | PIc | :math:`PI_c` | PIAWHardLimit | PI for active power diff compensation | +------+--------------+-------------------+-----------------------------------------+ | PIw | :math:`PI_w` | PIAWHardLimit | PI for speed and active power deviation | +------+--------------+-------------------+-----------------------------------------+ | LG | :math:`LG` | LagAntiWindupRate | Output lag anti-windup rate limiter | +------+--------------+-------------------+-----------------------------------------+ Config Fields in [WTPTA1] +---------------+--------+-------+---------------------------------------+-----------------+ | Option | Symbol | Value | Info | Accepted values | +===============+========+=======+=======================================+=================+ | allow_adjust | | 1 | allow adjusting upper or lower limits | (0, 1) | +---------------+--------+-------+---------------------------------------+-----------------+ | adjust_lower | | 0 | adjust lower limit | (0, 1) | +---------------+--------+-------+---------------------------------------+-----------------+ | adjust_upper | | 1 | adjust upper limit | (0, 1) | +---------------+--------+-------+---------------------------------------+-----------------+