Professional Documents
Culture Documents
Icp 2022 0681
Icp 2022 0681
Paper n° 1162
Gunnar SCHUBERT
University of Applied Sciences
HTWG Konstanz – Germany
gunnar.schubert@htwg-konstanz.de
Paper n° 1162
Figure 1: Predictive grid control algorithm. The proposed method uses three AI-based models to enable stable operation of
distribution and micro grids.
Paper n° 1162
buses with and without measurements, respectively. In the normalizing flows provides excellent res ults in modeling
following, we denote the active power as usual by the complex univariate distributions. We take advantage of
symbol ܲ and the reactive power by ܳ. The set of node this property and extend it by the use of topology
features ܺூ ሺݐሻ ൌ ሼ ݔ௧ ሽ אே encodes the unique information by embedding it into a GNN similar to the
information at each node ݇ ܰ אat time-step ݐ, where works of Errica et al. [21]. In a first draft these time-steps
are modeled uncorrelated but a real multivariate version
൫ܲ௧ ǡ ܳ௧ ǡ ݉݁ ܽݐ ൯ǡ ݐൌ ݐ ൌ Ͳǡ ܰ א ݇ ǡ based on [20] is being worked on.
ݔ௧ ൌ ቐ ሺכǡכǡ ݉݁ ܽݐሻǡ ݐ ݐǡ ܰ א ݇ǡ From the predicted densities a total of ܵଵ possible forecast
ሺכǡכǡ ݉݁ ܽݐሻǡ ݐ ݐǡ ܰ א ݇௪ Ǥ scenarios are drawn for all buses ݇ ܰ א௪ Ǥ Missing
values * in ܺூ ሺݐሻ are filled with corresponding forecasts.
Here, * indicates missing measurements. ݉݁ ܽݐ is an The node features are updated with these ܵ scenarios such
information tuple of different length, depending on how that ܺி ሺݐǡ ݏሻ ൌ ൛ ݔ௧ǡ௦
ൟ
אே
, where
much meta data, like building types or information about
existing loads or generators, is given for bus ݇Ǥ Each of the ሺ ܲ௧ǡ ܳ௧ ǡ ݉݁ܽݐ ሻ ǡ ݐൌ ݐ ൌ Ͳǡ ܰ א ݇ ǡ
three models argument the nodes of graph ܩwith new ݔ௧ǡ௦ ൌ ൞൫ܲ௧ǡ௦ ǡ ܳ௧ǡ௦ ǡ ݉݁ܽݐ ൯ǡ ݐ ݐ ǡ א ݏሼͳǡ ǥǡ ܵሽǡ ܰ א ݇ ǡ
information, to enhance the representation of the current ൫ܲ௧ǡ௦ ǡ ܳ௧ǡ௦ ǡ ݉݁ܽݐ ൯ǡ ݐ ݐ ǡ א ݏሼͳǡ ǥ ǡ ܵሽǡ ܰ א ݇௪Ǥ
state in the distribution grid.
Probabilistic Forecasting Model This model does not affect the grid topology. However, the
initial node features ܺூ are argumented with the generated
Input: ܩൌ ሺܰ ǡ ܮሻ and ܺூ ሺݐሻ. scenarios.
The probabilistic forecasting model is used to predict the
Output: ܩൌ ሺܰ ǡ ܮሻ and ܺி ሺݐǡ ݏሻ for all א ݏሼͳǡ ǥ ǡ ܵଵ ሽ.
probability density for all possible values for the active and
reactive power for the current time-step ݐat every bus. The GNN State Estimation Model
autoregressive structure of the developed forecasting Input: ܩൌ ሺܰ ǡ ܮሻ and ܺி ሺݐǡ ݏሻ .
model allows multiple possible load values to be drawn The GNN State Estimation (GNN-SE) model, presented in
from the predicted conditional probability density Figure 3, is based on Graph Neural Networks. It follows a
functions, for each node as shown in Figure 2. brief explanation of the training data and the GNN -SE
The proposed method uses a cascade of transformation model architecture. The model was implemented with
functions, known as normalizing flows, to directly model PyTorch Geometric (PyG), which is a library especially
the complex conditioned probability densities for each built to write and train Graph Neural Networks [22].
node in the grid. Our approach uses a normalizing flow Training data consists of one distribution grid topology
implementation based on Bernstein polynomials, which where each household is equipped with synthetic load
have been used in the statistics community for a while [18] profiles of 15 minutes resolution for one year. Every time -
and was brought to deep learning by [19] and [20] and step ݐis considered as one graph-data object ݐduring
applied to load forecasting by [6]. training, containing the following information:
– Grid topology: Input grid as graph ܩሺܰǡ ܮሻ. The
adjacency matrix ܣencodes the connection of buses
through lines with ܣ ൌ ͳ for all ሺ݅ǡ ݇ሻ ܮ אand ܣ ൌ
Ͳ, else.
– Node features: Currently, the GNN-SE receives only
active and reactive power as nodal inputs and no meta
data. The feature ߙ represents the bus type (slack bus:
ߙ ൌ Ͳǡ existing measurement: ߙ ൌ ͳ, no measurement :
ߙ ൌ ʹ).
– Edge features: Edge features ݁ are defined for all
ሺ݅ ǡ ݇ሻ ܮ א. They describe the physical parameters of the
corresponding line or transformer station. In Figure 3,
ݔǡ ݎǡ ݃ and ܾ are the parameters defining series
impedance ݖൌ ݎ ݆ ݔand shunt admittance ݕൌ ݃
݆ܾ, respectively. The feature ߚ represents the edge type
(line: ߚ ൌ Ͳ, transformer: ߚ ൌ ͳ).
Figure 2: Autoregressive probabilistic forecasting model. – Output label: Voltage magnitude ܸ௧ and angle ߮௧ at all
The exact details of the normalizing flow implementatio n nodes at time ݐǤ They are calculated with power system
will be subject to a separate paper, but the core concept of analysis software beforehand.
the method has already been described in [6].
As shown in previous work, the Bernstein polynomial
Paper n° 1162
Paper n° 1162
from a solution, makes it less preferable. Solutions with an Estimation Techniques and Challenges in Smart
equal number of congestions are considered equal. Distribution Systems”, IEEE Trans. Smart Grid 10,
vol.2, 2312–2322.
CONCLUSION [10] M. Majdoub, et al., 2018, “A Review on Distribution
To sum up, we propose a novel measurement-based System State Estimation Techniques”, International
method for real-time control of distribution grids. Renewable and Sustainable Energy Conference,
In a first step, we use probabilistic forecasting to get an vol.6.
estimation for unobserved buses and then apply a novel [11] E. Manitsas, R. Singh, B. Pal, G. Strbac, 2012,
GNN state estimation to detect grid congestions. Finally, “Distribution System State Estimation Using an
we use a grid control model to build iteratively a solution Artificial Neural Network Approach for Pseudo
tree for different possible outcomes. By extrapolating one Measurement Modeling”, IEEE Trans. Power Syst.,
time-step further, we estimate if the proposed solution vol. 4, 1888–1896.
solves the problematic situation and stabilizes the system. [12] J.-H. Menke, N. Bornhorst, M. Braun, 2019,
Composed of three AI models, our method is capable of “Distribution system monitoring for smart power
prescribing a grid control strategy in real time, even with a grids with distributed generation using artificial
low density of measurements for different topologies. neural networks” International Journal of Electrical
Power & Energy Systems, vol.113, 472–480.
ACKNOWLEDGEMENT [13] Z. Wu, et al., 2021, “A Comprehensive Survey on
This work has been funded by the Federal Ministry for the Graph Neural Networks”, IEEE transactions on
Environment, Nature Conservation and Nuclear Safety neural networks and learning systems 32, vol.1.
due to a decision of the German Federal Parliamen t [14] W. Liao, B. Bak-Jensen, J. R. Pillai, Y. Wang, and Y.
(Project Number: 67KI2012A). Wang, 2021, “Review of graph neural networks and
REFERENCES applications on power systems”, Preview.
[15] B. Donon, B. Donnot, I. Guyon, A. Marot, “Grap h
[1] J. Hermanns et al., 2020, “Evaluation of Differen t Neural Solver for Power Systems”, 2019,
Development Possibilities of Distribution Grid State International Joint Conference on Neural Networks.
Forecasts,” Energies, vol. 13, no. 8, 1891. [16] B. Donnot, I. Guyon, M. Schoenauer, A. Marot und
[2] S. Haben, S. Arora, G. Giasemidis, M. Voss, and D. P. Panciatici, „Anticipating contingengies in power
V. Greetham, “Review of Low-Voltage Load grids using fast neural net screening,“ in Proc. IEEE
Forecasting: Methods, Applications, and Int. Joint Conf. Neural Networks (IEEE WCCI),
Recommendations,” Arxiv:2106.00006 2018.
[3] T. Hong, P. Pinson, Y. Wang, R. Weron, D. Yang , [17] M. Linke, T. Messmer, G. Micard, A. Wenzel, G.
and H. Zareipour, “Energy Forecasting: A Review Schubert, M. Kindl, A. Minde, 2019, « Artificial
and Outlook,” Ieee open j. power energy, vol. 7, pp. neural network based decision support system for the
376–388, 2020, doi: 10/gn6xqx. present power grid accounting for the successful
[4] D. Kodaira, W. Jung, and S. Han, “Optimal Energy integration of renewable energy sources such as pv
Storage System Operation for Peak Reduction in a systems,», Proc. 36th EU PVSEC, p. 1895-1898.
Distribution Network Using a Prediction Interval,” [18] T. Hothorn, L. Möst, and P. Bühlmann, “Most Likely
Ieee trans. smart grid, vol. 11, no. 3, pp. 2208–2217 , Transformations,” Scandinavian journal of statistics,
May 2020, doi: 10/gn642r. vol. 45, no. 1, pp. 110–134, 2018, doi:
[5] A. Elvers, M. Vos, and S. Albayrak, “Short-Term 10.1111/sjos.12291.
Probabilistic Load Forecasting at Low Aggregation [19] B. Sick, T. Hothorn, and O. Dürr, “Deep
Levels Using Convolutional Neural Networks,” in transformation models: Tackling complex regression
2019 IEEE Milan PowerTech, Jun. 2019, pp. 1–6. problems with neural network based transformation
doi: 10.1109/PTC.2019.8810811. models,” Arxiv:2004.00464 [cs, stat].
[6] M. Arpogaus, M. Voß, B. Sick, M. Nigge-Uricher, [20] S. Ramasinghe, K. Fernando, S. Khan, and N.
and O. Dürr, “Probabilistic short-term low-voltage Barnes, “Robust normalizing flows using Bernstein-
load forecasting using bernstein-polynomial type polynomials,”Arxiv:2102.03509 [cs, stat].
normalizing flows,” 2021. Available: [21] F. Errica, D. Bacciu, and A. Micheli, “Graph Mixture
https://www.climatechange.ai/papers/icml2021/20. Density Networks,” in International Conference on
[7] F. Ahmad, et al., 2018, “Distribution system state Machine Learning, Jul. 2021, pp. 3025–3035 .
estimation - A step towards smart grid”, Renewable Available:
and Sustainable Energy Reviews, vol.81, 2659–2671 . http://proceedings.mlr.press/v139/errica21a.html
[8] A. Abur, A. Gómez-Expósito, 2004, Power system [22] M. Fey, J. Lenssen, 2019, “Fast Grap h
state estimation. Theory and implementation. Power Representation Learning with PyTorch Geometric ”,
engineering 24. CRC Press; Dekker, Boca Raton, ICLR Workshop on Representation Learning on
Florida, New York, Basel. Graphs and Manifolds.
[9] K. Dehghanpour, et al., 2019, “A Survey on State