Smart Damage Prediction: A Distance To Bifurcation-Based Approach