Describir: Enhancing Frequency Event Detection in Power Systems Using Two Optimization Methods with Variable Weighted Metrics