Electric Power System simulations using R
This is a guest post by Ben Ubah.
The field of electric power systems engineering relies heavily on computer simulations for analysis because of its nature. These computer simulations aid the planning, operation and management of the system. Computer simulations have been implemented using several scientific computing tools. However, I have not yet seen any implementations using R. This inspired my thesis at a German institution. I am now privileged to have implemented several power systems analysis simulations using R. In the process, I started by creating standalone scripts for several topics of interests in this domain. Examples are:
- Power flow simulation (Gauss-Siedel & Newton-Raphson techniques)
- Time domain simulation of the Single-Machine Infinite Bus (SMIB) system using the Modified Euler numerical integration method.
- Multi-machine transient stability simulation using the ‘deSolve’ package for solving n-ODEs that describe the dynamics of interconnected generating machines.
- R can handle complex number operations
- R is great at basic mathematical operations
- Vector/Matrix arithmetic operations are very possible with R
- Numerical linear algebra are well taken care of
- Sparse matrices are catered for by R (or addon packages)
- R has very attractive visualization provisions