PowerSAS.m - A power grid analysis toolbox based on semi-analytical solutions (SAS) for Matlab/GNU Octave
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Yang Liu 0c2683b042
add how to install in README
3 years ago
data First release of PowerSAS.m 4 years ago
docs modify version and release number 3 years ago
example Data uploaded 3 years ago
internal First release of PowerSAS.m 4 years ago
logging First release of PowerSAS.m 4 years ago
tests First release of PowerSAS.m 4 years ago
util First release of PowerSAS.m 4 years ago
.gitignore First release of PowerSAS.m 4 years ago
LICENSE.md First release of PowerSAS.m 4 years ago
README.md add how to install in README 3 years ago
calCPF.m First release of PowerSAS.m 4 years ago
calCTG.m First release of PowerSAS.m 4 years ago
calPF.m First release of PowerSAS.m 4 years ago
calTSA.m First release of PowerSAS.m 4 years ago
clearAllTempFiles.m First release of PowerSAS.m 4 years ago
getDefaultSimSettings.m First release of PowerSAS.m 4 years ago
initpowersas.m Update initpowersas.m 3 years ago
runDynamicSimulationExec.m First release of PowerSAS.m 4 years ago
runPowerSAS.m Update runPowerSAS.m 3 years ago
setup.m First release of PowerSAS.m 4 years ago

README.md

PowerSAS.m

Documentation

HTML

PDF

What is PowerSAS.m?

PowerSAS.m is a robust, efficient and scalable power grid analysis framework based on semi-analytical solutions (SAS) technology. The PowerSAS.m is the version for MATLAB/Octave users. It currently provides the following functionalities (more coming soon!):

  • Steady-state analysis, including power flow (PF), continuation power flow (CPF), contingency analysis.
  • Dynamic security analysis, including voltage stability analysis, transient stability analysis, and flexible user-defined simulation.
  • Hybrid extended-term simulation provides adaptive QSS-dynamic hybrid simulation in extended term with high accuracy and efficiency.

Key features

  • High numerical robustness. Backed by the SAS approach, the PowerSAS tool provides much better convergence than the tools using traditional Newton-type algebraic equation solvers when solving algebraic equations (AE)/ordinary differential equations (ODE)/differential-algebraic equations(DAE).
  • Enhanced computational performance. Due to the analytical nature, PowerSAS provides model-adaptive high-accuracy approximation, which brings significantly extended effective range and much larger steps for steady-state/dynamic analysis. PowerSAS has been used to solve large-scale system cases with 200,000+ buses.
  • Customizable and extensible. PowerSAS supports flexible customization of grid analysis scenarios, including complex event sequences in extended simulation term.

Installation

1. System requirements

Matlab (7.1 or later) or GNU Octave (4.0.0 or later).

2. Installation

  • Extract source code to a directory.
  • Enter the directory in Matlab or GNU Octave.
  • Execute command setup. You will see the following sub-directories:
    • /data: Stores test system data, simulation settings data, etc.
    • /example: Some examples of using PowerSAS.m.
    • /output: Stores test result data.
    • /internal: Internal functions of PowerSAS.m computation core.
    • /util: Auxiliary functions including data I/O, plotting, data conversion, etc.
    • /logging: Built-in logging system.
    • /doc: Documentation.

3. Test

  • Execute command initpowersas to initialize the environment, then execute test_powersas to run tests. You should expect all tests to pass.

4. Initialization

To initialize PowerSAS.m, add the main directory of PowerSAS.m to your Matlab or GNU Octave path and run the command initpowersas. This will ensure that all the functions of PowerSAS.m are added to the path and thus callable.