Modern energy systems are undergoing a profound transformation characterized by the active replacement of conventional fossil-fuel-based power plants with renewable energy sources. This transition aims to reduce the carbon emissions associated with electricity generation while enhancing the economic performance of electric power market players. However, alongside these benefits come several challenges, including reduced overall inertia within energy systems, heightened stochastic variability in grid operation regimes, and stricter demands on the rapid response capabilities and adaptability of emergency controls. This paper presents a novel methodology for selecting effective control laws for low-inertia energy systems, ensuring their dynamic stability during post-emergency operational conditions. The proposed approach integrates advanced techniques, including feature selection via decision tree algorithms, classification using Random Forest models, and result visualization through the Mean Shift clustering method applied to a two-dimensional representation derived from the t-distributed Stochastic Neighbor Embedding technique. A modified version of the IEEE39 benchmark model served as the testbed for numerical experiments, achieving a classification accuracy of 98.3%, accompanied by a control law synthesis delay of just 0.047 milliseconds. In conclusion, this work summarizes the key findings and outlines potential enhancements to refine the presented methodology further.