A TEMPLATE SPARSE LIBRARY FOR POWER SYSTEMS
Amrane Tolba – Louiza Benfarhi –Mohamed Belkacemi
This paper present a Template Sparse Library for Power Systems (TSLPS) developed in C++. Its aim is to provide a coherent platform for many power system
applications such as Load Flow(LF), Short Circuit(SC), Optimal Power Flow(OPF) and Transient Stability (TS). The TSLPS is inspired by the recent template
numerical library but considers only power system characteristics, eg for a class of large sparse symmetric matrices over real and complex numbers. Template
facility of C++ is used to write a generic program on float, double and complex data types. The paper describes the generic code developed and its impact on the
power system applications. LF and SC analysis have been successfully applied to the solution of several power systems and presented good computational
performance.
Keywords: power systems, sparse matrix, template, LU decomposition, object oriented programming
|