PowerFactory Applications for Power System Analysis