3.1. Control Strategy of Power Agents
Figure 3 shows the control block diagram of agent
in the decentralized DCMG system. Compared to the conventional voltage droop controllers [
30,
31], the proposed control scheme only utilizes the primary controller to reduce the computational burden. The primary controller consists of the voltage control and current control. In the proposed control scheme, in order to maintain the power balance even in the circumstance of emergency conditions, the DCV sensor fault in agent
is detected, which is described in detail in Subsection 3.2. For this purpose, the DCV of agent
is estimated by the observer in the proposed control scheme. The agent
regulates the DCV by the proportional-integral (PI) controllers using the estimated DCV value. In addition, the estimated DCV is also used to detect the DCV sensor fault for the purpose of guaranteeing the power balance. From (1), the DCV of agent
can be estimated as
where
is the estimated DCV value and
is observer gain.
To ensure the power balance, the decentralized DCMG system in this study uses nine steady-state operation modes as shown in
Table 1 under normal conditions without any DCV sensor fault. In each operation, the control modes of the power agent
are determined according to the criterion that only one power agent regulates the DCV at each instant. When the DCMG system is subject to change of the operation modes caused by uncertain conditions such as power variation and system uncertainty, the transition operation modes are used to identify the power agent that regulates the DCV. The transition operation modes are described in detail in Subsection 3.3. The control modes of the power agent
are separated into two types: the voltage control and current control modes. The voltage control mode which is implemented as shown in
Figure 3, is employed to regulate the DCV. In contrast, the current control mode is realized by only the PI current controller.
Nine steady-state operation modes in
Table 1 are explained in detail.
Operating mode NO1: This mode occurs in the high electricity price when the sum of maximum discharging battery power and wind power is higher than load demand. The grid agent regulates the DCV at the nominal value Vnom by GVCMinv (Grid agent Voltage Control Mode by Inverter operation). The battery agent operates in BCCMdis (Battery Current Control Mode by Discharging operation), and the wind agent operates in the maximum power point tracking (MPPT) mode.
Operating mode NO2: This mode occurs in the high electricity price when the sum of maximum discharging battery power and wind power is lower than load demand. In this situation, to guarantee the power balance, the grid agent supplies the power to the DC bus even under high electricity price condition by regulating the DCV at Vnom. The grid agent works in GVCMcon (Grid agent Voltage Control Mode by Converter operation), the battery agent operates in BCCMdis, and the wind turbine agent operates in the MPPT mode.
Operating mode NO3: This mode occurs in the normal electricity price when the sum of maximum charging battery power and load demand is less than the wind power. In this case, to ensure the power balance, the grid agent absorbs the power from the DC bus by regulating the DCV at Vnom. The grid agent operates in GVCMinv, the battery agent operates in BCCMchar (Battery Current Control Mode by Charging operation), and the wind turbine agent operates in the MPPT mode.
Operating mode NO4: This mode occurs in the normal electricity price when the sum of maximum charging battery power and load demand is higher than the wind power. The grid agent regulates the DCV at Vnom by GVCMcon. The battery agent and the wind turbine agent operate in BCCMchar and the MPPT mode, respectively.
Operating mode NO5: This mode occurs in the normal electricity price when the battery state-of-charge (SOC) level is in maximum and the wind power is lower than the load demand. This mode also occurs in the high electricity price when the battery SOC level is in minimum and the wind power is lower than the load demand. In both situations, the grid agent regulates the DCV at Vnom by GVCMcon while the battery and wind turbine agents operate in the IDLE and the MPPT modes, respectively.
Operating mode NO6: This mode occurs in the normal electricity price when the battery SOC level is in maximum and the wind power is higher than load demand. This mode also occurs in the high electricity price when the battery SOC level is in minimum and the wind power is higher than load demand. In both situations, the grid agent regulates the DCV by GVCMinv. The battery agent operates in the IDLE mode, and the wind turbine agent operates in the MPPT mode.
Operating mode NO7: This mode occurs in the islanded mode when the wind power is less than the sum of the load demand and maximum charging power of the battery. The battery agent operates in BVCM (Battery Voltage Control Mode) to regulate the DCV at Vnom while the wind turbine agent operates in the MPPT mode.
Operating mode NO8: This mode occurs in the islanded mode when the sum of the battery maximum charging power and the load demand is lower than the wind power. In this situation, the wind turbine agent operates in VCM (Voltage Control Mode) to regulate the DCV at Vnom while the battery agent operates in BCCMchar.
Operating mode NO9: This mode occurs in the islanded mode when the battery SOC level is in maximum, and the wind turbine power is higher than the load demand. The wind turbine agent operates in VCM to regulate DCV at Vnom and the battery agent operates in the IDLE mode.
3.2. Control Strategy under DCV Sensor Fault
Figure 4 shows the DCV sensor fault detection and control mode decision algorithms of agent
i under the DCV sensor fault. In these algorithms,
ei,
,
c,
cmax,
,
, and
represent the difference between
and
, specified threshold value, the counter, the specified threshold of the counter, the previous value of
, the reference current of agent
i, and the previous value of
, respectively. The variable
Ffault denotes a fault flag which is used to indicate that the DCV sensor in agent
has a fault. When the DCV sensor has a fault, the variable
Ffault is set to one. Otherwise, it is reset to zero. Also, the variable
Fmode represents a control mode flag which is used to indicate the control mode of agent
i before the DCV sensor fault. If the control mode of agent
i was the voltage control mode before the DCV sensor fault, the variable
Fmode is set to one. Otherwise, it is reset to zero.
In the proposed control scheme, when Ffault is equal to zero, the system compares with to investigate the normal operation of the DCV sensor. When is larger than , the counter is utilized to count this event. When the counter c is less than cmax, the counter c is increased and is replaced with . However, if the counter c is greater than cmax, the fault detection algorithm confirms the DCV sensor fault in power agent i. As soon as the DCV sensor fault is identified, the fault detection algorithm sets the flag Ffault to one. Then, the control mode decision algorithm of agent i is executed to guarantee the system stability even in the DCV sensor fault by determining a proper operation mode.
In the control mode decision algorithm, the transition operations to the current control mode depend on the previous operations of the power agent having the DCV sensor fault. If the DCV sensor failure occurs in the power agent that does not regulate the DCV, it still maintains the operation of the current control mode with set to the previous current reference . On the other hand, if the DCV sensor failure occurs in the power agent i that regulates the DCV, the other power agent should take the role of regulating the DCV. For this purpose, the power agent operation is shifted to the current control mode with the current reference change.
In case that the DCV sensor fault occurs in the grid or battery agent that regulates the DCV, the current reference is shifted to negative by subtracting a small positive value from the previous current reference . Because more power is supplied to the DC bus, the DCV level is continuously increased. As a result, by detecting this DCV transition, the other power agents can regulate the DCV after the transition operation mode.
In case that the DCV sensor fault occurs in the wind turbine agent that regulates the DCV, the current reference of the wind turbine agent is shifted to positive by adding a small positive value to the previous current reference . Because the power supplied to the DC bus is reduced, the DCV level is decreasing. By detecting this DCV transition, the other power agents can regulate the DCV after the transition operation mode.
To ensure both the voltage regulation and power balance even under the DCV sensor fault,
Table 2 shows additional steady-state operation modes for a decentralized DCMG system according to the DCV sensor fault. During normal operation without any sensor fault, the DCMG system operates in one of the steady-state operation modes listed in
Table 1. Under the DCV sensor fault, the DCMG system operation is changed to one of the additional steady-state modes in
Table 2 after the transition operation modes which will be explained in the next subsection.
Nine additional steady-state operation modes in
Table 2 are explained in detail. The operation mode transition from the normal operation in
Table 1 to the additional operation in
Table 2, caused by the DCV sensor faults will be described in
Figure 5.
Operation mode AO1: In this mode, the battery agent operates in BVCM to regulate the DCV at Vnom. The wind turbine agent operates in the MPPT mode and the grid agent operates in GCCMinv (Grid Current Control Mode by Inverter operation).
Operation mode AO2: In this mode, the wind turbine agent operates in VCM to regulate DCV at Vnom. The battery agent operates in BCCMdis and the grid agent operates in GCCMinv.
Operation mode AO3: In this mode, the battery agent operates in BVCM to regulate DCV at Vnom. The wind agent operates in the MPPT mode and the grid agent operates in GCCMcon (Grid Current Control Mode by Converter operation).
Operation mode AO4: In this mode, the wind turbine agent operates in VCM to regulate DCV at Vnom. The battery agent operates in BCCMdis and the grid agent operates in GCCMcon.
Operation mode AO5: In this mode, the wind turbine agent operates in VCM to regulate DCV at Vnom. The battery agent operates in BCCMchar and the grid agent operates in GCCMinv.
Operation mode AO6: In this mode, the wind turbine agent operates in VCM to regulate DCV at Vnom. The battery agent operates in BCCMchar and the grid agent operates in GCCMcon.
Operation mode AO7: In this mode, the wind turbine agent operates in VCM to regulate DCV at Vnom. The battery agent operates in the IDLE mode and the grid agent operates in GCCMcon.
Operation mode AO8: In this mode, the wind turbine agent operates in VCM to regulate DCV at Vnom. The battery agent operates in the IDLE mode and the grid agent operates in GCCMinv.
Operation mode AO9: In this mode, the wind turbine agent operates in VCM to regulate DCV at Vnom. The battery agent operates in BCCMdis.
Figure 5 shows the operation mode transitions caused by the DCV sensor fault, in which the DCV sensor fault of the battery, wind turbine, and grid agents is denoted by the variables
,
, and
, respectively. The maximum and minimum SOC levels of the battery agent are denoted by
and
, respectively. The variables
,
, and
are represented as
Similarly, two variables to denote the battery SOC status are defined as
where
denotes the battery SOC.
If the DCV sensor failures occur when the DCMG system operates in the normal operation mode
NO1, the DCMG operation is changed to additional operation modes as shown in
Figure 5a. During the operation of
NO1, if the DCV sensor failure occurs in the battery agent (
FB=1) or the wind turbine agent (
FW=1) or both the battery and wind turbine agents ((
FB=1)&(
FW=1)), the DCMG system still maintains
NO1 because the battery and the wind turbine agents did not regulate the DCV before the sensor fault. If the grid (
FG=1) or both the grid and wind turbine agents ((
FG=1)&(
FW=1)) have the DCV sensor fault, the DCMG system operation is changed to mode
AO1. The grid agent changes the control mode from
GVCMinv in
NO1 into
GCCMinv in
AO1 according to
Figure 4. In this case, the battery agent operates in BVCM to regulate the DCV. Finally, if both the grid and battery agents ((
FG=1)&(
FB=1)) have the DCV sensor fault, only the wind turbine agent can regulate the DCV. As a result, the DCMG system is changed to mode
AO2.
Figure 5b,
Figure 5c, and
Figure 5d show the transition to additional operation modes of the DCMG system when the DCV sensor fault occurs during the normal DCMG system operation in
NO2,
NO3, and
NO4, respectively. These figures show similar behavior with
Figure 5a according to the location of the DCV sensor fault. However, under each DCV sensor fault, the destination of additional operation modes is quite different. In the normal operation modes
NO2,
NO3, and
NO4, the grid agent regulates the DCV either in converter or inverter operation. Even in the case of (
FB=1) or (
FW=1) or ((
FB=1)&(
FW=1)), the DCMG system still maintains the previous operations
NO2,
NO3, and
NO4, respectively, as shown in
Figure 5b,
Figure 5c, and
Figure 5d because the grid agent can still regulate the DCV. If the DCV sensor fault occurs in the grid agent, (
FG=1) or ((
FG=1)&(
FW=1)), the DCV regulation is achieved by the battery agent, which results in the transition into additional operation modes
AO3,
AO1, and
AO3, respectively, in
Figure 5b,
Figure 5c, and
Figure 5d. If the DCV sensor failure occurs in the grid agent and battery agent at the same time ((
FG=1)&(
FB=1)), only the wind turbine agent is able to regulate the DCV. Then, by transition into additional operation modes
AO4,
AO5, and
AO6, respectively, the wind turbine agent regulates the DCV in VCM, and other power agents operate in the current control mode.
Figure 5e shows the operation mode transition from
NO5 caused by the DCV sensor faults. As we mentioned before,
NO5 occurs in the normal electricity price when the battery SOC level is in maximum and the wind power is lower than the load demand. This mode also occurs in the high electricity price when the battery SOC level is in minimum and the wind power is lower than the load demand. If the DCV sensor fault does not occur in the grid agent, the DCMG system maintains mode
NO5. In the condition of [(
FBH=1)&(
FG=1)] or [(
FG=1)&(
FB=1)], the DCMG system is changed from
NO5 to
AO7. In the first condition, the battery agent operates in the IDLE because it can not absorb charging power. In the second condition, because the grid and battery agents can not regulate the DCV, the wind turbine agent operates in VCM to regulate the DCV, which results in A
O7. In the condition of [(
FBL=1)&{(
FG=1) or ((
FG=1)&(
FW=1))}], the DCMG system is changed from
NO5 to
AO3. This condition represents the case that the DCV sensor fault occurs in the grid agent, or both the grid and wind turbine agents when the battery SOC level is in a minimum. In either case, the battery agent works in BVCM to regulate the DCV with charging, which results in A
O3.
Figure 5f has a similar structure as
Figure 5e. While the grid agent starts with
GVCMcon in the normal operation mode of
NO5 in
Figure 5e, it starts with
GVCMinv in
NO6 in
Figure 5f. Unless the DCV sensor fault occurs in the grid agent, the DCMG system maintains mode
NO6. Depending on the battery SOC condition and the DCV sensor fault locations, this normal operation mode is shifted to
AO8 or
AO1, respectively. In
AO1, the battery agent regulates the DCV in BVCM. If the battery agent is not available to regulate the DCV because of the SOC condition or DCV sensor fault, the wind turbine agent is used in VCM, instead.
Figure 5g shows the operation mode transition caused by the DCV sensor faults when the DCMG system operates in
NO7. If the DCV sensor of the battery agent is operating normally regardless of whether the DCV sensor fault occurs in the grid or wind turbine agent, the DCMG system maintains
NO7. However, when the battery agent has a DCV sensor fault, i.e., (
FB=1), only the wind turbine agent can regulate the DCV in VCM. Then, the DCMG system is changed to
AO9 or
NO8 depending on the power relation of the wind power and load demand.
Figure 5h shows the transition of the DCMG system when the DCV sensor fault occurs during the normal operation of
NO8. Unless the DCV sensor failure occurs in the wind turbine agent, the DCMG system maintains
NO8. If the wind turbine agent has a DCV sensor fault (
FW=1), the battery agent regulates the DCV in BVCM, which results in the change of the DCMG operation to
NO7.
Finally,
Figure 5i shows the operation mode transition from
NO9 caused by the DCV sensor fault. Since only the wind turbine agent is operating in
NO9, the DCMG system maintains
NO9, if the DCV sensor of the wind turbine agent does not have a fault.
3.3. Transitional Operation Modes of Power Agents
In the proposed DCMG system, all power agents determine the operation modes by detecting the information of the DCV level without DCLs. When certain transient conditions are introduced into the DCMG system, the power agent in the DCMG system temporarily shifts the DCV value to different levels during a predetermined time. During this predetermined time, all the power agents appropriately change the operation mode during the transient periods before the DCMG system returns to another steady-state operation mode.
Table 3 lists the transition operation modes which are introduced into the DCMG system due to the DCMG system uncertainty. This Table also shows the power agents which activate each transition operation mode and resultant actions. In this Table,
VL1,
VL2, and
VL3 denote the first, second, and third low level DCV, respectively, and
VH1,
VH2, and
VH3 denote the first, second, and third high level DCV, respectively.
When the event such as the electricity price change from normal to high, or the grid agent reconnection from a fault with a high electricity price happens, the DCMG system temporarily uses the transition operation mode
TO1. In the mode
TO1, the grid agent regulates the DCV to
VL1 to inform this event to other power agents.
Figure 6 shows the detection of the transition operation modes by each power agent. In
Figure 6, the horizontal axis represents the time required for transition operation detection, the vertical axis represents the DCV levels for different transition operations, and the color indicates the power agents to detect the transition operation. As the DCV level reaches
VL1, and lasts during 0.1 s, the other power agents such as the battery, wind turbine, and load agent
identify this event, and changes their operation appropriately. After 0.5 s from the instant that the DCV reaches
VL1, the grid agent regulates the DCV back to the nominal value
Vnom.
When the event such as the electricity price change from high to normal, or the grid agent reconnection from a fault with the normal electricity price happens, the DCMG system temporarily uses the transition operation mode
TO2. In
TO2, the grid agent regulates the DCV to
VH1 to inform this event to other power agents. As shown in
Figure 6, as the DCV level reaches
VH1, and lasts during 0.1 s, the other power agents identify this event, and change their operation appropriately. After 0.6 s from the instant that the DCV reaches
VH1, the grid agent regulates the DCV back to the
Vnom.
In an islanded mode of the DCMG system, if the battery agent is in critical condition such as the maximum battery SOCB, the DCV is increasing because the battery agent cannot absorb power. After the DCV reaches VH3, the wind turbine agent maintains the DCV to VH3 during 0.3 s with the transition operation mode TO3. After 0.01 s from the instant that the DCV reaches VH3, the battery agent identifies this event to change the operation appropriately. After 0.3 s, the wind turbine agent regulates the DCV to Vnom again. This transition operation mode TO3 is also initiated by the grid agent when the grid agent operating in GVCMinv is disconnected from the DCMG system, or the grid agent has a DCV sensor fault.
The transition operation mode
TO4 is triggered by the grid agent when the grid agent operating in
GVCMcon has a fault. The transition operation mode
TO4 is also activated when the wind power is decreased in an islanded mode. In this situation, because the supplied power is less than the load demand, the DCV is decreasing. If the battery agent detects that the DCV level is maintained lower than
VL2 more than 0.01 s, as shown in
Table 3, the battery agent acknowledges this event. Then, the battery agent changes the operation to BVCM to regulate the DCV back to
Vnom.
When the grid agent is in emergency conditions such as a grid fault in high electricity price or the DCV sensor fault, the DCV is increasing due to surplus power, which triggers the transition operation mode TO5. As the DCV level is maintained higher than VH2 more than 0.01 s, the battery agent acknowledges this event, and changes the operation to BVCM to regulate the DCV back to Vnom.
When the DCMG system is in an islanded mode, SOCB reaches the minimum level, and the generated power of the wind turbine is less than the load demand, the DCV is decreased to the critical value of VL3. After 0.01 s from the instant the DCV reaches VL3, the load shedding is started.