Download

System Requirements

Installation

File List

Support

Build Environment

FAQ


TSPOPF

High performance AC optimal power flow solvers for MATPOWER

by Hongye Wang


TSPOPF is a collection of three high performance AC optimal power flow solvers for use with MATPOWER, a Matlab power system simulation package. The three solvers are:

  • PDIPM - primal/dual interior point method
  • SCPDIPM - step-controlled primal/dual interior point method
  • TRALM - trust region based augmented Lagrangian method

The algorithms are described in:

H. Wang, C. E. Murillo-Sánchez, R. D. Zimmerman, R. J. Thomas, "On Computational Issues of Market-Based Optimal Power Flow", IEEE Transactions on Power Systems, Vol. 22, No. 3, Aug. 2007, pp. 1185-1193.

The PDIPM in particular is significantly faster for large systems than any previous MATPOWER OPF solver, including MINOPF. When TSPOPF is installed, the PDIPM solver becomes the default optimal power flow solver for MATPOWER (unless MINOPF is also installed). Documentation on the generalized OPF formulation used by TSPOPF can be found in the MATPOWER User's Manual, or by typing help genform at the Matlab prompt. Additional options for TSPOPF can be set using mpoption (see help mpoption for details).


Download TSPOPF

You will be asked to fill out a brief form the first time you download from this site.



TSPOPF
(current version is 1.0)

Pre-compiled versions are available for Linux, Mac OS X and Windows.

Terms of Use

  • TSPOPF is free of charge. Anyone may use it.
  • We make no warranties, express or implied. Specifically, we make no guarantees regarding the correctness TSPOPF's code or its fitness for any particular purpose.
  • Any publications derived from the use of MATPOWER (and TSPOPF) must acknowledge MATPOWER .
  • Anyone may modify TSPOPF for their own use as long as the original copyright notices remain in place.
  • TSPOPF may not be redistributed without written permission.
  • Modified versions of TSPOPF, or works derived from TSPOPF, may not be distributed without written permission.

System Requirements

To use TSPOPF you will need:

  • Matlab version 6.5 or later
    • TRALM requires Matlab 7.3 or later
    • Windows builds may require Matlab 7.3 or later
  • MATPOWER version 3.2 or later

Installation

  1. Unzip the downloaded file.
  2. Place the files in a location on your Matlab path.

File List

CHANGES A detailed change history, with Unix line endings
CHANGES.txt A detailed change history, with DOS line endings (for Windows users)
pdipmopf.mexglx PDIPMOPF MEX file for Linux
pdipmopf.mexmac PDIPMOPF MEX file for Mac OS X (PowerPC)
pdipmopf.mexmaci PDIPMOPF MEX file for Mac OS X (Intel)
pdipmopf.mexw32 PDIPMOPF MEX file for Windows
pdipmopfver.m Prints or returns version information for PDIPMOPF
README The README file with Unix line endings
README.txt The README file with DOS line endings (for Windows users)
scpdipmopf.mexglx SCPDIPMOPF MEX file for Linux
scpdipmopf.mexmac SCPDIPMOPF MEX file for Mac OS X (PowerPC)
scpdipmopf.mexmaci SCPDIPMOPF MEX file for Mac OS X (Intel)
scpdipmopf.mexw32 SCPDIPMOPF MEX file for Windows
scpdipmopfver.m Prints or returns version information for SCPDIPMOPF
tralmopf.mexglx TRALMOPF MEX file for Linux
tralmopf.mexmac TRALMOPF MEX file for Mac OS X (PowerPC)
tralmopf.mexmaci TRALMOPF MEX file for Mac OS X (Intel)
tralmopf.mexw32 TRALMOPF MEX file for Windows
tralmopfver.m Prints or returns version information for TRALMOPF
tspopf.m Top level OPF routine which sets up the problem and calls the appropriate MEX file

Support

Questions about TSPOPF can be addressed to the MATPOWER mailing list.


Build Environment

Linux built Tue, Sep 25, 2007
  VMware Fusion 1.0 VM on MacBook Pro
Red Hat 7.3 (Linux kernel 2.4.18)
Matlab 6.5.1 (R13sp1)
gcc version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
g77 version 2.96 20000731 (Red Hat Linux 7.3 2.96-110)
(from FSF-g77 version 0.5.26 20000731 (Red Hat Linux 7.3 2.96-110)
Linux R2007+ built Tue, Sep 25, 2007
  Dell Optiplex G260, Intel Pentium 4, 3.06 GHz
Red Hat Enterprise Linux 4 (Linux kernel 2.6.9)
Matlab 7.5 (R2007b)
gcc version 3.4.6 20060404 (Red Hat 3.4.6-8)
g95 - gcc version 4.0.3 (g95 0.90!) Jul 27 2006
Mac OS X built Tue, Sep 25, 2007
  PowerBook G4, 1 GHz
Mac OS X 10.4.10 (Tiger)
Matlab 7.2 (R2006a)
gcc version 4.0.1 (Apple Computer, Inc. build 5367)
GNU Fortran (GCC) 3.4.3  (installed via fink: g77 3.4.3-1)
f2c (version 20030320)  (installed via fink: f2c 20030428-2)
Mac OS X (Intel) built Tue, Sep 25, 2007
  MacBook Pro, Intel Core 2 Duo, 2.33 GHz
Mac OS X 10.4.10 (Tiger)
Matlab 7.5 (R2007b)
gcc version 4.0.1 (Apple Computer, Inc. build 5363)
g95 - gcc version 4.0.3 (g95 0.90!) Dec 13 2006
Windows built Tue, Sep 25, 2007
  Parallels Desktop 3.0 VM on MacBook Pro
Windows XP Pro, SP2
Matlab 7.5 (R2007b)
Microsoft Visual Studio 2005 Pro, SP1, Version 8.0.50727.762
Intel Visual Fortran 10.0.027

Frequently Asked Questions

Q: Why am I getting the following error when running on Windows?
Invalid MEX-file 'C:\tspopf1.0_w32\pdipmopf.mexw32': This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem.

A: You need to install the latest Microsoft Visual C++ 2005 Redistributable, available from:
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=200b2fd9-ae1a-4a14-984d-389c36f85647


PSERC Logo TSPOPF
Copyright © 2007 PSERC
Tue, Sep 25, 2007