Keywords

1 Introduction

The structure of power supply has been changing significantly in last two decades. A new vision of power grid structures has appeared due to set of reasons, firstly, such as ever-growing energy consumption and development of alternative energy sources. New requirements for power grid structures with generators of renewable energy exacerbate such a crucial problem in power grid management as imbalance between energy demand and supply. Hence, the power system should turn to the production-oriented consumption that leads us to the idea of demand side management (DSM).

Much work has been done in the field of demand side management and, more specifically, demand response. Basic pricing mechanisms for systems with single supplier and multiple consumers are studied by [1, 2]. Distributed generation and storage are considered in [3, 4]. Coalition formation for local networks is examined in various scenarios in [5, 6] with use of methods of cooperative game theory. However, the questions of power grid’s topology and congestion in transmission lines are not taken into account in these works. In present paper we fill this gap since transmission network is a significant element of any power grid system.

Actually, the question of collaboration in energy market has long been irrelevant, and, in contrast to smart grid consumer collaboration, competitive market forces of power generation, consumption, and transmission have been deeply investigated [79]. Nowadays, the newly established circumstances force us to investigate collaborative mechanisms in power consumption. Due to modern technologies, generators and consumers are now able to be integrated spatially in a smart local (nodal) power system. Smart grid power system could guarantee the conditions of optimal nodal demand-side consumption by virtue of the agreement between consumers to collaborate in energy consumption.

In this paper we formulate a model of cooperating consumers in a power network. We show that an integrated smart energy system could reduce overall costs in congested networks with multiple producers. An example of a network with tree structure is considered in order to show the applicability of this idea.

2 Model Description

In this section, we formulate the power grid model with multiple generators and consumers. Each generator has a production cost function, and it depends on the total amount of energy this generator is assigned to produce. Consumers are price-taking agents with energy demand that they need to meet. Both production and transmission costs are covered by consumers. We now discuss all elements of this model in detail.

2.1 Network Structure

Consider a directed connected graph \( G = \left( {V,A} \right) \), where \( V \) is a set of nodes and \( A \) is a set of arcs. Since energy current in a power grid can flow in either direction of any link, we assume that for any arc \( \left( {k,l} \right) \in A \) there is also an arc \( \left( {l,k} \right) \in A \). We also claim that only one of these two arcs can be used at the same time (i.e., energy current cannot proceed in both directions of a link simultaneously).

We enumerate nodes in \( V \) a specific way, so that set \( V \) consists of three subsets: a set of \( m \) consumer nodes \( V_{Q} = \left\{ {1, \ldots ,m} \right\} \), a set of \( n \) producer nodes \( V_{P} = \left\{ {m + 1, \ldots ,m + n} \right\} \), and a set of all other nodes \( V_{O} = \left\{ {m + n + 1, \ldots ,\left| V \right|} \right\} \).

Consumers make bilateral energy contracts with multiple producers in order to meet their energy demands. By \( e_{ij} \ge 0 \) we denote a contract between a consumer \( i \in V_{Q} \) and a producer \( j \in V_{P} \), and \( d_{i} \le 0 \) is an energy demand of consumer \( i \in V_{Q} \). Let us also define \( \overline{e}_{i} = \left\{ {e_{ij} ,\,\,j \in V_{P} } \right\} \), consumer \( i \)’s contract profile, and \( \overline{e} = \left\{ {e_{ij} ,\,\,i \in V_{Q} ,\,\,j \in V_{P} } \right\} \), a contract profile of all consumers. Therefore, demand constraints take the following form:

$$ d_{i} + \sum\limits_{j = m + 1}^{m + n} {e_{ij} } = 0,i \in V_{Q} . $$
(1)

For all other nodes \( k \in V_{P} \cup V_{O} \), we also define \( d_{k} \):

$$ \begin{aligned} & d_{k} = \sum\limits_{i = 1}^{m} {e_{ik} } ,\;k \in V_{P} , \\ & d_{k} = 0,\;k \in V_{O} \\ \end{aligned}. $$
(2)

Let us call \( d_{k} \) an energy input in a node \( k \in V \). It is positive in producer nodes, negative in consumer nodes, and equal zero otherwise.

For each producer \( j \in V_{P} \) we define a unit production cost \( \alpha_{j} \left( {d_{j} } \right) \ge 0 \), a function of an energy input \( d_{j} \), the total sum of contracts assigned to this producer. Consumers share production costs proportionally to their contracts, and for a given contract profile \( \overline{e} \) consumer \( i \in V_{Q} \) pays to producer \( j \in V_{P} \) the following price:

$$ c_{ij} \left( {\overline{e} } \right) = e_{ij} \cdot \alpha_{j} \left( {d_{j} } \right) = e_{ij} \cdot \alpha_{j} \left( {\sum\limits_{i = 1}^{m} {e_{ij} } } \right). $$
(3)

Therefore, we can determine the overall production cost of each consumer \( i \in V_{Q} \) for a given contract profile \( \overline{e} \):

$$ c_{i} \left( {\overline{e} } \right) = \sum\limits_{{j \in V_{P} }} {c_{ij} \left( {\overline{e} } \right)} = \sum\limits_{{j \in V_{P} }} {e_{ij} \cdot \alpha_{j} \left( {\sum\limits_{i = 1}^{m} {e_{ij} } } \right)} . $$
(4)

2.2 Load Flow

Transmission costs are the second type of expenses covered by consumers. These costs depend on the load flow in a network, and we require to make several further definitions. By power flow \( f_{kl} \ge 0 \) in arc \( \left( {k,l} \right) \in A \) we denote a non-negative value of current flowing in this arc. According to our assumption, \( f_{kl} \) and \( f_{lk} \) cannot be both positive. A flow profile \( \overline{f} = \left\{ {f_{kl} ,\,\,\left( {k,l} \right) \in A} \right\} \) is a set of flows in all arcs. We assume that each arc \( \left( {k,l} \right) \in A \) charges a transmission fee \( \beta_{kl} \left( {f_{kl} } \right) \) that must be shared between consumers using this arc.

In order to determine the transmission cost of consumer \( i \) similarly to (4), we need to answer two questions: how does flow profile \( \overline{f} \) depend on contract profile \( \overline{e} \)? And how should the transmission costs be shared between consumers?

The first question can be answered by applying Kirchhoff’s laws to this power grid. Let us denote all neighbours of node \( k \) by \( W_{k} = \left\{ {l \in V|\,\,\left( {k,l} \right) \in A} \right\} \). Then the first Kirchhoff’s law takes the following form:

$$ \sum\limits_{{l \in W_{k} }} {f_{kl} } - \sum\limits_{{l \in W_{k} }} {f_{lk} } = d_{k} ,\;\forall k \in V. $$
(5)

If \( \Theta _{kl} \left( {f_{kl} } \right) \) is a voltage change function for an arc \( \left( {k,l} \right) \in A \), and \( \pi_{k} \) is a potential in node \( k \in V \), we can formulate the second Kirchhoff’s law for our model:

$$ \pi_{k} - \pi_{l} =\Theta _{kl} \left( {f_{kl} } \right),\;\forall \left( {k,l} \right) \in A. $$
(6)

It is well-known that the flow profile can be found as a solution of a non-linear optimization problem (cf. Chap. 2.6 in [10]):

$$ \mathop {\text{min}}\limits_{{\overline{f} }} \,\,\,\sum\limits_{{\left( {k,l} \right) \in A}} {\int\limits_{0}^{{f_{kl} }} {\Theta _{kl} \left( s \right)ds} } , $$
(7)

subject to

$$ \sum\limits_{{l \in W_{k} }} {f_{kl} } - \sum\limits_{{l \in W_{k} }} {f_{lk} } = d_{k} ,\quad \forall k \in V, $$
(8)
$$ f_{lk} \ge 0,\quad \forall \left( {k,l} \right) \in A, $$
(9)

where contract profile \( \overline{e} \) defines coefficients \( \left\{ {d_{k} } \right\} \) in (8).

By \( \overline{f} \left( {\overline{e} } \right) \) we denote the solution of problem (7)–(9) for a given \( \overline{e} \). Mathematical programming formulation of the problem of finding equilibrium currents and voltages in electrical networks is an electrical network analogy of traffic equilibrium problem [1012].

The second question is more complicated, since electricity is a homogeneous product, and unlike transportation problems it is not possible to track what portion of energy belongs to which consumer-producer contract. There are different methods used to determine transmission cost pricing, e.g. [13]. In general case, we define a set of functions \( \left\{ {\delta_{i}^{kl} \left( {\overline{e} } \right)} \right\} \) that impose the cost sharing rule:

$$ \begin{aligned} \sum\limits_{{i \in V_{Q} }} {\delta_{i}^{kl} \left( {\overline{e} } \right)} = 1,\quad \forall \left( {k,l} \right) \in A, \hfill \\ \delta_{i}^{kl} \left( {\overline{e} } \right) \ge 0,\;\forall \left( {k,l} \right) \in A,\;\forall i \in V_{Q} . \hfill \\ \end{aligned} $$
(10)

According to this rule, one can find transmission cost of consumer \( i \in V_{Q} \) charged by arc \( \left( {k,l} \right) \in A \) as follows:

$$ t_{i}^{kl} \left( {\overline{e} } \right) = \delta_{i}^{kl} \left( {\overline{e} } \right) \cdot \beta_{kl} \left( {f_{kl} \left( {\overline{e} } \right)} \right). $$
(11)

Thus, total transmission cost paid by consumer \( i \) is

$$ t_{i} \left( {\overline{e} } \right) = \sum\limits_{{\left( {k,l} \right) \in A}} {t_{i}^{kl} \left( {\overline{e} } \right)} = \sum\limits_{{\left( {k,l} \right) \in A}} {\delta_{i}^{kl} \left( {\overline{e} } \right) \cdot \beta_{kl} \left( {f_{kl} \left( {\overline{e} } \right)} \right)} $$
(12)

We are ready to formulate a network optimization problem for a system of cooperative consumers.

3 Integrated Smart Energy System

Usually, the participants of energy market are assumed to be selfish and independent, that leads us to a system formulated in terms of competitive games. However, if energy resources are scarce and/or uncontrollable (such as renewable energy generation) it may be more profitable for consumers to cooperate. This section formulates a total cost minimization problem for a power grid with multiple suppliers.

3.1 Total Cost Minimization Problem

In order to reduce total costs for energy production and transmission, we need to solve a total cost minimization problem. Let us consider the total cost of all consumers, according to (4), (12):

$$ \begin{aligned} C\left( {\overline{e} } \right) & = \sum\limits_{{i \in V_{Q} }} {\left( {c_{i} \left( {\overline{e} } \right) + t{}_{i}\left( {\overline{e} } \right)} \right)} \\ & = \sum\limits_{{i \in V_{Q} }} {\sum\limits_{{j \in V_{P} }} {e_{ij} \cdot \alpha_{j} \left( {\sum\limits_{i = 1}^{m} {e_{ij} } } \right)} } + \sum\limits_{{i \in V_{Q} }} {\sum\limits_{{\left( {k,l} \right) \in A}} {\delta_{i}^{kl} \left( {\overline{e} } \right) \cdot \beta_{kl} \left( {f_{kl} \left( {\overline{e} } \right)} \right)} } \\ & = \sum\limits_{{j \in V_{P} }} {d_{j} \left( {\overline{e} } \right) \cdot \alpha_{j} \left( {d_{j} \left( {\overline{e} } \right)} \right)} + \sum\limits_{{\left( {k,l} \right) \in A}} {\beta_{kl} \left( {f_{kl} \left( {\overline{e} } \right)} \right)} . \\ \end{aligned} $$
(13)

The minimization problem can be formulated in the following form:

$$ \mathop {\text{min}}\limits_{{\overline{e} }} \,\,\,\sum\limits_{{j \in V_{P} }} {d_{j} \left( {\overline{e} } \right) \cdot \alpha_{j} \left( {d_{j} \left( {\overline{e} } \right)} \right)} + \sum\limits_{{\left( {k,l} \right) \in A}} {\beta_{kl} \left( {f_{kl} \left( {\overline{e} } \right)} \right)} $$
(14)
$$ {\text{subject to }}\left( 1\right),\left( 2\right), $$
(15)

where flow profile \( \overline{f} \left( {\overline{e} } \right) \) is found as a solution of optimization problem (7)–(9).

Note that the solution of constrained optimization problem (14), (15) does exist. However, it is not a trivial task to define the uniqueness of the solution in general case. Nevertheless, the properties of a solution could be established via differentiating Lagrangian with respect to \( e_{ij} \) and using Kuhn-Tucker conditions. The only thing to be state is that Kuhn-Tucker conditions are necessary and sufficient when product \( d_{j} \left( {\overline{e} } \right) \cdot \alpha_{j} \left( {d_{j} \left( {\overline{e} } \right)} \right) \) and \( \beta_{kl} \left( {f_{kl} \left( {\overline{e} } \right)} \right) \) are convex functions. Generally, one could use most appropriate powerful numerical method for constrained nonlinear optimization [14].

3.2 Consumer Cooperation

There are different ways of fair cost sharing among consumers. Ideas of the cooperative game theory may be applied, such as the concept of Shapley value for a coalition of consumers (see, e.g., [15]). Another simplified policy to encourage the cooperation between consumers is to share the total cost proportionally to the demand of each consumer:

$$ C_{i} \left( {\overline{e} } \right) = d_{i} \cdot C\left( {\overline{e} } \right),\quad \forall i \in V_{Q} . $$
(16)

In this case each consumer \( i \) minimizes the same function (up to a constant coefficient \( \left\{ {d_{i} } \right\} \).

In the following example we do not consider any specific rule of cost sharing, but rather the possible total cost reduction in the network without cycles.

4 Example and Simulation Results

This section shows how our methods can be applied to a specific example of a network with tree structure.

4.1 Example

Consider a network with 7 nodes that is depicted in Fig. 1. There are 3 consumers (red nodes), 3 producers (green nodes) and one intermediate node. Therefore, \( V_{Q} = \left\{ {1,2,3} \right\} \), \( V_{P} = \left\{ {4,5,6} \right\} \), and \( V_{O} = \left\{ 7 \right\} \).

Fig. 1.
figure 1

7-node network with no cycles (Color figure online)

All nodes are located in the same local area except for node 4 that depicts a conventional energy generator, e.g. a power plant. Hence, arc (4, 2) is longer than all other arcs, and transmission costs are higher for this arc.

Since there are no cycles in the network, we only need to check the first Kirchhoff’s law (5). A flow on each arc is a linear combination of \( \left\{ {e_{ij} } \right\} \):

$$ \begin{aligned} & \hat{f}_{25} = e_{34} + e_{36} - e_{15} - e_{25} ,\quad \hat{f}_{53} = e_{34} + e_{35} + e_{36} ,\quad \hat{f}_{42} = e_{14} + e_{24} + e_{34} , \\ & \hat{f}_{27} = e_{14} + e_{15} - e_{26} - e_{36} ,\quad \hat{f}_{71} = e_{14} + e_{15} + e_{16} ,\quad \hat{f}_{67} = e_{16} + e_{26} + e_{36} . \\ \end{aligned} $$

The direction of flow in arcs (2, 5) and (2, 7) may differ depending on the values \( \left\{ {e_{ij} } \right\} \). If \( \hat{f}_{25} < 0 \), we assign \( \hat{f}_{25} = 0 \) and \( \hat{f}_{52} = - \hat{f}_{25} \). The same is true for \( \hat{f}_{27} \).

Let us assume that functions \( \left\{ {\alpha_{j} \left( \cdot \right)} \right\} \) and \( \left\{ {\alpha_{j} \left( \cdot \right)} \right\} \) have the following form:

$$ \begin{aligned} \alpha_{j} \left( x \right) = \lambda_{j} \cdot x^{1 + \varepsilon } + \mu_{j} ,\quad \forall j \in V_{P} \hfill \\ \beta_{kl} \left( x \right) = \lambda_{kl} \cdot x^{1 + \zeta } ,\quad \forall \left( {k,l} \right) \in A, \hfill \\ \end{aligned} $$
(17)

where all coefficients are non-negative. We now solve the problem (14), (15) with specific values of demands \( \left\{ {d_{i} ,\,\,i \in V_{Q} } \right\} \) and coefficients in (17), and evaluate the total cost reduction.

4.2 Simulation

Let us assume that consumers have similar demand values, and that the transmission cost in arc (4, 2) is higher due to longer distance, while other five arcs have identical coefficients of transmission function (i.e., \( \lambda_{42} > \lambda_{a} ,\,\,\forall a \ne \left( { 4,{ 2}} \right) \)). We also assign \( \varepsilon = \zeta = 0. 2 \).

We compute and compare minimal total costs of consumers in two different cases: \( C_{\sin } \) if each consumer buys energy from a single supplier, and \( C_{opt} \) for a case, when consumers distribute their contracts between several producers (Table 1).

Table 1. Some of simulation results are given.

It is clear that the cooperative contract distribution reduces the total cost significantly (up to 8 %). However, this reduction strongly depends on the demand values of consumers and cost functions of producers.

5 Conclusion and Future Work

In this work, we described and studied a collaborative model of local area energy consumption in the presence of multiple producers. We showed that the distribution of power flow can be determined by solving an optimization problem based on Kirchhoff’s laws, and we formulated the total cost minimization problem considering the congestion in the network arcs. We also considered an example of a network without cycles and presented promising simulation results. There are several possible extensions of this model. First of all, it is crucial to consider a dynamic setting over several periods of time (e.g., 24 h of a day). Second direction is the investigation of cost sharing techniques.