ltbams 0.9.9__tar.gz → 0.9.10__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. ltbams-0.9.10/CONTRIBUTING.rst +102 -0
  2. ltbams-0.9.10/MANIFEST.in +17 -0
  3. ltbams-0.9.10/PKG-INFO +153 -0
  4. {ltbams-0.9.9 → ltbams-0.9.10}/README.md +3 -3
  5. {ltbams-0.9.9 → ltbams-0.9.10}/ams/_version.py +4 -4
  6. ltbams-0.9.10/ams/cases/5bus/pjm5bus_demo.xlsx +0 -0
  7. ltbams-0.9.10/ams/cases/5bus/pjm5bus_uced.json +1062 -0
  8. ltbams-0.9.10/ams/cases/5bus/pjm5bus_uced.xlsx +0 -0
  9. ltbams-0.9.10/ams/cases/5bus/pjm5bus_uced_esd1.xlsx +0 -0
  10. ltbams-0.9.10/ams/cases/5bus/pjm5bus_uced_ev.xlsx +0 -0
  11. ltbams-0.9.10/ams/cases/ieee123/ieee123.xlsx +0 -0
  12. ltbams-0.9.10/ams/cases/ieee123/ieee123_regcv1.xlsx +0 -0
  13. ltbams-0.9.10/ams/cases/ieee14/ieee14.json +1166 -0
  14. ltbams-0.9.10/ams/cases/ieee14/ieee14.raw +92 -0
  15. ltbams-0.9.10/ams/cases/ieee14/ieee14_uced.xlsx +0 -0
  16. ltbams-0.9.10/ams/cases/ieee39/ieee39.xlsx +0 -0
  17. ltbams-0.9.10/ams/cases/ieee39/ieee39_uced.xlsx +0 -0
  18. ltbams-0.9.10/ams/cases/ieee39/ieee39_uced_esd1.xlsx +0 -0
  19. ltbams-0.9.10/ams/cases/ieee39/ieee39_uced_pvd1.xlsx +0 -0
  20. ltbams-0.9.10/ams/cases/ieee39/ieee39_uced_vis.xlsx +0 -0
  21. ltbams-0.9.10/ams/cases/matpower/benchmark.json +1594 -0
  22. ltbams-0.9.10/ams/cases/matpower/case118.m +787 -0
  23. ltbams-0.9.10/ams/cases/matpower/case14.m +129 -0
  24. ltbams-0.9.10/ams/cases/matpower/case300.m +1315 -0
  25. ltbams-0.9.10/ams/cases/matpower/case39.m +205 -0
  26. ltbams-0.9.10/ams/cases/matpower/case5.m +62 -0
  27. ltbams-0.9.10/ams/cases/matpower/case_ACTIVSg2000.m +9460 -0
  28. ltbams-0.9.10/ams/cases/npcc/npcc.m +644 -0
  29. ltbams-0.9.10/ams/cases/npcc/npcc_uced.xlsx +0 -0
  30. ltbams-0.9.10/ams/cases/pglib/pglib_opf_case39_epri__api.m +243 -0
  31. ltbams-0.9.10/ams/cases/wecc/wecc.m +714 -0
  32. ltbams-0.9.10/ams/cases/wecc/wecc_uced.xlsx +0 -0
  33. ltbams-0.9.10/ams/core/__init__.py +2 -0
  34. ltbams-0.9.10/ams/core/documenter.py +584 -0
  35. ltbams-0.9.10/ams/core/matprocessor.py +766 -0
  36. ltbams-0.9.10/ams/core/model.py +300 -0
  37. ltbams-0.9.10/ams/core/param.py +273 -0
  38. ltbams-0.9.10/ams/core/service.py +897 -0
  39. ltbams-0.9.10/ams/core/symprocessor.py +208 -0
  40. ltbams-0.9.10/ams/core/var.py +59 -0
  41. ltbams-0.9.10/ams/extension/__init__.py +5 -0
  42. ltbams-0.9.10/ams/extension/eva.py +401 -0
  43. ltbams-0.9.10/ams/interop/__init__.py +18 -0
  44. ltbams-0.9.10/ams/interop/andes.py +1002 -0
  45. ltbams-0.9.10/ams/io/__init__.py +134 -0
  46. ltbams-0.9.10/ams/io/json.py +89 -0
  47. ltbams-0.9.10/ams/io/matpower.py +406 -0
  48. ltbams-0.9.10/ams/io/psse.py +6 -0
  49. ltbams-0.9.10/ams/io/pypower.py +103 -0
  50. ltbams-0.9.10/ams/io/xlsx.py +87 -0
  51. ltbams-0.9.10/ams/models/__init__.py +24 -0
  52. ltbams-0.9.10/ams/models/area.py +40 -0
  53. ltbams-0.9.10/ams/models/bus.py +52 -0
  54. ltbams-0.9.10/ams/models/cost.py +169 -0
  55. ltbams-0.9.10/ams/models/distributed/__init__.py +3 -0
  56. ltbams-0.9.10/ams/models/distributed/esd1.py +71 -0
  57. ltbams-0.9.10/ams/models/distributed/ev.py +60 -0
  58. ltbams-0.9.10/ams/models/distributed/pvd1.py +67 -0
  59. ltbams-0.9.10/ams/models/group.py +237 -0
  60. ltbams-0.9.10/ams/models/info.py +26 -0
  61. ltbams-0.9.10/ams/models/line.py +210 -0
  62. ltbams-0.9.10/ams/models/region.py +52 -0
  63. ltbams-0.9.10/ams/models/renewable/__init__.py +5 -0
  64. ltbams-0.9.10/ams/models/renewable/regc.py +119 -0
  65. ltbams-0.9.10/ams/models/reserve.py +94 -0
  66. ltbams-0.9.10/ams/models/shunt.py +14 -0
  67. ltbams-0.9.10/ams/models/static/__init__.py +2 -0
  68. ltbams-0.9.10/ams/models/static/gen.py +159 -0
  69. ltbams-0.9.10/ams/models/static/pq.py +61 -0
  70. ltbams-0.9.10/ams/models/timeslot.py +69 -0
  71. ltbams-0.9.10/ams/opt/__init__.py +5 -0
  72. ltbams-0.9.10/ams/opt/omodel.py +927 -0
  73. ltbams-0.9.10/ams/pypower/__init__.py +8 -0
  74. ltbams-0.9.10/ams/pypower/_compat.py +9 -0
  75. ltbams-0.9.10/ams/pypower/core/__init__.py +8 -0
  76. ltbams-0.9.10/ams/pypower/core/pips.py +894 -0
  77. ltbams-0.9.10/ams/pypower/core/ppoption.py +244 -0
  78. ltbams-0.9.10/ams/pypower/core/ppver.py +18 -0
  79. ltbams-0.9.10/ams/pypower/core/solver.py +2451 -0
  80. ltbams-0.9.10/ams/pypower/eps.py +6 -0
  81. ltbams-0.9.10/ams/pypower/idx.py +174 -0
  82. ltbams-0.9.10/ams/pypower/io.py +604 -0
  83. ltbams-0.9.10/ams/pypower/make/__init__.py +11 -0
  84. ltbams-0.9.10/ams/pypower/make/matrices.py +665 -0
  85. ltbams-0.9.10/ams/pypower/make/pdv.py +506 -0
  86. ltbams-0.9.10/ams/pypower/routines/__init__.py +7 -0
  87. ltbams-0.9.10/ams/pypower/routines/cpf.py +513 -0
  88. ltbams-0.9.10/ams/pypower/routines/cpf_callbacks.py +114 -0
  89. ltbams-0.9.10/ams/pypower/routines/opf.py +1803 -0
  90. ltbams-0.9.10/ams/pypower/routines/opffcns.py +1946 -0
  91. ltbams-0.9.10/ams/pypower/routines/pflow.py +852 -0
  92. ltbams-0.9.10/ams/pypower/toggle.py +1098 -0
  93. ltbams-0.9.10/ams/pypower/utils.py +293 -0
  94. ltbams-0.9.10/ams/routines/__init__.py +22 -0
  95. ltbams-0.9.10/ams/routines/acopf.py +122 -0
  96. ltbams-0.9.10/ams/routines/cpf.py +65 -0
  97. ltbams-0.9.10/ams/routines/dcopf.py +360 -0
  98. ltbams-0.9.10/ams/routines/dcpf.py +191 -0
  99. ltbams-0.9.10/ams/routines/dopf.py +150 -0
  100. ltbams-0.9.10/ams/routines/ed.py +317 -0
  101. ltbams-0.9.10/ams/routines/pflow.py +113 -0
  102. ltbams-0.9.10/ams/routines/routine.py +911 -0
  103. ltbams-0.9.10/ams/routines/rted.py +571 -0
  104. ltbams-0.9.10/ams/routines/type.py +160 -0
  105. ltbams-0.9.10/ams/routines/uc.py +370 -0
  106. ltbams-0.9.10/ams/utils/__init__.py +13 -0
  107. ltbams-0.9.10/ams/utils/paths.py +257 -0
  108. ltbams-0.9.10/docs/Makefile +21 -0
  109. ltbams-0.9.10/docs/make.bat +35 -0
  110. ltbams-0.9.10/docs/source/_templates/autosummary/base.rst +5 -0
  111. ltbams-0.9.10/docs/source/_templates/autosummary/class.rst +35 -0
  112. ltbams-0.9.10/docs/source/_templates/autosummary/module.rst +65 -0
  113. ltbams-0.9.10/docs/source/_templates/autosummary/module_toctree.rst +66 -0
  114. ltbams-0.9.10/docs/source/api.rst +100 -0
  115. ltbams-0.9.10/docs/source/conf.py +203 -0
  116. ltbams-0.9.10/docs/source/examples/index.rst +33 -0
  117. ltbams-0.9.10/docs/source/getting_started/copyright.rst +20 -0
  118. ltbams-0.9.10/docs/source/getting_started/formats/index.rst +20 -0
  119. ltbams-0.9.10/docs/source/getting_started/formats/matpower.rst +183 -0
  120. ltbams-0.9.10/docs/source/getting_started/formats/psse.rst +46 -0
  121. ltbams-0.9.10/docs/source/getting_started/formats/pypower.rst +223 -0
  122. ltbams-0.9.10/docs/source/getting_started/formats/xlsx.png +0 -0
  123. ltbams-0.9.10/docs/source/getting_started/formats/xlsx.rst +23 -0
  124. ltbams-0.9.10/docs/source/getting_started/index.rst +76 -0
  125. ltbams-0.9.10/docs/source/getting_started/install.rst +234 -0
  126. ltbams-0.9.10/docs/source/getting_started/overview.rst +26 -0
  127. ltbams-0.9.10/docs/source/getting_started/testcase.rst +45 -0
  128. ltbams-0.9.10/docs/source/getting_started/verification.rst +13 -0
  129. ltbams-0.9.10/docs/source/images/dcopf_time.png +0 -0
  130. ltbams-0.9.10/docs/source/images/sponsors/CURENT_Logo_NameOnTrans.png +0 -0
  131. ltbams-0.9.10/docs/source/images/sponsors/CURENT_Logo_Transparent.png +0 -0
  132. ltbams-0.9.10/docs/source/images/sponsors/CURENT_Logo_Transparent_Name.png +0 -0
  133. ltbams-0.9.10/docs/source/images/sponsors/doe.png +0 -0
  134. ltbams-0.9.10/docs/source/index.rst +109 -0
  135. ltbams-0.9.10/docs/source/modeling/example.rst +159 -0
  136. ltbams-0.9.10/docs/source/modeling/index.rst +17 -0
  137. ltbams-0.9.10/docs/source/modeling/model.rst +210 -0
  138. ltbams-0.9.10/docs/source/modeling/routine.rst +129 -0
  139. ltbams-0.9.10/docs/source/modeling/system.rst +51 -0
  140. ltbams-0.9.10/docs/source/release-notes.rst +312 -0
  141. ltbams-0.9.10/ltbams.egg-info/PKG-INFO +153 -0
  142. ltbams-0.9.10/ltbams.egg-info/SOURCES.txt +175 -0
  143. {ltbams-0.9.9 → ltbams-0.9.10}/ltbams.egg-info/entry_points.txt +1 -0
  144. ltbams-0.9.10/ltbams.egg-info/requires.txt +90 -0
  145. ltbams-0.9.10/ltbams.egg-info/top_level.txt +2 -0
  146. ltbams-0.9.10/requirements-extra.txt +23 -0
  147. ltbams-0.9.10/requirements.txt +11 -0
  148. ltbams-0.9.10/setup.py +108 -0
  149. ltbams-0.9.10/tests/__init__.py +0 -0
  150. ltbams-0.9.9/PKG-INFO +0 -859
  151. ltbams-0.9.9/ltbams.egg-info/PKG-INFO +0 -859
  152. ltbams-0.9.9/ltbams.egg-info/SOURCES.txt +0 -36
  153. ltbams-0.9.9/ltbams.egg-info/requires.txt +0 -31
  154. ltbams-0.9.9/ltbams.egg-info/top_level.txt +0 -1
  155. ltbams-0.9.9/pyproject.toml +0 -88
  156. ltbams-0.9.9/setup.py +0 -8
  157. {ltbams-0.9.9 → ltbams-0.9.10}/LICENSE +0 -0
  158. {ltbams-0.9.9 → ltbams-0.9.10}/ams/__init__.py +0 -0
  159. {ltbams-0.9.9 → ltbams-0.9.10}/ams/__main__.py +0 -0
  160. {ltbams-0.9.9 → ltbams-0.9.10}/ams/cli.py +0 -0
  161. {ltbams-0.9.9 → ltbams-0.9.10}/ams/main.py +0 -0
  162. {ltbams-0.9.9 → ltbams-0.9.10}/ams/report.py +0 -0
  163. {ltbams-0.9.9 → ltbams-0.9.10}/ams/shared.py +0 -0
  164. {ltbams-0.9.9 → ltbams-0.9.10}/ams/system.py +0 -0
  165. {ltbams-0.9.9 → ltbams-0.9.10}/ltbams.egg-info/dependency_links.txt +0 -0
  166. {ltbams-0.9.9 → ltbams-0.9.10}/setup.cfg +0 -0
  167. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_1st_system.py +0 -0
  168. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_addressing.py +0 -0
  169. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_andes.py +0 -0
  170. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_case.py +0 -0
  171. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_cli.py +0 -0
  172. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_dctypes.py +0 -0
  173. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_export_csv.py +0 -0
  174. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_group.py +0 -0
  175. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_known_good.py +0 -0
  176. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_mats.py +0 -0
  177. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_model.py +0 -0
  178. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_paths.py +0 -0
  179. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_report.py +0 -0
  180. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_repr.py +0 -0
  181. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_routine.py +0 -0
  182. {ltbams-0.9.9 → ltbams-0.9.10}/tests/test_service.py +0 -0
  183. {ltbams-0.9.9 → ltbams-0.9.10}/versioneer.py +0 -0
@@ -0,0 +1,102 @@
1
+ ============
2
+ Contributing
3
+ ============
4
+
5
+ Contributions are welcome, and they are greatly appreciated! Every
6
+ little bit helps, and credit will always be given.
7
+
8
+ You can contribute in many ways:
9
+
10
+ Types of Contributions
11
+ ----------------------
12
+
13
+ Report Bugs
14
+ ~~~~~~~~~~~
15
+
16
+ Report bugs at https://github.com/CURENT/ams/issues.
17
+
18
+ If you are reporting a bug, please include:
19
+
20
+ * Any details about your local setup that might be helpful in troubleshooting.
21
+ * Detailed steps to reproduce the bug.
22
+
23
+ Fix Bugs
24
+ ~~~~~~~~
25
+
26
+ Look through the GitHub issues for bugs. Anything tagged with "bug"
27
+ is open to whoever wants to implement it.
28
+
29
+ Implement Features
30
+ ~~~~~~~~~~~~~~~~~~
31
+
32
+ Look through the GitHub issues for features. Anything tagged with "feature"
33
+ is open to whoever wants to implement it.
34
+
35
+ Write Documentation
36
+ ~~~~~~~~~~~~~~~~~~~
37
+
38
+ AMS could always use more documentation, whether
39
+ as part of the official AMS docs, in docstrings,
40
+ or even on the web in blog posts, articles, and such.
41
+
42
+ Submit Feedback
43
+ ~~~~~~~~~~~~~~~
44
+
45
+ The best way to send feedback is to file an issue at https://github.com/CURENT/ams/issues.
46
+
47
+ If you are proposing a feature:
48
+
49
+ * Explain in detail how it would work.
50
+ * Keep the scope as narrow as possible, to make it easier to implement.
51
+ * Remember that this is a volunteer-driven project, and that contributions
52
+ are welcome :)
53
+
54
+ Get Started!
55
+ ------------
56
+
57
+ Ready to contribute? Here's how to set up `ams` for local development.
58
+
59
+ 1. Fork the `ams` repo on GitHub.
60
+ 2. Clone your fork locally::
61
+
62
+ $ git clone git@github.com:your_name_here/ams.git
63
+
64
+ 3. Install your local copy into a virtualenv. Assuming you have virtualenv wrapper installed, this is how you
65
+ set up your fork for local development::
66
+
67
+ $ mkvirtualenv ams
68
+ $ cd ams/
69
+ $ pip install -e .[dev]
70
+
71
+ 4. Create a branch for local development::
72
+
73
+ $ git checkout -b name-of-your-bugfix-or-feature
74
+
75
+ Now you can make your changes locally.
76
+
77
+ 5. When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox::
78
+
79
+ $ flake8 ams tests
80
+ $ ams selftest
81
+
82
+
83
+ 6. Commit your changes and push your branch to GitHub::
84
+
85
+ $ git add .
86
+ $ git commit -m "Your detailed description of your changes."
87
+ $ git push origin name-of-your-bugfix-or-feature
88
+
89
+ 7. Submit a pull request through the GitHub website.
90
+
91
+ Pull Request Guidelines
92
+ -----------------------
93
+
94
+ Before you submit a pull request, check that it meets these guidelines:
95
+
96
+ 1. The pull request should include tests.
97
+ 2. If the pull request adds functionality, the docs should be updated. Put
98
+ your new functionality into a function with a docstring, and add the
99
+ feature to the list in README.rst.
100
+ 3. The pull request should work for Python 3.9 and up. Check
101
+ https://github.com/CURENT/ams/actions
102
+ and make sure that the tests pass for all supported Python versions.
@@ -0,0 +1,17 @@
1
+ include CONTRIBUTING.rst
2
+ include LICENSE
3
+ include README.md
4
+ include requirements.txt
5
+ include requirements-extra.txt
6
+
7
+ recursive-exclude * __pycache__
8
+ recursive-exclude * *.py[co]
9
+
10
+ recursive-include ams/cases *.xlsx *.m *.raw *.dyr *.py *.json
11
+ recursive-include docs *.rst *.png conf.py Makefile make.bat
12
+
13
+ include versioneer.py
14
+ include ams/_version.py
15
+
16
+ # If including data files in the package, add them like:
17
+ # include path/to/data_file
ltbams-0.9.10/PKG-INFO ADDED
@@ -0,0 +1,153 @@
1
+ Metadata-Version: 2.1
2
+ Name: ltbams
3
+ Version: 0.9.10
4
+ Summary: Python software for scheduling modeling and co-simulation with dynanics.
5
+ Home-page: https://github.com/CURENT/ams
6
+ Author: Jinning Wang
7
+ Author-email: jinninggm@gmail.com
8
+ License: GNU Public License v3
9
+ Platform: UNKNOWN
10
+ Classifier: Development Status :: 4 - Beta
11
+ Classifier: Natural Language :: English
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)
14
+ Classifier: Environment :: Console
15
+ Description-Content-Type: text/markdown
16
+ Provides-Extra: all
17
+ Provides-Extra: coverage
18
+ Provides-Extra: dev
19
+ Provides-Extra: doc
20
+ Provides-Extra: flake8
21
+ Provides-Extra: ipython
22
+ Provides-Extra: myst-parser
23
+ Provides-Extra: nbsphinx
24
+ Provides-Extra: numpydoc
25
+ Provides-Extra: pydata-sphinx-theme
26
+ Provides-Extra: pyscipopt
27
+ Provides-Extra: pytest
28
+ Provides-Extra: pytest-cov
29
+ Provides-Extra: sphinx
30
+ Provides-Extra: sphinx-copybutton
31
+ Provides-Extra: sphinx-panels
32
+ License-File: LICENSE
33
+
34
+ # LTB AMS
35
+
36
+ Python Software for Power System Scheduling Modeling and Co-Simulation with Dynanic, serving as the market simulator for the [CURENT Largescale Testbed][LTB Repository].
37
+
38
+ [![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-blue.svg)](https://github.com/CURENT/ams/blob/master/LICENSE)
39
+ ![platforms](https://anaconda.org/conda-forge/ltbams/badges/platforms.svg)
40
+ [![Python Versions](https://img.shields.io/badge/Python-3.9%20%7C%203.10%20%7C%203.11%20%7C%203.12-blue)](https://www.python.org/)
41
+ ![Repo Size](https://img.shields.io/github/repo-size/CURENT/ams)
42
+ [![GitHub last commit (master)](https://img.shields.io/github/last-commit/CURENT/ams/master?label=last%20commit%20to%20master)](https://github.com/CURENT/ams/commits/master/)
43
+ [![GitHub last commit (develop)](https://img.shields.io/github/last-commit/CURENT/ams/develop?label=last%20commit%20to%20develop)](https://github.com/CURENT/ams/commits/develop/)
44
+ [![libraries](https://img.shields.io/librariesio/release/pypi/ltbams)](https://libraries.io/pypi/ltbams)
45
+ [![Structure](https://img.shields.io/badge/code_base-visualize-blue)](https://mango-dune-07a8b7110.1.azurestaticapps.net/?repo=CURENT%2Fams)
46
+
47
+ <img src="docs/source/images/sponsors/CURENT_Logo_NameOnTrans.png" alt="CURENT ERC Logo" width="300" height="auto">
48
+
49
+ | | Latest | Stable |
50
+ |---------------|-----------------------------------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------|
51
+ | Documentation | [![Latest Documentation](https://readthedocs.org/projects/ams/badge/?version=latest)](https://ams.readthedocs.io/en/latest/?badge=latest) | [![Documentation Status](https://readthedocs.org/projects/ams/badge/?version=stable)](https://ams.readthedocs.io/en/stable/?badge=stable) |
52
+
53
+
54
+ | Badges | | |
55
+ |---------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
56
+ | Downloads | [![PyPI Version](https://img.shields.io/pypi/v/ltbams.svg)](https://pypi.python.org/pypi/ltbams) | [![Conda Version](https://anaconda.org/conda-forge/ltbams/badges/version.svg)](https://anaconda.org/conda-forge/ltbams) |
57
+ | Try on Binder | [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/curent/ams/master) | |
58
+ | Code Quality |[![Codacy Badge](https://app.codacy.com/project/badge/Grade/69456da1b8634f2f984bd769e35f0050)](https://app.codacy.com/gh/CURENT/ams/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)| [![Codacy Badge](https://app.codacy.com/project/badge/Coverage/69456da1b8634f2f984bd769e35f0050)](https://app.codacy.com/gh/CURENT/ams/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_coverage) |
59
+ | Build Status | [![GitHub Action Status](https://github.com/CURENT/ams/workflows/Python%20application/badge.svg)](https://github.com/curent/ams/actions) | [![Build Status](https://dev.azure.com/curentltb/ams/_apis/build/status%2FCURENT.ams?branchName=master)](https://dev.azure.com/curentltb/ams/_build/latest?definitionId=2&branchName=master) |
60
+
61
+
62
+ # Why AMS
63
+
64
+ With the built-in interface with dynamic simulation engine, ANDES, AMS enables Dynamics Interfaced Stability Constrained Production Cost and Market Operation Modeling.
65
+
66
+ AMS produces credible scheduling results and competitive performance.
67
+ The following results show the comparison of DCOPF between AMS and other tools.
68
+
69
+ | Cost [\$] | AMS | MATPOWER | pandapower |
70
+ |----------------:|--------------:|------------:|-----------:|
71
+ | PEGASE 1354-Bus | 1,173,590.63 | 1,173,590.63 | 1,173,590.63 |
72
+ | PEGASE 2869-Bus | 2,338,915.61 | 2,338,915.61 | 2,338,915.61 |
73
+ | GOC 4020-Bus | 793,634.11 | 793,634.11 | 793,634.11 |
74
+ | EPIGRIDS 5658-Bus| 1,195,466.12 | 1,195,466.12 | 1,195,466.12 |
75
+ | EPIGRIDS 7336-Bus| 1,855,870.94 | 1,855,870.94 | 1,855,870.94 |
76
+
77
+ <img src="docs/source/images/dcopf_time.png" alt="DCOPF Time" width="400" height="auto">
78
+
79
+ AMS is currently under active development.
80
+ Use the following resources to get involved.
81
+
82
+ - Start from the [documentation][readthedocs] for installation and tutorial.
83
+ - Check out examples in the [examples folder][examples]
84
+ - Read the model verification results in the [examples/verification folder][verification]
85
+ - Ask a question in the [GitHub Discussions][Github Discussions]
86
+ - Report bugs or issues by submitting a [GitHub issue][GitHub issues]
87
+ - Submit contributions using [pull requests][GitHub pull requests]
88
+ - Read release notes highlighted [here][release notes]
89
+ - Try in Jupyter Notebook on [Binder][Binder]
90
+ <!-- + Check out and and cite our [paper][arxiv paper] -->
91
+
92
+ # Installation
93
+
94
+ ***NOTE:***
95
+ - Version **0.9.9** has known issues. Please avoid using this version
96
+ - `kvxopt` is recommended to install via `conda` as sometimes ``pip`` struggles to set the correct path for compiled libraries
97
+ - `cvxpy` versions **below 1.5** are incompatible with `numpy` versions **2.0 and above**
98
+
99
+ AMS is released as ``ltbams`` on PyPI and conda-forge.
100
+ Install from PyPI using pip:
101
+
102
+ ```bash
103
+ pip install ltbams
104
+ ```
105
+
106
+ Install from conda-forge using conda:
107
+
108
+ ```bash
109
+ conda install conda-forge::ltbams
110
+ ```
111
+
112
+ Install from GitHub source:
113
+
114
+ ```bash
115
+ pip install git+https://github.com/CURENT/ams.git
116
+ ```
117
+
118
+ # Sponsors and Contributors
119
+ AMS is the scheduling simulation engine for the CURENT Largescale Testbed (LTB).
120
+ More information about CURENT LTB can be found at the [LTB Repository][LTB Repository].
121
+
122
+ This work was supported in part by the Engineering Research Center Program of the National Science Foundation and the Department of Energy
123
+ under NSF Award Number EEC-1041877 and the CURENT Industry Partnership Program.
124
+
125
+ This work was supported in part by the Advanced Grid Research and Development Program in the Office of Electricity at the U.S. Department of Energy.
126
+
127
+ See [GitHub contributors][GitHub contributors] for the contributor list.
128
+
129
+ # License
130
+ AMS is licensed under the [GPL v3 License](./LICENSE).
131
+
132
+ # Related Projects
133
+ - [Popular Open Source Libraries for Power System Analysis](https://github.com/jinningwang/best-of-ps)
134
+ - [G-PST Tools Portal](https://g-pst.github.io/tools/): An open tools portal with a classification approach
135
+ - [Open Source Software (OSS) for Electricity Market Research, Teaching, and Training](https://www2.econ.iastate.edu/tesfatsi/ElectricOSS.htm)
136
+
137
+ Some commercial solvers provide academic licenses, such as COPT, GUROBI, CPLEX, and MOSEK.
138
+
139
+ * * *
140
+
141
+ [GitHub releases]: https://github.com/CURENT/ams/releases
142
+ [GitHub issues]: https://github.com/CURENT/ams/issues
143
+ [Github Discussions]: https://github.com/CURENT/ams/discussions
144
+ [GitHub insights]: https://github.com/CURENT/ams/pulse
145
+ [GitHub pull requests]: https://github.com/CURENT/ams/pulls
146
+ [GitHub contributors]: https://github.com/CURENT/ams/graphs/contributors
147
+ [readthedocs]: https://ams.readthedocs.io
148
+ [release notes]: https://ams.readthedocs.io/en/latest/release-notes.html
149
+ [examples]: https://github.com/CURENT/ams/tree/master/examples
150
+ [verification]: https://github.com/CURENT/ams/tree/master/examples/verification
151
+ [Binder]: https://mybinder.org/v2/gh/curent/ams/master
152
+ [LTB Repository]: https://github.com/CURENT
153
+
@@ -8,7 +8,6 @@ Python Software for Power System Scheduling Modeling and Co-Simulation with Dyna
8
8
  ![Repo Size](https://img.shields.io/github/repo-size/CURENT/ams)
9
9
  [![GitHub last commit (master)](https://img.shields.io/github/last-commit/CURENT/ams/master?label=last%20commit%20to%20master)](https://github.com/CURENT/ams/commits/master/)
10
10
  [![GitHub last commit (develop)](https://img.shields.io/github/last-commit/CURENT/ams/develop?label=last%20commit%20to%20develop)](https://github.com/CURENT/ams/commits/develop/)
11
- [![HitCount](https://hits.dwyl.com/CURENT/ams.svg)](https://hits.dwyl.com/CURENT/ams)
12
11
  [![libraries](https://img.shields.io/librariesio/release/pypi/ltbams)](https://libraries.io/pypi/ltbams)
13
12
  [![Structure](https://img.shields.io/badge/code_base-visualize-blue)](https://mango-dune-07a8b7110.1.azurestaticapps.net/?repo=CURENT%2Fams)
14
13
 
@@ -60,8 +59,9 @@ Use the following resources to get involved.
60
59
  # Installation
61
60
 
62
61
  ***NOTE:***
63
- - ``kvxopt`` is recommended to install via ``conda`` as sometimes ``pip`` struggles to set the correct path for compiled libraries
64
- - `cvxpy` versions **below 1.5** are incompatible with `numpy` versions **2.0 and above**.
62
+ - Version **0.9.9** has known issues. Please avoid using this version
63
+ - `kvxopt` is recommended to install via `conda` as sometimes ``pip`` struggles to set the correct path for compiled libraries
64
+ - `cvxpy` versions **below 1.5** are incompatible with `numpy` versions **2.0 and above**
65
65
 
66
66
  AMS is released as ``ltbams`` on PyPI and conda-forge.
67
67
  Install from PyPI using pip:
@@ -1,5 +1,5 @@
1
1
 
2
- # This file was generated by 'versioneer.py' (0.29) from
2
+ # This file was generated by 'versioneer.py' (0.22) from
3
3
  # revision-control system data, or from the parent directory name of an
4
4
  # unpacked source archive. Distribution tarballs contain a pre-generated copy
5
5
  # of this file.
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2024-09-02T17:38:15-0400",
11
+ "date": "2024-09-03T22:41:38-0400",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "0b3b3c26e50a763fbd1cb0daaca46b556a062396",
15
- "version": "0.9.9"
14
+ "full-revisionid": "8bc9504a8281c16236c73decd8e7365b682c706c",
15
+ "version": "0.9.10"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18