Power System Optimization
The goal of InterPSS power system optimization sub-project is to use GAMS to implement power system optimization algorithms, such OPF, SCED, and integrate the algorithms with InterPSS. Currently, we implemented DC-OPF and ED. The source code can be found Here.
The General Algebraic Modeling System (GAMS) is a high-level modeling system for mathematical programming and optimization. It consists of a language compiler and a stable of integrated high-performance solvers. GAMS is tailored for complex, large scale modeling applications, and allows you to build large maintainable models that can be adapted quickly to new situations.
GAMS routines take an input file and generate an output file after a run. The file is a collection of key-value pairs. There is a Java API to create the input file and read the output file. In GAMS, indices are called sets, given data are called parameters, decision variables are called variables, and constraints and the objective function are called equations.
Introduction to InterPSS-GAMS Integration
See introduction here (InterPSS-GAMS Integration)
See the GAMS code here (ED Sample).
Optimal Power Flow
See the GAMS code here ( DC-OPF Sample).