In grid-connected operation, generation and consumption in the microgrid are normally not limited, and only when needed, the macrogrid sends generation or consumption orders to the microgrid to control power exchange between the two. Specifically, in grid-connected operation, the macrogrid, based on economic analysis, sends power exchange setting values to the microgrid to maintain optimized operation. Based on the setting values, the energy management system of the microgrid will exercise control over the output of DG sources and charge and discharge of ESs, so that the microgrid operates on the specified power exchange rate in a secure and economic manner. In determining the output of various DG sources based on the power exchange setting values, the characteristics of the DG sources and control response characteristics should be considered for the energy management system.
6.2.4.1. Power balance in grid-connected operation
When the microgrid is grid-connected, the grid provides rigid voltage and frequency support, and normally exercises no special control over the microgrid.
In some cases, the grid specifies the amount of power exchange between the grid and microgrid, thus necessitating monitoring of power flow through the PCC.
When the actual power exchange deviates significantly from the setting value given by the grid, the microgrid control center (MGCC) needs to disconnect some loads or generators from the microgrid, or reconnect the loads or generators previously rejected to the microgrid, to minimize the deviation. The deviation of actual power exchange from the setting value is calculated as follows:
ΔP(t)=P(t)PCC−P(t)plan
(6.8)
where
P(t)plan means the active power exchange setting value sent from the grid to the microgrid at the time of
t, and
P(t)PCC the active power flowing through the PCC at the time of
t.
If ∆P(t) > ɛ, there is a power deficiency in the microgrid, and the MGCC needs to reconnect the generators previously tripped to the microgrid, or disconnect some less important loads from the microgrid; if ∆P(t) < –ɛ, there is a power surplus in the microgrid, the MGCC needs to reconnect the loads previously shed to the microgrid, or trip some DG sources that produce electricity at a higher cost.
6.2.4.2. Power balance during transition from grid-connected mode to islanded mode
At the instant of transition from grid-connected mode to islanded mode, the power flowing through the PCC is suddenly cut. If this power flows to the microgrid before the transition, a power deficiency of such an amount will occur in the microgrid after transiting to islanded mode; otherwise, a power surplus of such an amount will occur in the microgrid after the transition. The microgrid usually suffers a significant deficiency due to the sudden loss of power from the grid.
If, at the very beginning of islanded operation, emergency control measures are not taken, the microgrid will experience a dramatic frequency decline, causing protective outage of some DG sources, followed by a greater deficiency and further frequency decline, then protective tripping of other DG sources, and finally collapse of the microgrid. As such, to keep the microgrid in islanded operation for a long time, it is necessary to take control measures at the instant of the microgrid being separated from the grid to maintain power balance.
In the event of power deficiency at the very beginning of islanded operation, it is necessary to immediately shed all or some less important loads (or even some important loads) and increase the output of ES; in the event of power surplus, it is necessary to immediately reduce the output of ES or even trip some of the DG sources. This will restore the microgrid to power balance quickly.
The instant deficiency (or surplus, as the case may be) in the microgrid is equal to the power flowing through the PCC before the separation.
Pqe=PPCC
(6.9)
PPCC is expressed as a positive number if the power flows from the grid to the microgrid and vice versa. A Pqe greater than 0 indicates power deficiency in the microgrid at the instant of separation; and a Pqe smaller than 0 indicates power surplus.
As the ESs are intended to provide uninterrupted power supply to important loads for a certain period in islanded mode, such principles for power balance at the instant of separation apply that less important loads are shed first under the assumption that the output of all ESs is 0, then the output of the ESs is adjusted, and finally some important loads are shed if necessary.
6.2.4.3. Power balance in islanded operation
The microgrid is capable of operating in both grid-connected mode and islanded mode. When the microgrid disconnects from the grid after a fault, by adjusting the output of DG sources, output of ESs, and loads to achieve power balance and control, the microgrid can maintain stable operation. This ensures uninterrupted supply to important loads with DGs, thereby contributing to a higher efficiency of DG sources and supply reliability.
During islanded operation, the output of DG sources in the microgrid may vary with the environment (such as the irradiance, wind strength, and weather condition), leading to significant fluctuations of voltage and frequency. Therefore, it is necessary to monitor the voltage and frequency of the microgrid in real time, so that measures can be taken in time to deal with sudden change of sources and load that may impair the security and stability of the microgrid.
Supposing that the power deficiency at a moment during islanded operation is
Pqe, then
ΔPL∗=Pqe/PLΣ. It can be inferred from Eq.
(6.2) that
Pqe=f(0)−f(1)f(0)×KL∗PL∑
(6.10)
If, in islanded operation, the frequency at a moment f(1) is lower than fmin, there occurs a power deficiency on the microgrid, requiring the MGCC to reconnect the generators previously tripped, or shed part of the less important loads. While if f(1) is higher than fmax, there appears a remarkable power surplus on the microgrid, requiring the MGCC to reconnect loads previously shed or trip some DG sources.
1. Load-shedding control in the case of power deficiency
In the case of power deficiency (Pqe > 0), the following control strategies apply:
a. Calculate the current active output PS∑ and maximum active output PSM of ESs.
PSΣ=∑PSiPSM=∑PSmax–i}
(6.11)
where PSi is the active output of the ES i, which is positive during discharge and negative during charge.
b. If
Pqe +
PS∑ ≤ 0, it indicates the ES is being charged, and if the charging power is greater than the power deficiency, reduce the charging power until
P′SΣ=P SΣ+P qe, and stop the control. Otherwise, set the active output of the ES to 0 and recalculate the power deficiency
P′.
P′qe=Pqe+PS∑PS∑=0}
(6.12)
According to Eq.
(6.5), the allowable forward and reverse deviations of power deficiency can be calculated based on the maximum frequency
fmax and minimum frequency
fmin:
Pqe+=KL∗(fmax−f(0))(P1∑−Pqe)f(0)−KL∗(fmax−f(0))Pqe−=KL∗(f(0)−fmin)(P1∑−Pqe)f(0)+KL∗(f(0)−fmin)⎫⎭⎬⎪⎪⎪⎪
(6.13)
c. Determine the amount of less important loads to be shed
P(1)jh−min=Pqe−Pqe−P(1)jh−max=Pqe+Pqe+⎫⎭⎬
(6.14)
d. Shed less important loads. Shed loads in an ascending order of importance. For loads of the same importance, shed them in a descending order of power. If
PLi (power of a load) >
P(1)jh−max, do not shed this load and proceed to check the next one; if
PLi <
P(1)jh−min, shed this load and proceed to check the next one. If
P(1)jh−min≤PLi≤P(1)jh−max, shed this load and stop checking other loads. After shedding the load
i, recalculate the power deficiency based on Eq.
(6.15), and the amount of less important loads needing to
be shed based on Eq.
(6.14), and then proceed to check the next load.
P'qe=Pqe−PLqc−i
(6.15)
where PLqc–i means the active power of loads that are shed.
e. After shedding less important loads as appropriate, if –PSM ≤ Pqe ≤ PSM, adjust the output of ESs to provide the remaining power deficiency until PS∑ = Pqe, and then stop the control. Otherwise, calculate the amount of important loads needing to be shed, that is
P(2)jh−min=Pqe−PSMP(2)jh−max=Pqe+PSM⎫⎭⎬
(6.16)
f. Shed important loads in a descending order of power. If
PLi (power of a load) >
P(2)jh−max, do not shed the load and proceed to check the next one; if
PLi <
P(2)jh−min, shed the load and proceed to check the next one; if
P(2)jh−min≤PLi≤P(2)jh−max, shed the load and stop checking other loads. After shedding the load
i, recalculate the power deficiency based on Eq.
(6.15) and the amount of important loads needing to be shed based on Eq.
(6.16), and then proceed to check the next load.
g. Adjust the output of ESs to provide the remaining power deficiency after appropriate load shedding until PS∑ = Pqe.
2. Generator tripping control in the case of power surplus
In the case of power surplus (Pyy > 0), it is necessary to trip some generators, and the control strategies are similar to those in the case of power deficiency:
a. Calculate the current and maximum active output of the ESs based on Eq.
(6.11).
b. If
–PSM ≤
Pyy –
PS∑ ≤
PSM, adjust the output of the ESs to absorb the power surplus after a proper number of generators are tripped until
P′SΣ=Pyy−PSΣ, and then stop the control. Otherwise, proceed to the next step.
c. Calculate the allowable forward and reverse deviations of power surplus based on the allowable upper and lower limit of frequency:
Pyy+=KL∗(f(0)−fmin)f(0)(PL0−Pyy)Pyy−=KL∗(fmax−f(0))f(0)(PL0−Pyy)⎫⎭⎬⎪⎪⎪⎪
(6.17)
d. If the ES is being discharged (PS∑ > 0), set the discharge power to 0 and recalculate the power surplus:
{Pyy=Pyy−PS∑PS∑=0
(6.18)
e. Calculate the amount of DG sources needing to be tripped:
Pqj−min=Pyy−PSM−PS∑−Pyy−Pqj−max=Pyy+PSM−PS∑+Pyy+}
(6.19)
f. Trip the generators in a descending order of power. If
PGi (power of a source) >
Pqj–max, do not trip the source and proceed to check the next one; if
PGi <
Pqj–min, trip the source and proceed to check the next one; if
Pqj–min ≤
PGi ≤
Pqj–max, trip the source and stop checking other sources. After tripping the source
i, recalculate the power surplus based on Eq.
(6.20) and the amount of sources needing to be tripped based on Eq.
(6.19), and proceed to check the next source.
P′yy=Pyy−PGqc−i
(6.20)
where PGqc–i means the active power of DG that is tripped.
g. Adjust the output of ESs to absorb the remaining power surplus after a proper number of generators are tripped until PS∑ = –Pyy.