Skip to main content
  • Original research
  • Open access
  • Published:

A demand side controller of electrolytic aluminum industrial microgrids considering wind power fluctuations

Abstract

Direct wind power purchase for large industrial users is a meaningful way to improve wind power consumption and decrease industrial production costs. Short-term wind power fluctuations may lead to large-scale wind power curtailment problems. To promote use of wind energy, a demand side control method is proposed based on output regulator theory for a grid-connected industrial microgrid with electrolytic aluminum loads to continuously track and respond to wind power fluctuations. The control model of the EALs and the dominant frequencies of the wind power fluctuation signals are analyzed and incorporated into the demand side control plant. The feedback control signals with active power deviations on the tie-line are used to design the demand side controller. Simulations are conducted for an actual industrial microgrid to validate the feasibility and effectiveness of the proposed method. The results demonstrate that the proposed controller based on output regulator theory is able to effectively track wind power fluctuations.

1 Introduction

To deal with energy shortage and environmental pollution, the government of China is actively promoting the construction of a low-carbon energy system. With the growing demand for energy saving and emission reduction, wind power is playing an increasingly important role in modern power systems. As a result, installed capacity of wind power has increased rapidly in China. According to the National Energy Administration, by the end of 2021, the installed wind power capacity in China has reached 328.48 GW, representing a 16.6% increase on 2020 [1]. In China, wind power resources are mainly concentrated in the northeastern, northern and northwestern regions with 61.9% of the total installed wind power capacity. However, wind power utilization is a serious issue [2]. In 2021, the lost electricity caused by wind power curtailment in northern and northwestern regions accounted for 13.0% and 26.6%, respectively, which was huge waste of investment and resource.

The reasons for large-scale wind power curtailment can be summarized as: (1) The locations of wind resources (most in northern and western regions) and load centers (most in eastern and southeastern regions) in China are distributed inversely, while lacking reserve capacity results in restriction on long-distance cross-regional wind power transmission [3]; (2) The imbalance between power supply and demand in local regions leads to wind power redundancy [4].

To alleviate the problems of local wind power consumption, the Chinese government has started to implement policies, such as lower electricity price, to encourage energy-intensive industrial production in those areas with abundant wind energy resources [5], e.g., the “Direct power purchase for large industrial users” policy since 2002 [6]. In the meantime, industrial enterprises are happy to look for ways of saving cost and promoting economic benefits. Thus, large industrial users have agreed to purchase electricity directly from an energy generator by signing long-term “power purchase agreement” contracts. This is different from the traditional way of buying electricity from a utility power grid [7]. Such policies are carried out by direct negotiation between generation and large users. These have made some progress in promoting power market reform in China. Over the last decade, the fast developing renewable energy generation and coordination with thermal power generation have been considered for the establishment of the electricity market [8, 9].

However, large-scale wind power fluctuations may bring negative effects on carrying out “direct wind power purchase (DWPP)” policies. Normally, energy storage systems (ESS) are applied to smooth wind power fluctuations [10], although the construction of large-scale ESS will increase investment cost for the power grid. In addition, industrial users may purchase extra reserve power instead of fluctuating wind power, and this is against the intention of DWPP to save production costs.

Some energy-intensive industrial loads with heat storage characteristics, such as electrolytic aluminum loads (EALs), have hundreds of megawatt power capacity. The demand side control methods and auxiliary service of EALs have been much studied. The analytical studies suggest that the EALs can help smooth the wind fluctuation in those grid-connected industrial microgrid (IMG) that have high penetration of wind power by using the tie-line active power deviation as the feedback signal [11, 12]. In an actual isolated industrial power system in China, the EALs are regulated to maintain frequency stability via controlling the generator excitation voltage or the saturable reactors of the EALs [13, 14]. With these control methods, the experimental verification of EALs in an actual IMG for primary frequency control is analyzed and discussed [15]. A hierarchical framework is proposed to coordinate the EALs and thermal power plants in an industrial park for secondary frequency regulation [16]. The results show that EALs offer huge regulating potential to respond to wind power fluctuations in the context of DWPP for large industrial users.

Remote wind power fluctuations tracking problems for large industrial users are significant and need to be explored. EALs are normally placed in a microgrid with a mature communication system. This serves as a foundation for demand side control. In addition, EALs are able to carry out continuous active power modulation with large regulation capacity for direct load control. The industrial microgrid is connected with the utility power grid (UPG) via the tie-line, developing the regulating potentials of EALs to track that the short-term wind power fluctuations are meaningful for carrying out the DPPU policies. Thus, wind power tracking can be discussed as power management problems on the tie-line and demand side.

The existing literature on power flow control of tie-line mainly focuses on long-term time-scales. An optimized fuzzy logic controller is proposed in [17] to minimize the daily tie-line power flow in a grid-connected microgrid with PV and ESS. In [18], an adaptive robust tie-line scheduling system considering wind power uncertainty is presented to optimize tie-line power flows every 15 min while a coordination control algorithm is developed to smooth tie-line power with a time interval of 10 min [19]. However, the previously mentioned studies do not cover the detailed dynamic model of the demand side. Thus, the strategies in [17,18,19] may be difficult to apply for dealing with short-term tie-line power fluctuations (5 min or less). In addition, wind power fluctuations appear as time-varying disturbance signals. Consequently, the traditional PI or PID controllers in [20, 21] are incapable of achieving zero steady-state error control effectively in terms of tracking wind power fluctuations on the demand side.

This paper aims to develop a theoretically sound and practically feasible demand side controller for EALs, one which guarantees wind power tracking for an electrolytic aluminum IMG. Using the theoretical development in [22, 23], output regulator theory is applied to design the feedback controller to solve the tracking or rejecting issues for the output in a control system. This has been verified to give satisfactory performance for demand side control in [12, 13].

The main contributions of the paper are:

  1. 1.

    A wide area closed-loop demand side control architecture is proposed to dynamically modulate the power consumption of EALs in an IMG. The advantages of regulating EALs are also illustrated. A direct wind power purchasing structure for an electrolytic aluminum IMG is discussed in detail to encourage wind power plants and industrial users to participate in DWPP policies.

  2. 2.

    A demand side controller based on output regulator theory is developed to achieve zero steady-state error in tracking short-term wind power fluctuations and satisfactory dynamic performance of the controlled EALs. The proposed controller only needs local state variables and a remote disturbance signal, instead of the network configuration of the UPG.

The rest of the paper is organized as follows. Section 2 describes the research background of an actual IMG and the direct wind power purchasing structure. The demand side control method of aluminum loads is presented in Sect. 3 while Sect. 4 introduces a demand side controller based on regulator theory and its design procedure. The simulation results conducted on the actual industrial microgrid are presented in Sect. 5, and conclusions are given in Sect. 6.

2 Direct wind power purchasing structure of an actual grid-connected IMG

2.1 Background of the electrolytic aluminum IMG

Normally, high energy consumption industrial loads, such as electrolytic aluminum productions, are placed in an industrial park, whose typical structure is shown in Fig. 1. As shown, the IMG is connected with the UPG via a tie-line.

Fig. 1
figure 1

The structure of an industrial park with EALs

Because of high energy consumption, the electricity cost for electrolytic aluminum enterprises may account for 30% to 40% of the total production cost [24]. Therefore, seeking generation sources with lower electricity fees brings economic significance to large industrial consumers. As shown in Fig. 1, the local thermal plants supply power directly to the aluminum loads instead of transmitting to the UPG, while the UPG covers the power imbalance between the local thermal plants and the large industrial consumers. The UPG also supplies reserve power when short circuit faults occur in the IMG. In summary, the electrical energy that the EALs need is from two sources: the local thermal plants and the UPG.

In the context of DWPP, industrial users are able to sign the power purchase contract with the wind power plants and power grid, while the direct purchase price is set lower than the grid sale price. Thus, for the electrolytic aluminum enterprises, directly purchasing wind power can decrease the production cost. Additionally, such a trading mechanism is profitable and improves the economic benefits of wind power retailers and promotes renewable energy consumption.

To promote renewable energy use, wind power is transmitted to the power grid in combination with thermal power. The active power on the tie-line \({{P}}_{{tie}}\) is the purchasing power between the IMG and UPG. Normally, the IMG makes contracts with wind power plants and the UPG based on the negotiated trading electricity and transmission fee, while the randomness and volatility of the wind power (especially in extreme scenarios) are dismissed. Since EALs are able to regulate their power consumption, it is meaningful for the demand side to respond to the wind power fluctuations, and this can be presented as obvious performance for DWPP. Therefore, it is vital to develop a practical control method for electrolytic aluminum enterprises to realize wind power tracking.

2.2 Wide area closed-loop demand side control

Assuming that an IMG contains n local generators and m EALs, the active power relation between generation and demand sides in an IMG is expressed as

$$\sum\limits_{i = 1}^{n} {P_{Gi} + P_{tie} = } \sum\limits_{j = 1}^{m} {P_{EALj} } + P_{hot} + P_{loss}$$
(1)

where \({{P}}_{{Gi}}\) is the output power of the ith generator. \({{P}}_{{EALj}}\) and \({{P}}_{{hot}}\) are the active power consumption of the jth EAL and heating loads, respectively. \({{P}}_{{loss}}\) is the active power loss of the IMG, while \({{P}}_{{tie}}\) is the transmission power on the tie-line, which is connected to the IMG and UPG.

The heating loads \({{P}}_{{hot}}\) and the active power loss \({{P}}_{{loss}}\) are considered as constant loads. Theoretically, the power change of the EALs leads to the change of \({{P}}_{{tie}}\) and \({{P}}_{{Gi}}\), which can be described as:

$$\sum\limits_{i = 1}^{n} {\Delta P_{Gi} + \Delta P_{tie} = } \sum\limits_{j = 1}^{m} {\Delta P_{EALj} }$$
(2)

By using spectrum analysis, the remote wind power fluctuation \(\Delta{{P}}_{{w}}\) can be classified into low and high-frequency types. These characterize slow and violent fluctuations, respectively. The active power of the EALs can be regulated at the milliseconds level, which is much faster than the regulation of local thermal generators, while for slow wind fluctuations, the thermal generators are able to respond. In this paper, extreme wind power fluctuation scenarios are considered, and at the seconds level, the active power of thermal generators is considered to be constant. Thus, in practice, (2) can be simplified to:

$$\Delta P_{tie} \approx \sum\limits_{j = 1}^{m} {\Delta P_{EALj} }$$
(3)

Based on (3), \(\Delta{{P}}_{{tie}}\) changes correspondingly when the EALs are regulated to respond to wind power fluctuations. This could be presented as the case that electrolytic aluminum enterprises directly purchase wind power.

Figure 2 presents a wide area closed-loop demand side control architecture. With the help of a wide area measurement system (WAMS) [24], the wide area demand side control is able to be carried out in extreme wind power fluctuating scenarios (at the seconds level). The remote wind power fluctuation signal \(\Delta{{P}}_{{w}}\) can be measured in real-time by PMUs and delivered to the demand side controller via fast communication channels. The output signals of the demand side controller can activate to regulate the power consumption of the EALs \({\Delta{{P}}}_{{EALj}}\).

Fig. 2
figure 2

The wide area closed-loop demand side control architecture with the application of WAMS

In practical application, the WAMS control station, downlink channel and the network control units (NCU) are necessary for the wide area closed-loop demand side control system [25]. The WAMS control station communicates with the PMUs via the transmission control protocol/Internet Protocol (TCP/IP) to monitor the status of the power system. The WAMS control station also calculates the demand side controllers based on the system status sent by the PMUs and sends the control parameters to the NCUs, while the NCUs issue the control commands to regulate the active power consumptions of the EALs, \({\Delta{{P}}}_{{EALj}}\).

As a result, the active power fluctuation on the tie-line, \({\Delta{{P}}}_{{tie}}\), can be controlled to correspond with \({\Delta{{P}}}_{{w}}\) according to (1)–(3). Consequently, the active power deviation signal \(\Delta{{P}}_{{tie}}\) can be monitored to compare with \(\Delta{{P}}_{{w}}\). This means that the electrolytic aluminum consumers purchase the electricity from the wind power generation enterprises.

The basic principle of the proposed control method can be summarized as: the power deviation signal \(\Delta{{P}}_{{tie}}\) is regulated to track the reference signal \(\Delta{{P}}_{{w}}\) by controlling the power consumption \({{P}}_{{EAL}}\). The proposed demand side control is considered as a wide-area control scheme since the remote information is used as the feedback signal. In addition, the demand control architecture is formulated as a closed-loop control system. This will be discussed in detail in Sect. 4.1.

From the above analysis, the key issue is how to control the EALs. To implement the demand side control scheme, the characteristics of the EALs are analyzed in detail in the next section.

3 Control method of EALs

3.1 Equivalent model of EALs

The configuration and operational characteristics of the EALs have been discussed in detail in [14]. Figure 3 depicts the electrical diagram and its equivalent circuit of an EAL. The electrolyzing production is driven by the DC voltage \({{U}}_{{DC}}\), generated by twelve full-bridge rectifiers with saturable reactors. All the electrolytic cells are in series and can be represented by a back electromotive force (emf) \({{E}}\) and a resistance \({{R}}\). From the experimental results, the equivalent back emf \({{E}}\) is 354.6 V and the resistance \({{R}}\) is 2.016 mΩ [14]. In Fig. 3, \({{U}}_{{AC}}\) and \({{k}}\) are the load bus voltage and the transformer ratio, respectively. \({{U}}_{{SR}}\) is the voltage drop on the saturable reactor, with the nominal value of 20–40 V (maximum value allowed 60–70 V).

Fig. 3
figure 3

The electrical diagram and the equivalent circuit of the EAL

The active power consumption of the EAL \({{P}}_{{EAL}}\) is deduced in [14, 15], as:

$$P_{EAL} = U_{DC} I_{DC} = \left( {I_{DC} R + E} \right)I_{DC}$$
(4)

where \({{I}}_{{DC}}\) is the direct current which can be expressed by:

$$I_{DC} = \frac{{U_{DC} - E}}{R} = \frac{{1.35\left( {{{U_{AC} } \mathord{\left/ {\vphantom {{U_{AC} } k}} \right. \kern-\nulldelimiterspace} k} - U_{SR} } \right) - E}}{R}$$
(5)

Equation (4) indicates that the active power of the aluminum load \({{P}}_{{EAL}}\) is related to the direct current \({{I}}_{{DC}}\). Based on (5), there are two methods for regulating \({{P}}_{{EAL}}\) in actual production, i.e., regulating the tap changer of the OLTC (i.e., the value of \({{k}}\)) or adjusting the voltage drop \({{U}}_{{SR}}\) on the saturable reactor by controlling the inductance value \({{L}}_{{SR}}\) [14]. Because of the advantages of fast response (milliseconds) and continuous regulation, controlling \({{U}}_{{SR}}\) is better for responding to wind power fluctuation.

3.2 Control method of EAL

Based on (4) and (5), \({{P}}_{{EAL}}\) is relevant to \({{I}}_{{DC}}\) which is controlled by regulating the value of \({{U}}_{{SR}}\). Figure 4 depicts a DC side current control model in actual production.

Fig.4
figure 4

A direct side current control model of EAL

In Fig. 4, \({{I}}_{{{DC}}{0}}\) and \({{I}}_{{{DC}}{{ref}}}\) are the initial value and reference of the DC side current, respectively. \(\Delta{{I}}_{{DC}}\), as the control input of the model, is the DC side current deviation. \({{T}}_{{DC}}\) and \({{T}}_{{SR}}\) are the time constants of the control model, while \({{K}}_{{P}}\), \({{K}}_{{I}}\) and \({{K}}_{{SR}}\) are the gain coefficients. \(\Delta{{U}}_{{SR}}\) is the voltage deviation on the saturable reactor, with the maximal and minimal values expressed as \(\Delta{{U}}_{{SRmax}}\) and \(\Delta{{U}}_{{SRmin}}\).

According to Fig. 4, for the jth EAL, the dynamic equations are given by:

$$\left\{ {\begin{array}{*{20}l} {T_{{DCj}} \Delta \dot{I}_{{DCaj}} = - \Delta I_{{DCaj}} + \Delta I_{{DCrefj}} } \hfill \\ {\Delta \dot{I}_{{DCbj}} = \left( { - K_{{pj}} /T_{{DCj}} + K_{{Ij}} } \right)\Delta I_{{DCaj}} + \left( {K_{{pj}} /T_{{DCj}} } \right)\Delta I_{{DCrefj}} } \hfill \\ {T_{{SRj}} \Delta \dot{U}_{{SRj}} = K_{{SRj}} \Delta I_{{DCbj}} - \Delta U_{{SRj}} } \hfill \\ \end{array} } \right.$$
(6)

Combining (4)–(5), the active power deviation of the EAL \(\Delta P_{{EALj}}\) can be calculated by:

$$\Delta P_{EALj} = \left[ {1.35\Delta U_{SRj} \left( {1.35\Delta U_{SRj} - 2U_{DC0j} + E_{j} } \right)} \right]/R_{j}$$
(7)

where \({{U}}_{{DC0j}}\) is the initial value of the DC side voltage.

Based on (3) and (7), \(\Delta{{P}}_{{tie}}\) can be determined by:

$$\Delta P_{tie} = \sum\limits_{j = 1}^{m} {\Delta P_{EALj} } = \sum\limits_{j = 1}^{m} {\left( {a_{j} \Delta U_{SRj}^{2} + b_{j} \Delta U_{SRj} } \right)}$$
(8)

where \({{a}}_{{j}}\) and \({{b}}_{{j}}\) are the coefficients of the quadratic terms and linear terms, respectively.

Based on the discussion above, the aluminum load control possesses the following advantages in responding to wind power fluctuation:

  1. 1.

    Fast Response. The power consumption of the EALs can be regulated continuously by adjusting the saturable reactors within tens of milliseconds. Thus, the demand side can be controlled at the seconds level, which is sufficient for extreme wind power fluctuation scenarios.

  2. 2.

    Considerable Regulating Capacity. The EALs’ active power consumption can be modulated over the range of – 10% to + 5% by regulating \(\Delta{{U}}_{{SR}}\) within its operating limits (20–70 V). This is considerable potential regulating capacity due to their large power consumption. The regulation shows no obvious negative effect on the aluminum production if the temperature of electrolytic cells can be kept within the acceptable range [14].

As this paper concentrates on the demand side control in an IMG to track wind fluctuation in a remote area, the remainder of the paper will focus on the issue of how to develop a theoretically sound and practically feasible demand side controller using remote information.

4 Demand side control based on output regulator theory

The aim of the demand side control scheme is to regulate the active power on the tie-line to track wind power fluctuations by controlling the voltage drop on the saturable reactors. The proposed control strategy indicates that \(\Delta{{P}}_{{w}}\) exists as a time-varying disturbance signal from the exogenous system and \(\Delta{{P}}_{{tie}}\) represents the output signal of the control system. Traditional control methods such as PI and PID controllers are incapable of realizing tracking wind power fluctuation effectively. It is worth noting that such a demand side control problem can be reformulated as an output regulation problem. Consequently, the active power regulation problem of EALs can be solved using output regulator theory [22, 23].

4.1 Demand side control model

The demand side controller for the EALs [seen as (3), (6), (7) and (8)] can be described in a linearization form:

$$\left\{ {\begin{array}{*{20}l} {\varvec{\dot{x}} = \varvec{Ax} + \varvec{Bu} + \varvec{Pd}}\hfill \\ {\varvec{\dot{d}} = \varvec{Sd}} \hfill \\{\varvec{e} = \varvec{y} - \varvec{y}_{\varvec{r}} = \varvec{Cx} + \varvec{Qd}} \hfill \\\end{array} } \right.$$
(9)

In (9), the first equation describes a controlled plant with the system state \({{\varvec{x}}}\in {{\varvec{R}}}^{{r}}\), control input \({{\varvec{u}}}\in {{\varvec{R}}}^{{p}}\) and external signal \({{\varvec{d}}}\in {{\varvec{R}}}^{{s}}\). The second equation represents an exosystem with disturbances (to be rejected) or references (to be tracked), while the third equation defines an error variable \({{\varvec{e}}}\in {{\varvec{R}}}^{{q}}\) between the output \({{\varvec{y}}}={{\varvec{Cx}}}\) and the reference \({{\varvec{y}}}_{{\varvec{r}}}=-{{\varvec{Qd}}}\). The detailed diagram of the closed-loop control system is presented in Fig. 5.

Fig.5
figure 5

Block diagram of the demand side control plant

Assuming an IMG with m EALs, the control system (6) is of the form (9), where the state \({{\varvec{x}}}=[{\Delta}{{\varvec{I}}}_{{\varvec{DCaj}}},{\Delta}{{\varvec{I}}}_{{\varvec{DCbj}}},{\Delta}{{\varvec{U}}}_{{\varvec{SR}j}}]\in {{\varvec{R}}}^{{3m}}\), control input \({{\varvec{u}}}={\Delta}{{\varvec{I}}}_{{\varvec{DCrefj}}} \in {{\varvec{R}}}^{{m}}\), external disturbance signal \({{\varvec{d}}}={\Delta}{{\varvec{P}}}_{{\varvec{w}}} \in {{\varvec{R}}}\). The aim of the demand side control scheme is to regulate the power deviation on the tie-line \(\Delta{{P}}_{{tie}}\) to respond to the wind power fluctuation \(\Delta{{P}}_{{w}}\) by controlling the power consumption of the EALs. The output \({{\varvec{y}}}\) and the reference signal \(-{{\varvec{y}}}_{{\varvec{r}}}\) in the proposed control strategy are \(\Delta{{P}}_{{tie}}\) and \(\Delta{{P}}_{{w}}\), respectively.

From (8), \(\Delta{{P}}_{{tie}}\) is presented as a nonlinear expression with \(\Delta{{U}}_{{SRj}}\) in the form \({{\varvec{y}}}={{\varvec{h}}}{(}{{\varvec{x}}}{)}\). Note that the quadratic terms have a very low impact on the value of \(\Delta{{P}}_{{tie}}\) (lower than the 3% of total \(\Delta{{P}}_{{EALj}}\) while the saturable reactors are regulated to their limits), for the convenience of designing the feedback controller, (8) is linearized into \({{\varvec{y}}}={{\varvec{Cx}}}\) with \(\varvec{C} = [\partial \varvec{h}/\partial \varvec{x}]_{{x = 0}}\). Hence, the matrices \(\left({{\varvec{A}}},{{\varvec{B}}},{{\varvec{C}}}\right)\) are given as follows:

$${\varvec{A}} = \left[ {\begin{array}{*{20}l} { - \frac{{\mathbf{1}}}{{{\varvec{T}}_{{{\varvec{DCj}}}} }}} & {\varvec{0}} & {\varvec{0}} \\ { - \frac{{{\varvec{K}}_{{{\varvec{Pj}}}} }}{{{\varvec{T}}_{{{\varvec{DCj}}}} }} + {\varvec{K}}_{{{\varvec{Ij}}}} } & {\varvec{0}} & {\varvec{0}} \\ {\varvec{0}} & {\frac{{{\varvec{K}}_{{{\varvec{SRj}}}} }}{{{\varvec{T}}_{{{\varvec{SRj}}}} }}} & { - \frac{{\mathbf{1}}}{{{\varvec{T}}_{{{\varvec{SRj}}}} }}} \\ \end{array} } \right] \in {\varvec{R}}^{{3m \times 3m}} ,\;{\varvec{B}} = \left[ {\begin{array}{*{20}l} {1/{\varvec{T}}_{{{\varvec{DCj}}}} } \\ {{\varvec{K}}_{{{\varvec{Pj}}}} /{\varvec{T}}_{{{\varvec{DCj}}}} } \\ {\varvec{0}} \\ \end{array} } \right] \in {\varvec{R}}^{{3m \times m}}$$
$${\varvec{C}} = \left[ {\begin{array}{*{20}l} {\varvec{0}} & {\varvec{0}} & {{\varvec{b}}_{{\varvec{j}}} } \\ \end{array} } \right] \in {\varvec{R}}^{1 \times 3m},\, b_{j} = \frac{{1.35\left( { - 2U_{DC0j} + E_{j} } \right)}}{{R_{j} }}$$

The exosystem matrix \({{\varvec{S}}}\) is formulated to describe the dynamic characteristic of the external signal. Here, the wind power fluctuation \(\Delta{{P}}_{{w}}\) is considered as a time-varying function, which can be described by the sinusoidal time varying signals, as [26]:

$$\Delta P_{w} \left( t \right) = A_{0} + \sum\limits_{n = 1}^{\infty } {B_{n} } \sin \left( {\omega_{n} t + \varphi_{n} } \right)$$
(10)

Neglecting the high order terms, \(\Delta{{P}}_{{w}}\) can be approximated by:

$$\Delta P_{w} \left( t \right) \approx A_{0} + \sum\limits_{n = 1}^{N} {B_{n} } \sin \left( {\omega_{n} t + \varphi_{n} } \right)$$
(11)

We use \(\left({{\varvec{d}}}_{{{\varvec{n}}}{\mathbf{1}}}{,}{{\varvec{d}}}_{{{\varvec{n}}}{\mathbf{2}}}{, }{{\varvec{d}}}_{\varvec{0}}\right)\) to represent each component in (11), expressed as:

$$\begin{aligned} {\varvec{d}}_{{{\varvec{n1}}}} & = B_{n} \sin \left( {\omega _{n} t + \varphi _{n} } \right) \\ {\varvec{d}}_{{{\varvec{n2}}}} & = B_{n} \cos \left( {\omega _{n} t + \varphi _{n} } \right) \\ {\varvec{d}}_{{\varvec{0}}} & = A_{0} \\ \end{aligned}$$
(12)

The first-order derivatives of \({{\varvec{d}}}_{{{\varvec{n}}}{\mathbf{1}}}\) and \({{\varvec{d}}}_{{{\varvec{n}}}{\mathbf{2}}}\) are:

$$\left[ {\begin{array}{*{20}l} {{\dot{\varvec{d}}}_{{{\varvec{n1}}}} } \\ {{\dot{\varvec{d}}}_{{{\varvec{n2}}}} } \\ \end{array} } \right] = \left[ {\begin{array}{*{20}l} 0 & {\omega_{n} } \\ { - \omega_{n} } & 0 \\ \end{array} } \right]\left[ {\begin{array}{*{20}l} {{\varvec{d}}_{{{\varvec{n1}}}} } \\ {{\varvec{d}}_{{{\varvec{n2}}}} } \\ \end{array} } \right]$$
(13)

We denote that \(\varvec{d} = (\varvec{d}_{{11}} ,\varvec{d}_{{12}} , \ldots ,\varvec{d}_{{\mathbf{N1}}} ,\varvec{d}_{{\mathbf{N2}}} ,\varvec{d}_{\mathbf{0}} )^{\rm T}\) so that the exosystem model can be expressed by:

$${\dot{\varvec{d}}} = {\varvec{Sd}} = \left[ {\begin{array}{*{20}l} {\omega_{1} {\varvec{S}}_{0} } & \cdots & {\varvec{0}} & {\varvec{0}} \\ \vdots & \ddots & \vdots & \vdots \\ {\varvec{0}} & \cdots & {\omega_{n} {\varvec{S}}_{0} } & {\varvec{0}} \\ {\varvec{0}} & \cdots & {\varvec{0}} & {\varvec{0}} \\ \end{array} } \right],\,{\varvec{d}}{\varvec{S}}_{0} = \left[ {\begin{array}{*{20}l} 0 & 1 \\ { - 1} & 0 \\ \end{array} } \right]$$
(14)

It is worth noting that the exosystem matrix \({{\varvec{S}}}\) is formulated by only the angular frequency \(\omega _{n}\) and not with the magnitude \({{A}}_{0}\), \({{B}}_{{n}}\) and the phase \(\varphi _{n}\). Therefore, the dynamic equation of the disturbance characteristic can be given by (14) once the dominant frequencies of the disturbance signal \(\Delta{{P}}_{{w}}\) are obtained by applying a Fourier transform.

For the error equation in (9), the deviation between \(\Delta{{P}}_{{tie}}\) and \(\Delta{{P}}_{{w}}\) is selected as the error signal \({{\varvec{e}}}\) (i.e., \({{\varvec{e}}}=\Delta{{P}}_{{tie}}-\Delta{{P}}_{{w}}\)), in the form of \({{\varvec{e}}}={{\varvec{Cx}}}+{{\varvec{Qd}}}\). Consequently, the pair \(\left({{\varvec{P}}},{{\varvec{Q}}}\right)\) can be deduced as:

$${\varvec{P = 0}}{\varvec{Q}} = \left[ {\begin{array}{*{20}l} { - 1} & 0 & \cdots & { - 1} & 0 & { - 1} \\ \end{array} } \right] \in {\varvec{R}}^{{1 \times \left( {2N + 1} \right)}}$$

The purpose of the demand side control scheme is to realize zero error by regulating the power consumption of the EALs in the IMG. This can be naturally formulated as an output regulation problem. In the next subsection, output regulator theory is introduced to design the feedback controller.

4.2 Output regulator theory

The control objective of the demand side control scheme is to achieve error regulation and maintain the internal stability of the system. For the control system in (9), it finds, if possible, the gain matrices \({\varvec{K}} \in {\varvec{R}}^{{p \times r}}\) and \({{\varvec{L}}}\in {{\varvec{R}}}^{{p \times s}}\) to design the full-information feedback controller of the form

$${\varvec{u = Kx + Ld}}$$
(15)

such that the following two requirements are satisfied:

  • R1) Internal stability. When \({{\varvec{d}}}={\mathbf{0}}\), the closed-loop system \({\varvec{\dot{{x}}}}=\left({\varvec{A}+\varvec{BK}}\right){{\varvec{x}}}\) is asymptotically stable, i.e., find the gain matrix \({{\varvec{K}}}\) such that \({\upsigma} \left({\varvec{A}+\varvec{BK}}\right)\subseteq {\mathbb{C}}^{-}\);

  • R2) Error regulation. When \({{\varvec{d}}}\ne {\mathbf{0}}\), for every initial condition \(\left({{\varvec{x}}}_{\mathbf{0}},{{\varvec{d}}}_{\mathbf{0}}\right)\), the closed-loop system (8)–(9) satisfies \(\mathop {lim}\limits_{{t \to \infty }} {\varvec{e}}\left( t \right) = 0\).

In order to maintain \({{I}}_{{DCrefj}}\) of the EALs in the permitted range, the constraints of the EALs have to be considered. Thus,

\(\mathop {lim}\limits_{{t \to \infty }} e\left( t \right) = 0\) subjecting to (9) and \(\left|{{u}}_{{j}}\right|\le {{u}}_{{max}}\), \({{j}}=\) 1, 2, …, m.

where \({{u}}_{{j}}\) is the jth element of \({{\varvec{u}}}\) and \({{u}}_{{max}}\) is the bound of \(\left|{{u}}_{{j}}\right|\).

To solve the output regulator problem, the following assumptions are required:

  • A1) all the eigenvalues of the matrix \({{\varvec{S}}}\in {{\varvec{R}}}^{{s \times s}}\) are located on the closed right-half plane.

  • A2) the pair \(\left({{\varvec{A}}},{{\varvec{B}}}\right)\) is stabilizable.

  • A3) the pair \(\left(\left[\begin{array}{ll}{{\varvec{A}}}& {{\varvec{P}}}\\ {\mathbf{0}}& {{\varvec{S}}}\end{array}\right],\left[\begin{array}{ll}{{\varvec{C}}}& {{\varvec{Q}}}\end{array}\right]\right)\) is detectable.

Reference [24] proves a necessary and sufficient condition for the solvability of the output regulator problem. Supposing A1) and A2) hold, the output regulation problem is solvable by full-information feedback if and only if there exist matrices \(\varvec{\Pi}\) and \(\varvec{\Gamma}\) which solve the regulator equations, as:

$${\varvec{\Pi}\varvec{S}} = \varvec{A} \varvec{\Pi} + \varvec{B} \varvec{\Gamma} + \varvec{P}$$
(16)
$$\varvec{0} = \varvec{C} \varvec{\Pi} + \varvec{Q}$$
(17)

As a result, the full-information feedback controller for achieving goals R1) and R2) is given by:

$${\varvec{u} = \varvec{Kx} }+\left( \varvec{\Gamma} - \varvec{ K} \varvec{\Pi} \right){\varvec{d}}$$
(18)

where \({{\varvec{K}}}\) is selected so that all the eigenvalues of \({\varvec{A}+\varvec{BK}}\) are located on the open left-half plane. The gain matrix \({{\varvec{L}}}\) in (15) is computed by \(\varvec{\Pi}\in {{\varvec{R}}}^{{r \times s}}\) and \(\varvec{\Gamma}\in {{\varvec{R}}}^{{p \times s}}\).

However, it is not practically feasible because not all of the state \({{\varvec{x}}}\) can be measured. Thus, the feedback controller (18) needs to be refined using only the measurable signal \({{e}}\). Under the assumption A3), an observer is constructed, driven by the measured error \({{e}}\), to achieve asymptotically tracking \(\left({{\varvec{x}}},{{\varvec{d}}}\right)\). The error feedback controller can be designed in the form of:

$$\begin{aligned} {\varvec{\dot{\xi }}} & = \varvec{F}\varvec{\xi} + \varvec{Ge} \\ \varvec{u} & = \varvec{H}\varvec{\xi} \\ \end{aligned}$$
(19)

with \({\varvec{ \xi }}=\mathrm{col}(\varvec{\widehat{{x}}}{,}\varvec{\widehat{{d}}})\) for tracking \({{\varvec{x}}}\) and \({{\varvec{d}}}\) asymptotically and the gain matrices \(\left({{\varvec{F}}}{, }{{\varvec{G}}}{, }{{\varvec{H}}}\right)\). Equation (19) can be written in transfer function form as:

$${\varvec{T}}\left( s \right) = {\varvec{H}}\left( {s{\varvec{I}} - {\varvec{F}}} \right)^{ - 1} {\varvec{G}}$$
(20)

By the detectability of A3), the observer is designed in the following form to estimate \(\left({{\varvec{x}}},{{\varvec{d}}}\right)\) using only the error signal \({{\varvec{e}}}\), as:

$$\left[ {\begin{array}{*{20}l} {{\varvec{\dot{\hat{x}}}}} \\ {{\varvec{\dot{\hat{d}}}}} \\ \end{array} } \right] = \left( {\left[ {\begin{array}{*{20}l} {\varvec{A}} & {\varvec{P}} \\ {\varvec{0}} & {\varvec{S}} \\ \end{array} } \right] - \left[ {\begin{array}{*{20}l} {{\varvec{G}}_{{\mathbf{1}}} } \\ {{\varvec{G}}_{{\mathbf{2}}} } \\ \end{array} } \right]\left[ {\begin{array}{*{20}l} {\varvec{C}} & {\varvec{Q}} \\ \end{array} } \right]} \right)\left[ {\begin{array}{*{20}l} {{\hat{\varvec{x}}}} \\ {{\hat{\varvec{d}}}} \\ \end{array} } \right]+\left[ {\begin{array}{*{20}l} {{\varvec{G}}_{{\mathbf{1}}} } \\ {{\varvec{G}}_{{\mathbf{2}}} } \\ \end{array} } \right]{\varvec{e}} + \left[ {\begin{array}{*{20}l} {\varvec{B}} \\ {\varvec{0}} \\ \end{array} } \right]{\varvec{u}}$$
(21)

with the pair \(\left({{\varvec{G}}}_{\mathbf{1}},{{\varvec{G}}}_{\mathbf{2}}\right)\) designed such that all the eigenvalues of \(\left(\left[\begin{array}{ll}{{\varvec{A}}}& {{\varvec{P}}}\\ {\varvec{0}}& {{S}}\end{array}\right]-\left[\begin{array}{l}{{\varvec{G}}}_{\varvec{1}}\\ {{\varvec{G}}}_{\varvec{2}}\end{array}\right]\left[\begin{array}{ll}{{\varvec{C}}}& {{\varvec{Q}}}\end{array}\right]\right)\) are in \({\mathbb{C}}^{-}\).

Replacing \(\left({{\varvec{x}}},{{\varvec{d}}}\right)\) with \(\left(\widehat{{x}}{,}\widehat{{d}}\right)\) in the feedback controller (15), the error feedback controller is obtained by:

$$\begin{aligned} \left[ {\begin{array}{*{20}l} {{\varvec{\dot{\hat{x}}}}} \\ {{\varvec{\dot{\hat{d}}}}} \\ \end{array} } \right]&=\left[ {\begin{array}{*{20}l} {{\varvec{A - G}}_{{\mathbf{1}}} {\varvec{C + BK}}} & {{\varvec{P - G}}_{{\mathbf{1}}} {\varvec{Q + B}}\left( {{\varvec{\Gamma - K\Pi }}} \right)} \\ {{\varvec{ - G}}_{{\mathbf{2}}} {\varvec{C}}} & {{\varvec{S - G}}_{{\mathbf{2}}} {\varvec{Q}}} \\ \end{array} } \right]\left[ {\begin{array}{*{20}l} {{\hat{\varvec{x}}}} \\ {{\hat{\varvec{d}}}} \\ \end{array} } \right]+\left[ {\begin{array}{*{20}l} {{\varvec{G}}_{{\mathbf{1}}} } \\ {{\varvec{G}}_{{\mathbf{2}}} } \\ \end{array} } \right]{\varvec{e}} \\ {\varvec{u }}&=\left[ {\begin{array}{*{20}l} {\varvec{K}} & {\left( {{\varvec{\Gamma - K\Pi }}} \right)} \\ \end{array} } \right]\left[ {\begin{array}{*{20}l} {{\hat{\varvec{x}}}} \\ {{\hat{\varvec{d}}}} \\ \end{array} } \right] \\ \end{aligned}$$
(22)

As a result, the gain matrices \(\left({{\varvec{F}}}{, }{{\varvec{G}}}{, }{{\varvec{H}}}\right)\) are obtained based on (19) and (22), as:

$${\varvec{F = }}\left[ {\begin{array}{*{20}l} {{\varvec{A - G}}_{{\mathbf{1}}} {\varvec{C + BK}}} & {{\varvec{P - G}}_{{\mathbf{1}}} {\varvec{Q + B}}\left( {{\varvec{\Gamma - K\Pi }}} \right)} \\ {{\varvec{ - G}}_{{\mathbf{2}}} {\varvec{C}}} & {{\varvec{S - G}}_{{\mathbf{2}}} {\varvec{Q}}} \\ \end{array} } \right] \in {\varvec{R}}^{{\left( {r + s} \right) \times \left( {r + s} \right)}}$$
$${\varvec{G}}{\text{ = }}\left[ {\begin{array}{*{20}c} {{\varvec{G}}_{{\varvec{1}}} } \\ {{\varvec{G}}_{{\varvec{2}}} } \\ \end{array} } \right] \in {\varvec{R}}^{{\left( {r + s} \right) \times q}} ,{\varvec{H}} = \left[ {\begin{array}{*{20}c} {\varvec{K}} & {\left( {{\varvec{\Gamma - K\Pi }}} \right)} \\ \end{array} } \right] \in {\varvec{R}}^{{p \times \left( {r + s} \right)}}$$

Compared with the full-information feedback controller (18) in which the state \({{\varvec{x}}}\) and disturbance signal \({{\varvec{d}}}\) are indispensable, the error feedback controller (22) is able to achieve the control objectives R1) and R2) using only the measurable error signal \({{\varvec{e}}}\). In addition, the output \({{\varvec{y}}}={{\varvec{Cx}}}\) can be regulated to track the reference signal \({{\varvec{y}}}_{{\varvec{r}}}=-{{\varvec{Qd}}}\) via measurement feedback.

4.3 Implementation of the demand side controller

The design procedure of the regulator-theory-based demand side controller is presented as follows.

  1. 1.

    Model the exosystem matrix \({{\varvec{S}}}\). As discussed in Sect. 4.1, the exosystem system can be described as (14). In this work, short-term wind power forecasting data is used as a period of wind power fluctuation signal \({{\varvec{d}}}\). Normally, the forecasting models can be divided into statistical models and physical models. Statistical models provide an extrapolation of the future time-series by building the mathematical functions based on historical data analysis, such as the autoregressive (AR) model [27]. For physical models, the numerical weather prediction (NWP) model is applied widely to predict future wind power in which its root mean square error (RMSE), between the actual value and the forecasted value, can be decreased below 15% [28]. In view of the requirement of practical application, the NWP model is adopted in this paper to predict the curve of a period of wind power.

  2. 2.

    Check the assumptions A1)–A3) for the controlled plant (9). Note that the eigenvalues of the matrix \({{\varvec{S}}}\) [see in (19)] are located on the imaginary axis. Hence, the assumption A1) holds in this paper. Check the stabilizing ability of \(\left({{\varvec{A}}},{{\varvec{B}}}\right)\) and the detectability of \(\left(\left[\begin{array}{ll}{{\varvec{A}}}& {{\varvec{P}}}\\ {0}& {{S}}\end{array}\right],\left[\begin{array}{ll}{{C}}& {{Q}}\end{array}\right]\right)\) by using the PBH test below to compute the rank condition, as:

    $$\begin{gathered} Rank\left( {\left[ {\begin{array}{*{20}l} {\lambda {\varvec{I - A}}} & {\varvec{B}} \\ \end{array} } \right]} \right) = n_{{\varvec{A}}} = 3m \hfill \\ Rank\left( {\left[ {\begin{array}{*{20}l} {\mu {\varvec{I - }}\left[ {\begin{array}{*{20}l} {\varvec{A}} & {\varvec{P}} \\ {\varvec{0}} & {\varvec{S}} \\ \end{array} } \right]} \\ {\left[ {\begin{array}{*{20}l} {\varvec{C}} & {\varvec{Q}} \\ \end{array} } \right]} \\ \end{array} } \right]} \right) = n_{{{\varvec{APS}}}} = 1 + 2N + 3m \hfill \\ \end{gathered}$$
    (23)

    where \({{n}}_{{\varvec{A}}}\) and \({{n}}_{{\varvec{APS}}}\) are the dimensions of the corresponding system, and \(\lambda\) and \(\mu\) are the eigenvalues of the matrices \({{\varvec{A}}}\) and \(\left[\begin{array}{ll}{{\varvec{A}}}& {{\varvec{P}}}\\ {\varvec{0}}& {{\varvec{S}}}\end{array}\right]\) sitting on the closed right-half plane, respectively.

  3. 3.

    Select gain matrix \({{\varvec{K}}}\) based on linear quadric (LQ) optimal control. If A1)A3) hold, find a gain matrix \({{\varvec{K}}}\) such that all the eigenvalues of the matrix \({\varvec{A+BK}}\) are assigned on the left-half plane. In this paper, the LQ method is used to select an optimal gain matrix \({{\varvec{K}}}\) so that the control objectives are achieved and the dynamic performance of the controller is guaranteed.

    For the controlled plant (9), the LQ cost function is:

    $${\varvec{J}} = \int_{0}^{\infty } {\left( {{\varvec{y}}^{{\varvec{T}}} {\varvec{Q}}_{{{\varvec{lq}}}} {\varvec{y + u}}^{{\varvec{T}}} {\varvec{R}}_{{{\varvec{lq}}}} {\varvec{u}}} \right)} dt$$
    (24)

    where the weighting matrices \({{\varvec{Q}}}_{{\varvec{lq}}}\in {{\varvec{R}}}^{{q \times q}}\) and \({{\varvec{R}}}_{{\varvec{lq}}}\in {{\varvec{R}}}^{{p \times p}}\) are selected so that a trade-off is considered between minimizing the tie-lie power fluctuation \({{\varvec{y}}}\) and optimizing the dynamic performance of the EALs (vector \({{\varvec{u}}}\)). Based on the standard LQ control method, the feedback gain matrix \({{\varvec{K}}}\) is obtained by solving the following algebraic equation:

    $${\varvec{A}}^{{\varvec{T}}} {\varvec{P}}_{{{\varvec{lq}}}} {\varvec{ + P}}_{{{\varvec{lq}}}}^{{\varvec{T}}} {\varvec{A - P}}_{{{\varvec{lq}}}} {\varvec{BR}}_{{{\varvec{lq}}}}^{{{\varvec{ - 1}}}} {\varvec{B}}^{{\varvec{T}}} {\varvec{P}}_{{{\varvec{lq}}}} {\varvec{ + C}}^{{\varvec{T}}} {\varvec{Q}}_{{{\varvec{lq}}}} {\varvec{C = 0}}$$
    (25)
    $${\varvec{K}} = - {\varvec{R}}_{{{\varvec{lq}}}}^{{{\varvec{ - 1}}}} {\varvec{B}}^{{\varvec{T}}} {\varvec{P}}_{{{\varvec{lq}}}}$$
    (26)

    Note that the weighting matrices \({{\varvec{Q}}}_{{\varvec{lq}}}\) and \({{\varvec{R}}}_{{\varvec{lq}}}\) can be selected flexibly according to the required control performance on the demand side.

  4. 4.

    Construct the demand side controller. Solve the regulator Eqs. (16)–(17) and find the solutions of the matrices \(\varvec{\Pi}\) and \(\varvec{\Gamma}\). Construct the observer (21) and design the error feedback controller (22) by steps discussed in Sect. 4.2.

The detailed design procedure of the regulator-theory-based demand side control scheme is illustrated in Fig. 6. The feedback controller is constructed using local state variables and a remote disturbance signal. The results of the time domain simulation will be presented in the next section to validate its effectiveness.

Fig. 6
figure 6

The diagram of the regulator-theory-based control scheme

5 Simulations and analysis

To verify the performance of the proposed demand side controller (22), an actual electrolytic aluminum IMG in Inner Mongolia, China is considered as the case study [13,14,15]. The structure of the IMG is shown in Fig. 7. The demand side includes three production lines (EAL1–EAL3, 1390 MW in all) and 40 MW heating loads. The electrical energy that the aluminum loads need is from two sources: (1) eight coal-fired thermal generators (G1–G8) with a total capacity of 1800 MW; and (2) transmission power \({{P}}_{{tie}}\) from the tie-line that is connected with the UPG.

Fig. 7
figure 7

The structure of an actual IMG with the EALs

Simulations are conducted on a real-time digital simulator (RTDS) platform and MATLAB. RTDS is a type of real-time hardware platform to study electromagnetic transient phenomena in power systems. The models of the power systems are constructed on RTDS, including the detailed model of the electrolytic aluminum loads. Once the demand side control strategy is activated, based on the real-time computation, the state variables x, disturbance d and error e of the power systems are fed to MATLAB within every setting time step via specific signal transmission channels. The proposed demand side controllers (22) are designed within each time step in MATLAB according to the instructions in Sect. 4.3. After calculating the demand side controllers, the control input u is transmitted to the RTDS platform. Then, the demand side (the electrolytic aluminum loads) carries out the proposed control strategy based on the control input u. This means the DC current references \(\Delta {{\varvec{I}}}_{{\varvec{DCrefj}}}\) of the electrolytic aluminum loads will be regulated. In the next time steps, the above instructions are repeated until the end of the simulation.

The basic information of the IMG has been introduced in Sect. 2. The two-area power system and IEEE 68-bus power system are selected as the UPG and connected with the IMG, respectively.

As discussed in Sect. 3.1, the DC current of the EALs is normally constant, and thus the active power consumption \({{P}}_{{EAL}}\) of the EALs remains stable. In this paper, the DC current \({{I}}_{{DC}}\) of the EALs is regulated by controlling the voltage drop \({{U}}_{{SR}}\) on the saturable reactors, and consequently. \({{P}}_{{EAL}}\) is controllable. In the case of the two-area power system, the performance of the proposed demand side controller is verified by comparing with the constant current control scheme (i.e., no active power control on \({{P}}_{{EAL}}\)). By comparing with the other control method, the simulation results in the case of the IEEE 68-bus power system illustrate the effectiveness of the proposed demand side controller in minimizing steady-state error. In addition, the results indicate that the proposed wide area closed-loop demand side control method is also applicable to large power systems.

5.1 Formulating the demand side controller

In this section, a typical operating scenario of a wind farm is selected as the case study. The short-term wind power fluctuation is predicted by the forecasting system, shown in Fig. 8a. With the help of discrete Fourier transformation (DFT), the frequency spectrum of the wind power fluctuation is analyzed and presented in Fig. 8b. Three dominant frequencies (0.0083 Hz, 0.0333 Hz and 0.0583 Hz) are chosen to characterize the wind power fluctuation. Hence, the exosystem matrix \({{S}}\) is computed in the form of (14) by the three dominant frequencies.

Fig. 8
figure 8

a The wind power fluctuation in a typical operating scenario, b The frequency spectrum of the wind power fluctuation

By virtue of WAMS, the measurable error signal \({{\varvec{e}}}\) (i.e., \({{\varvec{e}}}=\Delta{{P}}_{{tie}}-\Delta{{P}}_{{w}}\)) is selected as the feedback signal for the proposed demand side controller. The weighting matrices in (24) are selected, by trial and error, as \({{\varvec{Q}}}_{{\varvec{lq}}}={15}\) and \({{\varvec{R}}}_{{\varvec{lq}}}={{diag}}\left({10,7,5}\right)\). Using the LQ optimal control method, the gain matrix \({{\varvec{K}}}\) is obtained as:

$${\varvec{K}}=\left[ {\begin{array}{*{20}l} { - 0.29} & { - 0.48} & { - 0.53} & {3.89} & {3.11} & {3.40} & {4.62} & {4.32} & {4.05} \\ { - 0.25} & { - 0.46} & { - 0.52} & {3.53} & {3.09} & {3.38} & {4.56} & {4.25} & {4.02} \\ { - 0.24} & { - 0.43} & { - 0.50} & {3.44} & {3.03} & {3.31} & {4.51} & {4.19} & {3.98} \\ \end{array} } \right]$$

Based on the output regulator theory in Sect. 4, after solving \(\left(\varvec{\Pi}{,}\varvec{\Gamma}\right)\) for the regulator Eqs. (16)–(17) and computing gain matrices (\({{F}}{,}{{G}}{,}{{H}}\)), the error feedback controller can be obtained in the form of (20) or (22).

5.2 Two-area power system

As shown in Fig. 9, in the two-area power system, the IMG is connected on Bus 9 via a tie-line. There are three generation units in Area 1 (i.e., G1, G2 and W1) and two in Area 2 (i.e., G3 and G4). The initial active power of the generators and loads is listed in Table 1. As introduced in Sect. 2, the EALs are supplied by the generators in the IMG and the UPG. As a result, the active power on the tie-line \({{P}}_{{tie}}\) reaches 400 MW. In this case, to verify the effectiveness of the proposed control method, the two following scenarios are considered:

Fig. 9
figure 9

Two-area power system connected with the IMG

  1. 1.

    Scenario A1: the constant current control method on demand side (\({{P}}_{{EALj}}\) is not regulated), which serves as the base case for comparison.

  2. 2.

    Scenario A2: the proposed regulator-theory-based demand side control method.

Table 1 The initial output active power of the generators and loads in the two-area power system

In the normal condition (Scenario A1), the EALs works at constant current control mode to ensure the production.

The aim of the proposed regulator-theory-based demand side control scheme is to achieve the active power deviation on the tie-line \(\Delta{{P}}_{{tie}}\) to track the wind power fluctuation \(\Delta{{P}}_{{w}}\). The simulation results in Scenario A1 and Scenario A2 are presented in Figs. 10 and 11. In Scenario A1, the active power consumption of the EALs is maintained at a steady level (\(\Delta{{P}}_{{EAL}}\approx {0}\), as shown in Fig. 11a). Taking EAL1 as an example, the initial voltage drop on the saturable reactor \(\Delta U_{{SR1}}\) is about 38 V. Because of the fast response of the saturable reactor, \(\Delta U_{{SR1}}\) changes within 20–50 V and the DC current \(I_{{DC1}}\) remains at 326 kA in Scenario A1. When the proposed demand side control method is applied, \(I_{{DC1}}\) changes within 310–335 kA (\(\Delta{{U}}_{{SR1}}\) fluctuates within 20–70 V), leading \(\Delta{{P}}_{{EAL}}\) to be regulated from 50 MW to − 100 MW in Scenario A2.

Fig. 10
figure 10

The wind power fluctuation \(\Delta{{P}}_{{w}}\) and active power deviation on tie-line \(\Delta{{P}}_{{tie}}\). a The power curves in Scenario A1, b the power curves in Scenario A2

Fig. 11
figure 11

a The active power deviation of EALs \(\Delta{{P}}_{{EAL}}\) in Scenario A1 and Scenario A2, b The voltage drop on saturable reactor of EAL1 \(\Delta{{U}}_{{SR1}}\) in Scenario A1 and Scenario A2

The simulation results of the two different demand side control methods illustrated in Fig. 10 show that, in Scenario A1, the active power deviation \(\Delta{{P}}_{{tie}}\) is not able to track the wind power fluctuation \(\Delta{{P}}_{{w}}\) because the power consumption of the EALs \(\Delta{{P}}_{{EAL}}\) is not regulated. As a result, the maximum deviation between \(\Delta{{P}}_{{tie}}\) and \(\Delta{{P}}_{{w}}\) reaches 65 MW. However, in Scenario A2, the proposed regulator-theory-based demand side control method ensures that \(\Delta{{P}}_{{EAL}}\) is regulated according to the wave of \(\Delta{{P}}_{{w}}\). Consequently, \(\Delta{{P}}_{{tie}}\) is able to track \(\Delta{{P}}_{{w}}\) with the error being less than 5 MW. This provides an obvious proof of direct wind power purchase for the large industrial consumers.

In summary, by comparing with the constant DC current control method, the proposed demand side control scheme shows an evident effect on error regulation and keeping the control system stable (R1) and (R2) in Sect. 4. Based on output regulator theory, \(\Delta{{U}}_{{{SR}}{1}}\) is controlled by giving the DC current reference signal \(\Delta{{I}}_{{{DCref}}{1}}\) according to the control objective (i.e., tracking the error signal). Compared with the constant current control scheme, the change range of \(\Delta{{U}}_{{{SR}}{1}}\) is much wider in the proposed control scheme.

5.3 IEEE 68-bus power system

The effectiveness of the proposed demand side control scheme has been verified in the simulation of the two-area power system. To further validate the control effects of the proposed demand side control scheme in large power systems, the IEEE 68-bus power system (known as the New England and New York interconnected system), as shown in Fig. 12, is selected as the case study. The wind farm W1 is connected to Bus-68, with an initial active power of 350 MW. The wind power fluctuation is shown in Fig. 8a. The IMG in Fig. 7 is connected to Bus 51 via a tie-line.

Fig. 12
figure 12

IEEE 68-bus power system connected with the IMG

Three scenarios are studied to test the proposed demand side control method by comparing with other methods:

  1. 1.

    Scenario B1: the constant current control method on the demand side.

  2. 2.

    Scenario B2: the PI control method on the demand side.

  3. 3.

    Scenario B3: the proposed regulator-theory-based demand side control method.

In the IEEE 68-bus power system, there are three transmission lines between Area 1 and Area 2, denoted as transmission line I (Bus-60 to Bus-61), II (Bus-27 to Bus-53) and III (Bus-54 to Bus-53). The active power fluctuations on transmission line I, II and III are \(\Delta{{P}}_{{I}}\), \(\Delta{{P}}_{{II}}\) and \(\Delta{{P}}_{{III}}\), respectively. The power flow between Area 1 and Area 2 is denoted as \({{P}}_{{{A}}{1}{-A}{2}}\). Clearly, the wind power fluctuation \(\Delta{{P}}_{{w}}\) leads to the power change \(\Delta{{P}}_{{{A}}{1}{-A}{2}}\) on the power flow between Area 1 and Area 2.

According to the simulation in Sect. 5.2, when the constant current control method on the demand side is applied, the active power consumption of the EALs is not regulated. The simulation results in Scenario B1 are presented in Fig. 13.

Fig. 13
figure 13

Simulation results in Scenario B1. a The active power fluctuations on transmission lines between Area 1 and Area 2, b the wind power fluctuation and the power fluctuation on the tie-line

In Scenario B1, \(\Delta{{P}}_{{{A}}{1}{-A}{2}}\) is the sum of the active power fluctuations on transmission lines I, II and III, i.e., \(\Delta{{P}}_{{{A}}{1}{-A}{2}}=\Delta{{P}}_{{I}}+\Delta{{P}}_{{II}}+\Delta{{P}}_{{III}}\), as presented in Fig. 13a. When \({{P}}_{{EAL}}\) remains at a constant value, the power fluctuation on the tie-line \(\Delta{{P}}_{{tie}}\) is not able to track \(\Delta{{P}}_{{w}}\), as shown in Fig. 13b. The deviation between \(\Delta{{P}}_{{w}}\) and \(\Delta{{P}}_{{tie}}\) is significant, which means the direct wind power purchasing strategy is not suitable for the extreme short-term wind power fluctuation scenarios if no extra control methods are applied.

Figure 14 depicts the error signal \({{\varvec{e}}}\) (i.e., \({{\varvec{e}}}=\Delta{{P}}_{{tie}}-\Delta{{P}}_{{w}}\)) in the three scenarios. In Scenario B3, the proposed regulator-theory-based demand side controller is constructed using error signal and local information. As a comparison, the PI control scheme in Scenario B2 introduces the wind power fluctuation \(\Delta{{P}}_{{w}}\) and uses local PI controllers of the EALs. Based on the simulation results, the error can be controlled within 5 MW with the proposed demand side controller (Scenario B3). This represents a good dynamic response via coordinating the three EALs with an optimal gain matrix \({{\varvec{K}}}\). By comparison, the PI controllers using the remote signal \(\Delta{{P}}_{{w}}\) as a feedback signal show a poor dynamic performance in decreasing \({{\varvec{e}}}\), leading the maximum deviation of the error to reach about 35 MW. Therefore, the regulator-theory-based demand side controller is more effective than the PI control scheme in tracking the wind power fluctuation in a large system. For this reason, the proposed demand side control scheme presents an applicable effort for the EALs to participate in the direct wind power purchasing market.

Fig. 14
figure 14

The error signal \({{e}}\) in three scenarios

6 Conclusion

The basic structure of the direct wind power purchasing mode for grid-connected IMG has been studied. Because of the fast response and considerable regulation capacity of the EALs, the short-term wind power fluctuations can be tracked via regulating the active power consumption of the EALs. With the use of WAMS, a wide area closed-loop demand side control architecture is proposed to regulate the power consumption of the EALs. The demand side control is formulated as an output regulation problem. Based on output regulator theory, a demand side controller is developed with only local state variables and a remote disturbance signal. The simulation results demonstrate the effectiveness of the proposed demand side controller on tracking the short-term time-varying wind power fluctuations. Future work will focus on the DWPP mode and control methods for multiple wind power sources and industrial consumers.

Availability of data and materials

The datasets used and analyzed during the current study are available from the corresponding author on reasonable request.

References

  1. National Energy Administration released the statistical data of the national power industry in 2021. http://www.nea.gov.cn/2022-01/26/c_1310441589.htm. Accessed 26 Jan 2022.

  2. Li, G., Li, G., & Zhou, M. (2019). Model and application of renewable energy accommodation capacity calculation considering utilization level of inter-provincial tie-line. Protection and Control of Modern Power Systems, 4(1), 1–12.

    Article  Google Scholar 

  3. Li, Z., Wu, W., Shahidehpour, M., & Zhang, B. (2016). Adaptive robust tie-line scheduling considering wind power uncertainty for interconnected power systems. IEEE Transactions on Power Systems, 31(4), 2701–2713.

    Article  Google Scholar 

  4. Huang, H., Du, Y., Song, S., & Guo, Y. (2020). Key technologies and economic analysis of decentralized wind power consumption: A case study in b city, China. Energies, 13(16), 4147.

    Article  Google Scholar 

  5. Liao, S., Xu, J., Sun, Y., & Bao, Y. (2018). Local utilization of wind electricity in isolated power systems by employing coordinated control scheme of industrial energy-intensive load. Applied Energy, 217, 14–24.

    Article  Google Scholar 

  6. Zhao, X., Lyon, T. P., & Song, C. (2012). Lurching towards markets for power: China’s electricity policy 1985–2007. Applied Energy, 94, 148–155.

    Article  Google Scholar 

  7. Zeng, M., Yang, Y., Fan, Q., Liu, Y., & Zou, Z. (2015). Coordination between clean energy generation and thermal power generation under the policy of “direct power-purchase for large users” in China. Utilities Policy, 33, 10–22.

    Article  Google Scholar 

  8. Zhang, W., Wang, X., Wu, X., & Yao, L. (2015). An analysis model of power system with large-scale wind power and transaction mode of direct power purchase by large consumers involved in system scheduling. Proceedings of the Chinese Society of Electrical Engineering, 35(12), 2927–2935.

    Google Scholar 

  9. Zhao, J., Wang, J., & Su, Z. (2014). Power generation and renewable potential in China. Renewable & Sustainable Energy Reviews, 40, 727–740.

    Article  Google Scholar 

  10. Feng, L., Zhang, J., Li, G., & Zhang, B. (2016). Cost reduction of a hybrid energy storage system considering correlation between wind and PV power. Protection and Control of Modern Power Systems, 1(11), 1–9.

    Google Scholar 

  11. Liao, S., Jian, X., Sun, Y., Yi, B., & Tang, B. (2018). Control of energy-intensive load for power smoothing in wind power plants. IEEE Transactions on Power Systems, 33(6), 6142–6154.

    Article  Google Scholar 

  12. Zhang, C., Lin, W., Ke, D., & Sun, Y. (2019). Smoothing tie-line power fluctuations for industrial microgrids by demand side control: An output regulation approach. IEEE Transactions on Power Systems, 34(5), 3716–3728.

    Article  Google Scholar 

  13. Cui, T., Lin, W., Sun, Y., Xu, J., & Zhang, H. (2016). Excitation voltage control for emergency frequency regulation of island power systems with voltage-dependent loads. IEEE Transactions on Power Systems, 31(2), 1204–1217.

    Article  Google Scholar 

  14. Xu, J., Liao, S., Sun, Y., Ma, X., Gao, W., & Li, X. (2014). An isolated industrial power system driven by wind-coal power for aluminum productions: A case study of frequency control. IEEE Transactions on Power Systems, 30(1), 471–483.

    Article  Google Scholar 

  15. Bao, Y., Xu, J., Liao, S., Sun, Y., Li, X., & Jiang, Y. (2018). Field verification of frequency control by energy-intensive loads for isolated power systems with high penetration of wind power. IEEE Transactions on Power Systems, 33(6), 6098–6108.

    Article  Google Scholar 

  16. Bao, Y., Xu, J., Feng, W., Sun, Y., Liao, S., & Yin, R. (2019). Provision of secondary frequency regulation by coordinated dispatch of industrial loads and thermal power plants. Applied Energy, 241, 302–312.

    Article  Google Scholar 

  17. Said, S. M., Ali, A., & Hartmann, B. (2020). Tie-line power flow control method for grid-connected microgrids with SMES based on optimization and fuzzy logic. Journal of Modern Power Systems and Clean Energy, 8(5), 941–950.

    Article  Google Scholar 

  18. Li, Z., Wu, W., Shahidehpour, M., & Zhang, B. (2015). Adaptive robust tie-line scheduling considering wind power uncertainty for interconnected power systems. IEEE Transactions on Power Systems, 31(4), 2701–2713.

    Article  Google Scholar 

  19. Dan, W., Ge, S., Jia, H., Wang, C., & Kong, X. (2014). A demand response and battery storage coordination algorithm for providing microgrid tie-line smoothing services. IEEE Transactions on Sustainable Energy, 5(2), 476–486.

    Article  Google Scholar 

  20. Xu, Y., Li, F., Jin, Z., & Variani, M. H. (2016). Dynamic gain-tuning control (DGTC) approach for AGC with effects of wind power. IEEE Transactions on Power Systems, 31(5), 3339–3348.

    Article  Google Scholar 

  21. Pouya, B., Qobad, S., & Hassan, & Bevrani. (2016). Intelligent demand response contribution in frequency control of multi-area power systems. IEEE Transactions on Smart Grid, 9(2), 1282–1291.

    Google Scholar 

  22. Isidori, A., & Byrnes, C. I. (1990). Output regulation of nonlinear systems. IEEE Transactions on Automatic Control, 35(2), 131–140.

    Article  MathSciNet  MATH  Google Scholar 

  23. Wei, L., & Dai, L. (1996). Solutions to the output regulation problem of linear singular systems. Automatica, 32(12), 1713–1718.

    Article  MathSciNet  MATH  Google Scholar 

  24. Appasani, B., Jha, A. V., Mishra, S. K., & Ghazali, A. N. (2021). Communication infrastructure for situational awareness enhancement in WAMS with optimal PMU placement. Protection and Control of Modern Power Systems, 6(9), 1–12.

    Google Scholar 

  25. Sun, Y., Liao, S., Xu, J., & Gu, R. (2016). Industrial implementation of a wide area measurement system based control scheme in an isolated power system driven by wind–coal power for aluminum productions. IET Generation Transmission & Distribution, 10(8), 1877–1882.

    Article  Google Scholar 

  26. Lin, J., Sun, Y., Sorensen, P., Li, G., & Gao, W. (2012). Method for assessing grid frequency deviation due to wind power fluctuation based on “time-frequency transformation.” IEEE Transactions on Sustainable Energy, 3(1), 65–73.

    Article  Google Scholar 

  27. Lydia, M., Kumar, S. S., Selvakumar, A. I., & Kumar, G. E. P. (2016). Linear and non-linear autoregressive models for short-term wind speed forecasting. Energy Conversion and Management, 112, 115–124.

    Article  Google Scholar 

  28. Xu, Q., He, D., Zhang, N., Kang, C., Xia, Q., & Bai, J. (2015). A short-term wind power forecasting approach with adjustment of numerical weather prediction input by data mining. IEEE Transactions on Sustainable Energy, 6(4), 1283–1291.

    Article  Google Scholar 

Download references

Acknowledgements

This work was supported by Science and Technology Project of State Grid Corporation of China (5100-202199286A-0-0-00). Appreciation to my co-authors who involved with the work.

Funding

This work was supported by Science and Technology Project of State Grid Corporation of China (5100-202199286A-0-0-00).

Author information

Authors and Affiliations

Authors

Contributions

The paper was a collaborative effort among the authors. Y.Z. Sun conceived the idea and provided technical guidance required for completing the study. X. Ding formulated the algorithms, carried out the simulation studies, and finished the paper. S.Y. Liao carried out simulation studies and improved the paper quality. J. Xu provided technical suggestions and guidance and reviewed the manuscript. J.W. Zheng supplemented the simulation results and revised the paper. All authors read and approved the final manuscript.

Corresponding author

Correspondence to Jian Xu.

Ethics declarations

Competing interests

The authors declare that they have no known competing financial interests or personal relationships that could have appeared to influence the work reported in this paper.

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Ding, X., Xu, J., Sun, Y. et al. A demand side controller of electrolytic aluminum industrial microgrids considering wind power fluctuations. Prot Control Mod Power Syst 7, 49 (2022). https://doi.org/10.1186/s41601-022-00270-x

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1186/s41601-022-00270-x

Keywords