Wind Power Plant (Generic)

Description of the Wind Power Plant (Generic) component in Schematic Editor

The Wind Power Plant (Generic) component, shown in Table 1, is a Schematic Editor library block from the Distributed Energy Resources section, of the Microgrid library. It is capable of operating in grid following mode, with active power curtailment supported.

Table 1. Wind Power Plant (Generic) component in the Schematic Editor core library
component component dialog window component parameters

Wind Power Plant (Generic)

  • Property tabs:
    • 1 - General
    • 2 - Wind Turbine
    • 3 - Grid codes
    • 3 - Conv. Extras
    • 4 - Grid Extras

Wind Power Plant (Generic) functional block diagram and main control functionality

The component consists of two main parts: a high level control subsystem and a low level control subsystem with a power stage and necessary measurements included.

Figure 1. Wind Power Plant (Generic) functional block diagram

High level control subsystem main parts are:

  • PQ Control block - Contains regulators for active and reactive power control. The PQ Control block receives power references and measured powers after the transformer (grid side) and calculates reference output currents. These current references are fed to the low level control logic. This control block is active in the grid following mode of operation.
  • MPPT Control block -
  • Ramping elements - Limit the ROC (rate of change) of the active power reference, reactive power reference, voltage reference, and frequency reference. The rate of change for each function is configured through a corresponding input signal.
  • Main state machine - Controls and checks overall functionality of the plant. Operational plant states are described in Main state machine states.

Low level control subsystem main parts:

  • Currents control block - Contains regulators for inner current control loops. Input signals to the Currents Control block are reference currents and measured currents before the transformer (converter side).
  • Fault state machine - Checks all measurements, signals the fault state, and sends an alarm message. It also immediately opens the MCB (main circuit breaker) on any detected fault. A list of implemented faults is shown in Faults/Alarm messages table.

Wind Power Plant (Generic) power stage

The power stage is shown in Figure 2. The main elements include the average model of the inverter, the input L filter, the transformer, and the MCB that connects the plant to the grid. The transformer can be excluded from the power stage if it is not necessary. Power stage elements are parametrized from the component dialog box.

Figure 2. Wind Power Plant (Generic) power stage

Wind Power Plant (Generic) component inputs and outputs

This component has one user interface input, one user interface output, and one external input. The user interface input and user interface output are each arrays of 50 elements, while the external input is an array of 5 elements.Table 2 describes the input signals and their order, while Table 3 describes the output signals and their order. Lastly, Table 4 describes the external wind power plant input signals and their order.

All these signals are also defined in the corresponding Wind Power Plant (Generic) UI subsystem using Probe components (for output signals) and SCADA Input components (for input signals), as shown in Table 5. These signals were split and joined by properly configured DER (Generic) Output Split and DER (Generic) Control Join components. The Wind Power Plant (Generic) UI subsystem is located in the same place in the Schematic Editor library as the Wind Power Plant (Generic) component, and it can be unlinked from the library and adopted to the specific needs. Unit [pu] is associated to nominal values, which are either inserted as general tab parameters or derived from them.

Table 2. Wind Power Plant (Generic) user interface inputs
Number Input Description Signal range Default value
0 Enable A digital input that enables the converter. The converter is enabled when the input value is high. 0 or 1 0
1 Pcurtailment An analog input that limits the maximum output power. [pu] >= 0 0
2 Qref An analog input that sets the reactive power reference. [pu] 0
3 Pcurtailment rate of change An analog input that sets the rate of change of the active power curtailment level. [pu/s] >= 0.001 0.2
4 Qref rate of change An analog input that sets the rate of change of the reactive power reference. [pu/s] >= 0.001 0.2
5 MPPT rate of change An analog input that sets the rate of change of the turbine speed (output active power) under MPPT operation [pu/s] >= 0.001 0.1
6 Enable storm control A digital input that enables storm control functionality. Storm control is enabled when input value is high. If the storm control is disabled, default turbine protection is active. 0 or 1 0
7 Time interval 1 maximum wind speed (int1 wind speed max) Threshold wind speed calculated over time interval 1 (Input Number 12). This parameter is used in default wind turbine protection. If the average wind speed over time interval 1 is larger than value of this input and storm control is disabled, the default protection will react. >= 0 30
8 Time interval 2 maximum wind speed (int2 wind speed max) Threshold wind speed calculated over time interval 2 (Input Number 13). This parameter is used in default wind turbine protection. If the average wind speed over time interval 2 is larger than value of this input and storm control is disabled, the default protection will react. >= 0 35
9 P reduction wind speed (SC) Wind speed threshold above which active power reduction is applied when Storm Control protection mode (Input Number 6) is active. >= 0 19
10 Average wind speed max (SC) Threshold wind speed calculated over time interval (SC) (Input Number 15). This parameter is used in Storm Control protection mode. If the average wind speed over time interval (SC) is larger than value of this input and storm control is enabled, the Storm Control protection will react, disabling the turbine. >= 0 25
11 Cut out wind speed (SC) Cut out wind speed in Storm control protection mode. >= 0 28
12 time interval 1 Time interval 1 used for calculating average wind speed in default protection mode. >= 0 120
13 time interval 2 Time interval used for calculating average wind speed in default protection mode. >= 0 15
14 Recovery time If default turbine protection had reacted and all of the average wind speeds are lower than their threshold values, this input determines how much time has to pass before turbine is enabled again. >= 0 5
15 time interval (SC) Time interval used for calculating average wind speed in Storm control protection mode. >= 0 600
16 Reset alarms A digital input that resets alarms if converter is in fault state. 0 or 1 0
17 V alarm upper limit* Upper limit for the Grid voltage out of range error [pu] > 1 1.5
18 V alarm lower limit* Lower limit for the Grid voltage out of range error [pu] [0, 1) 0.5
19 F alarm upper limit* Upper limit for the Grid frequency out of range error [pu] > 1 1.5
20 F alarm lower limit* Lower limit for the Grid frequency out of range error [pu] [0, 1) 0.5
21 S alarm upper limit* Upper limit for the Over power protection [pu] > 1 1.5
22 I alarm upper limit* Upper limit for the Over current protection [pu] > 1 1.5
23 LVRT enable Digital input that enables the LVRT unit. The LVRT unit is enabled when the input value is high. 0 or 1 0
24 LVRT Q contribution An analog input that specifies additional reactive power contribution per percent of voltage drop in the case of a LVRT event. [%] >= 0 2
25 LVRT P set An analog input that defines the active power reference in the case of a LVRT event. [pu] >= 0 1
26 VoltVAr enable Digital input that enables the VoltVAr unit. The VoltVAr unit is enabled when the input value is high. 0 or 1 0
27 HzWatt enable Digital input that enables the HzWatt unit. The HzWatt unit is enabled when the input value is high. 0 or 1 0
28 VoltWatt enable Digital input that enables the VoltWatt unit. The VoltWatt unit is enabled when the input value is high. 0 or 1 0
29-39 reserved_ins Inputs that are not used. 0

* If the values for inputs 17 to 22 are all zeroes, default values will be used.

Table 3. Wind Power Plant (Generic) user interface outputs
Number Output Description
0 Enable_fb A digital output describing the plant converter enable/disable state. The plant is enabled if the output is high.
1 Qref_fb_kVAr An analog output with the instantaneous value of the applied reactive power reference in the converter. [kVAr]
2 Pnom_kW An analog output with the value of nominal active power of the converter. [kW]
3 Qnom_kVAr An analog output with the value of nominal reactive power of the converter. [kVAr]
4 Snom_kVA An analog output with the value of nominal apparent power of the converter. [kVA]
5 Fmeas_Hz An analog output reporting the value of the grid voltage frequency. [Hz]
6 Vgrid_rms_meas_kV An analog output reporting the RMS value of the grid voltage, measured at the grid side of the transformer. [kV]
7 Pmeas_kW An analog output reporting the instantaneous value of the three-phase active power output of the converter. [kW]
8 Pa_meas_kW An analog output reporting the instantaneous value of the phase A active power output of the converter. [kW]
9 Pb_meas_kW An analog output reporting the instantaneous value of the phase B active power output of the converter. [kW]
10 Pc_meas_kW An analog output reporting the instantaneous value of the phase C active power output of the converter. [kW]
11 Qmeas_kVAr An analog output reporting the instantaneous value of the three-phase reactive power output of the converter. [kVAr]
12 Qa_meas_kVAr An analog output reporting the instantaneous value of the phase A reactive power output of the converter. [kVAr]
13 Qb_meas_kVAr An analog output reporting the instantaneous value of the phase B reactive power output of the converter. [kVAr]
14 Qc_meas_kVAr An analog output reporting the instantaneous value of the phase C reactive power output of the converter. [kVAr]
15 Smeas_kVA An analog output reporting the instantaneous value of the three-phase apparent power output of the converter. [kVA]
16 PFmeas An analog output reporting the value of the converter output power factor.
17 Vconv_rms_meas_V An analog output reporting the RMS value of the converter voltage, measured at the converter side of the transformer. [V]
18 rotational_speed_RPM An analog output with the rotational speed of the wind turbine. [RPM]
19 wind_speed_m_per_s An analog output with the instantaneous wind speed value. [m/s]
20 turbine_stalled A digital output with the information when the turbine is stalled.
21 pitch_ctrl_on A digital output with the information when the pitch control is active.
22 avg_wind_speed_1 An analog output with the value of average wind speed, calculated over time interval 1. If default wind turbine protection is deactivated, its value will be 0. [m/s]
23 avg_wind_speed_2 An analog output with the value of average wind speed, calculated over time interval 2. If default wind turbine protection is deactivated, its value will be 0. [m/s]
24 avg_wind_speed_sc An analog output with the value of average wind speed, calculated over time interval (SC). If default wind turbine protection is activated, its value will be 0. [m/s]
25 prot_trip A digital output with the information of default wind turbine protection status. If the protection has tripped, the value will be 1.
26 P_red_on A digital output with the information on the status of power reduction for Storm Control protection mode. If the wind speed exceeds the power reduction wind speed for Storm Control (Input 9), the value will be 1.
27 P_cut_out A digital output with the information on the status of power cut out for Storm Control protection mode. If the wind speed exceeds the power cut out wind speed for Storm Control (Input 11), the value will be 1.
28 state An analog output reporting the code of the state of the converter.
29 alarm_msg An analog output reporting the value of the alarm message. In order for the converter to return to normal operation after the alarm has been triggered, all alarms must be reset.
30 nom_wind_speed_m_per_s Nominal wind speed of the turbine. [m/s]
31 MCB_status A digital output with the information about the state of the main circuit breaker (contactor). The contactor is closed if the value is high.
32 Lvrt_active_status A digital output that signals the status of the LVRT unit. If high, the LVRT unit is active and contributing active and reactive power to the grid, otherwise it is not active.
33-49 reserved_outs Outputs that are not used.
Table 4. Wind Power Plant (Generic) external inputs
Number Input Description
0 Wind speed Wind speed. Affects the available power of the plant. [m/s]
1-4 reserved_exts Inputs that are not used.
Table 5. Wind Power Plant (Generic) UI subsystem
Wind Power Plant (Generic) UI Wind Power Plant (Generic) UI internals

Wind Power Plant (Generic) operational states

Table 6. Main state machine states
Code Description
1 Starting up state – Represents the state of the converter between the moment signal activation is triggered and the moment when the converter starts operating, e.g. system checking and synchronization time.
2 Running state - Represents the operational state of the converter.
3 Disabled state - Reports if the converter is not enabled/operational.
4 Fault state – Represents the state of the converter if it encounters a fault. It is necessary to reset the alarms once the converter enters this state.
Table 7. Faults/Alarm messages
Code Description
0 None of the alarms have been triggered
1 Over current protection. Input phase currents are greater than the maximum specified value.
2 Grid voltage out of range. Grid voltage is outside the specified range. This protection is active in grid following mode. If the voltage restores, the fault will be automatically reset.
3 Grid frequency out of range. Grid frequency is outside the specified range. This protection is active in grid following mode. If the frequency restores, the fault will be automatically reset.
4 Over power protection. Measured apparent power is greater than the maximum allowed apparent power.
5 Wind speed out of range.

Component dialogue box and parameters

The Wind Power Plant (Generic) dialogue box consists of four tabs for specifying parameters of the component. Unit [pu] is associated to nominal values, which are inserted as general tab parameters or derived from them.

Tab: "1 - General"

In this component tab, the general parameters of the Wind Power Plant and the grid can be specified.

Figure 3. Wind Power Plant (Generic) "1 - General" parameters
Table 8. Wind Power Plant model "1- General" parameters description
Parameter Code name Description
Nominal active power Pnom Wind Power Plant nominal active power. [W]
Nominal apparent power Snom Wind Power Plant apparent active power. [VA]
Nominal converter line voltage Vnom_LL Wind Power Plant nominal line voltage. [V]
Nominal frequency fnom Nominal frequency of the grid that converter is connected to. [Hz]
Include transformer include_transformer Include the transformer in the Wind Power Plant power stage model.
Nominal grid line voltage Vnom_sec_LL Nominal grid voltage that converter is connected to. [V]

Tab: "2 - Wind Turbine"

In this component tab, parameters that are related to the Wind Power plant can be specified.

Figure 4. Wind Power Plant model "2 - Wind Turbine" parameters
Table 9. PV Power Plant model "2 - PV" parameters description
Parameter Code name Description
Cut-in wind speed v_cut_in Wind Power Plant cut in wind speed. [m/s]
Nominal wind speed v_rated Wind Power Plant nominal wind speed. [m/s]
Rotational speed range rot_speed Turbine rotational speed range. [RPM]

Tab: "3 - Grid codes"

In this component tab, different Grid code parameters can be specified. Currently, LVRT (Low Voltage Ride Through), VoltVAr, HzWatt, and VoltWatt functionalities are supported.

Figure 5. Wind Power Plant (Generic) "3 - Grid codes" LVRT parameters
Table 10. Wind Power Plant (Generic) "3 - Grid codes" LVRT parameters
Parameter Code name Description
LVRT requirement lvrt_req Automatically parametrizes voltage and time points according to the chosen requirements. If the Custom option is selected, voltage and current points become available for editing.
Voltage points vs_lvrt LVRT curve voltage points. [pu]
Time points ts_lvrt LVRT curve time points. [s]
Preview LVRT curve preview Displays the created LVRT curve.
Figure 6. Wind Power Plant (Generic) "3 - Grid codes" VoltVAr parameters
Table 11. Wind Power Plant (Generic) "3 - Grid codes" VoltVAr parameters
Parameter Code name Description
VoltVAr requirement voltvar_req Allows for defining voltage and reactive power points. Currently, only the Custom option is supported.
Voltage points vs_voltvar VoltVAr curve voltage points.
Reactive power points qs_voltvar VoltVAr curve reactive power points.
Preview VoltVAr curve preview_voltvar Displays the created VoltVAr curve.

If LVRT and VoltVAr functionalities are both enabled, then the VoltVAr curve has priority over the LVRT reactive power contribution setting (Q_contribution).

The VoltVAr curve is linearly extrapolated for voltage values below and above the minimum and maximum values. Also, the curve is limited by a maximum value of reactive power which can be produced or stored. This limit is calculated as Q m a x = 1 + o p c _ p u *   Q n o m , where opc_pu is the overpower capability.

Figure 7. Wind Power Plant (Generic) "3 - Grid codes" HzWatt parameters
Table 12. Wind Power Plant (Generic) "3 - Grid codes" HzWatt parameters
Parameter Code name Description
HzWatt requirement hzwatt_req Allows for defining frequency and active power points. Currently, only the Custom option is supported.
Frequency points fs_hzwatt HzWatt curve frequency points.
Active power points ps_hzwatt HzWatt curve active power points.
Preview HzWatt curve preview_hzwatt Displays the created HzWatt curve.

If LVRT and HzWatt functionalities are both enabled, then the HzWatt curve has priority over the LVRT active power contribution setting.

If the frequency value is below the minimum value or above the maximum value, then the Grid frequency out of range error will appear. The HzWatt curve is limited by a maximum value of active power which can be produced. This limit is calculated as P m a x = 1 + o p c _ p u *   P n o m , where opc_pu is the overpower capability.

Figure 8. Wind Power Plant (Generic) "3 - Grid codes" VoltWatt parameters
Table 13. Wind Power Plant (Generic) "3 - Grid codes" VoltWatt parameters
Parameter Code name Description
VoltWatt requirement voltwatt_req Allows for defining voltage and active power points. Currently, only the Custom option is supported.
Voltage points vs_voltwatt VoltWatt curve voltage points.
Active power points ps_voltwatt VoltWatt curve active power points.
Preview VoltWatt curve preview_voltwatt Displays the created VoltWatt curve.

If LVRT and VoltWatt functionalities are both enabled, then the VoltWatt curve has priority over the LVRT active power contribution setting. But, if HzWatt and VoltWatt functionalities are both enabled, then the HzWatt curve has priority over the VoltWatt curve.

The VoltWatt curve is linearly extrapolated for voltage values below and above the minimum and maximum values. Also, the curve is limited by a maximum value of active power which can be produced. This limit is calculated as P m a x = 1 + o p c _ p u *   P n o m , where opc_pu is the overpower capability.

Tab: "4 - Conv. Extras"

In this component tab, additional parameters that are related to the converter can be specified.

Figure 9. Wind Power Plant model "4 - Conv. Extras" parameters.
Table 14. Wind Power Plant (Generic) "4 - Conv. Extras" parameters description
Parameter Code name Description
Input filter impedance wL_pu Input filter impedance. Input filter is a simple L type filter. See the Wind Power Plant (Generic) power stage. [pu]
Transformer impedance Zt_n Determines the transformer impedance. The position of this transformer is shown in Wind Power Plant (Generic) power stage. [pu]
DC link voltage margin dc_link_margin Voltage margin over the minimal allowed DC link voltage. This value restricts the maximum voltage that a converter can generate. [pu]
Shunt resistance Rshunt_pu The value of the shunt resistances that are used for the measurement of phase voltages at the converter input. The position of shunts is shown in Wind Power Plant (Generic) power stage image. [pu]
Faster execution rate Tfast The Faster execution rate at which part of the inner signal processing of the component will be executed. Should be approximately 5 to 10 times faster than the Slower execution rate. [s]
Slower execution rate Tslow The Slower execution rate, at which part of the inner signal processing of the component will be executed. This execution rate is inherited by the connected UI subsystem. Should be approximately 5 to 10 times slower than the Faster execution rate. [s]

Tab: "5 - Grid Extras"

In this component tab, additional parameters that are related to the grid can be specified.

Figure 10. Wind Power Plant model "5 - Grid Extras" parameters.
Table 15. Wind Power Plant (Generic) "5 - Grid Extras" parameters description
Parameter Code name Description
Grid Short Circuit power Sg_sc_pu Short circuit apparent power of the grid that the converter is connected to. This parameter doesn't influence the power stage of the model, only the control part. Stable operation of the converter can be achived by tuning this parameter. [pu]
Grid inductive power factor PFg Power factor of the grid that the converter is connected to. This power factor occurs when the grid is short-circuited. This parameter doesn't influence the power stage of the model, only the control part. Stable operation of the converter can be achieved by adjusting this parameter. [pu]

Example

Overall behavior and control methodologies can be better understood with the use of the given example:

Model name: wind power plant gen.tse

SCADA interface: wind power plant gen.cus

Path: /examples/models/microgrid/wind turbine//wind power plant (generic)