A Flexibility Evaluation Method for Power Resource Planning