Modeling of Quench Behavior of YBa2Cu3O $_{7\text{-}\delta}$ Pancake Magnets and Distributed-Temperature-Sensing-Based Quench Detection for Operating Temperature 30–77 K