Power Analysis Software Free



G*Power is a tool to compute statistical power analyses for many different t tests, F tests, χ2 tests, z tests and some exact tests. G*Power can also be used to compute effect sizes and to display graphically the results of power analyses.

Conducting a Power Analysis There many software products available for performing a power analysis, some of which are quite easy to use. The most popular by far is GPower and with good reason. This user‐friendly product is a free download available for both the PC and Mac. Power and Precision is a stand-alone statistical power analysis software package that is used for the calculation of a sample size for a planned study. The program features an unusually clear interface, and many tools to assist the user in developing an understanding of power analysis. The 5.0 version of RPM Power Analysis Software is available as a free download on our software library. The RPM Power Analysis Software installer is commonly called RpmPwr32.exe. This tool was originally designed by Reliable Power Meters. The file size of the latest downloadable setup file is 19.7 MB.

Download G.Power for Windows to analyze different types of power and compute size with graphics options. G.Power has had 1 update within the past 6 months.


Whenever we find a problem with G*Power we provide an update as quickly as we can. We will inform you about updates if you click here and add your e-mail address to our mailing list. We will only use your e-mail address to inform you about updates. We will not use your e-mail address for other purposes. We will not give your e-mail address to anyone else. You can withdraw your e-mail address from the mailing list at any time.

Download the Short Tutorial of G*Power (PDF) written for G*Power 2 but still useful as an introduction

For more help, see the papers about G*Power in the References section below.

If you use G*Power for your research, then we would appreciate your including one or both of the following references (depending on what is appropriate) to the program in the papers in which you publish your results:

Faul, F., Erdfelder, E., Lang, A.-G., & Buchner, A. (2007). G*Power 3: A flexible statistical power analysis program for the social, behavioral, and biomedical sciences. Behavior Research Methods, 39, 175-191. Download PDF

Faul, F., Erdfelder, E., Buchner, A., & Lang, A.-G. (2009). Statistical power analyses using G*Power 3.1: Tests for correlation and regression analyses. Behavior Research Methods, 41, 1149-1160. Download PDF

To report possible bugs, difficulties in program handling, and suggestions for future versions of G*Power please send us an e-mail.


By downloading G*Power you agree to these terms of use:

  1. G*Power is free for everyone. Commercial distribution is strictly prohibited.
  2. G*Power is distributed from this website. If you wish to distribute G*Power in some other way, then you need to seek permission from the authors. Please send us an e-mail in which you specify how and for what purpose you intend to distribute G*Power.
  3. You may use screenshots of G*Power without asking for permission.
  4. Considerable effort has been put into program development and evaluation, but there is no warranty whatsoever.

Download G*Power 3.1.9.7 for Windows XP, Vista, 7, 8, and 10 (about 20 MB). Please make sure to choose “unpack with folders” in your unzip tool.

Download G*Power 3.1.9.6 for macOS 10.7 to 10.15 and 11 (about 2 MB).

17 March 2020 - Release 3.1.9.7
Windows

Changed the behavior of the “X-Y plot for a range of values” which allowed plotting graphs after changing input parameters in the main window without hitting the “Calculate” button which, however, is required to update the “X-Y plot for a range of values” with the new input parameters from the main dialog.

21 February 2020 - Release 3.1.9.6
Mac and Windows

Fixed a bug in z tests: Generic z test: Analysis: Criterion: Compute alpha: The critical z was calculated incorrectly.

Fixed a bug in t tests: Linear bivariate regression: One group, size of slope: |sy/sx| was sometimes calculated inccorrecty.

14 January 2020 - Release 3.1.9.5
Mac

Fixed a bug that caused the “Options” button (which is available for some tests in the main window) to disappear when “Hide distributions & control” was selected.

6 February 2019 - Release 3.1.9.4
Mac and Windows

Fixed a bug in t tests: Linear bivariate regression: One group, size of slope. Negative effect directions, that is, slope|H1 < slope|H0, were not always handled correclty. Furthermore, the restriction (|slope| < |sy/sx|) on the effect size, which was previously ignored, is now checked.

7 July 2017 - Release 3.1.9.3
Mac

Fixed a bug that could cause crashes.

28 March 2014 - Release 3.1.9.2
Mac

Fixed a bug in the χ2 tests: Goodness-of-fit tests: Contingency tables module which prevented the computed effect size from appearing in the effect size drawer.

Windows

Fixed a bug that could occur under very specific circumstances when transferring an effect size from the effect size drawer to the main window.

10 March 2014 - Release 3.1.9.1
Mac

Now includes the calculator that previously has been included only in the Windows version.

4 February 2014 - Release 3.1.9
Mac and Windows

Fixed a bug in the sign test’s sensitivity analysis which led to an offset of -0.5 in the reported effect size.
Changed the behaviour of all tests based on the binomial distribution. The upper and lower limits are now always within the range [0,n] instead of [-1,n+1]. This change may lead to alpha values larger than the requested alpha values, but now we have the advantage that the upper and lower limits correspond to actual decision boundaries. For instance, in a two-sided test H0 is rejected if, for the observed number x of successes, it holds that x <= lower limit or x >= upper limit. Note, however, that the change affects the results only when N is very small.

31 January 2014 - Release 3.1.8
Mac and Windows

Improvements in the logistic regression module: (1) improved numerical stability (in particular for lognormal distributed covariates); (2) additional validity checks for input parameters (this applies also to the poisson regression module); (3) in sensitivity analyses the handling of cases in which the power does not increase monotonically with effect size is improved: an additional Actual power output field has been added; a deviation of this actual power value from the one requested on the input side indicates such cases; it is recommended that you check how the power depends on the effect size in the plot window.

19 April 2013 - Release 3.1.7
Mac and Windows

Fixed a problem in the exact test of Proportions: Inequality, two independent groups (uncontional). The problem only occurred when p1 > p2.

18 Frebruary 2013 - Release 3.1.6
Mac and Windows

Fixed a problem in the sensitivity analysis of the logistic regression. The problem only occurred when p2 >= p1.

Mac

Fixed a problem in Fisher’s exact test.

12 September 2012 - Release 3.1.5.1
Mac

Fixed a problem with the effect size drawers of ANOVA: Fixed effects. The drawers now appear correctly after clicking on the Determine button.

20 August 2012 - Release 3.1.5
Mac and Windows

Fixed a problem in the test of equality of two variances. The problem did not occur when both sample sizes were identical.
Fixed a problem in calculating the effect size from variances in the repeated measures ANOVA.

3 July 2012 - Release 3.1.4
Mac and Windows

Added an options dialog to the repeated-measures ANOVA which allows a more flexible specification of effect sizes.
Fixed a problem in calculating the sample size for Fisher's exact test. The problem did not occur with post hoc analyses.

22 June 2011 - Release 3.1.3
Mac and Windows

Fixed a bug in the ANCOVA module. Changing the number of covariates now correctly leads to the appropriate change in the denominator degrees of freedom.

5 January 2010 - Release 3.1.2
Mac and Windows

Renamed the Repetitions parameter in repeated measures procedures to Number of measurements (Repetitions was misleading because it incorrectly suggested that the first measurement would not be counted).
Fixed a problem in the sensitivity analysis of the logistic regression procedure: There was an error if Odds ratio was chosen as the effect size. The problem did not occur when the effect size was specified in terms of Two probabilities.

Mac

The Window menu now contains the option to hide the distributions plot and the protocol section (Hide distributions & protocol menu item) so that G*Power can be accommodated to small screens. This option has been available for some time in the Windows version (see View menu).

16 December 2009 - Release 3.1
Mac

Added procedures to analyze the power of tests for single correlations based on the tetrachoric model, comparisons of dependent correlations, bivariate linear regression, multiple linear regression based on the random predictor model, logistic regression, and Poisson regression.

08 December 2009 - Release 3.1.1
Windows

Re-enabled options dialog for Correlation: Bivariate normal model.

29 June 2009 - Release 3.1
Windows

Added procedures to analyze the power of tests referring to single correlations based on the tetrachoric model, comparisons of dependent correlations, bivariate linear regression, multiple linear regression based on the random predictor model, logistic regression, and Poisson regression.

24 January 2008 - Release 3.0.10
Mac and Windows

Fixed a problem in the X-Y plot for a range of values for Generic F tests. The degrees of freedom were not properly set in the graph, leading to erroneous plot values.

22 January 2008 - Release 3.0.9
Mac

Eliminated the brushed metal look for better readability under Mac OS X 10.5.

Windows

Fixed some minor GUI problems (buttons had German titles; button in file dialog named “open” instead of “save”).
Fixed problems with distribution plots (plots were sometimes not appropriately clipped when copied or saved as metafile; drawing glitches with some very steep curves).
The file dialog shown when saving graphs or protocols now uses the user's home directory (myDocuments) as defaults directory.

10 October 2007 - Release 3.0.8
Mac and Windows

Fixed a serious bug in the CDF routine of the noncentral t distribution introduced in the bugfix release 3.0.7. Please update immediately if you installed version 3.0.7.

8 October 2007 - Release 3.0.7
Mac and Windows

Fixed a bug in the function calculating the CDF of the noncentral t-distribution that occasionally led to (obviously) wrong values when p was very close to 1. All power routines based on the t distribution were affected by this bug.

14 August 2007 - Release 3.0.6
Mac

Fixed a bug in the routine that draws the central and noncentral t distributions for two-tailed tests. When alpha was very small, this bug could cause G*Power to crash.

03 July 2007 - Release 3.0.5
Power Analysis Software Free
Mac and Windows

Fixed a bug in the Power Plot (opened using the X-Y-plot for a range of values button) for F tests, MANOVA: Global effects and F Tests, MANOVA: Special effects and interactions. Sometimes some of the variables were not correctly set in the plot procedure which led to erroneous values in the graphs and the associated tables.

26 June 2007 - Release 3.0.4
Mac and Windows

Fixed a bug in the Power Plot (opened using the X-Y-plot for a range of values button) for F Tests, Multiple Regression: Special (R2 increase). The numerator df value was not always correctly determined in the plot procedure which led to erroneous values in the graphs and the associated tables.
Fixed some minor problems with t tests. G•Power now checkes for invalid null effect sizes in a priori analyses. The t distribution PDF routine is now more robust for very large degrees of freedom by explicitly using a normal approximation in these cases.
When the Power Plot window was first opened by pressing the X-Y plot for a range of values button, the default was to show 4 plots simultaneously. The default has been changed to 1 plot.
Corrected some parsing errors in the calculator (in the Mac version, this only concerns text input in normal input fields).
Corrected a label in the effect size drawer for ANOVA: Fixed effects, omnibus, one-way. In the From variance input mode, the Variance within group field was erroneously labeled Error variance.

Windows

Fixed a problem with moving the main window when the effect size drawer is open. Sometimes the mouse pointer appeared to be 'glued' to the window and the movement could not be stopped properly.

1 March 2007 - Release 3.0.3
Mac and Windows:

Fixed a bug in the X-Y plots for a range of values for F Tests, ANOVA: Fixed effects, special, main effects and interactions. The df1 value was not always correctly determined in the plot procedure which led to erroneous values in the plots.
Fixed the problem in the plot procedure that (due to rounding errors) the last point on the x-axis was sometimes not included in the plot.

28 February 2007 - Release 3.0.2
Mac and Windows

Fixed a probem with tooltips for effect size conventions which were not always shown.

Windows

Added options mainly intended to make G*Power usable with low resolution displays (800 x 600 pixels)
The distribution/protocol view and the test/analysis selection view in the main window can be hidden temporarily to save space. To hide/show these sub-views press F4 (plot/protocol) and F5 (test/analysis), respectively, while the main window is active. There are also corresponding entries in the View menu.
The Graph window can now be made resizable. To do this choose 'Resizable Window' in the View menu of the Graph window. Besides enabling (restricted) resizability this option initially shrinks the window to a size that fits into a 800 x 600 screen. Deselecting the option restores the Graph window to the fixed size for which G*Power was optimized.

G-power Analysis Calculator

Mac

Fixed a cosmetic problem when drawing “extreme” central and non-central distributions.

15 January 2007 - Release 3.0.1
Windows

Effect size calculation for t Tests, Difference between two indepent means (two groups), case n1 = n2: The wrong means—those of case n1 ≠ n2—were used to calcultate the effect size. This problem has been fixed.
Minor cosmetic changes.
New Readme file.
Updated installation instruction.

12.01.2007 - First release of version 3.0.0

Axel Buchner, Edgar Erdfelder, Franz Faul, Albert-Georg Lang

Last Updated: 9 January 2021
Site Maintained By:
Leigh Tesfatsion
Research Professor & Professor Emerita of Economics
Courtesy Research Professor of Electrical & Computer Engineering
Heady Hall 260
Iowa State University
Ames, Iowa 50011-1054
http://www2.econ.iastate.edu/tesfatsi/
tesfatsi AT iastate.edu
General Electricity Resources
Agent-Based Electricity Research


Software Release Disclaimer:
All software provided below is unsupported and provided as-is, without warranty of any kind, unless otherwise specified by the provider.
Materials Linked to Date:
  • OSS for Electricity Market Simulation
  • OSS for Power Flow and OPF
  • Other Supporting Open Source Software

Overview

The U.S. electric power industry is currently undergoing substantial changes in both its structure (ownership and technology aspects) and its architecture (operational and oversight aspects). These changes involve attempts to move the industry away from highly regulated markets with administered cost-based pricing and towards competitive markets in which prices more fully reflect supply and demand forces. The goal of these changes is to provide industry participants with better incentives to control costs and introduce innovations. The process of enacting and implementing policies and laws to bring about these changes has come to be known as restructuring.

This restructuring process has been controversial. The meltdown in the restructured California wholesale power market in the summer of 2000 has demonstrated how unintended consequences can arise when complex market designs are implemented without sufficient pre-testing. Following the California crisis, many energy researchers have called for the development of test beds combining sound physical understanding of power system operations with economic analysis of incentives to help ensure that electricity market designs have good real-world performance characteristics.

Many commercially available packages for power system analysis now incorporate components critical for the simulation of restructured electricity markets (e.g. optimal power flow solvers). However, lack of open-source access prevents users from gaining a complete and accurate understanding of what has been implemented, restricts the ability of users to experiment with new software features, and hinders users from tailoring software to specific needs. In addition, these packages can be cumbersome to use for research, teaching, and training purposes requiring intensive experimentation and sensitivity analyses.

The goal of this resource site is to encourage the study of restructured electricity markets from a perspective that adequately addresses both economic and engineering concerns. Annotated pointers are provided to open source software (OSS) facilitating the modeling of electricity markets as commercial networks of strategically interacting traders and regulatory agencies learning to operate through time over realistically rendered transmission grids.

A general annotated listing of power systems software (both commercial and OSS) can be found at the following site: Power Systems Analysis Software. A compilation of tools for smart grid modeling and simulation (both commercial and OSS) is presented and discussed in the following article: Ricardo M. Czekster, 'Tools for Modelling and Simulating the Smart Grid' (pdf,389KB) arXiv:2011.07968v3 [cs.PF], 19 November 2020.

Suggestions regarding additional pertinent links for this OSS resource site are most welcome. Links are sought for OSS libraries, computational laboratories, simulators, toolkits, evaluative studies, and management systems that could potentially facilitate electricity market research, teaching, and training.

OSS for Electricity Market Simulation

AMES Wholesale Power Market Test Bed (Java/Python)
The AMES Wholesale Power Market Test Bed is a modular, extensible, open source software platform developed by an interdisciplinary team of researchers at Iowa State University, with support from researchers at the Pacific Northwest National Laboratory. AMES captures salient features of U.S. RTO/ISO-managed wholesale power markets operating over high-voltage transmission grids during successive days, with grid congestion handled by locational marginal pricing. AMES is an acronym for Agent-based Modeling of Electricity Systems.
AMES has been specifically designed as a support tool for research, teaching, and training purposes. Documentation, tutorials, and links to code/data software repositories for specific AMES version releases can be accessed at the above-linked AMES homepage.

Power Analysis software, free downloads

ERCOT Test System (Java/Python, implemented in part by AMES V5.0)
The ERCOT Test System was developed by Swathi Battula and Leigh Tesfatsion at Iowa State University and Thomas E. McDermott at the Pacific Northwest National Laboratory. The ERCOT Test System is implemented in part by means of AMES V5.0.
In default mode, the ERCOT Test System models basic operations in the Electric Reliability Council of Texas (ERCOT) energy region: namely, ISO-managed day-ahead and real-time markets operating in tandem over a high-voltage transmission grid during successive days, with grid congestion handled by locational marginal pricing. Modeled participants include dispatchable generators, load-serving entities, and non-dispatchable generation such as unfirmed wind and solar power. Users can configure a broad variety of parameters to study basic ERCOT market and grid features under alternative system conditions.
Users can also easily extend the test system's Java/Python software classes to study modified or newly envisioned market and grid features. In addition, the test system is integrated with a high-level simulation framework that permits it to function as a software component within larger systems, such as multiple seamed energy regions or integrated transmission and distribution systems.
A detailed description of the ERCOT Test System, together with illustrative 8-bus and 200-bus ERCOT test cases, can be found in the following paper:
  • Swathi Battula, Leigh Tesfatsion, and Thomas E. McDermott, 'An ERCOT Test System for Market Design Studies' (WP Preprint,3.5MB), Applied Energy, Vol. 275, 2020. DOI: 10.1016/j.apenergy.2020.115182
ISO-NE Test System (Java/Python, implemented in part by AMES V4.0)
The 8-Zone ISO-NE Test System was developed by Dheepak Krishnamurthy, Wanning Li, and Leigh Tesfatsion at Iowa State University. The 8-Zone ISO-NE Test System is implemented in part by means of AMES V4.0.
The 8-Zone ISO-NE Test System is based on structural attributes and data from the ISO New England (ISO-NE) energy region. A description of this test system, together with illustrative applications, can be found in the following two papers:
  • Wanning Li and Leigh Tesfatsion, 'An 8-Zone ISO-NE Test System with Physically-Based Wind Power,'(pdf,870KB), Economics Working Paper No. 17017, Department of Economics, Iowa State University, January 2017.
  • Dheepak Krishnamurthy, Wanning Li, and Leigh Tesfatsion, 'An 8-Zone Test System based on ISO New England Data: Development and Application'(pdf,642KB), IEEE Transactions on Power Systems, Vol. 31, Issue 1, January 2016, 234-246.
JASA: Java Auction Simulator API
Steve Phelps (Ripple Software, LTD) has developed an open-source Java class library called JASA (Java Auction Simulator API) for the simulation of auctions with learning traders. Included in JASA are classes specifically developed for electricity auction simulation.
MASCEM: Electricity Markets Simulator with Strategic Agents
Zita Vale and her collaborators at the Polytechnic Institute of Porto, Portugal, have developed the Multiagent Simulator of Competitive Electricity Markets (MASCEM). Abstract from above site: 'The MASCEM multiagent model includes players with strategies for bid definition, acting in forward, day-ahead, and balancing markets and considering both simple and complex bids. Our goal with MASCEM was to simulate as many market models and player types as possible. This approach makes MASCEM both a short and medium term simulation as well as a tool to support long-term decisions, such as those taken by regulators. This article proposes a new methodology integrated in MASCEM for bid definition in electricity markets. This methodology uses reinforcement learning algorithms to let players perceive changes in the environment, thus helping them react to the dynamic environment and adapt their bids accordingly.'
MinPower: Electric Power Market Simulator (Python)
MinPower is an open source toolkit for students and researchers in power systems. It is designed to make working with economic dispatch, optimal power flow, and unit commitment problems simple and beautiful. The goal is to foster collaboration with other researchers and to make learning easier for students. MinPower is written in Python, can use many solvers, and creates nice plots. The project is currently developed and maintained by Adam Greenhall, University of Washington, USA.
PowerACE: An Agent-based Computational Economics (ACE) Simulator for Power Systems (RePast)
The primary objective of the PowerACE project (Augsburg University, Germany, 2003-2008) led by Daniel Veit, with key contributions from Anke Weidlich, was to investigate the effects of Europe-wide CO2 emissions trading introduced in 2005. For this purpose, the project participants developed an Agent-based Computational Economics (ACE) simulation platform referred to as PowerACE. The PowerACE platform was implemented using the Recursive Porus Agent Simulation Toolkit (RePast), a Java-based class library designed to facilitate agent-based simulations.
Tools for Assessment of Bidding Into Electricity Auctions (Java)
Steven Puller (Texas A&MB) and Ross Baldick (University of Texas, Austin) have developed a public domain academic-grade tool to assess the competitiveness of offers into electricity auctions operating over transmission grids subject to transmission constraints. The prototype is written in the Java language, and is released as open source software under the terms of the GNU General Public License (GPL). To obtain the zipped tool and example file, visit here.

Open Source Software for Power Flow and Optimal Power Flow

A key stumbling block to developing OSS for general academic research into restructured electricity markets in the U.S. and elsewhere is the lack of OSS for AC/DC optimal power flow (OPF) problems. In the U.S., market operators of restructured wholesale power markets must repeatedly solve AC/DC OPF problems in order to generate unit commitment and dispatch schedules, as well as locational marginal prices (LMPs), for both spot and forward energy markets.

Developing algorithms for the successful solution of optimization problems involving mixed collections of equality and inequality constraints, even when specialized to quadratic objective functions (as in some DC OPF approximations to AC OPF problems), is a daunting task full of pitfalls for the unwary. (An excellent introduction to this topic can be found in R. Fletcher, Practical Methods of Optimization, Second Edition, John Wiley & Sons, New York, c. 1987.)

This section includes annotated pointers to OSS for AC/DC OPF and power flow problems for research, teaching, and training purposes. Readers with a particular interest in the real-world deployment of OSS optimization tools can consult the following review:

Markuc Groissböck, 'Are open source energy system optimization tools mature enough for serious use?', Renewable and Sustainable Energy Reviews 102 (2019), 234-248. DOI Site

Power Analysis Software Free Trial

ANDES: DAE Power Systems Analysis (Python)
The research center CURENT has released the open-source Python software ANDES for power system analysis developed with NSF and DOE support. This software could be of interest to researchers working on Differential-Algebraic Equation (DAE) modeling, simulation, and control for power systems. It has features that may be useful to researchers applying deep (reinforcement) learning to such systems. In general, ANDES was developed to support simple expandable models for the grid and provide a powerful platform for power system researchers.
DCOPFJ: A Bid/Offer-Based DC-OPF Solver (Java)
The DCOPFJ Package, developed entirely in Java by a team of researchers at Iowa State University, is a free open-source stand-alone solver for small to medium-sized bid/offer-based DC optimal power flow problems having a strictly convex quadratic programming (SCQP) formulation.
The DCOPFJ package incorporates an SCQP solver (QuadProgJ) wrapped in an outer SI-to-PU data processing shell. QuadProgJ implements the well-known dual active-set SCQP algorithm developed by Goldfarb and Idnani (1983). QuadProgJ has been shown to match or exceed the accuracy of the proprietary C-language QP solver BPMPD (highly recommended by MATPOWER) when tested on a public repository of small to medium-sized SCQP problems.
The DCOPFJ package has been successfully run on DC-OPF test cases commonly used for training purposes.
MATACDC (Matlab)
MATACDC is a free Matlab-based open source program for AC/DC power flow analysis. The program uses a sequential power flow algorithm and can be used to simulate interconnected AC systems, HVDC Grids and Voltage Source Converter High Voltage Direct Current (VSC HVDC) systems in general. The package has been fully integrated with the existing AC power flow routines developed in MATPOWER, while keeping the MATPOWER original source code unaltered. The project is currently developed and maintained by Jef Berteen, Katholieke Universiteit Leuven, Belgium.
MatDyn (Matlab)
MatDyn is a free Matlab-based open source program to perform dynamic analysis of electric power systems. It is inspired by Matpower, a power flow and optimal power flow program in Matlab and shares its philosophy: 'It is intended as a simulation tool for researchers and educators that is easy to use and modify.' The source code for MatDyn is available here. The developers note that care been taken to keep it well structured and easy to understand. The project is currently developed and maintained by Stijn Cole, Katholieke Universiteit Leuven, Belgium.
MATPOWER (Matlab-Based)
MATPOWER, developed by a team of researchers at Cornell University, is a free open-source software package for power system analysis, aimed primarily at solving power flow and optimal power flow problems. MATPOWER is intended as a simulation tool for researchers and educators that is easy to use and modify. MATPOWER can run on GNU/Octave, which is basically a free Matlab clone. The latest version of MATPOWER can be accessed at MATPOWER GitHub repository, where MATPOWER development takes place.
A detailed description of MATPOWER's OPF formulation can be found in the following article: Ray D. Zimmerman, Carlos E. Murillo-Sánchez, and Robert J. Thomas, 'MATPOWER: Steady-State Operations, Planning, and Analysis Tools for Power Systems Research and Education'(doi), IEEE Transactions on Power Systems, Vol. 26, No. 1, Feb 2011, 12-19.
MATPOWER (V6.0 and later) includes MOST (The MATPOWER Optimal Scheduling Tool), a framework for solving generalized stead-state electric power scheduling problems.
A description of MOST can be found in the following article: Carlos E. Murillo-Sánchez, Ray D. Zimmerman, C. Lindsay Anderson, and Robert J. Thomas, 'Secure Planning and Operations of Systems with Stochastic Sources, Energy Storage and Active Demand'(doi), IEEE Transactions on Smart Grid, Vol. 4, No. 4, Dec. 2013, 2220-2229.
PSAT: Power System Analysis Toolbox (Matlab-Based)
The Power System Analysis Toolbox (PSAT), originally developed by Federico Milano, is a Matlab-based software package for analysis and design of small to medium-sized electric power systems. The main features of PSAT include: power flow; continuation power flow; optimal power flow; small signal stability analysis; time-domain simulation; Phasor Measurement Unit (PMU) placement; FACTS models; and wind turbine models. All operations can be accessed by means of graphical user interfaces, and a Simulink-based library provides a user-friendly tool for network design.
Matlab is a commercial product whose kernel and libraries cannot be modified or freely distributed. However, PSAT can run on GNU/Octave, which is basically a free Matlab clone.
PYPOWER (Python/MATPOWER)
PYPOWER is a power flow and Optimal Power Flow (OPF) solver. It is a port of MATPOWER to the Python programming language. Current features include: (i)DC and AC (Newton’s method and Fast Decoupled) power flow; and (ii) DC and AC optimal power flow (OPF). PYPOWER sourcecode can be accessed at python.org or github.
Synthetic Power Flow and OPF (PowerWorld/MATPOWER)
A set of larger-scale Synthetic Power Flow and OPF Models have been developed as OSS by Tom Overbye and collaborators at Texas A&M, UIUC, Cornell, ASU, and VCU. Synthetic PF/OPF models are fictitious representations designed to be statistically and functionally similar to actual electric power grids while containing no confidental information on critical energy infrastructure. The models are available in a variety of formats, including PowerWorld Simulator and MATPOWER. Visualizations for several of the synthetic electric power grids can be viewed here.

Other Supporting Open Source Software

Power Analysis Software Free Software

Dia: Diagram Creation Program
Dia is a GTK+ based diagram creation program for GNU/Linux, MacOS X, Unix, and Windows, and is released under the GPL license. Dia is roughly inspired by the commercial Windows program 'Visio,' though more geared towards informal diagrams for casual use. It can be used to draw many different kinds of diagrams. It currently has special objects to help draw entity relationship diagrams, UML diagrams, flowcharts, network diagrams, and many other diagrams. It is also possible to add support for new shapes by writing simple XML files, using a subset of SVG to draw the shape. For more information about Dia, visit here.
DSSim-PC: Graphical Interface for OpenDSS
DDSim-PC is the non-deterministic version of the DSSim-RT simulator. It is based on EPRI's OpenDSS and can be used a a graphical interface for OpenDSS. The first version of DSSim-PC was released to the public on July 20, 2013.
EPOCHS: Electric Power and Communication Synchronizing Simulator
EPOCHS is an agent-based distributed simulation environment that combines multiple research and commercial off-the-shelf systems: namely, the PSAD/EMTDC electromagnetic transient simulator, the PSLF elctromechanical transient simulator, and the Network Simulator 2 (NS2). The resulting combined simulator permits the study of electric power scenarios incorporating new communication protocols.
For more information about EPOCHS, see the following article: Kenneth Hopkinson, Xiaoru Wang, Renan Giovanini, James Thorp, Kenneth Birman, and Denis Coury, 'EPOCHS: A Platform for Agent-Based Electric Power and Communication Simulation Built from Commercial Off-the-Shelf Components'(pdf,235KB), IEEE Transactions on Power Systems 21(2), 2006, 548-558.
GridLAB-D: Electric Energy Distribution Platform (C++/C)
GridLAB-D is a power distribution simulation platform developed by the U.S. Department of Energy at Pacific Northwest National Laboratory (PNNL) in Richland, Washington. See here (pdf,2.9MB) for a useful summary discussion of GridLAB-D features, capabilities, and power system applications.
PNNL maintains a GridLAB-D Site at SourceForge.
InterPSS: Internet-Based Software System
The Internet Technology-based Open-source Power System Simulation (InterPSS) System is an open-source project whose goal is to develop a simple to use, yet powerful, Internet technology based software system for design, analysis, and simulation of power systems. Its open and loosely coupled system architecture will allow components developed by others to be easily plugged into the system to augment its functionality, and equally important, allow its components to be integrated into other systems to provide certain power system simulation functionality or services. The project is currently under development by a team of developers living in the United States, Canada and China.
LP_Solve: Linear Programming Toolkit
LP_solve is a free linear (integer) programming solver based on the revised simplex method and the Branch-and-bound method for the integers. It contains full source, examples and manuals. LP_solve solves pure linear, (mixed) integer/binary, semi-continuous and special ordered sets (SOS) models. For general information about LP_Solve, visit here. For downloads, go to LP_Solve versions at sourceforge.net.
Open DSS: Distribution System Simulator (MS Windows Operating Environment)
The Electric Power Research Institute, Inc. (EPRI) has made its Open Source Distribution System Simulator (OpenDSS) program available as an open source project. The OpenDSS software is a comprehensive electrical power system simulation tool for electric utility distribution systems. The program has been developed for the Microsoft Windows environment. It supports nearly all frequency domain (sinusoidal steady-state) analyses commonly performed on electric utility power distribution systems. In addition, it supports many new types of analyses that are designed to meet future needs related to grid modernization efforts. Additionally, this open source program may encourage the user community to contribute useful models that might help others active in grid modernization.
Pandapower: Power System Modeling and Analysis (Python, Open Source)
Pandapower is a Python based, BSD-licensed power system analysis tool aimed at automation of static and quasi-static analysis and optimization of balanced power systems. It provides power flow, optimal power flow, state estimation, topological graph searches and short circuit calculations according to IEC 60909.
Documentation for PandaPower can be found here. The code is available through pypi and through pip (‘pip install pandapower’).
Michael Thomas Flanagan's Java Scientific Library
Michael Thomas Flanagan (EE, University College London, UKB) has developed and released as open-source software a Java scientific library to support both his own electrical engineering research and his undergraduate programming courses and projects. Included in the library are links to source files and documentation for classes handling a wide variety of numerical functions, including: inut/output; graph plotting; mathematical functions and physical constants; random numbers and deviates; error propagation; regression; optimization; Fourier transform and short-time Fourier transform; numerical integration; interpolation; root searching; matrices; complex arithmetic; circuits; impedance spectroscopy; optics; reflexivity; and control and system engineering routines.

OSS Management Systems

Comparison of Four OSS Configuration Management Systems
David Wheeler maintains a site titled Comments on OSS/FS Software Configuration Management Systems providing comparisons of the following four systems: CVS, Subversion, GNU Arch, and Monotone.

Evaluation of OSS for Electricity Markets

Evaluation of OSS LP Software for Electricity Spot Market Optimization
Stuart R. Thorncraft, Hugh R. Outhred, and David J. Clements, 'Evaluation of Open-Source LP Optimization Codes in Solving Electricity Spot Market Optimization Problems'(pdf,81KB), 19th Mini-European Conference on Operations Research Models and Methods in the Energy Sector, Coimbra, Portugal, September 6-8, 2006.
Abstract: The authors investigate the performance of three linear programming packages --- GLPK, COIN-LP (CLP), and LPSOLVE -- for the determination of optimal locational marginal prices (LMPs) and dispatch levels for electricity spot markets.

OSS General Reference Materials

Power Flow Analysis Software Free

LF Energy (LFE): Collaborative Open-Source Environment Focused on Power Systems
LF Energy (LFE) is an open source initiative, focused on power systems, that is overseen and hosted at The Linux Foundation. LFE provides a neutral, collaborative environment to build digital foundations to enable the 'electrification of everything to scale.' The goal of LFE is to transform the world’s relationship to energy.
Development of Open Source Test Beds
Tom Overbye, 'Synthetic Power Grid Models: What Are They, How They're Made, and Why They Matter', PSERC Webinar, March 15, 2016. (pdf,1.6MB)
Development of Open Source Software
Karl Fogel, 'Producing Open Source Software: How to Run a Successful Free Software Project(pdf,694KB), 184 pages, copyright 2005 under a CreativeCommons Attribution-ShareAlike license.
Abstract: This book is meant for software developers and managers who are either planning to start an OSS project or who are concerned with the effective maintenance of an ongoing OSS project. Topics covered include: (1) History of OSS; (2) Getting Started (choosing a name, mission statement, license, documentation, etc.); (3) Technical Infrastructure (project needs, mailing lists, version control, bug tracker, Wikis, websites); (4) Social and Political Infrastructure; (5) Money (types of involvement, contracting, funding, marketing); (6) Communications (structure and formatting, avoiding common pitfalls, handling difficult people, handling growth, publicity); (7) Packaging, Releasing, and Daily Development (release numbering, packaging, testing and releasing, maintaining multiple release lines); (8) Managing volunteers; (9) Licenses, Copyrights, and Patents (MIT/X Window System License, GNU General Public License, BSD License, copyrighting, dual licensing, patents); (10) Useful Appendices (free version control systems, free bug trackers, copyright forms, etc.).
Hongyan Li and Leigh Tesfatsion, 'Development of Open Source Software for Power Market Research: The AMES Test Bed'(pdf Preprint,628KB), Journal of Energy Markets, Vol. 2, No. 2, Summer 2009, 111-128.
Abstract: Open Source Software (OSS) expresses the idea that developers should be able to license the publication of their software in a manner permitting anyone to freely use, modify, and distribute the software. Today OSS is widely used in the software industry, such as for language development tools (e.g., NetBeans for Java), office document processors (e.g., OpenOffice), and operating systems (e.g., Linux, OpenSolaris). Yet OSS has been slow to penetrate the power industry; heavy reliance is still placed on closed-source commercial software packages. The OSS in use tends to be for specialized purposes (e.g., circuit design) rather than for the general-purpose analysis of power systems. This study discusses potential benefits and drawbacks of developing OSS for power market research, using the AMES Wholesale Power Market Test Bed for concrete illustration.
Stefan Pfenninger et al., 'Opening the Black Box of Energy Modelling: Strategies and Lessons Learned'(pdf,326KB), Energy Strategy Reviews, Vol. 19, 2018, 63-71.
Abstract: The global energy system is undergoing a major transition, and in energy planning and decision-making across governments, industry and academia, models play a crucial role. Because of their policy relevance and contested nature, the transparency and open availability of energy models and data are of particular importance. Here we provide a practical how-to guide based on the collective experience of members of the Open Energy Modelling Initiative (Openmod). We discuss key steps to consider when opening code and data, including determining intellectual property ownership, choosing a licence and appropriate modelling languages, distributing code and data, and providing support and building communities. After illustrating these decisions with examples and lessons learned from the community, we conclude that even though individual researchers' choices are important, institutional changes are still also necessary for more openness and transparency in energy research.
Stefan Pfenninger et al., 'The Importance of Open Data and Software: Is Energy Research Lagging Behind?'(pdf,156KB), Energy Policy, Vol. 101, 2017, 211-215.
Abstract: Energy policy often builds on insights gained from quantitative energy models and their underlying data. As climate change mitigation and economic concerns drive a sustained transformation of the energy sector, transparent and well-founded analyses are more important than ever. We assert that models and their associated data must be openly available to facilitate higher quality science, greater productivity through less duplicated effort, and a more effective science-policy boundary. There are also valid reasons why data and code are not open: ethical and security concerns, unwanted exposure, additional workload, and institutional or personal inertia. Overall, energy policy research ostensibly lags behind other fields in promoting more open and reproducible science. We take stock of the status quo and propose actionable steps forward for the energy research community to ensure that it can better engage with decision-makers and continues to deliver robust policy advice in a transparent and reproducible way.

Copyright © Leigh Tesfatsion. All Rights Reserved.