Harmony
HARMONic stabilitY assessment of PE-penetrated power systems
Loading...
Searching...
No Matches
WT_type_4.h
Go to the documentation of this file.
1#ifndef _WT_TYPE_4_H_
2#define _WT_TYPE_4_H_
3
9#include "RES_base.h"
10
16class WTtype4 : public RES_base {
17 friend class PowerFlow;
18public:
25 WTtype4(const string& symbol, const std::string& location, const vector<double>& parameters);
26
28
29private:
30 // Grid parameters
31 double Vm = 34.5e3; // Grid voltage magnitude (V)
32 double f1 = 50.0; // Grid frequency (Hz)
33 double Pwt = 3.2e6; // Wind turbine power (W)
34 double Vdc = 1000; // DC link voltage (V)
35
36 // PLL Parameters
37 double Kp_pll = 0.93; // PLL proportional gain
38 double Ki_pll = 50; // PLL integral gain
39
40 // Current Controller
41 double Kpi = 0.053; // Proportional gain
42 double Kii = 30.59; // Integral gain
43
44 // Delay
45 double Tdelay = 0.001; // Delay in seconds
46
47 // Second-order filter parameters
48 double wn = 1.23e6; // Natural frequency (rad/s)
49 double zeta = 0.707; // Damping ratio
50
51 // Filter Parameters - 2 values
52 double Rf = 0.095; // Filter resistance (Ohms)
53 double Lf = 0.0045; // Filter inductance (H)
54
55 // reference values
56 double Id_ref = -75.73l; // Reference Id current (A)
57 double Iq_ref = 0.0; // Reference Iq current (A)
58};
59
60#endif
Base class for renewable energy source (RES) plant models.
Combined AC/DC optimal power flow solver.
Definition Powerflow.h:49
Common base for wind and PV plant elements.
Definition RES_base.h:16
Type 4 wind turbine with full-scale back-to-back converter and filter.
Definition WT_type_4.h:16
~WTtype4()
Definition WT_type_4.h:27