Patent ID: 7660649

Claim:
A system for controlling system resources comprising: a CPU-based computer system including code stored on a processor-readable storage medium, said CPU-based computer system performing the following functions: a. providing system parameters; b. non-linear calculation of at least two sets of indexes based on the system parameters, including optimization of resource allocation using a Lagrange function, L, wherein L is given as: L ⁡ ( X , λ , μ , ρ , σ ) = f ⁡ ( X ) + ∑ i ⁢ ⁢ λ i ⁢ u i ⁡ ( X ) ⁢ ∑ j ∈ T ⁢ ⁢ μ j ⁢ v j ⁡ ( X ) + ∑ k ∈ S ⁢ ⁢ ρ k ⁡ ( x k - x _ k ) + 1 2 ⁢ ∑ k ∈ S ⁢ σ k ⁡ ( x k - x _ k ) 2 where X=[x 1 , x 2 , . . . , x N x ] is the set of primal system variables such that x min,k ≦x k ≦x max,k , for k=1, . . . , N x ; ƒ (X) is the objective function; u(X) is a set of equality constraints; v(X) is a set of inequality constraints; λ is the vector of multipliers for equality constraints; μ is the vector of multipliers for inequality constraints; ρ is the vector of multipliers for violated variable limits; σ is the vector of penalties for the violated limits; x is the violated limit of variable x; T is the set of unsatisfied inequality constraints; and S is the set of violated limits; and c. controlling at least one system resource based on the at least two sets of indexes, wherein the controlling at least one system resource comprises load shedding.