Science Score: 54.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
✓DOI references
Found 8 DOI reference(s) in README -
○Academic publication links
-
✓Committers with academic emails
1 of 1 committers (100.0%) from academic institutions -
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.2%) to scientific vocabulary
Repository
MP-Sim is a simulator framework for MATLAB and Octave.
Basic Info
Statistics
- Stars: 4
- Watchers: 4
- Forks: 2
- Open Issues: 1
- Releases: 0
Metadata Files
README.md
MP-Sim
MP-Sim is a simulator framework usable on both MATLAB and Octave. It can be integrated with MATPOWER for power systems related simulations. Implementation was done by Haeyong (David) Shin as an undergraduate student at Cornell University under the supervision of Ray D. Zimmerman.
System Requirements
- MATLAB version 7 (R14) or later, or
- GNU Octave version 4.0 or later
- MP-Test, for running the MP-Sim test suite
Installation
Clone the repository, or unzip the zip file into the location of your choice. Do the same for MP-Test. We will use
<MPSIM>to represent the path to the resultingmpsimdirectory. The equivalent corresponds for<MPTEST>.Add
<MPSIM>/lib,<MPSIM>/lib/t,<MPTEST>/lib, and<MPTEST>/lib/tto your MATLAB/Octave path.Run MP-Sim's tests by typing
test_mpsimin the MATLAB console. You should see something like:matlab t_mpsim_shared_x_numeric....ok t_mpsim_shared_x_queue......ok t_mpsim_process.............ok t_mpsim.....................ok t_burger_shop...............ok t_burger_shop_2d............ok t_opf_sim...................ok (8 of 8 skipped) All tests successful (186 passed, 8 skipped of 194) Elapsed time 0.94 seconds.Additional test cases will be run if MATPOWER is installed.
Usage
- Type
burger_shop().run('burger_shop_example', 'T', 5, 'R', 1);to run a simulation of a burger shop that will run for 5 periods. The console should produce a summary of the simulation, part of which is shown here:
``` Results for run 1 : inventories period day hr ordered delivered defrosted grilled sold frozen thawed grilled
700 100 25
1 1 1 1950 0 0 12 21 700 88 16
2 1 2 0 0 310 54 46 390 344 24
3 1 3 0 700 0 171 166 1090 173 29
4 1 4 0 0 120 133 140 970 160 22
5 1 5 0 0 0 108 99 970 52 31
total: 1950 700 430 478 472 End of run ```
- Add in more options to the struct before running the simulation.
Example:burger_shop().run('burger_shop_example', 'T', 5, 'verbose', 1)will run the same burger shop but print more information to the console during the simulation.
Documentation
There are two primary sources of documentation for MP-Sim. The first is
the MP-Sim User's Manual, which gives an overview of the capabilities
and structure of MP-Sim and provides an example of creating your own MP-Sim
simulation. It can be found in your MP-Sim distribution at
<MPSIM>/docs/MP-Sim-manual.pdf
and the latest version is always available at:
https://github.com/MATPOWER/mpsim/blob/master/docs/MP-Sim-manual.pdf.
And second is the built-in help command. As with the built-in
functions and toolbox routines in MATLAB and Octave, you can type help
followed by the name of a command or M-file to get help on that particular
class or function. All of the M-files in MP-Sim have such documentation.
Citing MP-Sim
We request that publications derived from the use of MP-Sim explicitly acknowledge that fact by citing the MP-Sim User's Manual. The citation and DOI can be version-specific or general, as appropriate. For version 1.0, use:
H. Shin, R. D. Zimmerman. MP-Sim User's Manual, Version 1.0. 2018. [Online]. Available: https://matpower.org/docs/MP-Sim-manual-1.0.pdf
doi: 10.5281/zenodo.3238684
For a version non-specific citation, use the following citation and DOI, with <YEAR> replaced by the year of the most recent release:
H. Shin, R. D. Zimmerman. MP-Sim User's Manual. <YEAR>. [Online]. Available: https://matpower.org/docs/MP-Sim-manual.pdf
doi: 10.5281/zenodo.3238683
A list of versions of the User's Manual with release dates and version-specific DOI's can be found via the general DOI at https://doi.org/10.5281/zenodo.3238683.
Contributing
Please see our contributing guidelines for details on how to contribute to the project or report issues.
License
MP-Sim is distributed under the 3-clause BSD license.
Owner
- Name: MATPOWER Development
- Login: MATPOWER
- Kind: organization
- Repositories: 25
- Profile: https://github.com/MATPOWER
Citation (CITATION)
We request that publications derived from the use of MP-Sim explicitly acknowledge that fact by citing the MP-Sim User's Manual. The citation and DOI can be version-specific or general, as appropriate. For version 1.0, use: H. Shin, R. D. Zimmerman. MP-Sim User's Manual, Version 1.0. 2018. [Online]. Available: https://matpower.org/docs/MP-Sim-manual-1.0.pdf doi: 10.5281/zenodo.3238684 For a version non-specific citation, use the following citation and DOI, with <YEAR> replaced by the year of the most recent release: H. Shin, R. D. Zimmerman. MP-Sim User's Manual. <YEAR>. [Online]. Available: https://matpower.org/docs/MP-Sim-manual.pdf doi: 10.5281/zenodo.3238683 A list of versions of the User's Manual with release dates and version-specific DOI's can be found via the general DOI at https://doi.org/10.5281/zenodo.3238683.
GitHub Events
Total
Last Year
Committers
Last synced: about 2 years ago
Top Committers
| Name | Commits | |
|---|---|---|
| Ray Zimmerman | r****0@c****u | 29 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: about 2 years ago
All Time
- Total issues: 3
- Total pull requests: 0
- Average time to close issues: 11 months
- Average time to close pull requests: N/A
- Total issue authors: 1
- Total pull request authors: 0
- Average comments per issue: 0.0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- rdzman (3)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- MATPOWER/action-configure-matlab v2 composite
- MATPOWER/action-install-octave-linux v1 composite
- MATPOWER/action-install-octave-macos v1 composite
- actions/checkout v4 composite
- matlab-actions/setup-matlab v2 composite