R Package used for power system analysis