Deep-learning Based Modeling of Fault Detachment Stability for Power Grid