You are on page 1of 58

A national laboratory of the U.S.

Department of Energy Office of Energy Efficiency & Renewable Energy

National Renewable Energy Laboratory


Innovation for Our Energy Future

Electrical Model Development and Validation for Distributed Resources


M.G. Simes, B. Palle, S. Chakraborty, and C. Uriarte
Colorado School of Mines Golden, Colorado

Subcontract Report
NREL/SR-581-41109 April 2007

NREL is operated by Midwest Research Institute Battelle

Contract No. DE-AC36-99-GO10337

Electrical Model Development and Validation for Distributed Resources


M.G. Simes, B. Palle, S. Chakraborty, and C. Uriarte
Colorado School of Mines Golden, Colorado NREL Technical Monitor: Benjamin Kroposki
Prepared under Subcontract No(s). XAT-5-55150-01

Subcontract Report
NREL/SR-581-41109 April 2007

National Renewable Energy Laboratory


1617 Cole Boulevard, Golden, Colorado 80401-3393 303-275-3000 www.nrel.gov Operated for the U.S. Department of Energy Office of Energy Efficiency and Renewable Energy by Midwest Research Institute Battelle Contract No. DE-AC36-99-GO10337

NOTICE This report was prepared as an account of work sponsored by an agency of the United States government. Neither the United States government nor any agency thereof, nor any of their employees, makes any warranty, express or implied, or assumes any legal liability or responsibility for the accuracy, completeness, or usefulness of any information, apparatus, product, or process disclosed, or represents that its use would not infringe privately owned rights. Reference herein to any specific commercial product, process, or service by trade name, trademark, manufacturer, or otherwise does not necessarily constitute or imply its endorsement, recommendation, or favoring by the United States government or any agency thereof. The views and opinions of authors expressed herein do not necessarily state or reflect those of the United States government or any agency thereof. Available electronically at http://www.osti.gov/bridge Available for a processing fee to U.S. Department of Energy and its contractors, in paper, from: U.S. Department of Energy Office of Scientific and Technical Information P.O. Box 62 Oak Ridge, TN 37831-0062 phone: 865.576.8401 fax: 865.576.5728 email: mailto:reports@adonis.osti.gov Available for sale to the public, in paper, from: U.S. Department of Commerce National Technical Information Service 5285 Port Royal Road Springfield, VA 22161 phone: 800.553.6847 fax: 703.605.6900 email: orders@ntis.fedworld.gov online ordering: http://www.ntis.gov/ordering.htm This publication received minimal editorial review at NREL

Printed on paper containing at least 50% wastepaper, including 20% postconsumer waste

Table of Contents
1 2 3 4 Introduction....................................................................................................................................1 Methodology ..................................................................................................................................2 Model of the Backbone .................................................................................................................4 Diesel Generator............................................................................................................................5

4.1 4.2
5

Mathematical Analysis...........................................................................................5 Simulation Results .................................................................................................6 Mathematical Analysis...........................................................................................9 Simulation Results .................................................................................................9 Mathematical Analysis.........................................................................................13 6.1.1 d-q Axis Theory .......................................................................................13 6.1.2 Anti-Islanding Schemes ...........................................................................15 6.1.3 Constant Current Control.........................................................................16 6.1.4 Constant Power Control...........................................................................18 Simulation Results ...............................................................................................18 Mathematical Analysis.........................................................................................32 Simulation Results ...............................................................................................33 Mathematical Analysis.........................................................................................34 Simulation Results ...............................................................................................36 8.2.1 Microturbine ............................................................................................36 8.2.2 DC Link ...................................................................................................38 8.2.3 PI Controller.............................................................................................40 8.2.4 Grid Connection.......................................................................................40 Diesel Generator ..................................................................................................45 PV Cell Grid Connection .....................................................................................46 Microturbine Grid Connection.............................................................................48

Wind Turbine..................................................................................................................................9

5.1 5.2
6

Inverter .........................................................................................................................................13

6.1

6.2
7

Photovoltaic Cell .........................................................................................................................32

7.1 7.2
8

Microturbine.................................................................................................................................34

8.1 8.2

Backbone Integration..................................................................................................................43

9.1 9.2 9.3


10 11

Conclusion and Future Work .....................................................................................................49 References ...................................................................................................................................50

iii

List of Figures
Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. Figure 15. Figure 16. Figure 17. Figure 18. Figure 19. Figure 20. Figure 21. Figure 22. Figure 23. Figure 24. Figure 25. Figure 26. Figure 27. Figure 28. Figure 29. Figure 30. Figure 31. Figure 32. Figure 33. Figure 34. Figure 35. Figure 36. Figure 37. Figure 38. Figure 39. Figure 40. Figure 41. Figure 42. Figure 43. Figure 44. Microgrid backbone ...............................................................................................4 Diagram of the three-phase and d-q windings .......................................................5 D-axis equivalent circuit ........................................................................................5 125-kW diesel generator ........................................................................................6 Woodward governor ..............................................................................................6 Output of diesel generator without mechanical dynamics.....................................7 Output of diesel generator with mechanical dynamics ..........................................8 Maximum value of C p ...........................................................................................9 Wind turbine generator ........................................................................................10 Wind turbine and components .............................................................................10 Wind turbine output .............................................................................................12 Schematic of the GE inverter system...................................................................13 Physical distribution of three stationary axes and a quadrature stationary axis ..14 Average model of the inverter .............................................................................15 Constant current control with voltage feedback ..................................................17 Constant current control with frequency feedback ..............................................17 Constant power control method ...........................................................................18 PLL and d-q axis transformation .........................................................................18 PSCAD model of the GE inverter........................................................................19 PSCAD model of AC feed and diode bridge rectifier .........................................20 VSC averaged model ...........................................................................................21 PI controllers........................................................................................................21 Compensation term for inverter voltage and frequency control ..........................22 Commands for the VSC averaged inverter ..........................................................22 Grid, load models, and breakers ..........................................................................23 RMS inverter voltage...........................................................................................24 Inverter frequency................................................................................................25 d-axis inverter current (voltage)...........................................................................25 q-axis inverter current (frequency) ......................................................................26 DC link voltage (rectifier output) ........................................................................26 Power measurement points ..................................................................................27 Active power injected by the AC feed.................................................................27 Reactive power injected by the AC feed..............................................................28 Active power delivered by the inverter................................................................28 Reactive power delivered by the inverter ............................................................29 Active power injected into the grid......................................................................29 Reactive power injected into the grid ..................................................................30 Active power absorbed by the load......................................................................30 Reactive power absorbed by the load ..................................................................31 PV cell equivalent circuit.....................................................................................32 PV cell current .....................................................................................................33 PV cell voltage.....................................................................................................33 Block diagram of a microturbine .........................................................................34 Total system .........................................................................................................36 iv

Figure 45. Figure 46. Figure 47. Figure 48. Figure 49. Figure 50. Figure 51. Figure 52. Figure 53. Figure 54. Figure 55. Figure 56. Figure 57. Figure 58. Figure 59. Figure 60. Figure 61. Figure 62. Figure 63. Figure 64. Figure 65. Figure 66. Figure 67.

Microturbine ........................................................................................................37 Microturbine output voltage ................................................................................37 Microturbine output current.................................................................................38 Microturbine output power ..................................................................................38 Capacitor block ....................................................................................................39 Capacitor voltage block .......................................................................................39 DC link voltage ....................................................................................................39 PI control block....................................................................................................40 Modulation factor.................................................................................................40 Grid connection....................................................................................................41 Power profile........................................................................................................41 Output power .......................................................................................................42 Microgrid backbone PSCAD ............................................................................43 Bus voltage...........................................................................................................44 Grid simulator ......................................................................................................44 Load simulator .....................................................................................................45 Active power diesel generator ..........................................................................46 Reactive power diesel generator .......................................................................46 PV output voltage ................................................................................................47 Inverter output frequency.....................................................................................47 Inverter output voltage.........................................................................................47 Power injected from the inverter..........................................................................48 Microturbine grid connection ..............................................................................48

List of Tables
Table 1. Table 2. Table 3. Performance Parameters ......................................................................................11 Rotor Parameters..................................................................................................11 Microturbine parameters ......................................................................................35

vi

Introduction

This project focuses on the development of electrical models for small (1-MW) distributed resources (DR) at the National Renewable Energy Laboratorys (NRELs) Distributed Energy Resources Test Facility (DERTF). DR include all generation (e.g., photovoltaics, wind turbines, fuel cells, microturbines, and engines) and storage (e.g., batteries and flywheels) located at or near loads. The DERTF includes a Hybrid Power Test Bed, to which multiple DR are connected. These devices include wind turbines, a diesel generator, a microturbine, two village simulator load banks, and one alternating current-source (AC-source) grid simulator. The purpose of this project is to provide NREL with the ability to conduct electrical power system modeling and analysis on the distribution system. This capability will allow NREL to examine the effects of multiple distributed generation units at various penetration levels on the electrical power system. The first step of the project was to discuss which DR would be integrated into the microgrid. After that was defined, a mathematical analysis was performed for each component. Most of the modeling was based on the information contained in [1]. Before modeling the microgrid, it was necessary to determine which simulation software would be most appropriate. Of the software packages tested and analyzed, it was determined that PSCAD would be most suitable for this task. With the mathematical analysis done and the appropriate software chosen, the modeling of the backbone of the microgrid began. The purpose was to analyze the system and the interactions of the DR with one another. Each machine was modeled individually and then inserted onto the grid. Interactions between models and the microgrid could then be monitored and adjusted to match their physical counterparts at the NREL testing facility. The next step of this research is to model a fuel cell and integrate it into the microgrid. In addition, validation of the developed models through actual testing of multiple types of DR must be done to examine the electrical impacts of multiple DR on the electrical power system.

Methodology

NREL, in collaboration with the Colorado School of Mines, developed advanced models for multiple DR. The work developed in this project can be used to understand and model the electrical effects of multiple DR on the distribution system and to determine the effects of large penetrations of DR. The following methodology was adopted for this project: 1. DR model literature search A literature search for available DR electrical models was conducted for inverters, synchronous generators, microturbines, photovoltaic (PV) cells, and wind turbines and induction generators [1, 2, 4, 6, 7]. This task helped bring together in a central location the current electrical models for the various types of DR. Most of the models came from [1], but the PV model was based on [2]. 2. Electrical system modeling software evaluation This part of the project involved selecting the best simulation software for analysis of electrical power systems. The software chosen was PSCAD. PSCAD is a power-system simulator for the design and verification of power quality studies, power electronic design, distributed generation, and transmission planning. It was developed by the Manitoba HVDC Research Center and has been in use since 1975. PSCAD is a graphical front end to EMTDC for creating models and analyzing results. In PSCAD, one combines blocks to form a power network. These blocks are actually FORTRAN code, which call for an EMTDC code library to combine them into executable files. Running these files runs the simulations, and the results can be picked up by PSCAD on the run. PSCAD is suitable for the NREL DERTF for several reasons. PSCAD has fully developed models of various devices used in the NREL facility. The library includes models of synchronous and induction machines, transformers, three-phase converters, relays, breakers, cables, wind turbines, and transmission lines. Saturation, magnetizing, and leakage inductances can be disabled or enabled in the rotating machine models. If enabled, up to 10 saturation curve points can be given. PSCAD also offers tools to simulate various faults on the power system. Turbine modelsincluding wind turbines, governor, and other miscellaneous modelsare also in the PSCAD library. In addition, PSCAD has models that generate wind speed for the wind turbine. In PSCAD, systems may consist of electrical and control-type components, which may be interconnected to allow for an all-inclusive simulation study. The control systems modeling function section of the PSCAD library provides a complete set of basic linear and nonlinear control components. These components can be combined into larger, more elaborate systems. Outputs from control components can be used to

control voltage and current sources, switching signals, and firing pulses for thyristors, gate turn-off thyristors, and insulate gate bipolar transistors. Control components can also be used for signal analysis, and outputs may be directed to online plots or meters. In addition, PSCAD has an inbuilt model for a six-pulse SCR converter. Converter models with other switching devices and firing circuits can be built using the control systems modeling function library. Models of fuel cells or other devices not available in PSCAD can be built using this library and be added to the master library. Users can write subroutines for any unavailable components in FORTRAN or C (C++). As in Simulink, multiple modules can be built inside a single project, and each module can contain other modules. This provides a hierarchical modeling capability. PSCAD has an interface to Simulink, but it is not suitable for continuous and simultaneous simulations. PSCAD calls Simulink, which runs a whole simulation and then returns the result to PSCAD. Modeling in the PSCAD environment is not as intuitive as it is in circuit simulators such as PSIM. However, once one gets used to wiring and other simulation controls, building models in PSCAD is relatively easy. PSCAD has complete models of most of the devices used in the NREL facility. Models of other devices [such as fuel cells and pulse-width modulated (PWM) inverters] that are not available in PSCAD can be built by the user. PSCAD has the tools to implement control algorithms such as peak-power tracking for PV cells or wind turbines. Graphing, plotting, and exporting results are easy. Therefore, PSCAD is suitable for this simulation study. 3. DR model development Under this task, models of DR such as microturbines, PV cells, and diesel generators were developed. Electrical models of inverters were also developed. Each model was developed and tested individually and then connected to a three-phase distribution system. 4. Validation testing of developed models This step is yet to be implemented. It consists of using the models developed in Step 3 to simulate the electrical configurations of DR at the NREL DERTF. Testing will verify the model transient and steady-state models of electrical power flow. 5. Final report and presentation This report details the research conducted under this project. It includes information about the availability of models and software to conduct analysis of the electrical impacts of distributed generation on the electrical power system and the selection of a specific modeling program. It also reports on the models that were developed. Validation under actual test conditions is yet to be conducted.

Model of the Backbone

Figure 1 shows the microgrid at the NREL DERTF. The main components of the system are a 250-kVA grid simulator; a 120:480-V, 250-kVA transformer; a 480-V bus; a 165-kW404kVAR variable R-L-C load bank; a 125-kW diesel generator; a 60-kW wind turbine; a 33-kW microturbine; and a few three-phase and single-phase PWM inverters to inject power into the bus from direct current (DC) sources.

Figure 1. Microgrid backbone

The following sections discuss each DR.

Diesel Generator

4.1 Mathematical Analysis The diesel generator used a synchronous machine model available in the PSCAD library. Equation 1 shows the transformation of the stator windings into equivalent windings, using the dq0 transformation, as follows:
U d cos() cos( 120o ) cos( 240o ) Va U o o q = sin( ) sin( 120 ) sin( 240 ) Vb V 1 1 U0 1 2 2 2 c

(1)

The three-phase rotor winding may be transformed into a two-phase equivalent winding, with additional windings added to each axis, as shown in Figure 2.

Figure 2. Diagram of the three-phase and d-q windings [3]

The d-axis equivalent circuit for the generalized machine is shown in Figure 3.

Figure 3. D-axis equivalent circuit [3]

The mechanical torque is calculated by Equation 2 [3, 11].


T = q I D1 d I Q1 q = L1I Q1 + L MQ (I Q1 + I Q 2 + I Q 3 ) d = L1 I D1 + L MD (I D1 + I D 2 + I D3 )

(2)

4.2 Simulation Results Figure 4 is the 125-kW synchronous generator driven by a diesel engine. Included in this schematic is the synchronous generator with exciter and timers with an AC source on the right side representing an infinite bus to maintain voltage and a 50-F capacitor for power correction. L2N and S2M send a signal to the generator at 10 and 9.5 s, respectively, to allow it to operate as a machine with mechanical dynamics rather than as a simple AC source. This model is a better representation of a real-time system. The signal BRK is used to close the breaker at 0.5 s to allow power flow through the system.
0.48 Tim er L2N Enab Mech Dynam ics Vref Exciter_(AC1A) VT Ef0 IT 3 Ef If v 3 If Ef0 A Ef If V Te Tm TM W * 1 S RRL BRK w Tm 50.0 0->1 @ 10.0 Sec Tim er S2M Source to Machine 0->1 @ 9.5 Sec TIME 1 BRK

Close BRK at 0.5 Second

3 Phase RMS

TIN

Figure 4. 125-kW diesel generator

Below is the control system, also known as the Woodward governor, for the diesel engine. It consists of a set of controlswhose input is the offset of the actual speed and the reference speedthat control the actual diesel engine (labeled IC engine) and result in a controlled output torque that is sent to the input torque of the synchronous generator.
w W SPEED D + F N(s) D(s) Order = 2 * 17 1 + sT1 G 1 + sT2 G 1 + sT 1 sT e-sT TS1 FL IC Engine Tm TS2

Dies el engine m odel to represent cylinder torque ripple and m isfire

WREF

Figure 5. Woodward governor

Output real power, reactive power, and terminal voltage are measured at the generators output. Below are output graphs of the synchronous machine running solely as a source without transitioning to machine with the rotor unlocked and the mechanical dynamics enabled. Figure 6 provides the output graphs of the generator. The desired output of 125 kW is achieved as is the desired terminal voltage, which at 1 p.u. is equal to 480 V. The blue output represents the diesel generator; the green line represents the AC source. The negative power output of the AC source represents power supplied to the source from the diesel generator.
REA L POWER GEN REA L POWER SRC

150 125 100 75 50 25 0 -25 -50 -75 20 10 0

kW

REA CTIV E POWER GEN

REA CTIV E POWER SRC

kVAR

-10 -20 -30 -40 TERMINA L V OLTA GE 1.0008 1.0005 1.0002 1.0000 0.9997 0.9995 0.9992 0.9990 0.0 5.0 10.0 15.0 20.0

Figure 6. Output of diesel generator without mechanical dynamics

Figure 7 displays the output when the machine transitions from a source to a machine at t = 9.5 s and the rotor is unlocked at t = 10 s, enabling machine dynamics. In the following graphs, it is clear the machine is experiencing transient problems in the large power output sine wave.

p.u.

300 250 200 150 100 50 0 -50 -100 100 50 0 -50 -100 -150 -200 -250 1.040 1.020 1.000 0.980 0.960 0.940 0.920 0.900 0.0

REAL POWER GEN

REAL POWER SRC

kW

REACTIVE POWER GEN

REACTIVE POWER SRC

kVAR

TERMINAL VOLTAGE

p.u.

5.0

10.0

15.0

20.0

Figure 7. Output of diesel generator with mechanical dynamics

Wind Turbine

5.1 Mathematical Analysis The wind turbine also used a model in the PSCAD library. One way to control the active power of a wind turbine is to regulate the power coefficient, Cp, of the rotor turbine. Cp can be calculated by [4]:
116 Cp ( , ) = 0.22 0.4 5 e i 1 1 0.035 = i + 0.08 3 + 1
12.5 i

(3)

Where:
= tip speed ratio = pitch angle.

The maximum power coefficient can be determined graphically. An example is given in Figure 8. With the maximum Cp value, it is possible to determine the optimum tip speed, where there is maximum power capture. With this, the optimum turbine speed curve is obtained and used as a reference in active power control.
0,6 Cp 0,5 0,4 0,3 0,2 0,1 0 0 2 4 6 8 TSR 10

Figure 8. Maximum value of C p [1]

5.2 Simulation Results The 65-kW Northern Power wind turbine also used a model available in PSCAD. Figure 9 is the synchronous generator that closely resembles the actual wind turbine generator. Included in the schematic is the exciter, the generator, an infinite bus with an AC source, and a 50-F capacitor for power factor correction. The input, Tm, is at the bottom of the synchronous machine. The input torquewhich usually is driven by a turbine, engine, or in this case, a windmillenters here.

0.48

TIME

S2M

TIME

L2N

Vref Exciter_(AC1A) VT Ef0 IT 3 Ef If Ef Ef0 Ef If VT 3 A Sync1 IT Te Tm w Tm Tm 0 Testdy w B 50.0 C 0.001 3 Phas e RMS

Figure 9. Wind turbine generator

Figure 10 is a schematic of the wind turbine and its components, including an input wind speed that may be adjusted to ramp, gust, or create wind noise and a blade angle pitch dynamics control.
ES ES Wind Source Mean Vw Vw W A B Ctrl CNT 376.99 P Vw Wind Turbine MOD 2 Type Tm

w 1.0

Ctrl = 1 * N N/D

Beta

D 14.0 Pole pairs BETA

A six Pole Machine Mechanical speed = W(pu)*2*pi*f/(pole paris)


w 1.0 A B Ctrl P 0.58333 TIME CNT Ctrl = 1 * 376.99 A B Ctrl Wm Ctrl = 1 Pg

Beta Wind Turbine Governor MOD 2 Type

Signal CNT enables the pitch angle dynamics

Figure 10. Wind turbine and components

10

To make the simulation as close as possible to the real turbine, actual values were taken from the Northern Power wind turbine Operation and Maintenance Manual. The extracted values are provided in tables 1 and 2.
Table 1. Performance Parameters Performance Parameters Nominal power rating Rated wind speed Cut-in wind speed Cut-out wind speed Survival wind speed 100 kW 14 m/s 4 m/s 25 m/s 70 m/s

Table 2. Rotor Parameters Rotor Rotor diameter Swept area Rotational speed 19.1 m 287 m
2

63.5 rpm

Figure 11 depicts the output of the Northern Power wind turbine. For simple analysis, the wind speed was set at a constant 14 m/s, and pitch angle dynamics were disabled to allow study of the effects of a constant wind speed without change in wind direction. The fluctuation of real power and machine speed () is due to the synchronous machine enabling mechanical dynamics and unlocking the rotor, which results in a large out flux of output power. After about 10 s, the machine settles to a constant speed of 377 rad/s (60Hz).

11

Untitled 25.0 20.0 15.0 10.0 Power 5.0 0.0 -5.0 -10.0 -15.0 50 40 30 20 Reactive Power 10 0 -10 -20 -30 -40 -50 -60 378.50 378.00 Machine Speed (elec) 377.50 377.00 376.50 376.00 w (rad/s) Q (MVar) P (kW)

0.0

5.0

10.0

15.0

20.0

25.0

Figure 11. Wind turbine output

12

Inverter

6.1 Mathematical Analysis Figure 12 shows the main schematic of the inverter model. The main components of the system are a 480-V AC feed, a 489:575 star-delta transformer, a three-phase diode bridge rectifier, a three-phase PWM inverter modeled using controlled current sources, a three-phase balanced R-L-C load, and breakers for connecting the system to load and utility. The modeling of each of these components in PSCAD is explained in later sections. A d-q axis reference frame is used to control the inverter voltage and frequency by controlling the d-axis and q-axis currents, respectively. Initial results from the original simulation model are shown in the results section. Later in the results section, power measurements taken at various points in the schematic are presented. The p.u. system of units was used to display some of the results. Base value for voltage is 0.2771 kV (phase), and base current is 0.1208 kA (phase).

Figure 12. Schematic of the GE inverter system

6.1.1 d-q Axis Theory Figure 13 shows a physical distribution of the three stationary axes as, bs, and cs , which are120 apart from one another, and of the Cartesian axes, where qs is a horizontal axis aligned with phase as and a vertical axis rotated by 90 is indicated by ds. Three-phase voltages varying in time along the axes as, bs, and cs can be algebraically transformed onto two-phase voltages varying in time along the axes ds and qs [10].

13

Figure 13. Physical distribution of three stationary axes and a quadrature stationary axis

The transformations are shown in Equation 4.


Vas 1 V 1 bs = 2 Vcs 1 2 s Vqs 1 s Vds = 0 Vs 0s 1 2 s 1 Vqs 3 s 1 Vds s 2 V0s 3 1 2 0 0 V as 3 3 Vbs 3 3 1 1 Vcs 2 2 0

(4)

Three methods commonly used to control a grid-connected inverter feeding power from a DG source are [12]: Constant current control Constant power control Constant DC bus voltage control.

This report presents the first two inverter control methods with anti-islanding schemes. The control block diagrams presented used the average model of the PWM inverter. The average model is usually preferred over the switching model for simulation purposes because the average model needs less computation time. In addition, small signal analysis can be performed on the average model. The average model of the inverter with controlled voltage and current sources is shown in Figure 14.

14

Figure 14. Average model of the inverter

6.1.2 Anti-Islanding Schemes Various methods to detect islanding of a DG inverter connected to a grid are discussed in [5]. However, the most commonly used methods are passive inverter-resident methods, active inverter-resident methods, active methods not resident in the inverter, and the use of communications between the utility and the inverter. A report published by GE [6] showed that active inverter-resident methods have advantages over other methods. Active inverter-resident methods use a variety of schemes to cause an abnormal condition in the inverter voltage and/or frequency that can be detected to prevent islanding. The anti-islanding scheme proposed by [6] is based on d-q implementation of the positive feedback concept. The following equations explain the basics of the positive feedback concept with d-q axis modeling. Considering an R-L-C load, active and reactive power can be defined as:
P= V2 R 1 and Q = V 2 C L

(5)

The proposed islanding scheme creates abnormal voltage and frequency conditions (force voltage and frequency of the nominal ranges) to detect islanding. In the voltage feedback method, when the controller detects a change in the d-axis output voltage, it commands an increase in active power, which results in a further increase in d-axis voltage and eventually forces the voltage out of the nominal range. Thus, islanding can be detected.

15

The same analysis can be applied to frequency feedback methods. When the controller detects a change in frequency, it forces the reactive power and results in a further increase or decrease of inverter frequency in the same direction. These two islanding detection schemes can be implemented in the two control methods, as described in the next section.

6.1.3 Constant Current Control In this method, the inverter output currents are controlled to the given reference currents. The error between the measured and reference currents is processed by PI controllers to generate commands for the PWM converter. Block diagrams of the control method are shown in figures 15 and 16. In the first figure, the voltage feedback loop is implemented. In Figure 16, the frequency feedback loop is implemented. These are added as feed-forward terms to the d-axis and q-axis reference currents, respectively. The measured voltage and frequency are passed through a band pass filter operating at a very narrow frequency band, a gain, and a limiter to become a current variation, i, that is added to Idref or Iqref.

16

Figure 15. Constant current control with voltage feedback

Figure 16. Constant current control with frequency feedback

17

6.1.4 Constant Power Control In this method, the active and reactive powers supplied by the inverter are controlled to the given reference values. The error between the measured and reference powers are processed to generate reference current commands. Feed-forward terms for islanding detection similarly can be added to the control scheme.

Figure 17. Constant power control method

6.2 Simulation Results The abc to dqo component in the PSCAD library performs the transformation of threephase stationary frame components to synchronously rotating two-phase reference frame components. The d-q transformation in PSCAD is modified so that q axis leads d axis by 90, as shown in Figure 18. A vector control scheme with the d-axis reference frame oriented along the Phase a voltage vector is used. Direct axis current is used to control the magnitude of the inverter voltage, and quadrature axis current is used to control the frequency. Voltage angle is derived from the PLL block in the PSCAD library. This angle is modified so the waveform described by the cosine (angle) is in phase with Phase a voltage. Figure 19 shows the complete PSCAD model.
AngPLL
90.0 Shift

Egrida Egridb Egridc

Va Vb Vc PLL theta

* EDGa 2.5516
*

ia ib ic

theta abc to dq

id EDGd(p.u.) iq * -1.0 EDGq(p.u.)

B D + theta_grid Pi by 180 AngPLL

* EDGb 2.5516 * EDGc 2.5516

Figure 18. PLL and d-q axis transformation

18

AngPLL * Egrida2.5516 ia ib ic theta abc to dq id iq Egrid_d Egrid_d(p.u.) * -1.0 Egrid_q Egrid_q(p.u.) * EDGa 2.5516 * EDGb 2.5516 * EDGc 2.5516 ia ib ic

AngPLL theta abc to dq id EDGd(p.u.) iq * -1.0 EDGq(p.u.)

Vbase=0.2771kV(Phase RMS) V=0.3919kV(Phase peak) 1/V=2.5516 IBase=0.12028 kA (Phase RMS) I=0.1701kA (Phase peak) 1/I=5.8788

dis play

* Egridb2.5516 * Egridc2.5516

2.3 R 0.003395 L 2072.0 C 0.1048 [MW] 0.04016 [MVAR] Iouta EDGa Ioutb Ph EDGb 1.0e-005 Ioutc Ph Ph 90.0 0.0 dVpnb V 1.0e-005 EDGc 1.0e-005 C DG_BRK A B Ic Ia Ib 0.01 0.01 0.01 0.0025 0.0025 0.0025 Egrida B Egridb C Egridc C B Iloadc 3 Phase RMS Vt A Vt 0.1 [MW] -0.0008449 [MVAR] LOAD_BRK A Iloada Iloadb

R L Cap

A 1.1e-006 B C

A B C #2

0.15 [MVA] #1 0.575

A B C

D 90.0 Vpn dlma dlmb dlmc 0.0 V dVpna 10000.0

A B C
D D D

Igrida

Igridb

0.0 V dVpnc

Igridc

0.48

90.0

Cap

Cap +

Cap +

R+

R+

R+

L+

L+

L+

1.327e-007 [MW] 2.087e-007 [MVAR]

step-up transformer primary: 0.48KV secondary: 0.575KV

three-phased rectifier

Vpn

Vpn Iouta

* * dVpna

dlma

Vpn 1/Sqrt(2) scale factor

Util_BRK

The relationship between the input signal and output voltage EDGa=sqrt(2)*dVpna EDGb=sqrt(2)*dVpnb EDGc=sqrt(2)*dVpnc

Vpn_corr

Vpn_corr IcomA

three-phased VSC averaged model


Ioutb Vpn_corr Logic Breaker Timed Util_BRK Util_BRK Ioutc Logic Breaker Timed LOAD_BRK Vpn_corr IcomC * dVpnc IcomB * dVpnb

C +

A Re+

B Re+

Re

dlmb Le Le+ Le+

0.012 Re

Re

0.0003056 L

Le

grid impedance
1.0 factor

0.012 [ohm] 0.0003056 [H]


* dlmc

Open@t0 DG_BRK Logic Breaker DG_BRK Timed

Vbase=0.2771kV(Phase RMS) V=0.3919kV(Phase peak) IBase=0.12028 kA (Phase RMS) I=0.1701kA (Phase peak)
* Fre 0.40885 Iq AngPLL B PLL theta D + theta_grid Pi by 180 * AngPLL * Ia 5.8788 * Ib 5.8788 Ic * 5.8788 ia ib ic Iq N omiga theta abc to dq id iq Id Id Id * -1.0 Iq Iq ai_frequency B D + + F om iga fre fre 0.0 IqREF N/D D 60.0 Normalized ErrQ Enb_ErrQ D B + + ErrD Enb_ErrD * 1.0 IdREF

Egrida Egridb Egridc

Va Vb Vc

P I P I Id * Fre 0.40885 D D

B + dD dD dQ AngPLL + F * dQ dQ dD * -1.0

id iq theta dq to abc

ia IcomA ib IcomB ic IcomC

F ai_voltage

Egrid_d TIME 1 CTROL1 0 A Ctrl = 1 Enb_ErrD 0 A Ctrl = 1 Enb_ErrQ

* 2

sT 1 + sT

G 1 + sT

* 0.0 EnVoltaegAI

ai_voltage ai_voltage

K=2 Tw=1/(2*pi*1)=0.159 T0=1/(2*pi*10)=0.0159

B ErrD Ctrl Disable Compensator before 0.2 seconds

B ErrQ Ctrl

CTROL1

CTROL1 TIME

Phase lock loop The d-axis voltage is aligning with the phase a voltage (in lock) and the q-axis voltage is 90 degree leading the d-axis voltage. The waveform descriped by cos(angle) should be in phase with phase a voltage.

Fre

* 80

sT 1 + sT

G 1 + sT

island K=80
* 0.0 EnFrequencyAI ai_frequency ai_frequency Tw=1/(2*pi*1) T0=1/(2*pi*10)

Figure 19. PSCAD model of the GE inverter

19

1.0 factor

90.0 Shift

Inverter modeling included: 480-V feed, transformer, and diode bridge rectifier Figure 20 shows the PSCAD model of a 480-V AC source with a transformer feeding the diode bridge rectifier. The transformer is a grounded star-delta rated at 150 kVA with a turn ratio of 480:575. Diode models in PSCAD are arranged to form a threephase diode bridge rectifier. A large (1 mF) capacitor is connected across the DC side of the rectifier.

A 1.1e-006 B C

A B C #2

0.15 [MVA] #1 0.575

A B C

D 10000.0

A B C
D D D

0.48

Figure 20. PSCAD model of AC feed and diode bridge rectifier

Inverter model A three-phase voltage source converter (VSC) averaged model was used to model a PWM converter, as shown in Figure 21. The commands for the PWM converter are generated by two PI control loops that control the voltage magnitude and frequency at the converter output. Ia, Ib, and Ic and Egrida, Egridb, and Egridc are transformed to d-q quantities for the PI control loops, as shown in Figure 22. IdREF is the reference value for the d-axis inverter current, and IqREF is the reference value for the q-axis inverter current. These are compared with the actual currents, and the error signals are passed into two PI controllers. Figure 18 shows that a feed-forward term is being added to the error signals. The two feed-forward terms, ai_voltage and ai_frequency, are generated from the actual inverter voltage and frequency. However, these signals are currently disabled in the model, and the simulation would not run if these signals were enabled. Compensation terms are added to the PI controller outputs for crosscoupling effect. The controllers are disabled for the first 0.2 s.

20

Iouta EDGa Ioutb Ph EDGb 1.0e-005 Ioutc Ph Ph dVpnc V F 0.0 90.0 0.0 dVpnb V 1.0e-005 EDGc 1.0e-005

90.0 Vpn dlma dlmb dlmc 0.0

dVpna

0.1048 [MW] 0.04016 [MVAR] Iouta Ioutb Ioutc C DG_BRK A B Ic Ia Ib 0.01 0.01 0.01 0.0025 0.0025 0.0025 Egrida

90.0

3 Phase RMS Vt A B Egridb C Egridc

Vt

Figure 21. VSC averaged model

TIME

1 CTROL1

Ctrl = 1 Enb_ErrD

Ctrl = 1 Enb_ErrQ

B ErrD Ctrl Disable Compensator before 0.2 seconds

B ErrQ Ctrl

CTROL1

CTROL1

* Fre 0.40885 Iq *

P Enb_ErrD I P Enb_ErrQ I Id * Fre 0.40885 D D

B + dD dD dQ AngPLL + F * dQ dQ dD * -1.0

id iq theta dq to abc

ia IcomA ib IcomB ic IcomC

Figure 22. PI controllers

21

Figure 23 shows how the compensation terms ai_voltage and ai_frequency are generated. The terms are supposedly being used to provide better tracking of inverter voltage magnitude and frequency. However, as these signals are multiplied by zero, the voltage and frequency are not tracked directly. The results section shows that the PI controller does not keep the inverter voltage and frequency constant when the grid or load is disconnected from the inverter system.
* 2 sT 1 + sT G 1 + sT

Egrid_d

* 0.0 EnVoltaegAI

ai_voltage ai_voltage

K=2 Tw=1/(2*pi*1)=0.159 T0=1/(2*pi*10)=0.0159

Fre

* 80

sT G 1 + sT

G 1 + sT

* 0.0 EnFrequencyAI

island K=80 ai_frequency ai_frequency Tw=1/(2*pi*1) T0=1/(2*pi*10)

Figure 23. Compensation term for inverter voltage and frequency control

The d-q outputs from the PI controllers are transformer back to a-b-c to generate the commands for the PWM converter. The inverter commands dlma, dlmb, and dlmc and dVpna, dVpnb, and dVpnc shown in Figure 24 are obtained as follows.
id * -1.0 iq theta dq to abc ia IcomA ib IcomB ic IcomC
Vpn 1/Sqrt(2) scale factor

dD dQ AngPLL

TIME

Vpn_corr

Iouta Vpn_corr IcomA * dVpna

dlma Ioutb

* * dVpnb

dlmb Ioutb

* * dVpnb

dlmb

Vpn_corr IcomB

Vpn_corr IcomB

Figure 24. Commands for the VSC averaged inverter

22

Grid and load connections The three-phase inverter outputs are connected to the grid and a variable R-L-C load through two breakers, as shown in Figure 25. These breakers are operated using the timed breaker logic block in PSCAD. The behavior of the inverter simulation model when these breakers are described is shown in the results section.
2.3 R 0.003395 L 2072.0 C 3 Phase RMS Vt A B B C C Iloadc Vt 0.1 [MW] -0.0008449 [MVAR] LOAD_BRK A Iloada Iloadb R L Cap

Igrida

Igridb

Igridc

Cap

Cap +

Cap +

R+

R+

R+

L+

L+

L+

1.327e-007 [MW] 2.087e-007 [MVAR]

Util_BRK

C +

A Re+ Le+ A B

B Re+

1.0 factor

0.012 [ohm] 0.0003056 [H]

Logic Breaker Timed

Util_BRK Util_BRK

Logic Breaker Timed

LOAD_BRK

Open@t0 DG_BRK Logic Breaker DG_BRK Timed

Figure 25. Grid, load models, and breakers

23

1.0 factor

Re Le

0.012 Re Le+

Re

0.0003056 L

Le

grid impedance

The three breakers shown in Figure 25 are operated at the following times: o DG_BRK is closed at 0.2 s to connect the inverter to the grid and load. o Util_BRK is opened at 4 s to disconnect the inverter from the grid. o LOAD_BRK is opened is 10 s to disconnect the R-L-C load from the inverter. Figure 26 and Figure 27 show the inverter RMS output voltage and frequency during the breaker operations. Inverter voltage is expressed in the p.u. system with a base value of 0.2771 kV (phase). Figure 27 shows that the inverter frequency gradually increases when the system is disconnected from the grid. Voltage remains pretty constant during this period. However, when load is disconnected from the system at 10 s, both frequency and voltage change rapidly. This is probably due to the averaged model of the inverter, which has three controlled current sources in the three inverter legs.
DG : Graphs 2.25 Inverter RMS voltage (P.U.) 2.00 1.75 1.50 1.25 1.00 0.75 0.50 0.25 0.00 T(s) 0.0 2.0 4.0 6.0 8.0 10.0 12.0 Vt

Figure 26. RMS inverter voltage

24

DG : Graphs 61.00 60.50 Frequency (Hz) 60.00 59.50 59.00 58.50 58.00 T (s) 0.0 2.0 4.0 6.0 8.0 10.0 12.0 omiga

Figure 27. Inverter frequency

Figures 28 and 29 show the d-axis and q-axis inverter currents, respectively. The reference value for d-axis current is 1.0 (P.U), and the reference value for q-axis current is 0.0 (p.u.). The PI controllers do a good job tracking these reference values until the instant when load is disconnected from the system. The magnitude of the DC link voltage is shown in Figure 30.
DG : Graphs 1.20 1.00 d - axis current (P.U) 0.80 0.60 0.40 0.20 0.00 -0.20 T(s) 0.0 2.0 4.0 6.0 8.0 10.0 12.0 Id

Figure 28. d-axis inverter current (voltage)

25

DG : Graphs 0.350 0.300 q - axis current (P.U.) 0.250 0.200 0.150 0.100 0.050 0.000 -0.050 -0.100 T(s) 0.0 2.0 4.0 6.0 8.0 10.0 12.0 Iq

Figure 29. q-axis inverter current (frequency)

DG : Graphs 1.20 1.00 DC bus voltage (kV) 0.80 0.60 0.40 0.20 0.00 T(s) 0.0 2.0 4.0 6.0 8.0 10.0 12.0 Vpn

Figure 30. DC link voltage (rectifier output)

Active and reactive power measurement points in the schematic are shown in Figure 31. Figure 32 and Figure 33 show the active and reactive power injected by the 480-V AC feed into the system. It delivers about 105 kW of active power and 32 kVAR of reactive power when the R-L-C (23 3.395 mH2072 F) load is connected at the inverter output. Figure 34 and Figure 35 show the active and reactive power delivered by the inverter. The magnitudes are slightly lower than the power delivered by the AC feed, which can be attributed to the switching losses in the diode bridge rectifier and the PWM converter. (The AC sources used in the average model have a small series resistance). Figure 36 and Figure 37 show the active and reactive powers injected into the grid. Both of these are close to zero, which means that no real amount of power is being injected into the grid. Active and reactive power absorbed by the R-L-C load are shown in Figure 38 and Figure 39. The magnitudes of these powers are very close to the power measured at the inverter output.

26

Figure 31. Power measurement points

DG : Graphs 0.250 Active power, Feed (MW) 0.200 0.150 0.100 0.050 0.000 T (s) 0.0 2.0 4.0 6.0 8.0 10.0 12.0 Pf

Figure 32. Active power injected by the AC feed

27

DG : Graphs 0.225 Reactive power, Feed (MVAR) 0.200 0.175 0.150 0.125 0.100 0.075 0.050 0.025 0.000 -0.025 0.0 2.0 4.0 6.0 8.0 10.0 12.0 Qf

T (s)

Figure 33. Reactive power injected by the AC feed

DG : Graphs Pin Active power, Inverter (MW) T (s) 0.100 0.080 0.060 0.040 0.020 0.000 -0.020 0.0 2.0 4.0 6.0 8.0 10.0 12.0

Figure 34. Active power delivered by the inverter

28

DG : Graphs 0.0450 0.0400 0.0350 0.0300 0.0250 0.0200 0.0150 0.0100 0.0050 0.0000 -0.0050 0.0 2.0 4.0 6.0 8.0 10.0 12.0 Qin

Reactive power, Inverter (MVAR)

T (s)

Figure 35. Reactive power delivered by the inverter


DG : Graphs Pg 0.100 Active power, Grid (MW) T (s) 0.080 0.060 0.040 0.020 0.000 -0.020 0.0 2.0 4.0 6.0 8.0 10.0 12.0

Figure 36. Active power injected into the grid

29

DG : Graphs 0.020 Reactive power, Grid (MVAR) 0.010 0.000 -0.010 -0.020 -0.030 -0.040 -0.050 -0.060 0.0 2.0 4.0 6.0 8.0 10.0 12.0 Qg

T (s)

Figure 37. Reactive power injected into the grid

DG : Graphs PL 0.100 0.080 0.060 0.040 0.020 0.000 T (s) 0.0 2.0 4.0 6.0 8.0 10.0 12.0

Active power, Load (MW)

Figure 38. Active power absorbed by the load

30

DG : Graphs 0.020 Reactive power, Load (MVAR) 0.010 0.000 -0.010 -0.020 -0.030 -0.040 -0.050 -0.060 0.0 2.0 4.0 6.0 8.0 10.0 12.0 QL

T (s)

Figure 39. Reactive power absorbed by the load

31

Photovoltaic Cell

7.1 Mathematical Analysis The simulation model of the PV cell is based on the circuit-based model developed in [2]. The schematic of the circuit-based model is shown in Figure 40. The schematic is based on the double exponential equation, which models a PV cell, derived from the physics of the p-n junction.

e (V + IRs 1 V + IRs I = I ph I s e AkT Rp

(6)

BRK

Timed Breaker Logic Open@t0

0.137 Rs 528.45 Rp + Rs

Rs IL Rp Vo

BRK

Vo

IL

150.43 Iph

10.0

Rp

D1

D2

Figure 40. PV cell equivalent circuit

The parameters in the equivalent circuit are derived from the environmental parameters of temperature and irradiance. They are related as shown below.
I ph = K 0 E (1 + K1T ) Rs = K8 + K9 K10T E

(7)

R p = K11e( K12T )

Where: E is the irradiance in W/m2 T is temperature in Kelvin K0-12 are constants specific to a given cell. 32

These constants are derived from the I-V curve of the PV cell. 7.2 Simulation Results The following are the simulation results, with the parameters shown in Figure 1. The temperature used was 25 C. All other parameters were taken from [2]. Figure 41 and Figure 42 show the response of the PV cell to load changes.
0.090 0.080 0.070 Current (kA) 0.060 0.050 0.040 0.030 0.020 0.010 Time ... 0.0 1.0 2.0 3.0 4.0 5.0 Current

Figure 41. PV cell current


0.7520 0.7500 0.7480 Voltage (KV) 0.7460 0.7440 0.7420 0.7400 0.7380 Time ... 0.0 1.0 2.0 3.0 4.0 5.0 PV Voltage

Figure 42. PV cell voltage

33

Microturbine

The microturbine model is connected to the grid through an inverter and a DC link capacitor. A PI controller is used to set the inverter output voltage to match the desired power profile from the microturbine. 8.1 Mathematical Analysis The microturbine model was based on the system of Figure 42 from [1].
KEidc - KXidc
2

w+
^ P

throttle/torque transfer function PI Te + KT w


1 + st t

KEw 1 sJ Bw w KE

idc

Eg +

Vdc

Pout Vdc

^ P

power estimation map


Figure 43. Block diagram of a microturbine

This model assumes that the torque response is a first-order system. The model was modified to accept a constant input shaft speed. Also, the Ke**idc feedback was eliminated because it does not give a voltage value. In this model, the desired power output and shaft speed are set. The system then stabilizes, and the output power follows the desired power. The parameters Ke and Kx are easily obtained through experimentation. Ke is the ratio between no-load voltage and no-load shaft speed. Kx can be determined using Ke and one other operation point.
Ke = VDCno load no load

(8)

VDC1 Ke 1 Kx = 1 VDC1

From these parameters, voltage, power and torque can be found. These equations are used in the model of the microturbine.
Vdc = K e K x I dc Pdc = K e I dc K x I dc = K e I dc K x I dc
2 2

(9)

34

The other parameters, such as the shaft inertia, J; the throttle gain; and the time constant can be obtained through calculation or experimentation. This simulation used constants from a Honeywell microturbine from a University of Wisconsin paper [2]. The values are shown below.
Table 3. Microturbine parameters 0.092 8.594e-5 0.085 10s

Ke Kx J t

The DC link capacitor current is the difference between the microturbine current (I1) and the output current (I2). I2 is the ratio between the output power and the DC link voltage. The voltage in the capacitor can then be calculated with the capacitor differential equation.

I2 =

Pout VDCLink

(10)

VDCLink 1 = (I1 I 2 ) t C
The modulation factor that controls the inverter is given by:

m = K p err + K i err

(11)

The inverter converts the DC voltage from the microturbine into AC voltage to be connected to the AC grid. The output AC voltages are calculated using the equations:
Vdc sin( 260t ) 2 V Vb = m dc sin( 260t 120 ) 2 Vdc Vc = m sin( 260t 240 ) 2 Va = m

(12)

The phase currents are calculated using the electrical equation for voltage across a resistor inductor load.

35

ia 1 = (Va Vag R ia ) t L Finally, the three-phase output power is calculated by: Pout = Va ia + Vb ib + Vc ic

(13)

(14)

8.2 Simulation Results The microturbine model is transformed from a dynamic model into an electrical model using a voltage-controlled voltage source. Figure 44 shows the entire system.
In1 PI Out1

D - + F

V N N/D D 1000.0 A B 0.5 C 0.1 V A B C #2 0.264 0.15 [MVA] #1 0.99 A B B C C BRK_m

Timed Breaker Logic Open@t0 3 Phase RMS Vt_m Vt_m

BRK_m A

A Am B Bm C Cm

Pr

P_out

D N/D N Pm

w V_dc 5000 Microturbine Power Profiledesired shaft speed power Pin I_dc

8.2.1 Microturbine Figure 45 shows the microturbine. The model is based on equations instead of circuit elements. The output voltage is calculated with Equation 9.

1.0e-006 I1 Pm Vd C 1.0e-006 127.0 DClink Vdc_lin Pm 1 D N/D N D N/D N Pm

Figure 44. Total system

36

0.008459 const - D * 2 X Pr

+ F

Pin

1.0 reciprocal

N/D D V_dc

I_dc

0.092 const

B w D + F G 1 + sT D + F * 0.1 1.0 const 1 sT * 0.096 D + + F

P_out

Figure 45. Microturbine

Figure 46, Figure 47, and Figure 48 show the output voltage, current, and power, respectively.

Figure 46. Microturbine output voltage

37

Figure 47. Microturbine output current

Figure 48. Microturbine output power

8.2.2 DC Link The DC link capacitor connects the microturbine to the inverter. The voltage level is used to drive the inverter and the error in the capacitor voltage, and the microturbine voltage is used as the input to the PI controller.

The output current and voltage are calculated with Equation 10. Because I2 is in terms of the DC link voltage, a feedback has to be created. It used a capacitance of 1 F. Figure 49 shows the capacitor block, and Figure 50 shows the capacitor voltage block.

38

I1

Pm

1 Vd

N/D D C

I1 I2 C Vdc_lin

Vdc_link

Figure 49. Capacitor block

I1

D + F

1 sT

Vdc_link

I2 1 N C N/D D

Figure 50. Capacitor voltage block

Figure 51 shows the DC link voltage. It has a constant value of 435 V.

Figure 51. DC link voltage

39

8.2.3 PI Controller The PI controller (Figure 52) helps the output power follow the desired power profile. It uses an error from the difference in DC link voltage and the microturbine voltage to create a modulation factor, m (Figure 53), that will then drive the inverter. The m value is put through a saturation limit between 0 and 1, but under normal operations, it should not get to these boundary conditions. They are in place to keep the inverter model from creating voltages it physically could not create.

The proportional and integral gains Ki and Kp were determined through a trial-and-error method.
* 0.02 D + + F 1 sT * 0.0002 Out1

in

Figure 52. PI control block

Figure 53. Modulation factor

8.2.4 Grid Connection Figure 54 shows the system connected to the grid through a voltage-controlled voltage source. The mVdc/2 controls the voltage source. The grid is considered to be 60 Hz, and the 120o offset produces a balanced three-phase system. The breaker measures the output power.

40

Ia V N N/D 50.0 [ohm] 50.0 [ohm] 50.0 [ohm] D 1000.0 A B B C C C V BRK A B A Ea

Figure 54. Grid connection

Figure 55 shows the power profile fed into the microturbine to drive the system. This profile can be changed. Figure 56 shows that the output power follows the reference. (Note that the output power graph is in megawatts but the power reference graph is in watts.) The PI controls the transients of the systems. Changing the proportional and integral gains will change how fast the transients occur and how much the output oscillates. This case uses both gains at 0.002.

Figure 55. Power profile

41

Figure 56. Output power

42

Backbone Integration

After the proper functioning of each component was verified, the components were integrated into the backbone. Figure 57 shows the PSCAD model of the system that has been simulated. The model includes a 62.5-kVA AC grid simulator; a 250-kVA, Y-connected 216.5-V/480-V transformer; variable R-L-C load; a 125-kW diesel generator (represented as a synchronous generator); a 60-kW wind turbine; a PV cell; a 33-kW microturbine; and three 3.5-kW PWM inverters. Each PWM inverter is controlled using the control approaches discussed in earlier sections. Also included in the figure are circuit breakers, at which current, voltage, and power are measured. Other devices, such as a fuel cell, may be added to the grid.
A PV_Inverter BRK_PV B C PV_Plots

A BRK_Diesel GridPout GridRPout theta GridcurrentA loadcurrentA Ea loadpower loadcurrentC .250 [MVA] loadRpower .480 [kV] / .277 [kV] RRL Ea Pgrid Qgrid BRK_Source Tim ed Breaker Logic Open@t0 Tim ed Breaker Logic Open@t0 Tim ed Breaker Logic Closed@t0 Tim ed Breaker Logic Closed@t0 Tim ed Breaker Logic Open@t0 Timed Breaker Logic Open@t0 LoadBreak P3 Q3 Timed Breaker Logic Open@t0 Timed Breaker Logic Closed@t0 BRK_Inverter_V BRK_Inverter_V B C BRK_Source Cm A INV_CC_V Q1 BRK_Inverter_m Am Microturbine Bm Graphs C loadcurrentB P1 GridcurrentB GridcurrentC SourceRMS BRK_Inverter Pd Qd A INV_CC_F B Inv_Power B C Other_Power Diesel Gen

LoadBreak

BRK_Diesel

A INV_CP B C

BRKR

BRK_Inverter

BRKL

BRKC

BRK_Inverter_V

Timed Breaker Logic Open@t0 Timed Breaker Logic Open@t0 BRKR

3 Phase RMS

BRK_PV

BRK_Inverter_m

BRKC

.150 [MW] [MVAR][MVAR] .173 .173

Figure 57. Microgrid backbone PSCAD

BRKL

AC Device 1 - village load simulator (Resistive 100 kW, Inductive 173 kVAR and Capacitive 173 kVAR)

43

Figure 58 shows the three-phase bus voltage.

Figure 58. Bus voltage

Figure 59 shows the grid simulator active and reactive powers, current, and voltage.

Figure 59. Grid simulator

44

Figure 60 shows the load simulator graphs.

Figure 60. Load simulator

9.1 Diesel Generator Figure 61 and Figure 62 show the outputs of the diesel generator when connected to the backbone.

45

Figure 61. Active power diesel generator

Figure 62. Reactive power diesel generator

9.2 PV Cell Grid Connection To integrate the PV cell model into the backbone, the GE inverter model is connected at the output of the cell. The PV model is used as the DC source for the current-controlled inverter. The following figures show the simulation results with the inverter model. Anti-islanding schemes were not implemented. The grid connection was removed at 4 s and connected back at 7 s. Figure 63 shows the PV cell output voltage. The magnitude of the voltage is approximately 680 V. Figure 64 and Figure 65 show the frequency and voltage waveforms at the inverter output. As expected, frequency and voltage vary when the grid is disconnected from the inverter. Figure 66 shows the power injected from the inverter into the grid and the variable R-L-C load.

46

0.90 0.80 0.70 DC bus voltage (kV) 0.60 0.50 0.40 0.30 0.20 0.10 0.00 T(s) 0.0

Vpn

2.0

4.0

6.0

8.0

10.0

12.0

Figure 63. PV output voltage


65.0 64.0 63.0 Frequency (Hz) 62.0 61.0 60.0 59.0 58.0 57.0 56.0 T (s) 0.0 2.0 4.0 6.0 8.0 10.0 12.0 omiga

Figure 64. Inverter output frequency


1.80 1.60 Inverter RMS voltage (P.U.) 1.40 1.20 1.00 0.80 0.60 0.40 0.20 0.00 T(s) 0.0 2.0 4.0 6.0 8.0 10.0 12.0 Vt

Figure 65. Inverter output voltage

47

0.400 0.350 Active power, Inverter (MW) 0.300 0.250 0.200 0.150 0.100 0.050 0.000 -0.050 -0.100 T (s) 0.0

Pin

2.0

4.0

6.0

8.0

10.0

12.0

Figure 66. Power injected from the inverter

9.3 Microturbine Grid Connection The microturbine model is integrated into the backbone through an inverter. Figure 67 shows the integration with the backbone. The transformer steps up the voltage to the bus voltage 480 V. When connected to the backbone, the microturbine responds very slowly.
V N N/D D 1000.0 A B C 0.1 V A B C #2 0.264 0.15 [MVA] #1 0.99 A B B C C C Cm BRK_m A B Bm BRK_m Timed Breaker Logic Open@t0 3 Phase RMS Vt_m A Am Vt_m

Figure 67. Microturbine grid connection

48

10

Conclusion and Future Work

DR have an important role in the alleviation of transmission bottlenecks because they are designed to be located at or near the point of end-use and thus avoid the need to transmit electricity through congested wires. Another role of DR is outage response and mitigation. By placement at strategic locations in a networked configuration, DR, operating in intentional islanding mode, can provide power to protect critical loads during power failures. In this project, valid models for DR were created to simulate NRELs DERTF. All of the simulations were run in PSCAD. Models for PWM inverters, microturbines, and PV cells were developed. The diesel generator and wind turbine used models available in the PSCAD library. Two inverter control methods with two anti-islanding detection schemes were presented. Simulation results showed that the constant current control method works well to track desired d-q axis currents and detect islanding. The inverter simulation with constant power controller is quite stable, but there are problems controlling the reactive power. Procedures to develop models for a microturbine and a PV suitable for use in electrical engineering were developed. Both models work as expected. The microturbine output power follows the reference power as expected. The PV output voltage is constant at 680 V. The diesel generator was modeled as a synchronous machine and, therefore, used a model available in PSCAD. The desired output and the desired terminal voltage were achieved. The power is negative because the synchronous machine operates as a generator. The wind turbine also used a model available in PSCAD. It used an input wind speed and a blade angle pitch dynamics control. After the models were developed and tested individually, they were connected together to the backbone. Except for the microturbine, all the components worked properly and injected power into the grid. The microturbine worked well by itself, but when connected to the backbone, it became slow and took too long to stabilize. This project developed electrical models for simulation and analysis of different DR. It can be used to understand the effects of DR on the electric power system. A fuel cell model and the validation of the system have not yet been implemented.

49

11
[1] [2]

References
Simoes, M; Farret, F. Integration of Alternative Sources of Energy. Wiley Press, January 2006. Gow, J.A.; Manning, C.D. Development of a Photovoltaic Array Model for Use in Power-Electronics Simulation Studies. Electric Power Applications, IEEE Proceedings, Vol.146, Issue 2, March 1999, pp. 193200. PSCAD help file. Perdana, A.; Carlson, O.; Persson, J. Dynamic Response of Grid-Connected Wind Turbine With Doubly Fed Induction Generator During Disturbances. Available at http://www.elkraft.ntnu.no/norpie/10956873/Final%20Papers/054%20%20Abram_DynamicResponseDFIG.PDF. Verhoeven, B. Probability of Islanding in Utility Networks Due to Grid-Connected Photovoltaic Power Systems. IEA PVPS T5-07: 2002. Ye, Z.; Walling, R.; Garces, L.; Zhou, R.; Li, L.; Wang, T. Study and Development of Anti-Islanding Control for Grid-Connected Inverters. NREL/SR-560-36243. Work performed by the General Electric Global Research Center, Niskayuna, NY. Golden, CO: National Renewable Energy Laboratory, May 2004. Venkataramanan, G.; Illindala, M.S.; Houle, C.; Lasseter, R.H. Hardware Development of a Laboratory-Scale Microgrid Phase 1 Single Inverter in Island Mode Operation. NREL/SR-560-32527. Work performed by the Wisconsin Power Electronics Research Center, Madison, WI. Golden, CO: National Renewable Energy Laboratory, November 2002, pp. 3166. IEEE P1547.4, IEEE Guide for Design, Operation, and Integration of Distributed Resource Island Systems with Electric Power Systems, Draft 1. August 2005. Davis, M.; Costyk, D. Guide for Design, Operation, and Integration of Distributed Resource Island Systems with Electric Power Systems, Draft 1. August 2005

[3] [4]

[5] [6]

[7]

[8] [9]

[10] Chakraborty, S. D-Q and P-Q Theory: Axis Transformation, Related Mathematics, and Applications. Not published. [11] Chapman, S. Electric Machinery Fundamentals. 4th edition. McGraw-Hill, 2005; pp. 267342. [12] Mohan, N.; Undeland, T.; Robbins, W. Power Electronics. 3rd edition. New York: Wiley, 2003, pp. 1630. [13] Flannery, P.; Venkataramanan, G.; Shi, B. Integration of Distributed Technologies Standard Power Electronic Interfaces. P500-2005-119. California Energy Commission consultant report, April 2004. [14] Simoes, M.; Farret, F. Renewable Energy Systems: Design and Analysis with Induction Generators. CRC Press, May 2004.

50

REPORT DOCUMENTATION PAGE

Form Approved OMB No. 0704-0188

The public reporting burden for this collection of information is estimated to average 1 hour per response, including the time for reviewing instructions, searching existing data sources, gathering and maintaining the data needed, and completing and reviewing the collection of information. Send comments regarding this burden estimate or any other aspect of this collection of information, including suggestions for reducing the burden, to Department of Defense, Executive Services and Communications Directorate (0704-0188). Respondents should be aware that notwithstanding any other provision of law, no person shall be subject to any penalty for failing to comply with a collection of information if it does not display a currently valid OMB control number.

PLEASE DO NOT RETURN YOUR FORM TO THE ABOVE ORGANIZATION. 1. REPORT DATE (DD-MM-YYYY) 2. REPORT TYPE

3.

DATES COVERED (From - To)

April 2007
4. TITLE AND SUBTITLE

Subcontract report
5a. CONTRACT NUMBER

Electrical Model Development and Validation for Distributed Resources

DE-AC36-99-GO10337
5b. GRANT NUMBER

5c. PROGRAM ELEMENT NUMBER

6.

AUTHOR(S)

5d. PROJECT NUMBER

M.G. Simoes, B. Palle, S. Chakraborty, C. Uriarte

NREL/SR-581-41109
5e. TASK NUMBER

DPE6.1000
5f. WORK UNIT NUMBER

7.

PERFORMING ORGANIZATION NAME(S) AND ADDRESS(ES)

8.

Colorado School of Mines 1500 Illinois St. Golden, CO 80401


9. SPONSORING/MONITORING AGENCY NAME(S) AND ADDRESS(ES)

PERFORMING ORGANIZATION REPORT NUMBER

10. SPONSOR/MONITOR'S ACRONYM(S)

National Renewable Energy Laboratory 1617 Cole Blvd. Golden, CO 80401-3393


12. DISTRIBUTION AVAILABILITY STATEMENT

NREL
11. SPONSORING/MONITORING AGENCY REPORT NUMBER

NREL/SR-581-41109 National Technical Information Service U.S. Department of Commerce 5285 Port Royal Road Springfield, VA 22161
13. SUPPLEMENTARY NOTES

NREL Technical Monitor: Benjamin Kroposki


14. ABSTRACT (Maximum 200 Words)

This project focuses on the development of electrical models for small (1-MW) distributed resources at the National Renewable Energy Laboratorys Distributed Energy Resources Test Facility.

15. SUBJECT TERMS

distributed energy; distributed resources; DE; DR; models; modeling; National Renewable Energy Laboratory; NREL
16. SECURITY CLASSIFICATION OF:
a. REPORT b. ABSTRACT c. THIS PAGE 17. LIMITATION 18. NUMBER OF ABSTRACT OF PAGES 19a. NAME OF RESPONSIBLE PERSON

Unclassified

Unclassified

Unclassified

UL

19b. TELEPHONE NUMBER (Include area code) Standard Form 298 (Rev. 8/98)
Prescribed by ANSI Std. Z39.18

F1146-E(12/2004)

You might also like