Next Article in Journal
Two-Dimensional Dual Jets—A Comprehensive Review of Experimental and Numerical Analyses
Next Article in Special Issue
Impact of Impedances and Solar Inverter Grid Controls in Electric Distribution Line with Grid Voltage and Frequency Instability
Previous Article in Journal
A Comparative Study of Data-Driven Early-Stage End-of-Life Classification Approaches for Lithium-Ion Batteries
Previous Article in Special Issue
Numerical Analysis of Flow-Induced Transverse Vibration of a Cylinder with Cubic Non-Linear Stiffness at High Reynolds Numbers
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Development of Methods for Sensitivity Analysis of Electrical Energy Networks and Systems within State Space

Institute of High Voltage Technology, Energy System & Asset Diagnostics (IHEA), University of Applied Sciences Coburg, Friedrich-Streib-Straße 1, 96450 Coburg, Germany
*
Authors to whom correspondence should be addressed.
Energies 2024, 17(17), 4489; https://doi.org/10.3390/en17174489
Submission received: 9 August 2024 / Revised: 28 August 2024 / Accepted: 3 September 2024 / Published: 6 September 2024

Abstract

:
This paper presents a new method that should make it possible to determine the sensitivity of uncontrolled electrical power grids with only a modest amount of effort. Unlike most of the methods described in the literature, this method is based on an implicit description of the electrical power grid in the state space, in which the system matrices are set up using mesh equations based on a complete tree. In this case, the sensitivity matrix is not derived from the Jacobian matrix, but from the weighted inverse of the impedance matrix. It will be shown that this makes it possible to determine the sensitivity of the network independently of the operating point, under the assumption that the impedances of the network remain constant.

1. Introduction

The ongoing transformation of the German energy grids requires a better determination of the grid status in order to be able to carry out necessary switching operations. This is becoming particularly important in view of the increasing integration of fluctuating generation plants and the rising number of electrical consumers, in addition to the ensuing requirements resulting from §14a EnWG. Completely metering the entire grid would be ideal; however, it is difficult to implement economically, technically and organizationally. According to [1], a complete monitoring of the grid state can be realized by recording 7% to 15% of the grid connections and the associated transformer outputs. For targeted control, it is also helpful to be able to estimate the effects of various switching operations as well as possible ones in advance. The sensitivity analysis of the network is particularly suitable for this. Numerous approaches for the necessary calculations can be found in the literature. Most are based on the Newton–Raphson method [2,3] and an analysis of the Jacobi matrix, like described here [4,5,6,7]. With this, it is possible to analyze the effects of changed input and output states, but also with changed transformer ratios [8] around an operating point. However, it is necessary to recalculate the Jacobian matrix at each operating point. Another possibility is offered by a state space based load flow simulation, in which the system equations are set up implicitly. This new procedure, as well as the possibility of analyzing the sensitivity with the help of the system equations, is examined in this paper for an uncontrolled case.

2. Load Flow Simulation Using State Space

Various approaches of analyzing electrical grids can be found in the literature. Some well-known methods include the current iteration method and the Newton–Raphson method. Both methods exhibit rapid convergence and map the network information completely. Another possibility is to analyze the grid in state space. These methods have already been described in detail in [9]. As the following analyses take place in state space, the basic terms required for this are briefly outlined again below.
In order to transfer the grids, to be calculated, into state space, a complete tree is first created, from which the state variables and system matrices are derived according to Figure 1. This process can be carried out using basic methods of network analysis as described in [10] or in [11]. In addition, the formulas of the state space equations are realized in a symbolic form, which allows the system parameters to be varied without having to re-establish the system matrices for each time step.
For very simple systems, such as those shown in Figure 2, the derivation of the corresponding differential equation system can be carried out manually with little effort. In the following, the basic principle of the methodology is demonstrated using the very simple example network from Figure 2.
Using Kirchhoff’s laws, the network analysis leads to the following differential equations, which are used to set up the corresponding systems of equations. All impedances are normalized to the angular frequency ω . The time variable is therefore formally extended by ω , as follows:
i 0 u 0 u ( ω t ) = 1 / R p 1 1 R R u C i L z ( ω t ) + 1 / X C 0 0 X L X u ˙ C i ˙ L z ˙ ( ω t ) .
With
i 0 =source current
u 0 =source voltage
i L =inductance current
u C =capacitor voltage
R=series resistance
R p =parallel resistance
X L = ω · L = impedance of the inductance
X C = ( ω · C ) 1 = impedance of the capacitor
This system description can also be represented in matrix notation as follows:
u ( ω t ) = R · z ( ω t ) + X · z ˙ ( ω t ) .
where
u =Vector containing all sources
R =Resistances matrix
X =Reactance matrix
z =Vector of the state variables
To solve this system, the implicit system representation (2) can be transformed into the explicit system representation (3) by equating the coefficients.
z ˙ ( ω t ) = A · z ( ω t ) + B · u ( ω t ) ,
with
A = R · X 1
B = X 1 .
This is the standard form of the differential equation system. Therefore, according to [12], Equation (6) can be derived from Equation (2):
u ˙ C i ˙ L z ˙ ( ω t ) = X C / R p X C 1 / X L R / X L A u C i L z ( ω t ) + X C 0 0 1 / X L B i 0 u 0 u ( ω t ) .
The differential equations from Equation (6) can be used to calculate the system states of the given grid in the time domain using suitable solution algorithms, e.g., to simulate transient or switch-on processes. Here, A represents the system matrix, B the input matrix, u the input vector and z the state vector If a steady-state system with constant periodic feeds is assumed, as is the case with energy technology considerations, these equations can also be Fourier-transformed. Thus, the following applies:
z ˙ ( t ) = j ω · z ( ω t )
The time-dependent solution is thus converted into a complex system of equations, as follows:
z ̲ = B · ( j ω E A ) 1 · u ̲ .
With Equation (8), it is possible to carry out load flow simulations in state space. If there is no fault, it can be assumed that f 50 applies. Under the further assumption that the impedances of the system remain constant, e.g., due to switching operations, the equation can be simplified as follows:
z ̲ = K ̲ · u ̲ .
where
K ̲ = B · ( j ω E A ) 1
This makes it possible to solve the load flow equation for each different load situation with just one mathematical operation. The u ̲ vector includes all sources of the system and, in the case of constant PQ or U loads, the necessary calculations, which can be solved iteratively (see also [9]). A possible termination condition occur if the largest deviation of the vector u ̲ would drop below a previously arbitrarily defined lower bound ϵ .
max u ̲ υ u ̲ υ 1 < ϵ .
The index υ in Equation (11) represents the iteration counter. Without systems that need be controlled, the entire calculation according to Equation (9) is reduced to single matrix/vector multiplication, which is less than with the Newton–Raphson method and thus represents a possible alternative for shortening long time-series calculations. With an average of four to seven repetitions, the number of iteration steps required is also low.

3. Sensitivity Analysis of Unregulated Electrical Energy Systems within State Space

For the evaluation of the sensitivity of uncontrolled electrical energy networks, the applicability of state space methods needs to be investigated and demonstrated on the basis of an example. For a better illustration, the methods should be developed and subsequently applied to a simple equivalent circuit diagram of an electrical energy network according to Figure 3. This consists of a slack, a power feeder, a load and two cables interconnecting the various components. In order to better understand the simulation in state space, the components are represented as two-terminal or four-terminal networks with their respective equivalent elements. In order to be able to set any desired operating point, the source V 1 of the slack regulates the voltage U C 1 to the desired nominal voltage, while the requested active and reactive power flows are set via the sources V 2 and V 3 . Sources V 2 and V 3 could also be replaced by current sources using the same method. To make the network less complicated, the indices were simplified and the output capacitance C 31 of cable K1 and the input capacitance C 32 of cable K2 were combined in the resulting X matrix as cable capacitance C 3 .

3.1. Establishing the System Equations

Based on the model network shown in Figure 3, the equations of state of the energy system are now derived in minimal form, as described in Section 2. According to the rank of the system, 8 state variables can be derived in vector notation, which together with the vector of the driving variables u ̲ (sources/loads) describe the system in the implicit form of the state space:
u ̲ = R · z ̲ + X · z ̲ ˙
The matrices of the impedances R n × n , X n × n and the vectors of the input variables u ̲ n × m and the associated state variables z ̲ n × m are shown in the following. The index K identifies the elements of the cables.
R = R 1 1 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 1 1 0 0 1 1 R K 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 R K 2 0 0 0 0 1 0 0 0 R 3 0 0 0 0 0 1 0 0 R 2
X = L 1 0 0 0 0 0 0 0 0 1 / C 1 0 0 0 0 0 0 0 0 1 / C 3 0 0 0 0 0 0 0 0 L K 1 0 0 0 0 0 0 0 0 1 / C 2 0 0 0 0 0 0 0 0 L K 2 0 0 0 0 0 0 0 0 L 3 0 0 0 0 0 0 0 0 L 2
u ̲ = U ̲ V 1 0 0 0 0 0 U ̲ V 3 U ̲ V 2
z ̲ = i ̲ 1 u ̲ C 1 u ̲ C 3 i ̲ K 1 u ̲ C 2 i ̲ K 2 i ̲ 3 i ̲ 2
As already described, load flow calculations in energy networks can usually be based on steady states with approximately constant frequency, which means that Equation (12) can be simplified according to (7), as follows:
u ̲ = R · z ̲ + j X · z ̲
If no switching operations take place, R and X can be assumed to be constant and therefore summarized. With K ̲ 1 = R + j X , you then get
K ̲ 1 = R 1 + j L 1 1 0 0 0 0 0 0 1 j / C 1 0 1 0 0 0 0 0 0 j / C 3 1 0 1 1 0 0 1 1 R K 1 + j L K 1 0 0 0 0 0 0 0 0 j / C 2 1 0 1 0 0 1 0 1 R K 2 + j L K 2 0 0 0 0 1 0 0 0 R 3 + j L 3 0 0 0 0 0 1 0 0 R 2 + j L 2
with which the state variables can be calculated as follows:
z ̲ = K ̲ · u ̲

3.2. Sensitivity Analysis of the Test Network

The sensitivity of a system is determined by varying the input variables u ̲ from their operating point and analyzing the resulting changes in the state variables. For the first investigations, the parameters of the test network from Figure 3 were therefore initially specified in such a way that the operating point AP1 was set according to the following specifications. For this purpose, at a nominal voltage U N of 230 V, a power of 2 k W should be generated via the source V 2 and a constant power of 4 k W should be drawn via the source V 3 . The differential power is applied by the source V 1 (slack). The impedances R 1 3 and L 1 3 are calculated from the corresponding short-circuit power ( S k ) of the sources. Here, | S ̲ k 1 | = 40 kVA , | S ̲ k 2 | = 2.42 kVA and | S ̲ k 3 | = 4.84 kVA . The ratio P/Q should be 10/1. This results in the values shown in Table 1 for each component:
If the values from Table 1 are inserted into Equation (18), the absolute value of the matrix K for this operating point is calculated as follows:
| K ̲ | = 0.0381 0.8489 0.8405 0.0381 0.8376 0.0127 0.0254 0.0127 0.8489 3.3681 3.3345 0.1511 3.3234 0.0503 0.1009 0.0503 0.8405 3.3345 3.5222 0.8404 3.5104 0.0531 0.1065 0.0531 0.0381 0.1511 0.8404 0.0381 0.8376 0.0127 0.0254 0.0127 0.8376 3.3234 3.5104 0.8376 3.7231 0.9438 0.1062 0.0563 0.0127 0.0503 0.0531 0.0127 0.9438 0.0143 0.0016 0.0143 0.0254 0.1009 0.1065 0.0254 0.1062 0.0016 0.0270 0.0016 0.0127 0.0503 0.0531 0.0127 0.0563 0.0143 0.0016 0.0143
From this, the state variables at the operating point can also be calculated analytically using Equation (19).
| z A P 1 | = 2.9260 230.0000 229.3522 2.9268 230.0001 2.9139 5.8425 2.9130
Once the variables shown above are set at the operating point, the control of the sources is deactivated so that they are assumed to be constant for further analysis, unless otherwise specified. This applies each time, after setting the operating point to a new one.

3.2.1. Sensitivity Analysis through Sequential Variation of Sources

In order to be able to analyze the effects of changes in the load and feed-in nodes, the influence of defined changes in the voltage sources on the state variables of the grid according to Figure 3 will be examined below. This is carried out by sequentially increasing each of the three voltage sources by 10 % from their operating point, as shown in Table 1. Only one source should be increased by 10 % at a time, while the others remain at their operating point. The operating point will be identified below by the index AP1. This results in the values shown in Table 2.
In order to be able to evaluate the impact of a source on the corresponding state variables, the deviations of the state variables from the initial state are calculated according to Equation (22).
Δ z x = z x z A P 1 z A P 1 for x = 1 , 2 , 3
If we now apply Equation (22) to Table 2, we obtain the values listed in Table 3. This shows that, for example, the variation of U ̲ V 1 has a much stronger influence on the state variable i ̲ 1 than U ̲ V 2 or even U ̲ V 3 , whereas U ̲ V 2 , 0 has a considerable impact on i ̲ K 2 and i ̲ 2 .
According to Equation (19), it should therefore be possible to deduce a y-percent change in the state variables from an x-percent change in the sources (input variables), since there is a linear correlation between them. This should be demonstrated, for example, by varying the source V 2 in a range between ± 20 % with an equidistant step size of Δ U V 2 = 10 % .

3.2.2. Relationship between State Variables and System Matrix

As shown above, it is possible to establish a relationship between the input and state variables. The results from Table 2 and Table 3 show how a variation of the sources affects the corresponding system variables. In the following, we will investigate whether it is possible to make a quantitative statement directly from the K-matrix as to how strongly which source influences a state variable. For this purpose, the state variables | z ̲ 1 3 | resulting from the corresponding voltages U ̲ V 1 , 0 V 3 , 0 are to be compared with each other. This should be carried out according to the example of the state variable u C 1 , which results from the calculation of its row vector (row 2), as follows:
| u ̲ C 1 | = | k = 1 n K ̲ ( 2 , k ) · u ̲ ( k ) | = 0.8489 3.3681 3.3345 0.1511 3.3234 0.0503 0.1009 0.0503 · | u ̲ | = 0.8489 · | U ̲ V 1 | 0.0503 · | U ̲ V 2 | 0.1009 · | U ̲ V 3 |
Here, the numbers in parentheses represent the respective row and column index of the matrix, or the row index of the vector.
Equation (23) can be used as a first approximation to determine the influence of the sources onto the state variable. If one compares the factor of U ̲ V 1 in Equation (23) with the value of u ̲ C E 1 in Table 3 for | Δ z ̲ 1 | , U ̲ V 1 has the strongest influence on the state variable in both cases; however, according to Table 3, the influence of U ̲ V 3 with 0.00169 % is less than that of U ̲ V 2 with 0.0092 , which does not correspond to Equation (23). A direct conclusion regarding the influence of the sources on the state variables via the impedance matrix is therefore not possible.
Another possibility would be to relate each element of the K-matrix to the sum of the elements of its respective associated row matrix and to thereby assign a weighting factor. The ratios within the system matrix then result in
K ̲ v e r h ( i , k ) = K ̲ ( i , k ) k = 1 n K ̲ ( i , k )
with row index i = 1 , , n and column index k = 1 , , n . A possible dependency will also be discussed here using the example of the state variable u ̲ C 1 .
K ̲ v e r h , ( 2 , : ) = 0.0807 0.3202 0.3170 0.0144 0.3159 0.0048 0.0096 0.0048
Equation (19) can be used to simplify (25) back to
u ̲ C E 1 = 0.0807 · | U ̲ V 1 | 0.0048 · | U ̲ V 2 | 0.0096 · | U ̲ V 3 |
Similar to the previous example, according to Equation (26), the influence of U ̲ V 3 should be greater than that of U ̲ V 2 , but this is not shown in the results of Table 3, which means that it is not possible to draw a direct correlation between the influence of the input variables and the state variables.

3.2.3. Calculating the Sensitivity Matrix

As shown in Section 3.2.1, the input variables of the u ̲ vector are linearly linked to the state variables according to Equation (19) via the control matrix K ̲ , so that corresponding factors can be formed according to Table 3. In order to be able to establish this relationship for all Δ u ̲ , the so-called sensitivity matrix S is introduced below. With this, it is possible to determine the weighted influence of Δ u ̲ on Δ z ̲ directly. Only the information of one operating point is required for the calculation. It will be calculated using the example network from Figure 3. For this purpose, it is examined how a change in the sources affects the values of the system variables. As an example, the change in voltage u ̲ C 1 is considered here if the source voltage U ̲ V 1 changes by 10% from an initial state U ̲ V 1 , 0 to a value U ̲ V 1 , 1 . Assuming a constant K ̲ matrix, the change in the system variable Δ z ̲ will be as follows. Since only one system variable will be considered here for illustration purposes, only the corresponding line vector (line 2) of Equation (19) must be evaluated. This results in the following:
z ̲ ( 2 ) = K ̲ ( 2 , 1 ) K ̲ ( 2 , 2 ) K ̲ ( 2 , 3 ) K ̲ ( 2 , 4 ) K ̲ ( 2 , 5 ) K ̲ ( 2 , 6 ) K ̲ ( 2 , 7 ) K ̲ ( 2 , 8 ) · U ̲ V 1 0 0 0 0 0 U ̲ V 3 U ̲ V 2
If you now want to evaluate the change in the state variables, the following applies:
Δ z ( 2 ) ̲ = z ̲ 1 ( 2 ) z ̲ 0 ( 2 ) z ̲ 0 ( 2 ) = ( K ̲ ( 2 , 1 ) · U ̲ V 1 , 1 K ̲ ( 2 , 7 ) · U ̲ V 3 , 0 K ̲ ( 2 , 8 ) · U ̲ V 2 , 0 ) ( K ̲ ( 2 , 1 ) · U ̲ V 1 , 0 K ̲ ( 2 , 7 ) · U ̲ V 3 , 0 K ̲ ( 2 , 8 ) · U ̲ V 2 , 0 ) K ̲ ( 2 , 1 ) · U ̲ V 1 , 0 K ̲ ( 2 , 7 ) · U ̲ V 3 , 0 K ̲ ( 2 , 8 ) · U ̲ V 2 , 0 = K ̲ ( 2 , 1 ) · 1 , 1 · U ̲ V 1 , 0 K ̲ ( 2 , 7 ) · U ̲ V 3 , 0 K ̲ ( 2 , 8 ) · U ̲ V 2 , 0 K ̲ ( 2 , 1 ) · U ̲ V 1 , 0 + K ̲ ( 2 , 7 ) · U ̲ V 3 , 0 + K ̲ ( 2 , 8 ) · U ̲ V 2 , 0 K ̲ ( 2 , 1 ) · U V 1 , 0 K ̲ ( 2 , 7 ) · U ̲ V 3 , 0 K ̲ ( 2 , 8 ) · U ̲ V 2 , 0 = ( 1 , 1 1 ) = Δ u ̲ 1 · K ̲ ( 2 , 1 ) · U ̲ V 1 , 0 K ̲ ( 2 , 1 ) · U ̲ V 1 , 0 K ̲ ( 2 , 7 ) · U ̲ V 3 , 0 K ̲ ( 2 , 8 ) · U ̲ V 2 , 0 = S ̲ ( 2 , 1 )
For a K n × n matrix, all factors of the S n × n matrix can be calculated as follows. For all i = 1 , , n and k = 1 , , n , the following applies:
S ̲ ( i , k ) = K ̲ ( i , k ) · u ̲ 0 ( k ) k = 1 n K ̲ ( i , k ) · u ̲ 0 ( k )
Using the scaling matrix S ̲ , it is thus possible to represent the percentage influence of any change in the input variables Δ u ̲ on the state variables Δ z ̲ , which are to be examined. Here, Δ u ̲ refers to the vector u ̲ 0 , which contains the values for the current operating point.
Δ z ̲ S = S ̲ · Δ u ̲
Using the example from Figure 3, the S ̲ matrix results are as follows:
S ̲ = 3.1444 0 0 0 0 0 0.3147 1.8298 0.8918 0 0 0 0 0 0.0159 0.0924 0.8854 0 0 0 0 0 0.0168 0.0978 3.1438 0 0 0 0 0 0.3146 1.8293 0.8799 0 0 0 0 0 0.0167 0.1035 1.0502 0 0 0 0 0 0.0200 2.0702 1.0514 0 0 0 0 0 0.1675 0.1162 1.0508 0 0 0 0 0 0.0200 2.0708
If you calculate the change Δ z ̲ for a 10 % change in U ̲ V 1 according to Equation (30), you get
Δ z ̲ S = S ̲ · 0.1 0 0 0 0 0 0 0 T = 0.3144 0.0892 0.0885 0.3144 0.0880 0.1050 0.1051 0.1051 T
For validation, the result from (32) is compared with the results from Table 3.
Δ z ̲ D i f f = Δ z ̲ S Δ z ̲ 3 = 0.1887 0.0028 0.0014 0.2279 0.0111 0.0076 0.0056 0.0056 T · 10 14
In the context of calculation accuracy, it can thus be shown that it is possible to use the S ̲ matrix to calculate the impact caused by the change of an input variable to the change of the state variable and to directly quantitatively evaluate the influence of the sources by evaluating the elements of the S ̲ matrix.

3.3. Analysis of the Validity of the Sensitivity Matrix

In the following, the range in which the sensitivity matrix is valid will be analyzed. This will be examined for various operating points at which both the power and the impedance ratio are changed.

3.3.1. Variation of the Nominal Power

To ensure that the validity of the S ̲ matrix does not depend on the operating point, the calculations should be compared with each other for a varied power specification. It is also of interest how the reactive power affects the sensitivity matrix. For this purpose, the values are first calculated at a constant P/Q ratio and then, in order to be able to investigate the influence of the reactive power, at a changed P/Q ratio.

Constant P/Q Ratio

First, the active and reactive powers should be varied using the P Q ratio of 10 1 set at operating point AP1. If the power of the sources is increased to P 2 = 3 kW , Q 2 = 300 var , P 3 = 10 kW and Q 3 = 1 kvar , as shown in Figure 3, the new state variables according to Equation (34) are obtained as follows:
z ̲ A P 2 = 10.3133 230.0000 227.7088 10.3143 228.6855 4.3955 14.7116 4.3946 T
and the input variables | u ̲ A P 2 | result in
| u ̲ A P 2 | = 270.9181 0 0 0 0 0 258.6247 519.2394 T
The resulting state variables can also be calculated using the S ̲ matrix. The calculation is then carried out according to Equation (30), where Δ u ̲ results from the percentage deviation of the resulting voltages in AP2 from the voltages in AP1.
Δ u ̲ = u ̲ A P 2 u ̲ A P 1 1 = 0.1213 0 0 0 0 0 8.1418 0.2287
From this, Δ z ̲ A P 2 , S results in
| Δ z ̲ A P 2 , S | = 2.5248 0.0000 0.0079 2.5241 0.0063 0.5085 1.5181 0.5086 T
and finally | z ̲ A P 2 | in
| z ̲ A P 2 , S | = | z ̲ A P 1 · ( Δ z ̲ A P 2 , S + 1 ) | = 10.3133 230.0000 227.7088 10.3143 228.6855 4.3955 14.7116 4.3946 T
The comparison of the results from (34) and (38) shows that the calculations are the same in terms of the calculation accuracy, and it is therefore possible to calculate the state variables at different operating points using the S matrix.

Changed P/Q Ratio

The next step is to investigate the possibility of correctly accounting for the influence of reactive power with the help of the S matrix. For this purpose, the active power P is once again set according to Table 1, but the ratio P Q is set to 2 1 . This results in Q 2 = 1 kvar and Q 3 = 2 kvar . At this operating point, the state variables are calculated as follows:
| z ̲ A P 3 | = 3.2468 230.0000 229.2095 3.2508 229.9990 3.2448 6.5037 3.2407 T
and, accordingly, the voltages are set to
| u ̲ A P 3 | = 242.1243 0 0 0 0 0 81.5213 436.9472 T
To check whether the corresponding state variables can also be calculated from the changes in the voltages, we first calculate the changes in the input variables Δ u ̲ again, as follows:
Δ u ̲ A P 3 = | u ̲ A P 3 u ̲ A P 1 1 | = 0.0191 0 0 0 0 0 2.1259 0.1814
and, finally, this is used to calculate the state variables.
| z ̲ A P 3 , S | = | z ̲ A P 1 · ( Δ z ̲ A P 3 , S + 1 ) | = 3.2468 230.0000 229.2095 3.2508 229.9990 3.2448 6.5037 3.2407 T
As shown before, the comparison of the results of (39) and (42) shows that the calculations are the same in terms of their calculation accuracy, i.e., the ratio of P Q does not matter. This also shows that the complex S ̲ matrix can also be used to correctly represent complex variables such as reactive power.

3.3.2. Variation of the R k / X k Ratio

The next step is to test the extent to which the S ̲ matrix remains valid even after changes to K ̲ (e.g., due to switching operations). For this purpose, P Q is changed back to 10 1 and the P X ratio of the short-circuit impedances is changed to 2 1 . This leads to the following change in the elements:
R 1 = 3.5470 L 1 = 1.7777 R 2 = 59.1074 L 2 = 29.6243 R 3 = 29.5537 L 3 = 14.8121
For these values, the following state vector results for this operating point, according to Equations (18) and (19), are
| z ̲ A P 4 | = 10.3133 230.0000 227.7088 10.3143 228.6855 4.3955 14.7116 4.3946 T
and the resulting input vector
| u ̲ A P 4 | = 268.6435 0 0 0 0 0 285.4331 510.7429 T
With | u ̲ A P 4 | , the resulting state variables can be determined using the S-matrix, analogous to Equations (36) and (38).
| z ̲ A P 4 , S | = 10.3315 229.8905 228.1133 10.3292 228.8655 4.3915 14.7159 4.3939 T
As expected, with deviations of up to 36% between Equations (44) and (46), it is therefore not possible to calculate the state variables using the S matrix of the first operating point A P 1 . Instead, the matrix must be set up again according to Equation (29).
| S ̲ A P 3 | = 0.9900 0 0 0 0 0 0.7032 0.6269 0.9919 0 0 0 0 0 0.1251 0.1115 0.9910 0 0 0 0 0 0.1341 0.1195 0.9903 0 0 0 0 0 0.7031 0.6268 0.9831 0 0 0 0 0 0.1331 0.1268 0.7727 0 0 0 0 0 0.1046 1.6578 0.4640 0 0 0 0 0 0.5241 0.0560 0.7738 0 0 0 0 0 0.1047 1.6580
Starting from this S ̲ matrix, it is then possible to carry out the same calculations as shown above. It can therefore be seen that a S ̲ matrix is only valid if K ̲ remains constant.

3.3.3. Examining the System Using Current Sources

In order to check the general validity of the S ̲ matrix, the influence of current sources should also be investigated. For this purpose, the voltage sources V 2 and V 3 from Figure 3 are replaced by the current sources, I 2 and I 3 . The specified powers should initially remain the same. The resulting matrices are as follows.
R = R 1 1 0 0 0 0 1 0 0 1 0 0 0 0 0 1 0 1 0 1 1 R K 1 0 0 0 0 0 0 0 1 0 0 1 0 1 R K 2
X = L 1 0 0 0 0 0 0 1 / C 1 0 0 0 0 0 0 1 / C 3 0 0 0 0 0 0 L K 1 0 0 0 0 0 0 1 / C 2 0 0 0 0 0 0 L K 2
u ̲ = U ̲ V 1 0 I ̲ 3 0 I ̲ 2 0 z ̲ = i ̲ 1 u ̲ C 1 u ̲ C 3 i ̲ K 1 u ̲ C 2 i ̲ K 2
As the impedances of the grid have changed, and the S ̲ matrix must be recalculated according to Equation (29). With this new matrix, the results should be calculated analogously to Table 4 and Equation (30). As can be seen from Table 5, the results for the calculations of the changes in the state values via the S matrix are also the same here as those via the calculation of Δ z ̲ . This means that these calculations are possible regardless of the type of source.

4. Conclusions

An approach was presented that makes it possible to analyze uncontrolled electrical energy networks in the state space representation using a sensitivity matrix for arbitrary operating points. This can be applied regardless of the active and reactive powers source types, as long as the admittance matrix ( K ̲ 1 ) remains constant. If the value changes, e.g., due to switching operations, the sensitivity matrix must be recalculated. The required matrix can be calculated very easily directly from the resulting states of an operating point, without the need for additional supporting points. Any changes made to the input variables Δ u ̲ can also be taken into account. Based on the S ̲ matrix, it is therefore quite easy to determine the dependencies of the input parameters (sources) on the grid under investigation, both via a calculation and via a direct comparison of the resulting factors, as these reflect the influence in a weighted manner. With this information, it is also possible to evaluate the controllability of the system, as well as the observability, using appropriately positioned measuring devices that contain output equations. It also appears possible to use the matrix for controlled input variables (e.g., PQ sources). We will investigate this and possibly other aspects in a future study.

Author Contributions

Conceptualization, methodology and writing done by T.B. Review, editing and supervision by C.W. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Federal Ministry for Economic Affairs and Climate Action. Grant number: 03El4027B.

Data Availability Statement

All the necessary data is included in the paper.

Conflicts of Interest

The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.

References

  1. Federal Network Agency. Festlegungsverfahren zur Integration von Steuerbaren Verbrauchseinrichtungen und Steuerbaren Netzanschlüssen nach § 14a Energiewirtschaftsgesetz (EnWG); Federal Network Agency: Berlin, Germany, 2023; Available online: https://www.bundesnetzagentur.de/DE/Beschlusskammern/BK06/BK6_83_Zug_Mess/841_SteuVE/BK6_SteuVE_node.html (accessed on 2 September 2024).
  2. Tinney, W.F.; Hart, C.E. Power Flow Solution by Newton’s Method. IEEE Trans. Power Appar. Syst. 1967, 11, 1449–1460. [Google Scholar] [CrossRef]
  3. Oswald, B.R. Berechnung von Drehstromnetzen: Berechnung Stationärer und Nichtstationärer Vorgänge mit Symmetrischen Komponenten und Raumzeigern; Springer Fachmedien Wiesbaden: Wiesbaden, Germany, 2021. [Google Scholar] [CrossRef]
  4. Peschon, J.; Piercy, D.S.; Tinney, W.F.; Tveit, O.J. Sensitivity in Power Systems. IEEE Trans. Power Appar. Syst. 1968, 8, 1687–1696. [Google Scholar] [CrossRef]
  5. Kumar, P.; Singh, A.K.; Singh, N. Sensitivity Based Capacitor Placement: A Comparative Study. In Proceedings of the 2011 6th International Conference on Industrial and Information Systems, Kandy, Sri Lanka, 16–19 August 2011; pp. 381–385. [Google Scholar] [CrossRef]
  6. Guddanti, B.; Roychowdhury, R.; Illindala, M.S. Evaluation of Modified Global Sensitivity Analysis Techniques for Power System Dynamic Studies. In Proceedings of the 2022 IEEE Industry Applications Society Annual Meeting (IAS), Detroit, MI, USA, 9–14 October 2022; pp. 1–6. [Google Scholar] [CrossRef]
  7. Gao, Y.; Zeng, Y.; Zhang, F.; Guo, W.; Qin, C. An Optimization Method for Active Power Sensitivity Analysis. In Proceedings of the 2018 International Conference on Power System Technology (POWERCON), Guangzhou, China, 6–9 November 2018; pp. 137–141. [Google Scholar] [CrossRef]
  8. Schäfer, K.F. Netzberechnung: Verfahren zur Berechnung Elektrischer Energieversorgungsnetze; Springer Fachmedien Wiesbaden: Wiesbaden, Germany, 2023. [Google Scholar] [CrossRef]
  9. Blenk, T.; Weindl, C. Fundamentals of State-Space Based Load Flow Calculation of Modern Energy Systems. Energies 2023, 16, 4872. [Google Scholar] [CrossRef]
  10. Schneider, M.E. Stationäre Optimierung Elektrischer Energieversorgungsnetze im Zustandsraum. Ph.D. Thesis, Friedrich-Alexander-Universität Erlangen-Nürnberg, Erlangen, Germany, 1999. [Google Scholar]
  11. Schwarz, R. Analyse Nichtlinearer Netzwerke Im Erweiterten Zustandsraum. Habilitation Thesis, Technische Universität Chemnitz, Chemnitz, Germany, 1992. [Google Scholar]
  12. Weindl, C.; Herold, G. Description of a State-Space Oriented Transient Network Simulation Methodology for Power Systems with Semiconductor Based Devices. In Proceedings of the 11th International Power Electronics and Motion Control Conference EPE-PEMC 2004, Riga, Latvia, 2–4 September 2004. [Google Scholar]
Figure 1. Signal flow diagram of the state space model. It illustrates the relationship between the signal input and output vectors, the internal states z and the system matrices A to D.
Figure 1. Signal flow diagram of the state space model. It illustrates the relationship between the signal input and output vectors, the internal states z and the system matrices A to D.
Energies 17 04489 g001
Figure 2. Simple test system to illustrate the process of deriving the resulting system of differential equations (energy storage: L, C–state variables: i L , u C ).
Figure 2. Simple test system to illustrate the process of deriving the resulting system of differential equations (energy storage: L, C–state variables: i L , u C ).
Energies 17 04489 g002
Figure 3. Equivalent circuit diagram of a simple test network, consisting of a slack, a power feeder, a load and two cables (K1, K2).
Figure 3. Equivalent circuit diagram of a simple test network, consisting of a slack, a power feeder, a load and two cables (K1, K2).
Energies 17 04489 g003
Table 1. Values of the components for the equivalent circuit diagram according to Figure 3 for operating point AP1: U N = 230 V, P 2 = 2   k W , P 3 = 4   k W , P / Q = 10 / 1 , | S ̲ k 1 | = 40 kVA , | S ̲ k 2 | = 2.42 kVA , | S ̲ k 3 | = 4.48 kVA .
Table 1. Values of the components for the equivalent circuit diagram according to Figure 3 for operating point AP1: U N = 230 V, P 2 = 2   k W , P 3 = 4   k W , P / Q = 10 / 1 , | S ̲ k 1 | = 40 kVA , | S ̲ k 2 | = 2.42 kVA , | S ̲ k 3 | = 4.48 kVA .
R 1 = 3.9477 L 1 = 0.3963 C 1 = 25 , 063.7706 U ̲ V 1 = 325.9371 / 0.17 ° ̲
R 2 = 65.7851 L 2 = 6.6033 C 2 = 25 , 063.77057 U ̲ V 2 = 422.5955 / 179.99 ° ̲
R 3 = 32.8926 L 3 = 3.3017 C 3 = 12 , 531.8853 U ̲ V 3 = 36.2127 / 179.81 ° ̲
R K 1 = 0.211 L K 1 = 0.122
R K 2 = 0.211 L K 2 = 0.122
Table 2. Results of the state variables of the previously set operating point, as well as the results when increasing a single voltage source by 10% in each case.
Table 2. Results of the state variables of the previously set operating point, as well as the results when increasing a single voltage source by 10% in each case.
z ̲ AP 1 z ̲ 1 z ̲ 2 z ̲ 3
State Variable U ̲ V 1 , 0 1 . 1 · U ̲ V 1 , 0 U ̲ V 1 , 0 U ̲ V 1 , 0
U ̲ V 2 , 0 U ̲ V 2 , 0 1 . 1 · U ̲ V 2 , 0 U ̲ V 2 , 0
U ̲ V 3 , 0 U ̲ V 3 , 0 U ̲ V 3 , 0 1 . 1 · U ̲ V 3 , 0
i ̲ 1 3.51224.44112.97693.4699
u ̲ C 1 230.0000250.7080232.1241230.1679
u ̲ C 3 229.2219249.7235231.4651229.3992
i ̲ K 1 3.51314.44202.97773.4707
u ̲ C 2 229.8701250.3030232.2476230.0469
i ̲ K 2 2.91562.60663.51882.9129
i ̲ 3 6.43047.05056.49826.3854
i ̲ 2 2.91472.60563.51782.9120
Table 3. Deviations of the state variables from the operating point Δ z ̲ if one voltage source is increased by 10 % in each case.
Table 3. Deviations of the state variables from the operating point Δ z ̲ if one voltage source is increased by 10 % in each case.
Δ z ̲ 1 Δ z ̲ 2 Δ z ̲ 3
State Variable 1 . 1 · U ̲ V 1 , 0 U ̲ V 1 , 0 U ̲ V 1 , 0
U ̲ V 2 , 0 1 . 1 · U ̲ V 2 , 0 U ̲ V 2 , 0
U ̲ V 3 , 0 U ̲ V 3 , 0 1 . 1 · U ̲ V 3 , 0
i ̲ 1 0.31440.18300.0315
u ̲ C 1 0.08920.00920.0017
u ̲ C 3 0.08850.00980.0017
i ̲ K 1 0.31440.18290.0315
u ̲ C 2 0.08800.01030.0017
i ̲ K 2 0.10500.20700.0020
i ̲ 3 0.10510.01160.0168
i ̲ 2 0.10510.20710.0020
Table 4. Results of the calculations of Δ z ̲ for different variations of the source V 2 . The results between two adjacent columns differ by Δ U ̲ V 2 in each case.
Table 4. Results of the calculations of Δ z ̲ for different variations of the source V 2 . The results between two adjacent columns differ by Δ U ̲ V 2 in each case.
0.8 · U ̲ V 2 0.9 · U ̲ V 2 1.0 · U ̲ V 2 1.1 · U ̲ V 2 1.2 · U ̲ V 2 Δ U ̲ V 2
| Δ i ̲ 1 | 0.3660.18300.1830.3660.183
| Δ u ̲ c 1 | 0.01850.009200.00920.01850.0092
| Δ u ̲ c 3 | 0.01960.009800.00980.01960.0098
| Δ i ̲ k 1 | 0.36590.182900.18290.36590.1829
| Δ u ̲ c 2 | 0.02070.010300.01030.02070.0103
| Δ i ̲ k 1 | 0.4140.20700.2070.4140.207
| Δ i ̲ 3 | 0.02320.011600.01160.02320.0116
| Δ i ̲ 2 | 0.41420.207100.20710.41420.2071
Table 5. Results of the calculations of Δ z ̲ and Δ z ̲ S for different variations of the source I ̲ 2 .
Table 5. Results of the calculations of Δ z ̲ and Δ z ̲ S for different variations of the source I ̲ 2 .
0.8 · I ̲ 2 0.9 · I ̲ 2 1.0 · I ̲ 2 1.1 · I ̲ 2 1.2 · I ̲ 2
Δ z ̲ Δ z ̲ S Δ z ̲ Δ z ̲ S Δ z ̲ Δ z ̲ S Δ z ̲ Δ z ̲ S Δ z ̲ Δ z ̲ S
| i ̲ 1 | 0.20140.20140.10070.1007000.10070.10070.20140.2014
| u ̲ c 1 | 0.01120.01120.00560.0056000.00560.00560.01120.0112
| u ̲ c 3 | 0.01180.01180.00590.0059000.00590.00590.01180.0118
| i ̲ k 1 | 0.20130.20130.10060.1006000.10060.10060.20130.2013
| u ̲ c 2 | 0.01240.01240.00620.0062000.00620.00620.01240.0124
| i ̲ k 2 | 0.19990.19990.10.1000.10.10.19990.1999
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Blenk, T.; Weindl, C. Development of Methods for Sensitivity Analysis of Electrical Energy Networks and Systems within State Space. Energies 2024, 17, 4489. https://doi.org/10.3390/en17174489

AMA Style

Blenk T, Weindl C. Development of Methods for Sensitivity Analysis of Electrical Energy Networks and Systems within State Space. Energies. 2024; 17(17):4489. https://doi.org/10.3390/en17174489

Chicago/Turabian Style

Blenk, Tobias, and Christian Weindl. 2024. "Development of Methods for Sensitivity Analysis of Electrical Energy Networks and Systems within State Space" Energies 17, no. 17: 4489. https://doi.org/10.3390/en17174489

APA Style

Blenk, T., & Weindl, C. (2024). Development of Methods for Sensitivity Analysis of Electrical Energy Networks and Systems within State Space. Energies, 17(17), 4489. https://doi.org/10.3390/en17174489

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop