Optimization of Equipment Operation in Power Systems Based on the Use in the Design of Frequency-Dependent Models