在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):MATPOWER/matpower开源软件地址(OpenSource Url):https://github.com/MATPOWER/matpower开源编程语言(OpenSource Language):MATLAB 99.2%开源软件介绍(OpenSource Introduction):A Power System Simulation Package for MATLAB and Octave
MATPOWER is a package of M-files for solving power flow, continuation power flow and optimal power flow problems using MATLAB or Octave. It is intended as a simulation tool for researchers and educators that is easy to use and modify. MATPOWER is designed to give the best performance possible while keeping the code simple to understand and modify. MATPOWER releases can be downloaded from the MATPOWER website,
and the latest stable and work-in-progress versions can always be
downloaded or cloned from the MATPOWER GitHub project. The
System Requirements
Getting MATPOWERYou can either download an official versioned release or you can obtain the current development version, which we also attempt to keep stable enough for everyday use. The development version includes new features and bug fixes added since the last versioned release. Versioned ReleasesDownload the ZIP file of the latest official versioned release from the MATPOWER website. Note: This does include the MATPOWER Extras. Current Development VersionThere are also two options for obtaining the most recent development version
of MATPOWER from the
See CONTRIBUTING.md for information on how to get a local copy of your own MATPOWER fork, if you are interesting in contributing your own code or modifications. MATPOWER Docker ImageMATPOWER is also available on Docker Hub as the pre-packaged Docker image tagged matpower/matpower, providing a Linux environment with Octave, MATPOWER, and the MATPOWER Extras pre-installed. See the MATPOWER-Docker page for more details. Docker images are provided for both versioned releases and development versions. InstallationInstallation and use of MATPOWER requires familiarity with the basic operation of MATLAB or Octave. Make sure you follow the installation instructions for the version of MATPOWER you are installing. The process was simplified with an install script following version 6.0.
Running MATPOWERTo run a simple Newton power flow on the 9-bus system specified in
the file runpf('case9') To load the 30-bus system data from define_constants;
mpc = loadcase('case30');
mpc.bus(2, PD) = 30;
runopf(mpc); By default, the results of the simulation are pretty-printed to the
screen, but the solution can also be optionally returned in a results = rundcopf('case118');
final_objective = results.f;
gen6_output = results.gen(6, PG);
branch51_flow = results.branch(51, PF); For additional info, see the MATPOWER User's Manual, the on-line function reference, or the built-in help documentation for the various MATPOWER functions. For example:
DocumentationThere are four primary sources of documentation for MATPOWER.
ManualsThe MATPOWER and MOST User's Manuals are included in the distribution
( Previous versions are also available at Built-in HelpEach M-file has its own documentation which can be accessed by typing at the MATLAB/Octave prompt:
Documentation for the case data file format can be found by typing:
If something is still unclear after checking the manual and the help,
the source code is the documentation. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论