Multi-Port Resistance Networks and a Generalized Theory for Flow Preserving Clustered Equivalents for Market Analysis of Power Grids ()
1. Introduction
Power system networks are becoming complex with increasing size, and so associated analyses dealing with market or stability are becoming increasingly complex too [1]. To fulfill any analysis requirements, the complexity of the network needs to be addressed [2]. Early approaches for network equivalencing include [3]-[8]. These approaches usually eliminate less important elements on the basis of certain parameters. Transmission lines and generators connected to the boundary buses may be eliminated with minor impacts.
There has been a great deal of interest in recent years in reducing the computational burden in the analysis of power markets and hence certain equivalent network models have been proposed and used [9]-[12]. In particular, the PTDF-based system equivalents have received increasing attention [11] [12]. Basically the PTDF-based equivalent networks based on the DC power flow model preserve the flows across certain links (called tie-lines) of the original larger power network. In this paper, we are concerned with the PTDF-based equivalent network model.
Resistive electrical networks have found increasing importance in several applications to model random walks [13]. Our interest is in the context of the role of resistances in serving as a model for DC power flows in power systems.
We present certain graph theoretic concepts and circuit analysis techniques in Section 2. The concept of modified circuit matrix of a resistance multi-port network [14] is presented in Section 3. We present in Section 4 an inverse problem of designing a multi-port resistance network. We also present in this section, a methodology to solve this problem. Sections 5 - 6 deal with the basic notations in power matrix analysis and the equivalence of the PTDF to the modified circuit matrix of a multi-port resistance network. Section 7 deals with a generalized theory of flow preserving equivalents that is not constrained by the limitations of the approach in [11]. Simulation results are presented in Section 8.
Figure 1. (a) Graph representation
; (b) Spanning tree
of
.
2. Basic Concepts
Consider a connected directed graph
with no self-loops where
is the set of
vertices and
is the set of
edges of the graph. Each edge directed from vertex
to
will be denoted by
. A spanning tree
of
is a connected subgraph of
containing all the vertices of
and no circuits. For example, for the graph
in Figure 1(a) the edges
form a spanning tree (see Figure 1(b)). The edges of
are called branches of
and those that are not in
are called chords of
. For each spanning tree there are
branches and
chords. Three matrix representations of a graph used extensively in circuit theory literature are defined in what follows.
2.1. Incidence Matrix [15]
The all-vertex incidence matrix
, of
is of dimension
. The element
of
is defined as follows:
(1)
The vertex which corresponds to the row of
which is not in
will be called the reference vertex of
.
Theorem 1: [15] The determinant of any incidence matrix of a tree is equal to ±1.
2.2. Fundamental Circuit Matrix [15]
Let the branches of a spanning tree
be denoted by
, and let the chords of
be denoted by
. While
has no circuits, the graph
contains exactly one circuit
. The circuit
is called the fundamental circuit of
with respect to the chord
.
Note that each chord is present in exactly one fundamental circuit and every fundamental circuit contains exactly one chord. A circuit can be traversed in one of two directions, clockwise or anticlockwise. The direction we choose for traversing a circuit defines its orientation. The fundamental circuit matrix
with respect to
is of dimension
and is defined as follows.
1. The
th row corresponds to the fundamental circuit defined by
.
2.
If in addition, we assume that the orientation of a fundamental circuit is so chosen as to agree with that of the defining chord, then the matrix
can be displayed in a convenient form as follows:
(2)
Where
is the unit matrix of order
and its columns correspond to the chords of
;
is the submatrix with its columns corresponding to the branches of
.
2.3. Fundamental Cutset Matrix [15]
Let
be a partition of the vertex set
of a graph
. Then the set of edges with one vertex in
and the other in
is called a cut. This cut is denoted as
.
Let
be a branch of
. The removal of
disconnects a spanning tree
into exactly two components
and
. Let
and
, respectively, denote the vertex sets of
and
. The cut
is known as the fundamental cutset of
with respect to
of the spanning tree
of
. Note that every branch is present in exactly one fundamental cutset and each fundamental cutset has exactly one branch.
To define the fundamental cutset matrix of a directed graph we first assign an orientation to each cutset of the graph. Given a spanning tree
of an
-vertex connected graph
, let
denote the branches of
. The fundamental cutset matrix
is of dimension
and is defined as follows:
If, in addition, we assume that the orientation of a fundamental cutset is so chosen as to agree with that of the defining branch, then the matrix
can be displayed as follows:
(3)
Where
is the unit matrix of order
and its rows correspond to the branches of
. It is known that ([15])
(4)
Using this relation, we get
(5)
See [15] for a more detailed discussion of graph-theoretic concepts.
2.4. Circuit Analysis
Figure 2. Convention for current direction and voltage polarities of resistance elements.
In the graph-theoretic representation of a resistance network, each resistance element is represented by an edge. We assign an arbitrary orientation to each such edge. The direction of current
in a resistance element will be the same as the direction of the corresponding edge. We follow the convention in Figure 2 for the polarities of the voltage
in the resistance element.
Then by Ohm’s law, we have
, where
is the value of the resistance in ohms (Ω) and
is the current flowing through the resistor. Let
denote the vector of currents in all resistance elements and
denote the vector of voltages across resistance elements. If
and
are fundamental circuit and cutset matrices of the graph representation of the resistance network with respect to a spanning tree
, then we have
(6)
(7)
Since the edges incident on a vertex form a cut, the incidence matrix is the representation of a special set of cutsets. So KCL can also be written as
(8)
We know from (2) and (3),
and
. Then in view of (4) and (5), we have
(9)
(10)
Let
and
denote the vectors of branch voltages and currents, respectively. Also, let
and
denote the vectors of chord voltages and currents, respectively. Then we have the following relationship by KCL.
(11)
and
(12)
Similarly, by KVL we have
(13)
and
(14)
Using (9) and (10), we get
(15)
(16)
From these equations, we can see that each branch current can be represented as a linear combination of chord currents. Similarly, each chord voltage can be represented as a linear function of the branch voltages.
3. The Modified Circuit Matrix of a Resistive Multi-Port
Network
Consider a connected resistance network with vertex set
and edge set
. Let
be a set of pairs of vertices of the network. For each pair
, we connect a current source across the vertices
and
. These pairs of vertices are called ports of the network, as illustrated in Figure 3.
Figure 3. Resistive multi-port network.
In the graph representation of
, each port and each resistance element is assigned an orientation. Each resistance element is assigned an orientation as shown in Figure 2 such that the voltage drop
is in the direction of the current. On the other hand, each port is assigned an orientation such that the port voltage drop is opposite to the direction of the port current, which is shown in Figure 4.
Figure 4. Convention for port current direction and voltage polarities.
In the following, we use the symbol
to denote the network as well as the corresponding graph. Let
be a spanning tree of
such that all its edges are resistance elements i.e. all the port edges are chords of
. Also, there could be some chords which are resistance elements; such chords are called non-port chords.
Let
be the set of port chords,
the set of non-port chords and
the set of tree branches. Note
is the set of all resistive elements. Let
,
be the column vectors of port voltages and port currents respectively,
,
the column vectors of non-port chord voltages and currents in the set
respectively and
,
the column vectors of tree branch (resistive) voltages and currents respectively. Then we can write
as
(17)By KVL we have
So
(18)
Setting
and
, we can rewrite (18) as
(19)
By (15)
(20)
Letting
,
and
be the diagonal matrix of resistances of all the resistive elements, we have
(21)
Combining (19), (20) and (21),
(22)
Where
,
, and
.
Then
(23)
Using (23) in (22)
(24)
The matrix
is called the open-circuit resistance matrix of the multi-port network
. The modified circuit matrix
of
defined in [14] is
(25)
We can also verify (24) by showing that
(26)
To illustrate the ideas developed thus far, consider the 3-port resistance network
in Figure 5(a). The corresponding graph is in Figure 5(b). The resistance elements are labelled as 1, 2, 3, 4, 5, 6 and the port edges are labelled as 7, 8, 9. We follow the conventions in Figure 2 and Figure 4 regarding the orientations of resistance elements and ports. Since the columns of
and
matrices are arranged as non-port chords
and branches of
, the resistance elements in
matrix are arranged accordingly.
Figure 5. (a) Three port resistance network; (b) Corresponding graph.
Let
be the resistance of element labelled
with
. Let us assume that
(27)
Consider the spanning tree
consisting of edges 1, 3, 4, 5. In the graph in Figure 5(b), the branches of
are shown in solid lines and the port chords in dotted lines. Note that all port edges are chords of
. As before, let
Then the fundamental circuit matrix
with respect to
is
(28) (29)Then
(30) (31)Then
(32)
and the modified circuit
of the given resistance network is
(33)
(34)
4. An Inverse Problem on Multi-Port Resistive Networks
In this section we present and develop a solution to an inverse problem on resistance networks. The inverse problem is: Given a multi-port resistance network
with unknown resistance values, determine the diagonal matrix
of positive edge resistances that guarantees that
has a specified modified circuit matrix,
.
We first give a characterization of the modified circuit matrix
of a resistance multi-port network.
Theorem 2: The
element,
, in the modified circuit matrix of a multi-port resistance network
is equal to the current that flows through jth resistance, when port
is connected to an independent current source of unit value and all other ports are open-circuited.
Proof. Let
be a spanning tree of the given multi-port network with no port edges i.e. the port edges are chords of
and all edges of
are resistive elements. As we have defined in Section 3, let
and
be the vectors of port chord currents and non-port chord currents respectively. Then the vector
of currents in all resistance elements is given by (20). That is,
(35)
Consider now (23) repeated below
(36)
Substituting the above expression for
in (35)
(37)
From (37), we get
When port
is connected to a source of unit value with all other port currents equal to zero.
Note that (37) is a generalization of (15). Whereas (15) expresses
in terms of the fundamental circuit matrix and all the chord currents, (37) expresses
in terms of the modified circuit matrix and port chord currents.
Theorem 3: A specified matrix
is the modified circuit matrix of resistive n-port network
with a given port structure if and only if the real diagonal matrix
of element instances satisfies
and
(38)
(Note: The elements of
are specified in Theorem 2.)
Proof.
Sufficiency: Assume that
and
. Then
(39)
By definition of the modified circuit matrix, the matrix
is representable as
(Note:
and
can be obtained from the topology of
.)
Then
as required by the definition of the modified matrix.
Necessity: Assume that the resistive n-port network
has
as its modified circuit. Clearly
. Also,
as required.
Though it is easy to write
by inspection for small networks, it is rather involved in the case of large graphs. So an equation expressing
in terms of the elements of the incidence matrix
will be derived below.
Let the columns of the incidence matrix of the resistive multi-port network be partitioned as follows:
- Columns corresponding to the (resistance) elements in the tree
,
- Columns corresponding to the port chords,
- Columns corresponding to the non-port chords.
Let
. Then fundamental cutset matrix
with respect to
is
(40)
and from (9)
(41)
(42)
So
(43)
and
(44)
5. Power System Market Analysis
Figure 6. Deregulated electricity markets.
Power system market involves the sale of electricity from generators/producers to load serving entities (LSEs). Majority of interstate power transactions in the US are regulated by Federal Energy Regulatory Commission (FERC). The power grid in the US is divided into three main interconnections and within these interconnections lie regional entities which operate under FERC. They dispatch the electricity in accordance with their respective market rules [16].
Earlier most of the electricity regional markets in US were regulated; however due to its nature of monopoly and limitations on consumer choice there has been a recent deregulation of these markets which has increased consumer control over decisions. In addition to the increasing size of the grid, the impact of deregulation along with economic, political and environmental reasons has resulted in making power system market analysis in North America more complex [17]. The current deregulated electricity markets in the US are shown in Figure 6.
The power flow determination and following dispatching decisions as a part of analysis can become computationally challenging when based on full ac implementation approach [9]. Although full ac approach is accurate but making informed dispatch decisions on real-time requires the analysis to be quick even if the level of accuracy is reduced. The dc approach for power system analysis approximates the calculations and therefore allows network operators to make all the necessary decisions in a considerably shorter duration of time [17].
6. Equivalence of PTDF and Modified Circuit Matrix
Considering the enormity of scale of a power system network, analysis based on dc approach can still be complex and time-consuming. Power system network equivalencing is targeted at reducing the network in order to make the analysis computationally feasible. However, in the process of equivalencing, it must be ensured that the power flows across the regions or interconnections must be preserved along with the inter-ties. Conventional approaches for network equivalencing followed the process of elimination of unnecessary elements based on critical geographical and electrical parameters [4]-[8]. Some of the recent approaches are REI equivalent [3] and PTDF-based equivalents [11] [12]. Recently, the PTDF-based approach has been widely used along with approximation using dc flow analysis.
Introduced in [11], PTDF is defined as the fraction of the amount of transaction flowing through a transmission line for every injection and a respective withdrawal at different buses in the system. If the sink is the slack bus in all (injection, withdrawal) pairs, the PTDF is called ISF [1]. In the following mathematical description of PTDF, it is assumed that all sinks are the slack bus. In an effort to further reduce the computational time a dc power flow approach has been employed. In this model a power system is treated as a single element-kind circuit consisting of only inductive elements (reactances). Thus all the concepts and results on resistance network discussed in the previous sections are applicable to the study of the dc flow model of a power system where each resistance is replaced by the reactance of the same magnitude.
For a system having
buses including the slack bus and
transmission lines, let
:
vector of bus active power injections.
:
diagonal matrix of line reactances.
:
reduced incidence matrix (slack bus excluded).
Θ: vector of bus voltage angles. (Note: In the dc model all voltages are assumed
to be of unit value.)
.
The power flow in the dc model is then given by
(45)
Let Φ = PTDF matrix of dimension
.
=
vector of line flows.
.
=
vector of the bus power injections.
Then
(46)
In a system with
buses and
transmission lines where all transactions are between pair of nodes given by a set of injection nodes,
and a set of withdrawal nodes,
, the PTDF matrix is defined as
(47)
Where
is the power flow on the line
when unit power is injected at bus
and withdrawn at bus
. Thus from (46) the PTDF matrix is defined as
(48)
Noting the correspondence between link flows and line currents and the correspondence between bus voltage magnitudes and bus voltage angles, it follows from (48) that
is the current on line
when unit current is injected at bus
and withdrawn at bus
. In view of Theorem 2 we have
Where
is the modified circuit of the dc model when each (injection, withdrawal) pair is treated as a port. We summarize this in the following theorem.
Theorem 4: Given the PTDF matrix of the dc model of a power system, the modified circuit matrix
of the corresponding multi-port network Φ is given by
7. A Generalized Theory of Flow Preserving Equivalents for Power Grids
Consider a power grid partitioned into different regions. Let each region be called a cluster. Let the transmission lines connecting the different clusters be called tie-lines. For a given set of (injection, withdrawal) pairs, let Φ be the sub-matrix of the PTDF matrix of the original power system corresponding to the flows in tie-lines. Let us construct a smaller network in which each cluster is a single node and all tie-lines between any two clusters are represented by a single line of unknown reactance value. We assume that a cluster does not contain both the buses in any (injection, withdrawal) pair. Now we wish to consider the problem of determining the unknown reactances so that the resulting equivalent network has the PTDF matrix Φ.
As we pointed out in Section 6, the problem is the same as the inverse problem we defined in Theorem 3. That is, we wish to determine
such that
(49)
Where
and
is defined in Section 4 (Equation (19)). Note that
is the absolute values of the impedances of the desired equivalent network.
In [11], the authors proposed a solution to the flow preserving equivalence problem assuming that the PTDF matrix is an ISF matrix. This solution has certain limitations:
1. The method in [11] assumes that the ports of the corresponding multi-port resistance network form a star. It further assumes that the port contains all the nodes of the required network. In other words, the method is applicable only when all the ports corresponding to (injection, withdrawal) pairs form a spanning tree of the required network.
2. For a PTDF matrix that does not satisfy the requirement in [11] the corresponding ISF cannot be uniquely determined. In other words, the ISF matrix is uniquely determined from the PTDF matrix if and only if the port structure defining the PTDF matrix and the port structure defining the ISF matrix are both spanning trees of the required equivalent structure.
In view of these limitations, the method in [11] for determining a flow preserving equivalent is not general. For the sake of completeness we next make certain remarks about the theory developed in [11]. We first show that the formula in [11] for the ISF matrix indeed satisfies the condition in our Theorem 3, thereby verifiying the correctness of this expression for the ISF matrix satisfying the limitation mentioned earlier.
In [11], the authors developed the following expression for Φ (ISF) where all (injection, withdrawal) pairs include the slack bus.
(50)
So in this case
(51)
(52)
We now verify that
satisfies condition in Theorem 3. Note that in the definition of the ISF matrix there are no columns corresponding to the (injection, withdrawal) pairs
with neither
nor
is a slack. Hence the
matrix will have no columns corresponding to these pairs. Following the notation used in Section 4, let
Note that we have rearranged columns of
to conform to the columns of
. Then from (44)
So
Thus we have the following theorem.
Theorem 5: The ISF matrix Φ defined by
Satisfies the condition in Theorem 3, verifying the correctness of the formula in [11].
8. Simulations
In this section we experimentally evaluate the effectiveness of the methodology described in this paper The optimization problem is solved by cvx convex optimization toolbox in MATLAB. The instruction to install the cvx toolbox in MATLAB is provided in the link below and the tutorial are explained in the video links below. The simulations are performed on MATLAB R2018a.
http://cvxr.com/cvx/download/
https://www.youtube.com/watch?v=N2b_B4TNfUM
https://www.youtube.com/watch?v=h31bP5yw1gw
For the simulations we have used the synthetic transmission grid of 200 buses and 245 transmission lines, from Texas A&M University, Electric Grid Test Case Repository:
https://electricgrids.engr.tamu.edu/electric-grid-test-cases/
Two cases are presented to reduce the actual network to their equivalent networks Two folders named as “Case 1” and “Case 2” are provided. Each folder contains the Simulink (.slx) files for actual and reduced networks (CaseX. slx and VerifyX. slx, where X = 1, 2), and a MATLAB script file (CodeX. m). In the equivalent network each cluster is represented by a node. If there are lines connecting two clusters an edge is added between the corresponding nodes in the equivalent network. Each edge in the equivalent network is given an orientation. The MATLAB script file performs the following tasks:
1. Determine clusters for each power grid. Select a tree for the graph of the equivalent network. The generators will form the chords of the tree. Without loss of generality it is assumed that there are no generators inside a cluster. Matrix
is then obtained.
2. Determine the tie line currents in the actual circuits for each generator (
). Only one Generator remains ON for a particular instance and others remain OFF.
3. The algebraic sum of the tie-line currents in the lines connecting two clusters in the original network is the value of the required line current in the required equivalent. The value of this current is the corresponding element in the modified circuit matrix
of the equivalent network.
4. The equation
, with
may not have a feasible solution. So we solve the following optimization problem to determine
.
Subject to
The values of matrix
are then assigned to the resistors in the VerifyX.slx file.
5. For the purpose of verification of
, all the generators are turned ON both in the actual network and reduced network, and the results are compared in the tie-line branches for both the actual and reduced network.
Inputs and results for Case 1 are presented in Tables 1-4, and for Case 2 in Tables 5-8. The reduced networks and the corresponding graphs are shown in Figure 7 and Figure 8. The MATLAB script files in the folders also contain the comments for all cases to guide the user about the optimization and verification sections.
Table 1. Value of the
matrix.
Modified Circuit Matrix,
|
|
|
|
|
|
|
|
|
|
G1 |
1 |
0.2169 |
0.2236 |
0.5595 |
0.2169 |
0 |
0.2236 |
0.7764 |
G2 |
1 |
0.2436 |
0.1079 |
0.6486 |
0.2436 |
0 |
0.1079 |
−0.1079 |
G3 |
0 |
−0.0363 |
0.0198 |
0.0165 |
0.9637 |
−1 |
0.0198 |
−0.0198 |
G4 |
0 |
0.2165 |
0.2231 |
0.5604 |
0.2165 |
0 |
0.2231 |
0.7769 |
G5 |
0 |
0.2432 |
0.1073 |
0.6495 |
0.2432 |
0 |
0.1073 |
−0.1073 |
G6 |
0 |
−0.2711 |
−0.0741 |
−0.6548 |
0.7289 |
0 |
−0.0741 |
0.0741 |
G7 |
0 |
0.2348 |
0.0939 |
0.6713 |
0.2348 |
−1 |
0.0939 |
−0.0939 |
G8 |
0 |
−0.0183 |
0.1291 |
−0.1109 |
−0.0183 |
1 |
−0.1291 |
0.8709 |
Table 2. Values of
.
|
|
|
|
|
|
|
|
|
|
|
1 |
0 |
0 |
0 |
0 |
−1 |
−1 |
0 |
|
0 |
1 |
0 |
0 |
1 |
−1 |
−1 |
0 |
|
0 |
0 |
1 |
0 |
0 |
0 |
1 |
−1 |
Table 3. Resistance values.
Resistance values after performing
optimization: |
|
|
|
|
|
|
|
|
0.0331 |
0.3343 |
0.1000 |
0.1000 |
7.4889 |
7.5878 |
0.1000 |
0.1000 |
Table 4. Tie-line currents comparison.
Tie-Line Currents Comparison: |
Tie-Line Current |
Actual Network |
Reduced Network |
Percentage Error |
|
2.0000 |
2.0000 |
0 |
|
0.8292 |
0.7887 |
−3.7960 |
|
0.8306 |
0.9244 |
11.2928 |
|
2.3402 |
2.2779 |
−2.6631 |
|
2.8292 |
2.7977 |
−1.1125 |
|
−1.0000 |
−1.0504 |
5.0404 |
|
0.8306 |
0.9748 |
17.3611 |
|
2.1694 |
2.0252 |
−6.6470 |
Table 5. Value of the
matrix.
Modified Circuit Matrix,
|
|
|
|
|
|
|
|
|
G1 |
0.2169 |
0.2236 |
0.5595 |
0.2169 |
0.0000 |
0.2236 |
0.7764 |
G2 |
0.2436 |
0.1079 |
0.6486 |
0.2436 |
0.0000 |
0.1079 |
−0.1079 |
G3 |
−0.0363 |
0.0198 |
0.0165 |
0.9637 |
−1.0000 |
0.0198 |
−0.0198 |
G4 |
−0.2715 |
−0.0747 |
−0.6538 |
0.7285 |
−0.0000 |
−0.0747 |
0.0747 |
G5 |
0.2352 |
0.0945 |
0.6704 |
0.2352 |
−1.0000 |
0.0945 |
−0.0945 |
G6 |
−0.0183 |
0.1291 |
−0.1109 |
−0.0183 |
1.0000 |
0.1291 |
0.8709 |
Table 6.
values.
|
|
|
|
|
|
|
|
|
|
1 |
0 |
0 |
0 |
−1 |
−1 |
0 |
|
0 |
1 |
0 |
1 |
−1 |
−1 |
0 |
|
0 |
0 |
1 |
0 |
0 |
1 |
−1 |
Table 7. Resistance values.
Resistance Values after performing
optimization: |
|
|
|
|
|
|
|
0.0331 |
0.3343 |
0.1000 |
7.4889 |
7.5878 |
0.1000 |
0.1000 |
Table 8. Tie-line currents comparison.
Tie-Line Currents Comparison: |
Tie-Line Current |
Actual Network |
Reduced Network |
Percentage Error |
|
0.3695 |
0.3640 |
−1.4955 |
|
0.5002 |
0.4768 |
−4.6820 |
|
1.1303 |
1.1593 |
2.5607 |
|
2.3695 |
2.3640 |
−0.2332 |
|
−1.0000 |
−1.0155 |
1.5487 |
|
0.5002 |
0.4923 |
−1.5858 |
|
1.4998 |
1.5077 |
0.5289 |
The above results demonstrate that the methodologies to generate
to achieve a given modified circuit matrix are effective.
Figure 7. Case 1: Simulation results (6 Clusters and 8 Generators).
Figure 8. Case 2: Simulation results (5 Clusters and 6 Generators).
9. Summary and Remarks
Despite its limitations, the work reported in [11] provided the motivation for the research presented in this paper. To make the paper self-contained, we first presented relevant graph theoretic concepts and techniques for analysis of multiport resistance networks. We then introduced the concept of modified circuit matrix first defined in [14]. We showed the PTDF matrix defined [11] is the transpose of the modified circuit matrix. We presented a necessary and sufficient condition to determine the element resistances that would generate a given modified circuit matrix (Theorem 3). We then gave a physical interpretation of the condition in Theorem 3. We also showed that the condition given in Theorem 3 is a generalization of the condition in [11]. Finally, we showed the relevance of Theorem 3 in generating clustered equivalents for market analysis of large scale power grids.