Download

System Requirements

Installation

What's New

File List

Support

Build Environment

FAQ


TSPOPF

High performance AC optimal power flow solvers for MATPOWER

by Hongye Wang and Ray D. Zimmerman


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. 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 stable version is 5.1)

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 7 or later
    • TRALM requires MATLAB 7.3 or later
    • Windows builds may require MATLAB 7.3 or later
  • MATPOWER version 5.0 or later (for TSPOPF 5.x)

Installation

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

What's New in Version 5.1

Below is a summary of the changes since version 4.1 of TSPOPF. See the CHANGES file for all the gory details.

New features:

  • Compatibility with MATPOWER 5.x and new options architecture.
  • Minor modification to make it more robust in cases where some parameters are Inf (e.g. limits for dummy gen representing DC line).

File List

CHANGES A detailed change history, with Unix line endings
CHANGES.txt A detailed change history, with DOS line endings (for Windows users)
mpoption_info_tspopf.m Returns MATPOWER option info for TSPOPF
pdipmopf.mexglx PDIPMOPF MEX file for 32-bit Linux
pdipmopf.mexa64 PDIPMOPF MEX file for 64-bit Linux
pdipmopf.mexmac PDIPMOPF MEX file for Mac OS X (PowerPC)
pdipmopf.mexmaci PDIPMOPF MEX file for Mac OS X (Intel 32-bit)
pdipmopf.mexmaci64 PDIPMOPF MEX file for Mac OS X (Intel 64-bit)
pdipmopf.mexw32 PDIPMOPF MEX file for 32-bit Windows
pdipmopf.mexw64 PDIPMOPF MEX file for 64-bit 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 32-bit Linux
scpdipmopf.mexa64 SCPDIPMOPF MEX file for 64-bit Linux
scpdipmopf.mexmac SCPDIPMOPF MEX file for Mac OS X (PowerPC)
scpdipmopf.mexmaci SCPDIPMOPF MEX file for Mac OS X (Intel 32-bit)
scpdipmopf.mexmaci64 SCPDIPMOPF MEX file for Mac OS X (Intel 64-bit)
scpdipmopf.mexw32 SCPDIPMOPF MEX file for 32-bit Windows
scpdipmopf.mexw64 SCPDIPMOPF MEX file for 64-bit Windows
scpdipmopfver.m Prints or returns version information for SCPDIPMOPF
tralmopf.mexglx TRALMOPF MEX file for 32-bit Linux
tralmopf.mexa64 TRALMOPF MEX file for 64-bit Linux
tralmopf.mexmac TRALMOPF MEX file for Mac OS X (PowerPC)
tralmopf.mexmaci TRALMOPF MEX file for Mac OS X (Intel 32-bit)
tralmopf.mexmaci64 TRALMOPF MEX file for Mac OS X (Intel 64-bit)
tralmopf.mexw32 TRALMOPF MEX file for 32-bit Windows
tralmopf.mexw64 TRALMOPF MEX file for 64-bit Windows
tralmopfver.m Prints or returns version information for TRALMOPF
tspopf_solver.m OPF solver invoked by MATPOWER's opf() which calls the appropriate MEX file

Support

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


Build Environment (build 16, 17, 18)

Linux_old (<= R2007a, 7.4) built Tue, Apr 21, 2009 (build 16)
  VMware Fusion 2.0.2 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)
Linux (>= R2007a, 7.4) built Tue, Apr 21, 2009 (build 16)
  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-10)
Linux 64-bit built Mon, Nov 14, 2011 (build 18)
  VMware Fusion 4.0.2 on MacBook Pro, Mac OS X 10.6.8
Ubuntu 9.04 64-bit (Linux kernel 2.6.28)
MATLAB 7.9 (R2009b)
gcc version 4.3.3 (Ubuntu 4.3.3-5ubuntu4)
Mac OS X (Intel 32-bit) built Fri, Nov 11, 2011 (build 18)
  MacBook Pro, Intel Core i7, 2.66 GHz
Mac OS X 10.6.8 (Snow Leopard)
MATLAB 7.10 (R2010a)
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
Mac OS X (Intel 64-bit) built Fri, Nov 11, 2011 (build 18)
  MacBook Pro, Intel Core i7, 2.66 GHz
Mac OS X 10.6.8 (Snow Leopard)
MATLAB 7.13 (R2011b)
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
Mac OS X (PPC) built Thu, Jun 4, 2009 (build 16a, PPC Mac only)
  PowerBook G4, 1 GHz
Mac OS X 10.4.11 (Tiger)
MATLAB 7.2 (R2006a)
gcc version 4.0.1 (Apple Computer, Inc. build 5367)
Windows (32-bit) built Fri, Nov 11, 2011 (build 18)
  Parallels Desktop 7.0 VM on MacBook Pro, Mac OS X 10.6.8
Windows XP Pro, SP3
MATLAB 7.5 (R2007b)
Microsoft Visual Studio 2005 Pro, SP1, Version 8.0.50727.762
Windows (64-bit) built Fri, Nov 11, 2011 (build 18)
  VMware Fusion 4.0.2 on MacBook Pro, Mac OS X 10.6.8
Windows 7 Pro 64-bit
MATLAB 7.9 (R2009b)
Microsoft Visual Studio 2005 Pro, SP1, Version 8.0.50727.867

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-2015 PSERC
Thu, Mar 12, 2015