Abstract

As a promising method with excellent characteristics in terms of resilience and dependability, distributed methods are gradually used in the field of energy management of microgrid. However, these methods have more stringent requirements on the working conditions, which will make the system more sensitive to communication failures and cyberattacks. As a result, it is both theoretical merits and practical values to investigate the malicious effect of cyber attacks on microgrid. This paper studies the distributed economic dispatch problem (EDP) under denial-of-service (DoS) attacks for the microgrid, in which each generator can communicate with its neighbors and has the computational capability to implement local operation. Firstly, a DoS attack model is proposed, in which the DoS attacker intentionally jams the communication channel to deteriorate the performance of the microgrid. Then, the evolution mechanism of the dispatch system of the microgrid under different attack scenarios is adequately discussed. On this basis, an optimal attack strategy based on enumerating-search algorithm is presented to allocate the limited attack resources reasonably, so as to maximize the effect of DoS attacks. Finally, the validity of the theoretical studies about the attack effect under different scenarios and the effectiveness of the proposed enumerating-search-based optimal attack strategy are illustrated through the simulation examples on the IEEE 57-bus system and IEEE 39-bus system, respectively.

1. Introduction

The intelligent microgrid integrates various renewable generators and energy storage systems within a distributed system to achieve the goal of energy-saving and efficient operation and has been widely recognized as the future of power system. As a multidimensional complex system, the microgrid includes widely distributed sensors, capacity of control and optimization computation, and well-developed communication networks [1]. Now, it has been widely recognized as a typical cyber-physical system (CPS), and various fundamental problems of the microgrid have been reinvestigated in the perspective of CPS in the last few years, such as droop control [2], economic dispatch [3], and zero-sequence current suppression control [4].

Like the traditional power system, economic dispatch is one of the most concerned issues in the operation of the microgrid. Economic dispatch of the microgrid with the goal of minimizing operating costs can realize the collaborative optimization and energy distribution among units. Generally speaking, the methods to solve the economic dispatch problem (EDP) of the microgrid can be classified into centralized methods and distributed methods. Although the centralized methods are efficient, they need central authorities to collect global information of all the controlled units. These methods are sensitive to single-point failure and increase the communication burden of system [5]. On the opposite, the distributed methods without central authorities can carry out the economic dispatch with less communication burden and better scalability and privacy [6]. As a consequence, scholars have investigated the EDP for the microgrid based on various distributed methods in the past few years [710]. For example, a fully distributed algorithm proposed in [7] can fit well with arbitrary initializations. Moreover, it enabled generators to collectively obtain the mismatch between demand and total power output as a feedback mechanism to adjust actual power generation. In order to maximize the social welfare, a distributed consensus algorithm based on augmented Lagrangian and projection penalty function was proposed in [8]. Literature [9] presented a distributed double-Newton descent algorithm for cooperative energy management with faster convergence speed in a fully distributed fashion. In [10], a novel distributed primal-dual augmented subgradient algorithm was investigated, which can solve a class of distributed constrained optimization problems over a general unbalanced directed communication network. However, the above literature assumes that these algorithms are executed under ideal communication conditions and the possible cyberattacks in the communication network are not considered. In practice, once the malicious cyberattacks occur in the communication network of the microgrid, the data transmission will be disturbed, and the execution of those algorithms will be affected. Consequently, the optimal operation points of the system cannot be obtained, and even the stability is destroyed [11]. Therefore, it is of theoretical and practical significance to investigate the EDP under various cyberattacks.

Until now, two types of cyberattacks have received the most attention: denial-of-service (DoS) attacks and deception attacks [12]. As a common type of cyberattacks in CPS, DoS attacks attempt to make the network resource unavailable for its intended users. This kind of attack blocks real traffic by sending a mass of invalid information that takes up all the communication bandwidth. Currently, research on DoS attacks has two main perspectives as follows. (1) From the perspective of system defense, in order to mitigate the vulnerability of system under attacks, many robust methods have been investigated in recent years [1315], such as event/self-triggered control [13], the confidence-level-based resilient strategy [14], and intensity-dependent consensus protocol [15]. (2) From the perspective of DoS attacker, in order to increase the probability of successful attacks and enhance the effect of attacks, the attacker tends to formulate various optimal attack strategies according to their working conditions. Recently, there are some studies on formulating optimal attack strategies. For example, literature [16] proposed an optimal attack strategy under limited attack resources, and this strategy can damage the estimation performance of the system by deciding which sensor to attack. And, on this basis, the optimal attack time and attack mode are determined in [17] to maximum the impact of DoS attacks on the remote state estimation of the power system. However, the above research on the optimal attack strategies only discusses the DoS attacks against the state estimation, and the goal of it is to undermine the security and stability of systems. Until now, there are few literatures on designing the optimal DoS attacks strategies to damage the economic performance of the power system. However, the degradation caused by DoS attacks to the economic performance of the power system cannot be ignored, which may have a great impact on the national economy. As a result, it is necessary to study under what strategy the attack will cause the maximum degree of economic performance degradation, i.e., the optimal attack strategy disturbing the distributed economic dispatch of the microgrid.

Based on the above analysis, the motivation of the current work is in the following three aspects:(1)As a common type of cyberattacks, DoS attacks are highly destructive, which may cause severe consequences for the power system.(2)As far as we know, there are few literatures about the impact of DoS attacks on the economic dispatch of the power system. However, it is essential to analyze potential consequences of these attacks on the economic performance of the system.(3)Research on optimal attack strategies can guide the formulation of defense measures for energy systems, and one needs to understand what the worst effect of attacks might be.

In this paper, we investigate the economic dispatch problem of the microgrid under DoS attacks. Firstly, the model of DoS attacks is established according to their working mechanism. Then, the impact of DoS attacks on the economic dispatch of the microgrid under different scenarios is investigated. On this basis, an optimal attack strategy that can maximize the effect of attacks with limited attack resources is proposed. The main contributions of this paper are summarized as follows:(1)In this paper, the EDP of the microgrid under DoS attacks is investigated, which further enriches the theoretical research on DoS attacks in the power system.(2)The time-varying communication network caused by DoS attacks can be divided into two types, i.e., connected and disconnected. How the two scenarios of attacks affect economic dispatch is analyzed in this paper (Theorems 1 and 2).(3)Different from the existing literatures, where optimal attack strategies were always put forward to increase the state estimation error of the power system, the optimal attack strategy proposed in this paper aims at damaging economic performance of the microgrid.(4)An enumerating-search algorithm is proposed to find out the optimal attack strategy for DoS attacker (Algorithm 1).

 Input:
 Compute
 Enumerate the set of all attack schemes according to constraints (31) and (33), and each attack strategy can be further represented as , which represents the units’ isolated set caused by an attack action
 Define
  for j = 1:m do
   for i = 1:N do
    if then
     Compute total output lower limit of isolated generators ;
    else
     Compute ;
     Compute ;
    end if
   end for
   Compute ;
   if then
    Update ;
    Update according to and ;
   end if
  end for
 Output: ; .

The rest of the paper is organized as follows. Section 2 revisits some preliminaries, and the problems of interest are summarized. Section 3 illustrates the degradation of system economic performance under the different scenarios of attacks through complete theoretical analysis. Section 4 derives the optimization model of attack strategy and its corresponding algorithm to find out the solution. The simulation examples and conclusion are appeared in Sections 5 and 6, respectively.

2. Preliminaries

2.1. Graph Theory

A graph is always used to model the network topology of a system. A graph can be denoted as , where is a finite set of points, and is an edge set of pairs of nodes. In a directed graph, the edge from to is denoted by an ordered pairs , which means information can be transferred from to . is a matrix named adjacency matrix, denotes the weight of the edge . If the agent and can communicate with each other, they will be defined as neighbors. The in-neighbors of the node are denoted by the set . Similarly, the out-neighbors of the node are denoted by the set . Especially, each vertex belongs to both its in-neighbor and out-neighbor, i.e., as well as . The in-degree and out-degree of the vertex are defined as and , respectively. Strongly connected graph can be defined if there are paths between any pair of two vertices in a directed graph, i.e., each vertex is reachable for all the other vertices.

2.2. Stochastic Matrix

A nonnegative square matrix is defined as row stochastic matrix if , where is a column vector with all the elements equal to 1. Similarly, a nonnegative square matrix is defined as column stochastic matrix if , and a nonnegative square matrix is double stochastic matrix if it satisfies both and .

Moreover, based on the Perron–Frobenius theorem [18], for a row stochastic matrix , there exists such an identity column vector satisfying . Similarly, for a column stochastic matrix , there also exists an identity column vector satisfying .

2.3. Analytic Solution to EDP

The microgrid is essentially a typical multiagent system, in which each generator can be regarded as an agent. The operation cost function of the generation is given by the following quadratic form [19]:where is the power generated by generator and , , and are the operation cost parameters of generator .

Assume there is a microgrid system with generators, the objective of the economic dispatch of the microgrid is to minimize the total operation cost, which is given by

The EDP of the microgrid needs to be solved under the power balance constraint and power generation constraint as follows:where and are the lower bound and upper bound of the output power associated with the generation, respectively. denotes the total power demand satisfying , i.e., the problem is solvable.

The above optimization problem can be solved by the Lagrange multiplier method [20]. The Lagrange multiplier can be expressed as follows:

Because the Lagrange multiplier is equal to the incremental cost , we directly use to represent the incremental cost of units in the following paragraphs.

With the consideration of generation constraint in (4), the power generated by generator is given bywhere is the incremental cost corresponding to the optimal solution of the EDP.

2.4. Problems of Interest

Based on a well-developed distributed algorithm to solve the EDP of the smart grid, the main problems we are interested in consist of the following:(1)What is the possible effect of DoS attacks on EDP when the attacker can be detected hardly by the monitor in the smart grid?(2)How to quantify the degradation of economic performance caused by DoS attacks?(3)Does there exists an optimal attack strategy that renders maximum degradation of economic performance caused by the attacker?

3. Performance Analysis of Dispatch System under DoS Attacks

3.1. DoS Attacks’ Model

Assume the DoS attacker is a single source of attacks in the communication network environment of the microgrid, and the DoS attacker sends the invalid requests to occupy the network resources. The DoS attacks target various components including smart meters and communication links, resulting in limited availability of these components. In this paper, the objectives of DoS attacks are to hinder the transmission of information on the communication links, thereby degrading the economic performance of the microgrid.

Stochastic DoS attacks can occur at any communication moment and any communication link. To clearly describe the effect of DoS attacks on the economic dispatch of the microgrid, the model of DoS attacks needs to be established. Define an edge set to represent the communication links attacked at iteration , . The information transmission over the compromised communication links is impeded.

The effect of DoS attacks on the communication network is equal to packet dropout, which fails the information transmission among agents. Actually, the communication path can be regarded as unconnected if the information transmission on the edge is failed. It is reasonable to assume that the network topology could be time-varying and possibly disconnected when the communication network is attacked by the DoS attacker. In this paper, EDP over unreliable network with DoS attacks is regarded as the EDP under time-varying communication topology. Moreover, we assume that once DoS attacks disappear, any disconnected links caused by attacks will be recovered into the connected state by communication restoration mechanism.

is the adjacency matrix corresponding to the communication network topology under DoS attacks at iteration . It can be defined as the following form:

The updating matrices can be defined according to as follows:

It can be deduced that is a row stochastic matrix and is a column stochastic matrix.

Lemma 1. Based on the definition, row stochastic matrix and column stochastic matrix both have the eigenvalues 1, and the rest eigenvalues are within the unit circle on the complex plane.

In this paper, a fully distributed algorithm proposed in [20] to solve the EDP of power system can be transformed into the following form with the consideration of DoS attacks:where is an auxiliary variable which denotes the estimated local power mismatch and is a sufficiently small positive constant named learning gain. and . The distributed algorithms (9)–(11) can solve the economic dispatch problem (2) under constraints (3)-(4). Moreover, the following formula can be derived from (11):

It is easy to deduce that will be guaranteed if . In other words, the equilibrium between power supply and demand can be guaranteed when the algorithm converges only if the selection of initial value satisfies certain conditions.

Most of the existing literature analyzes the impact of attacks based on the assumption of known attack probabilities [17]. In fact, the probability of an attack is generally not fully grasped by the system [21]. In this paper, we explore the effect of DoS attacks without the knowledge of probability distribution information. To this end, a communication network attacked by the DoS attacker is classified into two types:(1)The communication network topologies keep strongly connected(2)There exist communication network topologies disconnected, i.e., some units are isolated from the communication network

3.2. Strongly Connected Scenario under DoS Attacks

This section investigates the performance analysis of the dispatch system in the scenario which communication topology graphs of the microgrid keep strongly connected under DoS attacks.

Under this attacks, the communication topology graphs of the microgrid are time-varying, as shown in Figure 1(a), where the solid line represents the normal connected communication links and the dotted line represents compromised communication links caused by DoS attacks. Although the communication network topology no longer maintains a fixed form under DoS attacks, it still keeps strongly connected. In this case, the distributed economic dispatch algorithm (9)–(11) can be carried out to solve the EDP of the microgrid.

Theorem 1. In the scenario of attacks that the communication network topologies keep strongly connected, if the positive constant in algorithm (9)–(11) is sufficiently small and the variables satisfy the initial condition , then the distributed algorithm is stable, and all the variables converge to the solution of the EDP, i.e.,

Proof. Use the eigenvalue perturbation approach [18] to analyze the convergence performance of algorithms (9)–(11). Substituting (9) and (10) into (11), we can obtainwhere and are the column stack vectors of and , respectively, is an identity matrix, and . Algorithms (14)–(15) can be written in the following form:Define , , and updating matrix .
The updating matrix in (16) can be regarded as perturbed by . It is easy to deduce that is a lower triangular block matrix with the matrices and in its diagonal line. As a result, the eigenvalues of include that of matrices and . According to Lemma 1, it can be obtained that has two eigenvalues at any iteration .
Assume and are left and right eigenvectors of matrix with respect to eigenvalues , and they satisfy the following conditions:According to formula (17), it is not hard to find that and both are the left eigenvectors of ; and both are the right eigenvectors of associated with eigenvalues , where is defined. If , the eigenvalues of is perturbed by . According to the eigenvalue derivation theory, the partial derivative of corresponding to can be expressed as follows:Thus, it can be deduced thatThat means does not change with , and as goes up, goes down from 1. Therefore, there is a small constant satisfying , and is restricted to less than 1. Based on the Bauer–Fike theorem [22], there exists an upper bound such that , then , , i.e., other eigenvalues of lie in the open unit disk. Because the eigenvalues of depend on , given a constant , if , all the eigenvalues of are less than 1, except for one eigenvalue equal to 1.
It is not hard to deduce that is the right eigenvector of corresponding to at any time , i.e., . The rest of the eigenvalues are within the open unit disk, and matrix has independent eigenvectors.
It is reasonable to assume that the initial value can be expressed as a linear combination of all the eigenvectors as shown in the following:where is a set of constant and is a set of eigenvectors of . According to formula (16), we can obtainThus, it can be deduced thatAccording to the above analysis, because all the eigenvalues of are less than 1, except for one eigenvalue equal to 1, and the vector corresponds to the eigenvalue 1. It can be conducted thatAs and , is always satisfied. Because the initial condition is guaranteed, it can be derived that the power supply-demand balance of the system is satisfied ultimately. Thus, Theorem 1 can be obtained.
It worth noting that the research in this paper is aimed at day-ahead economic dispatch of the smart grid, and our concern is whether the algorithm can converge to the optimal solution of the EDP rather than the convergence time. This is also the focus of another attack scenario we discuss in Section 3.3. According to Theorem 1, it is not very difficult to obtain that the distributed algorithm executed in the communication environment with DoS attacks still converges to the point which corresponds to the optimal operation point of the microgrid. Through the above analysis, we can get the following inference that, in this scenario of attack that keeps the communication topologies still strongly connected, the DoS attack shows little benefit to the degradation of economic performance for the microgrid. It is a situation that is unwilling to accept by the DoS attacker, whose intent is to disrupt the economic operation of the microgrid as much as possible.

3.3. Disconnected Scenario under DoS Attacks

This section investigates the performance analysis of the dispatch system in the scenario that communication topology graphs of the microgrid are disconnected under DoS attacks.

If the DoS attacker concentrates on disconnecting all the communication links of a generator, it will briefly prevent the generator from communicating with its neighbors. Under these attacks, at least one generator is isolated from the communication network. It means the time-varying matrix has the rows and columns in which all the elements are zero, i.e., the in-degree and out-degree of some vertexes in the communication topology graph are zero. For the convenience of analysis, it is necessary to reduce the dimension of to obtain by removing the rows and columns whose elements are all equal to 0. The corresponding matrices and are transformed to and , respectively.

In this scenario, all the generators can be divided into two types, misbehaving generators and well-behaving generators, respectively. Define as the set of misbehaving generators at iteration , i.e., the units isolated from communication network, and is the number of misbehaving generators. It is worth noting that presents isolated generators only due to DoS attacks in unreliable communication network, and isolation of units caused by other abnormal factors is beyond the scope of this paper. If , the generator is involved in economic dispatch as a well-behaving generator, which updates its output power and incremental cost normally; otherwise, the generator is a misbehaving generator, which maintains its output power and incremental cost until it is reconnected to the communication network after the disappearance of DoS attacks on it.

Under these attacks, algorithms (9)–(11) can be rewritten as the following dynamics (24)–(26):

Theorem 2. In the scenario of attacks where there exist the communication network topologies disconnected, if the variables satisfy the initial condition , the learning gain in algorithms (24)–(26) is sufficiently small, and there exist enough output power satisfying total power demand, as shown in formula (27); then, the algorithm is stable and the variables of well-behaving generators converge to the suboptimal solution of the EDP, i.e.,where and denote the suboptimal incremental cost vector and output power vector of well-behaving generators, respectively, and and denote the incremental cost and output power of the misbehaving generator , respectively. Note that convergence results shown in (28) depend on the attack strategies chosen by the DoS attacker.

Proof. The proof is similar with Theorem 1. The process is omitted here for convenience.

Remark 1. The attacker deliberately causes algorithms (24)–(26) to be executed on the premise that formula (27) is satisfied in the microgrid. As a result, the algorithm converges to a stable but not optimal point as shown in Theorem 2, the attacks will be considered online stealthily [23]. The attacks are especially hard to detect by the system, and they can keep stealthy and damage the performance of the microgrid.
It worth noting that misbehaving generators isolated from the communication network will continue to supply electricity to local demand because the isolation action caused by DoS attacks cannot directly disconnect the transmission lines of the misbehaving generators in the physical network. Under this scenario of attack, the distributed algorithm cannot be executed consistently due to the absence of the real updating information of the misbehaving units. According to Theorem 2, it is not very difficult to obtain that the distributed algorithm converges to the other convergence point, which is not equal to the optimal operation point of the microgrid. The conclusion can be drawn that, in this attack scenario which make the communication topology graphs disconnected, DoS attacks can interfere with the economic dispatch process of the microgrid to degrade the economic performance of the system. Through the above analysis, this scenario of attacks is a benefit to the DoS attacker. Only if DoS attacks isolate some generators from the communication network can such attacks will be effective for the destruction of economic operation of the microgrid.
Based on the analysis of the effect of attacks on the EDP, the problem that the authors are interested in is to find the largest degradation of economic performance of the microgrid under DoS attacks. In order to quantify the effect of attacks, the change of incremental cost in the attacks’ situation compared to the ideal situation is exploited.

4. Attack Strategy Formulation

4.1. Attack Capacity Formulation

According to the analysis in Section 3.1, DoS attacks can occur at any communication moment and communication link. In practice, the launch of DoS attacks cannot be unrestrained, which is reflected in the constrained attack frequency and attack duration [24]. On the one hand, it is due to the inherent characteristics of DoS attacks, and on the other hand, several technologies of the power system can effectively resist jamming attacks [25]. As a consequence, the DoS attacker needs to formulate an optimal attack strategy on the premise of satisfying its own resource constraints to maximize the attack efficiency and attack effect.

We define the total attack resource as , and is the attack level at iteration , which represents the proportion of isolated units to the total number of units, i.e., , . It implies that the more generators that are isolated due to DoS attacks, the higher the attack level the attacks have. Define , as the attack decision vector in which is the decision of the attacker at iteration , and indicates that the attacker decides to jam the wireless channel; otherwise, . Define as the indicator function to represent whether the attacker implements DoS attacks successfully, and the indicator function can be formulated as follows:

4.2. Optimal Attack Strategy

The definition of the incremental cost in (5) implies that incremental cost is the value of the operation cost changing with the generated power. The incremental cost can be regarded as an indicator of economic performance for the power system:

Thus, the change of incremental cost in the attacks’ situation compared to the ideal situation can be used for a metric to quantify the effect of attacks. On this basis, the problem of designing an optimal attack strategy can be formulated as an optimization problem, for which the optimal solution can be obtained mathematically. This optimization problem aims to maximize the incremental cost deviation. At the same time, in order to ensure the DoS attacks are online stealthy, the attacker should ensure that all the units can meet the power balance requirement after some units are isolated. Furthermore, the DoS attacker needs to formulate an optimal attack strategy on the premise of satisfying its own resource constraints. In the iteration interval , the formulation of an optimal DoS attacks’ strategy can be transformed to the optimization problem as follows:

The design of optimal strategy is completely reasonable because the purpose of the DoS attacks against economic dispatch process is to violate the economy principle and result in the largest degradation of the economic performance of the microgrid. As shown in previous analysis, corresponds to the optimal economic dispatch results without DoS attacks and reflects the solution of the EDP under DoS attacks, and the value of is related to the attack strategies chosen by the attacker. Therefore, the more deviates from , the worse economic performance of the system can be obtained, and the objective function can be formulated as (30). Moreover, if the attack strategy selected violates the power supply-demand principle in (27), the attacks will be detected easily by the monitoring mechanism in the system, which goes against the intention of the attacker to hide its behaviors. Formula (31) considers the constraint of the attack resources from the practical point of view, and the formulation of attack strategy must be limited by it.

In this paper, the static attack problem is investigated, and the optimal attack strategy is decided before the attack actions begin. However, the solution of the above objective function is inaccessible because the output power of isolated generators is unknown at that time. There are only some static parameters available for the attacker to formulate the attack strategies; thus, we put forward the following assumptions about DoS attacks and reformulate the optimization model according to them.

Assumption 1. Attacker can collect pivotal information of the microgrid such as operation cost parameters of generators, power upper and lower limits, and the total power demand. The information can be obtained by monitoring normal process of economic dispatch and collecting the relevant information published by authoritative organizations or manufacturers.

Assumption 2. For the objective to maximize the change of incremental cost in the attacks’ situation compared to the ideal situation, the attacker tends to attack the unit when its output power is the lower limit, which increases the burden on well-behaving generators and their incremental cost value.
Based on the assumption of attack pattern and objective shown above, the attacker pursues an expression of the optimal attack strategy . Reformulate (27) and (30), can be replaced by , and the optimization problem can be reformulated as follows:where the parameters’ information of (31)–(33) is available in advance, and it means the optimal attack strategy can be decided before the attack actions begin.

Remark 2. According to the above analysis, in the nonideal communication environment with DoS attacks, the incremental cost obtained by the calculation is related to the selected attack strategy. Because the EDP of the microgrid (2)–(4) is a convex optimization problem, the incremental cost is positively correlated with its corresponding output of the generator, which means that the greater the deviation of and obtained under different attack strategies, the higher the operation cost of the system is. The above optimal attack strategy models (31)–(33) are essential to increase the operating cost of the system, thereby destroying the economic performance of the microgrid.
Based on the analysis of the optimal attack strategy formulation, an algorithm used to obtain this optimal strategy needs to be developed.

4.3. Algorithm to Obtain the Optimal Attack Strategy

The above optimization problem is not a simple convex optimization problem, and it cannot be directly solved by analytical methods or CVX toolbox in MATLAB [26]. As a result, this paper proposes an enumerating-search algorithm to solve the above optimization problem, which is described in Algorithm 1.

The essence of Algorithm 1 is to use the recursive process to exhaustively search for the optimal solution, i.e., the optimal attack strategy which damages the economic performance of the microgrid to the greatest extent. Firstly, enumerate all the possible attack schemes satisfying constraints (31) and (33), where the attack schemes are represented by the sequence number of the isolated units caused by each attack action. Then, we compute the deviation value of incremental cost corresponding to each attack scheme. By comparing all the deviation value, the attack scheme corresponding to the maximum deviation value is pursued by the DoS attacker. Finally, combine this optimal attack scheme with the attack decision vector; the attacker can decide the optimal attack strategy. It is worth noting that, for developing the optimal attack strategy before launching attacks so that the DoS attacks achieve the best effect of attacks, the attacker needs to further decide the attack moments, which can be represented by the attack decision vector [17]. This part is not the focus of the EDP for the microgrid, so it will not be detailed here.

5. Simulation Examples

Numerical simulation is a common method to verify theoretical analysis results as well as the effectiveness of the algorithm proposed. In this section, we firstly chose the IEEE 57-bus system to simulate the microgrid to compare the EDP under the different communication situations. Then, on the IEEE 39-bus system, we discuss the effect of DoS attacks adopting various attack strategies on economic performance of the microgrid.

5.1. Case 1: The EDP under Ideal Communication Conditions

There is an IEEE 57-bus system for simulation, and the communication network corresponding to the physical power network is shown in Figure 2. This test system includes five generators, whose parameters and initial state values are listed in Tables 1 and 2, respectively. The total power demand of the system is set to 1000 MW.

In this case, under the ideal communication conditions without DoS attacks, the EDP can be solved with the algorithm proposed in [20]. In the iteration interval , the evolution of the output power , incremental cost , the total power generated , and power demand is shown in Figure 3. Ultimately, the incremental cost , , converges to a common value ; meanwhile, the output power , , , , and , all the generators are operating within their generation constraints, and also the total power demand is satisfied by these power output. The convergence results of the distributed algorithm are the same as that calculated by the centralized algorithm in [27]. The total operation cost is , which is the minimum operation cost of the system.

According to the above analysis, the optimal solution of the EDP can be solved through the distributed economic dispatch algorithm under ideal communication conditions. This case can be used as a comparison of the subsequent simulation cases.

5.2. Case 2: The EDP with Strongly Connected Communication Topology under DoS Attacks

Simulation case is performed with the same system model and parameters as those in Section 5.1. In this case, we consider the scenario that communication topology graphs keep strongly connected under DoS attacks. Assuming the communication topology changes two times resulted by DoS attacks, the attacker launches DoS attacks firstly in the communication link (1,3) at iteration until ; then, the attacker launches DoS attacks in the communication link (1,4) at iteration until .

In this case, the EDP can be solved with algorithms (9)–(11). In the iteration interval , the evolution of the output power , incremental cost , the total power generated , and power demand is shown in Figure 4. Ultimately, the incremental cost , , converges to a common value and the output power , , , , and . It can be concluded that the final convergence results in this case are the same as the results of Case 1.

According to Figure 4, it can be observed that the distributed algorithms (9)–(11) can finally converge to the optimal solution of EDP, although the existences of DoS attacks interfere with the convergence process of the algorithm. As a result, the correctness of the conclusion in Section 3.2 is verified, i.e., this attack scenario where the communication network still keeps strongly connected shows little benefit to the degradation of economic performance of the microgrid.

5.3. Case 3: The EDP with Disconnected Communication Topology under DoS Attacks

Simulation is performed with the same system model and parameters as those in Section 5.1. In this case, we consider the scenario that there exist communication topology graphs disconnected under DoS attacks. If all the communication paths of a generator are attacked for a certain period of time, the generator is briefly isolated from the communication network. It is important to note that the generator will reconnect to the communication network when the attacks disappear.

Assuming the communication topology changes two times because of DoS attacks, the attacker launches DoS attacks on generator 5, firstly, at iteration until ; then, the attacker launches DoS attacks on generator 4 and 5 at iteration until . In this scenario, these two generators are misbehaving generators because of the DoS attacks on them, which lead to the disconnected communication topology graphs.

In this case, algorithms (24)–(26) are carried out to solve the EDP. The evolution of the output power , incremental cost , the total power generated , and power demand PD is shown in Figure 5. Under these DoS attacks, misbehaving generator 5 is isolated from the communication network at the iteration interval , and misbehaving generator 4 is isolated at the iteration interval , while the output power of the well-behaving generators can still satisfy the power demand remained. The incremental cost , converge to a common value , converges to , and converges to . The ultimate generators’ output , , , , and . All the generations are operating within their generation constraints, and the total load requirement is satisfied ultimately by generators participating in economic dispatch and the generators isolated. The total operation cost of the system is , which is higher than that of Case 1, the economic performance of the system declines.

According to Figure 5 and the total operation cost, it can be observed that the distributed algorithms (24)–(26) cannot finally converge to the optimal solution of the EDP, and the economic dispatch process is disrupted by malicious attacks. It implies the correctness of conclusion in Section 3.3 is verified, i.e., the attack scenario that makes the communication network disconnected leads to the suboptimal solution of the EDP, which degrades the economic performance of the microgrid.

5.4. Case 4: The Optimal Attack Strategy

In this case, we discuss the different attack strategies, which can cause varying degrees of damage to economic performance of the microgrid. We chose the IEEE 39-bus system to simulate the microgrid, and its communication network corresponding to the physical power network is shown in Figure 6. This system includes four generators, whose parameters can be chosen in Table 1. The total power load in the microgrid is set to . Assuming the total attack energy and attack decision vector , it is easy to deduce that must be smaller than 1/2, which means the number of generators isolated caused by each attack action cannot exceed two for the communication network in Figure 6. Then, the set of attack strategies can be obtained according to constraints (31) and (33).

For the communication network in this case, we can enumerate the set of all attack schemes , which include , , , , , , , , , and ; an attack scheme is represented by the serial numbers of the misbehaving generators caused by each attack action. Establishing the objective function and constraints as (31)–(33), the optimization problem can be solved by Algorithm 1, and the calculation results are shown in Figure 7(a). According to Figure 7(a), if is adopted, the deviation of incremental cost will be maximized. It means the execution of the optimal attack strategy is to repeat the attack scheme at each attack moment. Combining the attack decision vector and attack schemes, different attack strategies can be obtained. The comparison of different attack strategies is shown in Figure 7(b), from which we can easily sum up that optimal attack strategy obtained by using Algorithm 1 indeed causes the most degradation of economic performance compared with other attack strategies. As a result, it is feasible to carry out the proposed enumerating-search algorithm to obtain the optimal attack strategy.

6. Conclusion

This paper considers an optimal attack strategy against the economic dispatch for the microgrid. Firstly, according to the operating principle of DoS attacks, the unreliable communication network under DoS attacks can be classified into two scenarios, i.e., disconnected and strongly connected scenarios. The theoretical analysis results show that economy performance of the microgrid is damaged in the former case. On this basis, the optimal DoS attack strategy considering the resource constraints of the attacker is formulated to maximize the effect of attacks, which can be obtained by using the enumerating-search algorithm. Finally, the correctness of the theoretical analysis results with respect to the effect of attacks is verified by the simulations on the IEEE 57-bus system, and the effectiveness of the proposed enumerating-search-based optimal attack strategy is illustrated through the simulations on the IEEE 39-bus system. This paper delivers the message that, besides the efforts of designing novel distributed economic dispatch algorithms to guarantee the economic operation for the microgrid, it is equally important to protect the economic dispatch process from malicious attacks and evade potential economic losses.

For the future work, how to build the rational model of DoS attacks is the key to solving the EDP of the energy system under DoS attacks. Furthermore, we will synthetically consider the impact of other attacks on the EDP, such as false data injection attacks and replay attacks. Moreover, research on the dynamic optimal attack strategy disrupting the economic dispatch of the energy system is also the focus of our future work.

Data Availability

The data used to support the findings of this study are available from the corresponding author upon request.

Conflicts of Interest

The authors declare that they have no conflicts of interest.

Acknowledgments

This work was supported partly by the National Key R&D Program of China under Grant 2018YFA0702200, Fundamental Research Funds for the Central Universities (N2004005), and Science and Technology Project of State Grid Corporation of China (2020YF-19).