{"title":"Bus Admittance Matrix Revisited: Performance Challenges on Modern Computers","authors":"Hantao Cui","doi":"10.1109/OAJPE.2024.3366117","DOIUrl":null,"url":null,"abstract":"Bus admittance matrix is widely used in power engineering for network modeling. Being highly sparse, it requires fewer CPU operations when used for calculations. Meanwhile, sparse matrix calculations involve numerous indexing and scalar operations, which are unfavorable to modern processors. Without using the admittance matrix, nodal power injections and the corresponding sparse Jacobian can be computed by an element-wise method, which consists of a highly regular, vectorized evaluation step and a reduction step. This paper revisits the computational performance of the admittance matrix-based method, in terms of power injection and Jacobian matrix calculation, by comparing it with the element-wise method. Case studies show that the admittance matrix method is generally slower than the element-wise method for grid test cases with thousands to hundreds of thousands of buses, especially on CPUs with support for wide vector instructions. This paper also analyzes the impact of the width of vector instructions and memory speed to predict the trend for future computers.","PeriodicalId":56187,"journal":{"name":"IEEE Open Access Journal of Power and Energy","volume":null,"pages":null},"PeriodicalIF":3.3000,"publicationDate":"2024-02-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10436083","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Open Access Journal of Power and Energy","FirstCategoryId":"1085","ListUrlMain":"https://ieeexplore.ieee.org/document/10436083/","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"ENERGY & FUELS","Score":null,"Total":0}
引用次数: 0
Abstract
Bus admittance matrix is widely used in power engineering for network modeling. Being highly sparse, it requires fewer CPU operations when used for calculations. Meanwhile, sparse matrix calculations involve numerous indexing and scalar operations, which are unfavorable to modern processors. Without using the admittance matrix, nodal power injections and the corresponding sparse Jacobian can be computed by an element-wise method, which consists of a highly regular, vectorized evaluation step and a reduction step. This paper revisits the computational performance of the admittance matrix-based method, in terms of power injection and Jacobian matrix calculation, by comparing it with the element-wise method. Case studies show that the admittance matrix method is generally slower than the element-wise method for grid test cases with thousands to hundreds of thousands of buses, especially on CPUs with support for wide vector instructions. This paper also analyzes the impact of the width of vector instructions and memory speed to predict the trend for future computers.
总线导纳矩阵广泛应用于电力工程中的网络建模。由于其高度稀疏,在计算时需要较少的 CPU 运算。同时,稀疏矩阵计算涉及大量索引和标量操作,不利于现代处理器的使用。在不使用导纳矩阵的情况下,节点功率注入和相应的稀疏雅各布矩阵可以通过一种 "按元素计算 "的方法来计算,该方法由一个高度规则的矢量化评估步骤和一个还原步骤组成。本文通过将基于导纳矩阵的方法与按元素计算的方法进行比较,重新审视了该方法在功率注入和雅各布矩阵计算方面的计算性能。案例研究表明,对于具有数千至数十万总线的网格测试案例,尤其是在支持宽矢量指令的 CPU 上,导纳矩阵法的计算速度通常比元素法慢。本文还分析了矢量指令宽度和内存速度的影响,以预测未来计算机的发展趋势。