SlideShare a Scribd company logo
2
Most read
3
Most read
Project Title
Modelling and simulation of an electrical micro-grid using the MATLAB/Simulink platform
Project Team Members
Aodhgan Gleeson, Ben Hudson
Executive Summary
The structure of the electrical grid has traditionally been based on large centralised power stations
generating electrical power for; transmission over long distances at voltages of the order of 100's of
kV, distribution at voltages of 10's of kV, before ultimately being supplied to the consumer in the
familiar form of 400 V/230 V three-phase and neutral. With the advent of small-scale renewable
energy sources and the increased capability of power electronic converters and associated controls,
the possibility for operating small-scale, isolated electrical grids, independently of this centralised
national grid structure, has become a reality. The design and development of these micro-grids
requires careful consideration and hence the use of simulation tools to gain an insight into detailed
system operation is essential.
The purpose of this project is to develop an accurate, dynamic model of a micro-grid comprising
several different energy sources, various loads, faults and circuit breakers as well as a connection to
the main electrical grid. An appropriate grounding in the relevant theory of three-phase power and
its control was essential. This demanded a comprehensive understanding of dq0 Reference Frame
Theory, synchronous machine theory, electrical power systems and small signal modelling. The
micro-grid model was developed using the MATLAB/Simulink platform in conjunction with the
SimPowerSystems toolbox. This additional toolbox provides component libraries and analysis tools
for modelling and simulating electrical power systems.
Work commenced on creating the micro-grid after studying the relevant literature. Initially, a model
was created that familiarised the students with the dq0 Reference Frame Theory. An adaptation of
this model led to the creation of the main electrical grid model.
The SimPowerSystems toolbox in Simulink allowed for precise models of complex electromagnetic
machines to be implemented into the micro-grid model. Several simulations and calculations were
performed to ensure the students fully understood the workings of both the Permanent Magnet
Synchronous Machine and the Synchronous Machine models.
A model of a three-phase inverter with an LCL filter was adopted from Figueres et al. [1]. This was
developed using small signal modelling techniques. This model acted as a constant voltage source
and was subsequently put forward as a model of a fully charged battery bank. Further adaptations to
this inverter model allowed the students to incorporate any renewable electricity resource that
could be modelled as a current source. 1
A Human Interface Device that enabled the user to interact with the micro-grid model was designed
and constructed. The HID allowed dynamic changes to be made to the micro-grid. Significant work
1
G. G. J. S. F. G.-E. a. J. C. R. Emilio Figueres, “Sensitivity Study of the Dynamics of Three-Phase Photovoltaic
Inverters with an LCL Filter,” IEEE Transactions on Industrial Electronics, vol. 56, no. 3, p. 706, March 2009.
was required for both the construction of the physical device and the infrastructure that allowed the
controlled adjustments in the Simulink environment.
The final micro-grid included a diesel generator, a Photovoltaic array, a battery bank, fixed loads,
variable dynamic load and a connection to the national grid. Simulations were carried out on an
instantaneous solver basis, the implication of which is that transients and their associated effects
can be observed and quantified. The interactive, dynamic micro-grid model created in this project
allows the user to simulate any number of generation scenarios and observe the associated power
flow phenomena. Results from sample scenarios are presented in this report but it is important to
note the versatility of the micro-grid model. The interface device, combined with the simulation
model provides an invaluable platform for educational and demonstrative purposes.
Figure 1 Completed HID Device
Figure 2 Renewable Resource Simulink Schematic
2
Idset
1
Vi_abc_SP
dq0
sin_cos
abc
abc
sin_cos
dq0
In1 Out1
Vdc Limited PI
In1 Out1
Iq Limited PI
In1 Out1
Id Limited PI
[dq]
Goto3
[dd]
[I_invq]
[I_invd]
2
Gain4
1
Gain3
1
Gain2
-K-
-K-
Gain
[dq]
[dd]
[I_invq][I_invd]
[I_invd]
From1
[I_invq]
From
5
Iq set
4
Vdc
3
Vdc*
2
sin cos
1
I Inv
Figure 3 Simulink Model of Micro Grid
Inverter 2 PQ
Dynamic Load
9.47821
vf
abc
sin_cos
dq0
abc
sin_cos
dq0
abc to dq0
Constant Power
v+
-
v+
-
400
-2.901e-013
-1.313e-013
Vdq0_Grid
607.8
Vdc
Uref
A
B
C
+
-
Uref
A
B
C
+
-
Time
To Workspace1
com
A
B
C
A
B
C
Three-Phase Fault
com
A
B
C
a
b
c
com
A
B
C
a
b
c
com
A
B
C
a
b
c
com
A
B
C
a
b
c
com
A
B
C
a
b
c
Vabc
Iabc
A
B
C
a
b
c
Vabc
Iabc
A
B
C
a
b
c
Vabc
Iabc
A
B
C
a
b
c
Vabc
Iabc
A
B
C
a
b
c
Vabc
Iabc
A
B
C
a
b
c
Vabc
Iabc
A
B
C
a
b
c
A
B
C
PQ
m
A
B
C
Amplitude
Phase
Frequency
SinCosOut
Vabc_grid
Va1
Vb1
Vc1
Three Phase Source
Terminator2
Terminator1
Vabc
Iabc
PQ
Synchronous Machine Power
Vf _
m
A
B
C
Pm
Synchronous Machine
Switch
In1Out1
Scope
2.704e+004
SM Power In
SM Power
SM Load Angle
signalrms
signalrms
signalrms
230.9
230.9
230.9
RMS Voltage Inv 2
231.8
231.8
231.8
RMS Voltage Inv 1
230.9
230.9
230.9
RMS Voltage Grid
Vabc
Iabc
PQ
Power to Grid1
Power to Grid
Real Power
Reactiv e Power
Id
Iq
0.4182
Power angle
PQ
Angle
Power Factor
Power Factor Angle Measurement
1
Power Factor
s
-
+
PhotoVoltaic Array
PV Power
Memory1
Memory
0
0
Load Bank
Vcap_abc
Vga
Vgb
Vgc
Via
Vib
Vic
LCL Filter2
Vcap_abc
Vga
Vgb
Vgc
Via
Vib
Vic
LCL Filter
SM Power
Cloud Cov er
Dy namic Load P
Dy namic load Q
Axis 5
Axis 6
Axis 7
Axis 8
Inv erter 1 P
Inv erter 1 Q
Inv erter 2 P
Inv erter 2 Q
Circ On/Of f 1
Circ On/Of f 2
Circ On/Of f 3
Circ On/Of f 4
Circ On/Of f 5
Circ On/Of f 6
ToggOn/Of f 1
ToggOn/Of f 2
ToggOn/Of f 3
ToggOn/Of f 4
ToggOn/Of f 5
Togg On/Of f 6
Mom. On/Of f 1
Mom. On/Of f 2
Mom. On/Of f 3
Mom. On/Of f 4
Joystick
0
0
0
0
0
0
0
Iq_set
0
Io_set
0
Inverter 2 Q Setpoint
3e+004
Inverter 2 P Setpoint
59.98
-0.4378
4.102e-015
Idq0_Grid
Idc Photovoltaic
19.92
Idc
[V_abc_r_out]
[Idq0_set]
Goto8
[V_inv]
Goto7
[Vdc_renew_star]
Goto5
-T-
Goto48-T-
Goto47-T-
Goto46-T-
Goto45-T-
Goto44-T-
Goto43-T-
Goto42-T-
Goto41-T-
Goto40
[V_grid]
-T-
Goto39-T-
Goto38-T-
Goto37-T-
Goto36-T-
Goto35-T-
Goto34-T-
Goto33-T-
Goto32-T-
Goto31-T-
Goto30
[gate]
Goto3
-T-
Goto29-T-
Goto28-T-
Goto27-T-
Goto26-T-
Goto25-T-
Goto24-T-
Goto23-T-
Goto22-T-
Goto21
[I_inv]
Goto2
[I_abc_1_out]
[V_abc_1_out]
[I_abc_1]
[I_grid_out]
[V_grid_out]
[Ism]
Goto13
[Vsm]
Goto12
[vsc1]
Goto11
[I_abc_r_out]
[sin_cos]
-K-
Gain
[Vdc_renew_star]
From9
[I_abc_1_out]
From8
[V_abc_1_out]
From7
[I_abc_1]
From6
[V_grid]
[sin_cos]
[Circ_4]
[Circ_3
[Circ_
[Circ_2]
[Inverter1
[Inverter1
[Togg_5]
From32
[Togg_4]
From31
[SM_Power]
[sin_cos]
From3
[Circ_2]
[Circ_1]
[Togg_3]
From27
[Togg_2]
From26
[Togg_1]
From25
[Mom_1]
[Circ_4]
[Circ_3]
[Circ_2]
[Circ_1]
[I_inv]
From2
[vsc1]
[Dynamic_Load_Q]
[Dynamic_Load_P]
[I_grid_out]
From16
[Ism]
From15
[Vsm]
From14
[V_grid_out]
From13
[sin_cos]
From12
[sin_cos]
From11
[Cloud_Cover]
[gate]
From1
[I_grid_out]
From
20kWon/off
10kWon/off1
10kWon/off
-10kVAron/off
1kW+5kVAron/off
PowerofLoad
PhaseA
PhaseB
PhaseC
Fixed Load Bank
1
3.904e+004
1.978e+004
Dynamic P and Q
i +
-
I Inv
sin cos
Id set
Iq set
Vgrid
Vi_abc_SP
Vi_dd_dq
Control Loops1
I Inv
sin cos
Vdc*
Vdc
Iq set
Vi_abc_SP
Vi_dd_dq
Idset
Control Loops
50
0
Vg_phase_max
Vdc_sp
Constant
Clock
600
Battery Bank Voltage
Battery Bank Power
Vabc
Iabc
PQ
Vabc
Iabc
PQ
<Load angle delta (deg)>
<Output reactiv e power Qeo (W)>
<Output activ e power Peo (W)>
<Rotor speed wm (rad/s)>

More Related Content

DOCX
substation internship report
PPTX
Grid connected pv solar power plant
PPTX
Gauss Siedel method of Load Flow
PPTX
MTDC Systems: Control & Protection of MTDC Systems
PPTX
Automatic load sharing of transformer using microcontroller
PPTX
Hydrothermal scheduling
PPTX
Modeling of a single phase Grid-connected PV system by using Matlab/Simulink
PPT
Distributed Generation
substation internship report
Grid connected pv solar power plant
Gauss Siedel method of Load Flow
MTDC Systems: Control & Protection of MTDC Systems
Automatic load sharing of transformer using microcontroller
Hydrothermal scheduling
Modeling of a single phase Grid-connected PV system by using Matlab/Simulink
Distributed Generation

What's hot (20)

PDF
DISTRIBUTED GENERATION TECHNOLOGIES
PDF
Introduction to reactive power control in electrical power
PPTX
Computer aided design of electrical machine
PPTX
Power factor correction
PPTX
Protection and control of Microgrid
PPTX
Smart grid
PPTX
Selection Of Circuit Breaker
PDF
Maximum power point tracking algorithms for solar(pv) systems
DOCX
smart grid seminar report
PPT
Unit 2.Converter and Chopper fed Dc drives
PPSX
MicroGrid and Energy Storage System COMPLETE DETAILS NEW PPT
PDF
Summer Internship Report -By Rahul Mehra
PPTX
Three phase half wave controlled converter
PPTX
Distributed generation b 3
PPTX
Storage In Smart Grids
PPTX
Unified Power Flow Controller(upfc) 2
PPTX
Circuit Breakers
PPTX
Microgrid Protection: Challenges and Solution
PPTX
Generation of High D.C. Voltage (HVDC generation)
PPTX
Unified power quality conditioner 2
DISTRIBUTED GENERATION TECHNOLOGIES
Introduction to reactive power control in electrical power
Computer aided design of electrical machine
Power factor correction
Protection and control of Microgrid
Smart grid
Selection Of Circuit Breaker
Maximum power point tracking algorithms for solar(pv) systems
smart grid seminar report
Unit 2.Converter and Chopper fed Dc drives
MicroGrid and Energy Storage System COMPLETE DETAILS NEW PPT
Summer Internship Report -By Rahul Mehra
Three phase half wave controlled converter
Distributed generation b 3
Storage In Smart Grids
Unified Power Flow Controller(upfc) 2
Circuit Breakers
Microgrid Protection: Challenges and Solution
Generation of High D.C. Voltage (HVDC generation)
Unified power quality conditioner 2
Ad

Viewers also liked (20)

PPTX
MICROGRID project management & design
PPT
Voltage and Frequency Control of the Grid
PPT
Microgrid
PPTX
IEEE electrical projects using Matlab/Simulink software
PPTX
Reactive power management and voltage control by using statcom
PPTX
Smart Microgrids: Overview and Outlook
PDF
Micro-Grid Power: Working Intelligently and Working Together
PPTX
Micro grid
PPTX
Microgrid Presentation
PDF
Iaetsd placement of super conducting fault current limiters to mitigate
PDF
Soluzione Smart Building Management MCUBO Energy
PDF
Mitigating The Power Fluctuation Of PMSG Wind Turbine In A Microgrid By Optim...
PDF
Dynamic modeling of microgrid for grid connected intentional islanding operat...
PDF
Challenges at project level for microgrid solutions lisbon 2016
PPTX
Vsm and wip with arena simulation
PDF
Wind and solar integrated to smart grid using islanding operation
PPT
Hi̇bri̇t motorlar ve hi̇drojen yakitli motorlar
PPTX
Simulation Modelling: Costa Coffee (London, UK)
DOCX
Simulation Modelling final_project_ganganer
PDF
Renewable energy grid integration
MICROGRID project management & design
Voltage and Frequency Control of the Grid
Microgrid
IEEE electrical projects using Matlab/Simulink software
Reactive power management and voltage control by using statcom
Smart Microgrids: Overview and Outlook
Micro-Grid Power: Working Intelligently and Working Together
Micro grid
Microgrid Presentation
Iaetsd placement of super conducting fault current limiters to mitigate
Soluzione Smart Building Management MCUBO Energy
Mitigating The Power Fluctuation Of PMSG Wind Turbine In A Microgrid By Optim...
Dynamic modeling of microgrid for grid connected intentional islanding operat...
Challenges at project level for microgrid solutions lisbon 2016
Vsm and wip with arena simulation
Wind and solar integrated to smart grid using islanding operation
Hi̇bri̇t motorlar ve hi̇drojen yakitli motorlar
Simulation Modelling: Costa Coffee (London, UK)
Simulation Modelling final_project_ganganer
Renewable energy grid integration
Ad

Similar to Modeling and Simulation of an electrical micro-grid using MATLAB Simulink Summary For LinkedIn (20)

PDF
PROTECTION OF MICROGRID FROM HIGH IMPEDANCE FAULT USING DIFFERENTIAL RELAY
PDF
IRJET- Frequency Control of Distributed Generators in Microgrid with ANFIS Co...
PDF
Autonomous Power Management for Interlinked AC-DC Microgrids
PDF
SIMULATION OF SMART MICROGRID
PDF
Development of wind and solar based ac microgrid with power quality improveme...
PDF
R.muthukumar, Analysis of Dynamic Stability of Microgrid
PDF
Modeling and real time digital simulation of microgrids for campuses Malta an...
DOCX
main-project1
PDF
Power system projects
PDF
Control for Grid Connected and Intentional Islanding of Distributed Power Gen...
PDF
Korada2016
PDF
Mppt with single dc–dc converter and inverter for grid connected hybrid wind-...
PDF
Microgrid Protection
PPT
Mg protection 04022018
PDF
Power flow control of hybrid micro grids using modified uipc
PDF
Power Flow Control of Interconnected AC-DC Microgrids in Grid-Connected Hybri...
PDF
Control Schemes for Distribution Grids with Mass Distributed Generation
PDF
Operation and Control of Grid Connected Hybrid AC/DC Microgrid using Various RES
PPTX
ppt presentation solar.pptx
PDF
An enhanced islanding microgrid reactive power, imbalance power, and harmonic...
PROTECTION OF MICROGRID FROM HIGH IMPEDANCE FAULT USING DIFFERENTIAL RELAY
IRJET- Frequency Control of Distributed Generators in Microgrid with ANFIS Co...
Autonomous Power Management for Interlinked AC-DC Microgrids
SIMULATION OF SMART MICROGRID
Development of wind and solar based ac microgrid with power quality improveme...
R.muthukumar, Analysis of Dynamic Stability of Microgrid
Modeling and real time digital simulation of microgrids for campuses Malta an...
main-project1
Power system projects
Control for Grid Connected and Intentional Islanding of Distributed Power Gen...
Korada2016
Mppt with single dc–dc converter and inverter for grid connected hybrid wind-...
Microgrid Protection
Mg protection 04022018
Power flow control of hybrid micro grids using modified uipc
Power Flow Control of Interconnected AC-DC Microgrids in Grid-Connected Hybri...
Control Schemes for Distribution Grids with Mass Distributed Generation
Operation and Control of Grid Connected Hybrid AC/DC Microgrid using Various RES
ppt presentation solar.pptx
An enhanced islanding microgrid reactive power, imbalance power, and harmonic...

Modeling and Simulation of an electrical micro-grid using MATLAB Simulink Summary For LinkedIn

  • 1. Project Title Modelling and simulation of an electrical micro-grid using the MATLAB/Simulink platform Project Team Members Aodhgan Gleeson, Ben Hudson Executive Summary The structure of the electrical grid has traditionally been based on large centralised power stations generating electrical power for; transmission over long distances at voltages of the order of 100's of kV, distribution at voltages of 10's of kV, before ultimately being supplied to the consumer in the familiar form of 400 V/230 V three-phase and neutral. With the advent of small-scale renewable energy sources and the increased capability of power electronic converters and associated controls, the possibility for operating small-scale, isolated electrical grids, independently of this centralised national grid structure, has become a reality. The design and development of these micro-grids requires careful consideration and hence the use of simulation tools to gain an insight into detailed system operation is essential. The purpose of this project is to develop an accurate, dynamic model of a micro-grid comprising several different energy sources, various loads, faults and circuit breakers as well as a connection to the main electrical grid. An appropriate grounding in the relevant theory of three-phase power and its control was essential. This demanded a comprehensive understanding of dq0 Reference Frame Theory, synchronous machine theory, electrical power systems and small signal modelling. The micro-grid model was developed using the MATLAB/Simulink platform in conjunction with the SimPowerSystems toolbox. This additional toolbox provides component libraries and analysis tools for modelling and simulating electrical power systems. Work commenced on creating the micro-grid after studying the relevant literature. Initially, a model was created that familiarised the students with the dq0 Reference Frame Theory. An adaptation of this model led to the creation of the main electrical grid model. The SimPowerSystems toolbox in Simulink allowed for precise models of complex electromagnetic machines to be implemented into the micro-grid model. Several simulations and calculations were performed to ensure the students fully understood the workings of both the Permanent Magnet Synchronous Machine and the Synchronous Machine models. A model of a three-phase inverter with an LCL filter was adopted from Figueres et al. [1]. This was developed using small signal modelling techniques. This model acted as a constant voltage source and was subsequently put forward as a model of a fully charged battery bank. Further adaptations to this inverter model allowed the students to incorporate any renewable electricity resource that could be modelled as a current source. 1 A Human Interface Device that enabled the user to interact with the micro-grid model was designed and constructed. The HID allowed dynamic changes to be made to the micro-grid. Significant work 1 G. G. J. S. F. G.-E. a. J. C. R. Emilio Figueres, “Sensitivity Study of the Dynamics of Three-Phase Photovoltaic Inverters with an LCL Filter,” IEEE Transactions on Industrial Electronics, vol. 56, no. 3, p. 706, March 2009.
  • 2. was required for both the construction of the physical device and the infrastructure that allowed the controlled adjustments in the Simulink environment. The final micro-grid included a diesel generator, a Photovoltaic array, a battery bank, fixed loads, variable dynamic load and a connection to the national grid. Simulations were carried out on an instantaneous solver basis, the implication of which is that transients and their associated effects can be observed and quantified. The interactive, dynamic micro-grid model created in this project allows the user to simulate any number of generation scenarios and observe the associated power flow phenomena. Results from sample scenarios are presented in this report but it is important to note the versatility of the micro-grid model. The interface device, combined with the simulation model provides an invaluable platform for educational and demonstrative purposes. Figure 1 Completed HID Device Figure 2 Renewable Resource Simulink Schematic 2 Idset 1 Vi_abc_SP dq0 sin_cos abc abc sin_cos dq0 In1 Out1 Vdc Limited PI In1 Out1 Iq Limited PI In1 Out1 Id Limited PI [dq] Goto3 [dd] [I_invq] [I_invd] 2 Gain4 1 Gain3 1 Gain2 -K- -K- Gain [dq] [dd] [I_invq][I_invd] [I_invd] From1 [I_invq] From 5 Iq set 4 Vdc 3 Vdc* 2 sin cos 1 I Inv
  • 3. Figure 3 Simulink Model of Micro Grid Inverter 2 PQ Dynamic Load 9.47821 vf abc sin_cos dq0 abc sin_cos dq0 abc to dq0 Constant Power v+ - v+ - 400 -2.901e-013 -1.313e-013 Vdq0_Grid 607.8 Vdc Uref A B C + - Uref A B C + - Time To Workspace1 com A B C A B C Three-Phase Fault com A B C a b c com A B C a b c com A B C a b c com A B C a b c com A B C a b c Vabc Iabc A B C a b c Vabc Iabc A B C a b c Vabc Iabc A B C a b c Vabc Iabc A B C a b c Vabc Iabc A B C a b c Vabc Iabc A B C a b c A B C PQ m A B C Amplitude Phase Frequency SinCosOut Vabc_grid Va1 Vb1 Vc1 Three Phase Source Terminator2 Terminator1 Vabc Iabc PQ Synchronous Machine Power Vf _ m A B C Pm Synchronous Machine Switch In1Out1 Scope 2.704e+004 SM Power In SM Power SM Load Angle signalrms signalrms signalrms 230.9 230.9 230.9 RMS Voltage Inv 2 231.8 231.8 231.8 RMS Voltage Inv 1 230.9 230.9 230.9 RMS Voltage Grid Vabc Iabc PQ Power to Grid1 Power to Grid Real Power Reactiv e Power Id Iq 0.4182 Power angle PQ Angle Power Factor Power Factor Angle Measurement 1 Power Factor s - + PhotoVoltaic Array PV Power Memory1 Memory 0 0 Load Bank Vcap_abc Vga Vgb Vgc Via Vib Vic LCL Filter2 Vcap_abc Vga Vgb Vgc Via Vib Vic LCL Filter SM Power Cloud Cov er Dy namic Load P Dy namic load Q Axis 5 Axis 6 Axis 7 Axis 8 Inv erter 1 P Inv erter 1 Q Inv erter 2 P Inv erter 2 Q Circ On/Of f 1 Circ On/Of f 2 Circ On/Of f 3 Circ On/Of f 4 Circ On/Of f 5 Circ On/Of f 6 ToggOn/Of f 1 ToggOn/Of f 2 ToggOn/Of f 3 ToggOn/Of f 4 ToggOn/Of f 5 Togg On/Of f 6 Mom. On/Of f 1 Mom. On/Of f 2 Mom. On/Of f 3 Mom. On/Of f 4 Joystick 0 0 0 0 0 0 0 Iq_set 0 Io_set 0 Inverter 2 Q Setpoint 3e+004 Inverter 2 P Setpoint 59.98 -0.4378 4.102e-015 Idq0_Grid Idc Photovoltaic 19.92 Idc [V_abc_r_out] [Idq0_set] Goto8 [V_inv] Goto7 [Vdc_renew_star] Goto5 -T- Goto48-T- Goto47-T- Goto46-T- Goto45-T- Goto44-T- Goto43-T- Goto42-T- Goto41-T- Goto40 [V_grid] -T- Goto39-T- Goto38-T- Goto37-T- Goto36-T- Goto35-T- Goto34-T- Goto33-T- Goto32-T- Goto31-T- Goto30 [gate] Goto3 -T- Goto29-T- Goto28-T- Goto27-T- Goto26-T- Goto25-T- Goto24-T- Goto23-T- Goto22-T- Goto21 [I_inv] Goto2 [I_abc_1_out] [V_abc_1_out] [I_abc_1] [I_grid_out] [V_grid_out] [Ism] Goto13 [Vsm] Goto12 [vsc1] Goto11 [I_abc_r_out] [sin_cos] -K- Gain [Vdc_renew_star] From9 [I_abc_1_out] From8 [V_abc_1_out] From7 [I_abc_1] From6 [V_grid] [sin_cos] [Circ_4] [Circ_3 [Circ_ [Circ_2] [Inverter1 [Inverter1 [Togg_5] From32 [Togg_4] From31 [SM_Power] [sin_cos] From3 [Circ_2] [Circ_1] [Togg_3] From27 [Togg_2] From26 [Togg_1] From25 [Mom_1] [Circ_4] [Circ_3] [Circ_2] [Circ_1] [I_inv] From2 [vsc1] [Dynamic_Load_Q] [Dynamic_Load_P] [I_grid_out] From16 [Ism] From15 [Vsm] From14 [V_grid_out] From13 [sin_cos] From12 [sin_cos] From11 [Cloud_Cover] [gate] From1 [I_grid_out] From 20kWon/off 10kWon/off1 10kWon/off -10kVAron/off 1kW+5kVAron/off PowerofLoad PhaseA PhaseB PhaseC Fixed Load Bank 1 3.904e+004 1.978e+004 Dynamic P and Q i + - I Inv sin cos Id set Iq set Vgrid Vi_abc_SP Vi_dd_dq Control Loops1 I Inv sin cos Vdc* Vdc Iq set Vi_abc_SP Vi_dd_dq Idset Control Loops 50 0 Vg_phase_max Vdc_sp Constant Clock 600 Battery Bank Voltage Battery Bank Power Vabc Iabc PQ Vabc Iabc PQ <Load angle delta (deg)> <Output reactiv e power Qeo (W)> <Output activ e power Peo (W)> <Rotor speed wm (rad/s)>