Analysis of a Microgrid under Transient Conditions Using Voltage and Frequency Controller

This paper presents an investigation of voltage-and-frequency-(VF-) based battery energy storage system (BESS) controller used in micro grid for analyzing the optimum capability of plant. Microgrid is formed by using three hydropower plants feeding threephase four-wire load. The proposed controller is used for load balancing, harmonic elimination, load leveling, and neutral current compensation. The proposed BESS controller permits the selection of an optimum voltage level of battery and allows independent current control of each phase. The main emphasis is given on maintaining constant voltage and frequency within the micro grid during transient conditions. Micro grid with power plant and its controller is modeled in MATLAB/Simulink using Power System Blockset (PSB) toolboxes.


Introduction
Existing and new generating plants cause depletion of fossil fuels, global warming, and pollution.This diverts researchers' attention towards renewable energy resources.The renewable energy sources such as wind, small-hydro, biomass, geothermal are inexhaustible in nature and easily available in our country.Also remotely located villages, islands, hills, military equipment, and so forth are some of the areas which are mainly isolated from the power system grid and in these areas wind and hydro-energy are available abundantly.Thus for supplying energy in such areas, isolated system, micro-or minigrid system, is an emerging concept and draws the attention of many researchers.Microgrid is the small scale energy system equipped with distributed energy resources, electronic equipments, loads, ancillary facilities, and so forth.In micro grid system, microgenerators are operated parallel to the loads, usually through some voltage-source-inverter-(VSI-) based or currentsource-inverter-based system that can operate in controllable systems.The concept of micro grid was first introduced in 2001 by Lasseter [1].A number of new technologies and innovative ideas are proposed [2][3][4][5][6][7][8][9][10] till now.Uno et al. [2] describe the supply and demand stability in micro grid for different connections.Later on the scheme based on power electronics devices with distributed generation (DG) is used to form micro grid [3].The micro grid thus formed can work in grid connected mode as well as in islanded mode with the help of power electronic converter.A new concept was introduced in which two inverters are used, one in shunt and another in series with individual DG formsing micro grid [4].The former is used for balancing the voltage and the latter is used for balanced the line current.Smallsignal stability for conventional power systems is well established, but for inverter-based micro grids there is need to analysis, how the circuit and control features give rise to particular oscillatory modes and which of them have poor damping.Thus the author develops the state-space modeling for such inverters based micro-grid [5].Moving further micro grid not only deals with power sharing or transient stability problems but also deals with over voltage, under voltage, oscillations, offset voltage, and so on.Hence Wu et al. describe the existing problems and the possible solution in micro grid [6].When micro grid is working in Advances in Power Electronics islanded mode proper synchronization between generators is required, if not so large transient current will flow.A concept of soft connection scheme based on classical zero crossing detector was introduced for synchronization of generators forming micro grid [7].In spite of synchronization there is another problem of proper load sharing in autonomous micro grid.Thus a new concept was developed by Majumder et al. [8], in which high gain angle droop control scheme is used for proper load sharing in micro grid.A supplementary loop is proposed for each DG to stabilize the system using high angle droop gain.Further a mathematical model that predicts the effect of voltage offset on reactive power sharing between inverters in micro grid was introduced [9].Active synchronizing control scheme was introduced by author, which is required when micro grid consists of multiple DGs.Further the author concluded that the scheme is useful for islanded and reconnected mode [10].
Past research indicates that a self excited induction generator (SEIG) has emerged as a suitable candidate for isolated system [11][12][13][14] because of its many advantages such as its small size and weight, robust construction, reduced unit size and maintenance cost, brushless rotor construction, absence of a separate excitation source, and self protection against severe over loads and short circuits.In order to utilize the full potential of the energy source, several such generators may have to be operated in parallel.There is no problem of synchronization and hunting in SEIG thus here it is used as generator in forming micro grid.
In this paper micro grid is formed using hydro power plants located at some distance far from each power plant.Hydro-electric plants can provide cheap, clean, and reliable electricity for villages.Power generated by these plants is almost constant for 24 h a day.If light load condition arises the extra power will be stored in battery and if load increases then deficit power will be supplied by the battery.Hydroelectric plants convert the kinetic energy of a waterfall into electric energy [15].In this paper main emphasis is given on the transient condition within the micro grid and optimum utilization of BESS controller during this condition.
Focus of the Paper.So many authors work on the power sharing between generators during grid connected mode and islanded mode.In case of grid connected mode, the generators of micro grid are connected to the load as well as to the main grid.The loads are shared by the main grid and generator of micro grid.Hence the generators of micro grid are not fully loaded.Now if a fault occurs in the main grid it gets isolated from the rest of the system (forming micro grid), this mode is known as islanded mode.The generators of micro grid (which are not fully loaded) now shared power within themselves and maintain constant voltage and frequency at load ends.
But this paper deals with islanded mode only and the generators which are forming micro grid are fully loaded during healthy condition.If the fault occurs in any of the generator and it gets isolated then also the load of the faulty generator is shared by the rest of the generators in micro grid and thus maintains voltage and frequency constant at the load ends.
In addition, this paper also describes the concept of micro grid in which SEIGs are connected in parallel forming micro grid with their individual load.The hydroturbines are used as prime mover for SEIGs which are used to deliver power.The system consists of squirrel cage induction generator with capacitor bank.The capacitor bank is used to cater reactive power requirement.A controller is connected in parallel to the load to improve the stability of the system under transients.In spite of the above advantage SEIG is superior compared to other electric generator because there is no need of synchronization between two asynchronous generators.

System Description and Working
The schematic diagram of micro grid is shown in Figure 1.The system consists of three small hydro-turbines which are used as prime movers for SEIGs.Single hydro power plant consists of asynchronous generator (SEIG) with the excitation capacitor, consumer load and a voltage source converter with a battery energy storage system (BESS) based voltage and frequency controller.The self-excited induction generator has been found to be an attractive competitor to the synchronous generator due to several advantages as discussed in above section.A major drawback of SEIG's is their poor voltage regulation under varying load conditions even for fixed prime movers speeds.The star connected 3-phase capacitor bank is used for generator excitation and value of excitation capacitor is selected to generate the rated voltage at no load condition while additional demand of power during full load and faulty condition is met by controller because of having capability of bidirectional flow of active and reactive power.
The reactive power requirement can be compensated by converter based compensators like DSTATCOM and DVR.This paper deals with BESS as a controller.The BESS controller consists of DSTATCOM and a battery connected parallel to DC link of DSTATCOM.Basic principle of active and reactive power sharing starts with the active and reactive power flows between two ac sources through line impedance Z(= R + jX) as shown in Figure 2. The active power P and reactive power Q are given by: . ( If the line is mainly inductive, where the resistance can be neglected, the typical phase angle between two voltages is . ( These equations imply that the active power is proportional to phase angle and reactive power is proportional to voltage differences between the two systems, respectively.For this The micro grid with micro source, load, and controller.reason, in BESS controller two PI controllers are there to control active and reactive powers by varying its output frequency (that generates the phase-angle difference as a result) and voltage levels.As a result, the P-F and Q-V droop strategies provide a stable active and reactive power sharing between the generators.Thus constant power requirement of SEIGs and load is met by IGBT based current controlled voltage source converter (CC-VSC) along with battery energy storage system (BESS) at its DC link.The output of VSC is connected through the AC filtering inductor at the point of common coupling between every micro source and load.
The basic principle of regulating the frequency by the controller is that it maintains the constant output power at the generator terminal voltage because input power from the turbine is constant so the frequency at the terminal remains constant [11].In given configuration if no load condition arises the extra power is used to charge the battery and during heavy load condition CC-VSC is able to regulate the reactive power and frequency.If one of the SEIG is shut down due to faulty condition, the terminal voltage and frequency are still regulated.

Control Strategy
The proposed system consists of three hydro power plants which are operating parallel forming micro grid.Each plant consists of self excited induction generator, with load and its controller.The control strategy for the other two plants is also the same.Figure 3 shows the control strategy of the proposed voltage and frequency controller which is based on the generation of reference source currents [13][14][15].Three-phase reference source currents are having two components, one is in-phase component or active power  component (i * saip , i * sbip , i * scip ) while the other one is in-quadrature component or reactive components (i * saiq , i * sbiq , i * sciq ).In-phase component of reference source current is estimated by taking the difference of amplitude of rated generated current (I gene ) and output of frequency PI controller (I smip ) [13].
The amplitude of rated current of the generator is calculated as where P rated is the rated generated power (P gene ) and V rated is rms voltage of the asynchronous generator.The frequency error is given as where f reff is reference frequency (50 Hz in present system) and f is the frequency of the voltage of an asynchronous generator.The instantaneous value of f is estimated using phase locked loop (PLL).
At the qth sampling instant, the output of PI frequency controller (P c ) is as: where K p f and K i f are the proportional and integral gains of frequency PI controller.
From ( 1) and ( 2) at the qth sampling instant, the amplitude of active component of current is The instantaneous values of in-phase components of reference source currents are estimated as Multiplication of I * smip with in-phase unit amplitude templates (U a , U b , U c ) yields the in-phase component of reference source currents.These templates are three-phase sinusoidal functions which are derived by dividing the ac voltages V a , V b , and V c by their amplitude V t .The instantaneous line voltages at the IAGs terminals (V a , V b , and V c ) are considered close to sinusoidal and their amplitude is computed as The unity amplitude templates having instantaneous value in phase with instantaneous voltage (V a , V b , and V c ), which are derived as [3,8,9]: To generate the quadrature component of reference source current, another set of sinusoidal quadrature unity amplitude templates (W a , W b , W c ) is obtained from in-phase unit vectors (U a , U b and U c ).The multiplication of these components with output of PI terminal voltage controller (I * smiq ) gives the quadrature or reactive component of reference source currents.
The ac voltage error V error at the qth sampling instant is where V treff(q) is the amplitude of reference ac terminal voltage and V t(q) is the amplitude of the sensed three-phase ac voltage at the IAG terminals at qth instant.
The output of the PI controller (I * smiq(q) ) for maintaining constant ac terminal voltage at the qth sampling instant is expressed as where K pa and K ia are the proportional and integral gain constants of the proportional integral (PI) controller.V error(q) and V error(q−1) are the voltage errors in qth and (q − 1)th instant.The output of PI controller (I * smiq(q−1) ) is considered the amplitude of quadrature component of the reference source current at (q − 1)th instant.
The instantaneous quadrature components of the reference source currents are estimated as where W a , W b and W c are another set of unit vectors having a phase shift of 90 • leading with respect to the corresponding unit vectors U a , U b , and U c which are estimated as The total reference source currents are the sum of in-phase and quadrature components of the reference source current as: The reference source currents (i * sa , i * sb , and i * sc ) are compared with the sensed source currents (i sa , i sb , and i sc ).The current errors are computed as These error signals are then given to ON/OFF switching patterns of the gate drive (IGBT) signals to generated pulse from the hysteresis current controller.

Design of BESS Controller.
Battery Energy Storage System (BESS) consist of lead-acid batteries, power conversion unit, and control system.The latter two are already discussed in the above section.The batteries are mainly used by power generating utilities, power distribution utilities, and power consumers.Main economic benefits of using BESS by power distributor and consumers is its ability to shave peak demands of loads by mean of discharging stored battery energy.
Lead-acid batteries are electrochemical devices that can be charge and discharge many times.Each cell of this battery consists of two electrodes.The positive electrode is of lead oxide (PbO 2 ) and negative electrode is of sponge lead (Pb) [16].When these electrodes are immersed in sulfuric acid electrolyte, a nominal open-circuit potential of 2V/cell is created.When circuit between two electrodes is closed, battery discharges its stored energy.
Thevenin equivalent circuit of the battery-based model [17,18] is shown in Figure 4.
The terminal voltage of the equivalent battery is obtained as where V is the line rms voltage (V = 415 V).At no load, voltage across the terminals of SEIG is rated voltage of 415 V.The battery voltage must be more than the peak of line voltage for satisfactory operation of Hysteresis controller.A slightly higher round-off value of 750 V is considered.
Since the battery is an energy storage unit, its energy is represented in kWh when a battery is used to model the 6  battery unit, the equivalent capacitance can be determined from:

Advances in Power Electronics
In the given Thevenins equivalent model R o is the equivalent resistance (external + internal) of a parallel/series combination of the battery, which is usually a small value.The parallel circuit of R b and C bat is used to describe the energy and voltage during charging or discharging.R b in parallel with C bat represents self discharging of the battery, since the self discharging current of a battery is small, the value of resistance R b is large.From these equations, different parameters of a battery (R b , C bat ) are selected and given in the appendix.Here it is considered that the battery is having energy storage of 6 kW for 4 h peaking capacity, and its variation in voltage of 740-760 V.
The greatest potential for BES is in multifunction applications.These include (i) Peak shaving of customer load.
(ii) Load leveling-also benefits the electric utility.
(vi) Deferment of new transmission construction.
(vii) Reduction of magnetic field effects.

MATlAB Simulink Model
Figure 5 shows the MATLAB/Simulink based model of micro grid in which micro sources connected in parallel operate along its controller, respectively.Each micro source has its

Scope 13
Genvolt Goto 9 own load and is connected to the other micro source through short transmission line.Line resistance and reactance is also considered.The model consists of three hydro power plants each having induction generator with its prime movers, each of 7.5 kW, 415 V, 50 Hz, 4-pole and each having star connected capacitor bank to provide reactive power at no load condition.The additional requirement of power during transient condition is provided by voltage frequency based BESS controller.The sub models of DSTATCOM controllers are shown in Figures 6 and 7 which are formed by all equations which are describe in Section 3. The proposed system is modeled using simulink and PSB toolboxes in MATLAB version of 7.8, in discrete mode at 5e-6 sec step size with ode 23tb (stiff/TR-BDF-2) solver along with the saturation characteristics of the machine as determined by synchronous speed test.Available universal bridge is used to model the VSC.Thevenin's equivalent battery energy storage system is modeled as in [13,14,16,18] using passive components and a dc battery.The resistive/inductive balanced/unbalanced load is considered as linear load.

Results and Discussion
The performance of the proposed controller in micro grid is demonstrated with balanced/unbalanced linear, nonlinear and dynamic loads.Simulation waveforms for the entire three micro sources are presented in Figures 8-11.The subscript 1, 2, 3 are used for plant 1, plant 2, and plant 3.All the waveforms are represented using these subscripts for all type of loads.The waveforms consist of generator voltage (V gabc ), generator current (I gabc ), load current (I Labc ), controller current (I cabc ), load neutral current (I Ln ), load neutral current controller (I Lncc ), neutral current (I n ), terminal voltage (V t ), frequency ( f ), and battery current (I bat ) with respect to time (sec.),presented in the figures.Generator "3" is disconnected at 2.7 sec and reconnected at 2.9 sec.The voltage and current of the disconnected generator remain same after connection to the micro grid.In this paper the following four cases are discussed.

Performance of Microgrid with BESS Feeding
Balanced/Unbalanced Resistive Load.The performance of BESS based VF controller for micro grid with balanced/unbalanced resistive load is shown in Figures 8(a) and 8(b).Before the application of consumer load, the battery consumes all the generated active power.Star connected three single phase load each of 2.5 KW is applied at 2.2 sec.At 2.3 sec one phase is open and later on at 2.4 sec another phase is open hence load becomes unbalanced.Results include charging and discharging of battery and maintaining load balancing.Later on one by one phases are reconnected to the system.Hence the balanced, unbalanced, and no load condition voltage and frequency of the system remain constant.

Performance of Microgrid with BESS Controller after
Removing One Micro-Source.The performance of BESS based VF controller is shown in Figures 8(a) and 8(b).At 2.6 sec balanced resistive loads is applied to the system and at 2.7 sec fault is occur between hydro plant "3" and its load "3" so it get disconnected from the rest of the micro source.The plant remains disconnected from "2.7 to 2.9 sec" and again it is connected to the system at "2.9 sec."During the disconnected interval 2.7 sec to 2.9 sec there is discharging of battery "1" and "2" as they have to share the extra load of micro source "3."As is seen in waveform of Figure 8, terminal voltage and frequency of the system remain constant even after removal of one micro source.

Performance of Microgrid with BESS Feeding Balanced/Unbalanced
Reactive Load and Removal of One Micro-Source.Similarly, the performance of BESS based VF controller for micro grid with balanced/unbalanced reactive load is shown in Figures 9(a) and 9(b).Star connected three single phase load of each 2.5 KW and 1.87 KVAR is applied at 2.2 sec.At 2.3 sec one phase is open and later on at 2.4 sec another phase is open hence load becomes unbalanced and results in charging and discharging of battery, which shows load balancing of BESS fed VF controller.Again at 2.6 sec balanced load is applied to the system.Now at 2.7 sec a 3-phase fault occurs between load and hydroplant "3" so this plant is out of order and unable to support its load from 2.7 sec to 2.9 sec.It is seen from the waveform even if one plant is off the BESS based VF controller works and supplies the power during faulty condition.In this way, BESS keeps the overall generated power constant at the generator terminal which in turn regulates the system frequency.

Performance of Microgrid with BESS Feeding Balanced/Unbalanced Nonlinear Load and Removal off One Micro
Source.Similarly, the performance of BESS based VF controller for micro grid with balanced/unbalanced non-linear load is shown in Figures 10(a    during faulty condition.In this way, BESS keeps the overall generated power constant at the generator terminal which in turn regulates the system frequency.

Conclusion
A detailed analysis of a micro grid with three micro sources under different load conditions is dealt with in this paper.The proposed BESS controller based voltage and frequency with each micro source regulates the terminal voltage and frequency of the source and hence stabilizes the micro grid.The mathematical model for BESS controller is analyzed for transient and dynamic condition.The controller provides desirable feature of synchronous condenser operating in capacitive and inductive modes.The capability of BESS based VF controller is demonstrated for load balancing, load leveling, and harmonic eliminations in linear, nonlinear, and dynamic loads.The BESS controller also works satisfactorily during removal of one micro source but as the whole system is connected in parallel other controller shares the load of that removed power generating plant and hence maintains the voltage and frequency of the whole system constant.Though due to battery energy storage system the size and the cost of the controller is increased but reliability of system with its VF control, outweighs this added cost.The implementation of this technology reinforces the use of such system where the grid connection has not reached yet and also in remote areas where renewable sources are available in abundance.

Figure 1 :
Figure 1: The micro grid with micro source, load, and controller.

Figure 2 :
Figure 2: Two generators connected by line impedance.

Figure 4 :
Figure 4: Thevenin equivalent circuit of battery model.

Figure 6 :
Figure 6: Sub system of MATLAB/Simulink model of hydropower plant using VF based BESS Controller.

Figure 7 :
Figure 7: Sub system of MATLAB/Simulink model of hydropower plant using VF-based BESS Controller.

Figure 10 :
Figure 10: (a) Transient waveform of microgrid with BESS based VFC feeding balanced/unbalanced nonlinear load and removal of one plant.(b) Transient waveform of microgrid with BESS based VFC feeding balanced/unbalanced nonlinear load and removal of one plant.