Similar Items: System Frequency Nadir and Trajectory Prediction With Discontinuity Constraints in Governor Dynamics