Skip to content

youngdae/vPF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

vPF

Generating data files in GDX format

$ python parse_matpower_gams.py matpowerfile

where

  • matpowerfile: the path to the MATPOWER file, such as case1354pegase.m.
$ python parse_go_gams.py gofile

where

  • gofile: the path to the scenario directory of the GO data files.

These scripts will generate data files in GDX format that subsequently are read by our vPF.gms model.

Solving power flow with voltage regulation by generator reactive power

$ gams vPF.gms --case=casename --qlim=1

where

  • casename: the path to the case GDX file
  • qlim: solve power flow with voltage regulation by generator reactive power

Optional arguments --feas=1 and --relax_pg=1 enable us to compute a feasible real power and voltage reference value. Many of the GO data are infeasible if we were to solve power flow starting from the given initial point. In that case, we compute a feasible point first and solve the problem from that initial point. For example, the following commands performs this:

$ gams vPF.gms --case=casename --qlim=1 --feas=1 --relax_pg=1 nlp=ipopt

Solving power flow with voltage regulation by generator reactive power, transformer, and switched shunt devices

$ gams vPF.gms --case=casename --tau=1 --tau_dev=dev --cs=1 --cs_dev=dev

where

  • tau: solve power flow with voltage regulation by generator reactive power and transformers
  • tau_dev: specify the allowed range of tap values.
  • cs: solve power flow with voltage regulation by generator reactive power and switched shunt devices
  • cs_dev: specify the allowed range of switched shunt device values.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published