Tools and Methods for Power System Analysis