ltbams 0.9.9__py3-none-any.whl → 1.0.2a1__py3-none-any.whl

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 (191) hide show
  1. ams/__init__.py +4 -11
  2. ams/_version.py +3 -3
  3. ams/cases/5bus/pjm5bus_demo.xlsx +0 -0
  4. ams/cases/5bus/pjm5bus_jumper.xlsx +0 -0
  5. ams/cases/5bus/pjm5bus_uced.json +1062 -0
  6. ams/cases/5bus/pjm5bus_uced.xlsx +0 -0
  7. ams/cases/5bus/pjm5bus_uced_esd1.xlsx +0 -0
  8. ams/cases/5bus/pjm5bus_uced_ev.xlsx +0 -0
  9. ams/cases/ieee123/ieee123.xlsx +0 -0
  10. ams/cases/ieee123/ieee123_regcv1.xlsx +0 -0
  11. ams/cases/ieee14/ieee14.json +1166 -0
  12. ams/cases/ieee14/ieee14.raw +92 -0
  13. ams/cases/ieee14/ieee14_conn.xlsx +0 -0
  14. ams/cases/ieee14/ieee14_uced.xlsx +0 -0
  15. ams/cases/ieee39/ieee39.xlsx +0 -0
  16. ams/cases/ieee39/ieee39_uced.xlsx +0 -0
  17. ams/cases/ieee39/ieee39_uced_esd1.xlsx +0 -0
  18. ams/cases/ieee39/ieee39_uced_pvd1.xlsx +0 -0
  19. ams/cases/ieee39/ieee39_uced_vis.xlsx +0 -0
  20. ams/cases/matpower/benchmark.json +1594 -0
  21. ams/cases/matpower/case118.m +787 -0
  22. ams/cases/matpower/case14.m +129 -0
  23. ams/cases/matpower/case300.m +1315 -0
  24. ams/cases/matpower/case39.m +205 -0
  25. ams/cases/matpower/case5.m +62 -0
  26. ams/cases/matpower/case_ACTIVSg2000.m +9460 -0
  27. ams/cases/npcc/npcc.m +644 -0
  28. ams/cases/npcc/npcc_uced.xlsx +0 -0
  29. ams/cases/pglib/pglib_opf_case39_epri__api.m +243 -0
  30. ams/cases/wecc/wecc.m +714 -0
  31. ams/cases/wecc/wecc_uced.xlsx +0 -0
  32. ams/cli.py +6 -0
  33. ams/core/__init__.py +2 -0
  34. ams/core/documenter.py +652 -0
  35. ams/core/matprocessor.py +782 -0
  36. ams/core/model.py +330 -0
  37. ams/core/param.py +322 -0
  38. ams/core/service.py +918 -0
  39. ams/core/symprocessor.py +224 -0
  40. ams/core/var.py +59 -0
  41. ams/extension/__init__.py +5 -0
  42. ams/extension/eva.py +401 -0
  43. ams/interface.py +1085 -0
  44. ams/io/__init__.py +133 -0
  45. ams/io/json.py +82 -0
  46. ams/io/matpower.py +406 -0
  47. ams/io/psse.py +6 -0
  48. ams/io/pypower.py +103 -0
  49. ams/io/xlsx.py +80 -0
  50. ams/main.py +81 -4
  51. ams/models/__init__.py +24 -0
  52. ams/models/area.py +40 -0
  53. ams/models/bus.py +52 -0
  54. ams/models/cost.py +169 -0
  55. ams/models/distributed/__init__.py +3 -0
  56. ams/models/distributed/esd1.py +71 -0
  57. ams/models/distributed/ev.py +60 -0
  58. ams/models/distributed/pvd1.py +67 -0
  59. ams/models/group.py +231 -0
  60. ams/models/info.py +26 -0
  61. ams/models/line.py +238 -0
  62. ams/models/renewable/__init__.py +5 -0
  63. ams/models/renewable/regc.py +119 -0
  64. ams/models/reserve.py +94 -0
  65. ams/models/shunt.py +14 -0
  66. ams/models/static/__init__.py +2 -0
  67. ams/models/static/gen.py +165 -0
  68. ams/models/static/pq.py +61 -0
  69. ams/models/timeslot.py +69 -0
  70. ams/models/zone.py +49 -0
  71. ams/opt/__init__.py +12 -0
  72. ams/opt/constraint.py +175 -0
  73. ams/opt/exprcalc.py +127 -0
  74. ams/opt/expression.py +188 -0
  75. ams/opt/objective.py +174 -0
  76. ams/opt/omodel.py +432 -0
  77. ams/opt/optzbase.py +192 -0
  78. ams/opt/param.py +156 -0
  79. ams/opt/var.py +233 -0
  80. ams/pypower/__init__.py +8 -0
  81. ams/pypower/_compat.py +9 -0
  82. ams/pypower/core/__init__.py +8 -0
  83. ams/pypower/core/pips.py +894 -0
  84. ams/pypower/core/ppoption.py +244 -0
  85. ams/pypower/core/ppver.py +18 -0
  86. ams/pypower/core/solver.py +2451 -0
  87. ams/pypower/eps.py +6 -0
  88. ams/pypower/idx.py +174 -0
  89. ams/pypower/io.py +604 -0
  90. ams/pypower/make/__init__.py +11 -0
  91. ams/pypower/make/matrices.py +665 -0
  92. ams/pypower/make/pdv.py +506 -0
  93. ams/pypower/routines/__init__.py +7 -0
  94. ams/pypower/routines/cpf.py +513 -0
  95. ams/pypower/routines/cpf_callbacks.py +114 -0
  96. ams/pypower/routines/opf.py +1803 -0
  97. ams/pypower/routines/opffcns.py +1946 -0
  98. ams/pypower/routines/pflow.py +852 -0
  99. ams/pypower/toggle.py +1098 -0
  100. ams/pypower/utils.py +293 -0
  101. ams/report.py +212 -50
  102. ams/routines/__init__.py +23 -0
  103. ams/routines/acopf.py +117 -0
  104. ams/routines/cpf.py +65 -0
  105. ams/routines/dcopf.py +241 -0
  106. ams/routines/dcpf.py +209 -0
  107. ams/routines/dcpf0.py +196 -0
  108. ams/routines/dopf.py +150 -0
  109. ams/routines/ed.py +312 -0
  110. ams/routines/pflow.py +255 -0
  111. ams/routines/pflow0.py +113 -0
  112. ams/routines/routine.py +1033 -0
  113. ams/routines/rted.py +519 -0
  114. ams/routines/type.py +160 -0
  115. ams/routines/uc.py +376 -0
  116. ams/shared.py +63 -9
  117. ams/system.py +61 -22
  118. ams/utils/__init__.py +3 -0
  119. ams/utils/misc.py +77 -0
  120. ams/utils/paths.py +257 -0
  121. docs/Makefile +21 -0
  122. docs/make.bat +35 -0
  123. docs/source/_templates/autosummary/base.rst +5 -0
  124. docs/source/_templates/autosummary/class.rst +35 -0
  125. docs/source/_templates/autosummary/module.rst +65 -0
  126. docs/source/_templates/autosummary/module_toctree.rst +66 -0
  127. docs/source/api.rst +102 -0
  128. docs/source/conf.py +203 -0
  129. docs/source/examples/index.rst +34 -0
  130. docs/source/genmodelref.py +61 -0
  131. docs/source/genroutineref.py +47 -0
  132. docs/source/getting_started/copyright.rst +20 -0
  133. docs/source/getting_started/formats/index.rst +20 -0
  134. docs/source/getting_started/formats/matpower.rst +183 -0
  135. docs/source/getting_started/formats/psse.rst +46 -0
  136. docs/source/getting_started/formats/pypower.rst +223 -0
  137. docs/source/getting_started/formats/xlsx.png +0 -0
  138. docs/source/getting_started/formats/xlsx.rst +23 -0
  139. docs/source/getting_started/index.rst +76 -0
  140. docs/source/getting_started/install.rst +234 -0
  141. docs/source/getting_started/overview.rst +26 -0
  142. docs/source/getting_started/testcase.rst +45 -0
  143. docs/source/getting_started/verification.rst +13 -0
  144. docs/source/images/curent.ico +0 -0
  145. docs/source/images/dcopf_time.png +0 -0
  146. docs/source/images/sponsors/CURENT_Logo_NameOnTrans.png +0 -0
  147. docs/source/images/sponsors/CURENT_Logo_Transparent.png +0 -0
  148. docs/source/images/sponsors/CURENT_Logo_Transparent_Name.png +0 -0
  149. docs/source/images/sponsors/doe.png +0 -0
  150. docs/source/index.rst +108 -0
  151. docs/source/modeling/example.rst +159 -0
  152. docs/source/modeling/index.rst +17 -0
  153. docs/source/modeling/model.rst +210 -0
  154. docs/source/modeling/routine.rst +122 -0
  155. docs/source/modeling/system.rst +51 -0
  156. docs/source/release-notes.rst +398 -0
  157. ltbams-1.0.2a1.dist-info/METADATA +210 -0
  158. ltbams-1.0.2a1.dist-info/RECORD +188 -0
  159. {ltbams-0.9.9.dist-info → ltbams-1.0.2a1.dist-info}/WHEEL +1 -1
  160. ltbams-1.0.2a1.dist-info/top_level.txt +3 -0
  161. tests/__init__.py +0 -0
  162. tests/test_1st_system.py +33 -0
  163. tests/test_addressing.py +40 -0
  164. tests/test_andes_mats.py +61 -0
  165. tests/test_case.py +266 -0
  166. tests/test_cli.py +34 -0
  167. tests/test_export_csv.py +89 -0
  168. tests/test_group.py +83 -0
  169. tests/test_interface.py +216 -0
  170. tests/test_io.py +32 -0
  171. tests/test_jumper.py +27 -0
  172. tests/test_known_good.py +267 -0
  173. tests/test_matp.py +437 -0
  174. tests/test_model.py +54 -0
  175. tests/test_omodel.py +119 -0
  176. tests/test_paths.py +22 -0
  177. tests/test_report.py +251 -0
  178. tests/test_repr.py +21 -0
  179. tests/test_routine.py +178 -0
  180. tests/test_rtn_dcopf.py +101 -0
  181. tests/test_rtn_dcpf.py +77 -0
  182. tests/test_rtn_ed.py +279 -0
  183. tests/test_rtn_pflow.py +219 -0
  184. tests/test_rtn_rted.py +273 -0
  185. tests/test_rtn_uc.py +248 -0
  186. tests/test_service.py +73 -0
  187. ltbams-0.9.9.dist-info/LICENSE +0 -692
  188. ltbams-0.9.9.dist-info/METADATA +0 -859
  189. ltbams-0.9.9.dist-info/RECORD +0 -14
  190. ltbams-0.9.9.dist-info/top_level.txt +0 -1
  191. {ltbams-0.9.9.dist-info → ltbams-1.0.2a1.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,92 @@
1
+ 0, 100.00, 32, 0, 1, 60.00 / PSS(R)E 32 RAW created by rawd32 SUN, MAY 17 2020 20:38
2
+ IEEE 14 BUS TEST CASE
3
+ 03/06/14 CONTO 100.0 1962 W
4
+ 1,'BUS1 ', 69.0000,3, 1, 1, 1,1.03000, 0.0000
5
+ 2,'BUS2 ', 69.0000,2, 1, 1, 1,1.01970, -1.6032
6
+ 3,'BUS3 ', 69.0000,2, 1, 1, 1,1.00042, -3.4433
7
+ 4,'BUS4 ', 69.0000,1, 1, 1, 1,0.99858, -4.2812
8
+ 5,'BUS5 ', 69.0000,1, 1, 1, 1,1.00443, -3.6850
9
+ 6,'BUS6 ', 138.0000,2, 2, 2, 2,0.99871, -6.3024
10
+ 7,'BUS7 ', 138.0000,1, 2, 2, 2,1.00682, -4.8292
11
+ 8,'BUS8 ', 69.0000,2, 2, 2, 2,1.01895, -1.3945
12
+ 9,'BUS9 ', 138.0000,1, 2, 2, 2,1.00193, -7.3053
13
+ 10,'BUS10 ', 138.0000,1, 2, 2, 2,0.99351, -7.4600
14
+ 11,'BUS11 ', 138.0000,1, 2, 2, 2,0.99245, -7.0444
15
+ 12,'BUS12 ', 138.0000,1, 2, 2, 2,0.98639, -7.3874
16
+ 13,'BUS13 ', 138.0000,1, 2, 2, 2,0.98403, -7.6654
17
+ 14,'BUS14 ', 138.0000,1, 2, 2, 2,0.99063, -9.5636
18
+ 0 /End of Bus data, Begin Load data
19
+ 2,'1 ',1, 1, 1, 21.700, 12.700, 0.000, 0.000, 0.000, 0.000, 1,1
20
+ 3,'1 ',1, 1, 1, 50.000, 25.000, 0.000, 0.000, 0.000, 0.000, 1,1
21
+ 4,'1 ',1, 1, 1, 47.800, 10.000, 0.000, 0.000, 0.000, 0.000, 1,1
22
+ 5,'1 ',1, 1, 1, 7.600, 1.600, 0.000, 0.000, 0.000, 0.000, 1,1
23
+ 6,'1 ',1, 2, 2, 15.000, 7.500, 0.000, 0.000, 0.000, 0.000, 2,1
24
+ 9,'1 ',1, 2, 2, 29.500, 16.600, 0.000, 0.000, 0.000, 0.000, 2,1
25
+ 10,'1 ',1, 2, 2, 9.000, 5.800, 0.000, 0.000, 0.000, 0.000, 2,1
26
+ 11,'1 ',1, 2, 2, 3.500, 1.800, 0.000, 0.000, 0.000, 0.000, 2,1
27
+ 12,'1 ',1, 2, 2, 6.100, 1.600, 0.000, 0.000, 0.000, 0.000, 2,1
28
+ 13,'1 ',1, 2, 2, 13.500, 5.800, 0.000, 0.000, 0.000, 0.000, 2,1
29
+ 14,'1 ',1, 2, 2, 20.000, 7.000, 0.000, 0.000, 0.000, 0.000, 2,1
30
+ 0 /End of Load data, Begin Fixed shunt data
31
+ 0 /End of Fixed shunt data, Begin Generator data
32
+ 1,'1 ', 81.442, 1.962, 100.000, -50.000,1.03000, 0, 100.000, 0.00000E+0, 2.30000E-1, 0.00000E+0, 0.00000E+0,1.00000,1, 100.0, 200.000, 50.000, 1,1.0000
33
+ 2,'1 ', 40.000, 15.000, 15.000, -40.000,1.03000, 0, 100.000, 0.00000E+0, 1.30000E-1, 0.00000E+0, 0.00000E+0,1.00000,1, 100.0, 50.000, 10.000, 1,1.0000
34
+ 3,'1 ', 40.000, 15.000, 15.000, -10.000,1.01000, 0, 100.000, 0.00000E+0, 1.30000E-1, 0.00000E+0, 0.00000E+0,1.00000,1, 100.0, 50.000, 10.000, 1,1.0000
35
+ 6,'1 ', 30.000, 10.000, 10.000, -6.000,1.03000, 0, 100.000, 0.00000E+0, 1.20000E-1, 0.00000E+0, 0.00000E+0,1.00000,1, 100.0, 50.000, 10.000, 1,1.0000
36
+ 8,'1 ', 35.000, 10.000, 10.000, -6.000,1.03000, 0, 100.000, 0.00000E+0, 1.20000E-1, 0.00000E+0, 0.00000E+0,1.00000,1, 100.0, 50.000, 10.000, 1,1.0000
37
+ 0 /End of Generator data, Begin Branch data
38
+ 1, 2,'1 ', 1.93800E-2, 5.91700E-2, 0.05280, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
39
+ 1, 5,'1 ', 5.40300E-2, 2.23040E-1, 0.04920, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
40
+ 2, 3,'1 ', 4.69900E-2, 1.97970E-1, 0.04380, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
41
+ 2, 4,'1 ', 5.81100E-2, 1.76320E-1, 0.03400, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
42
+ 2, 5,'1 ', 5.69500E-2, 1.73880E-1, 0.03460, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
43
+ 3, 4,'1 ', 6.70100E-2, 1.71030E-1, 0.01280, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
44
+ 4, 5,'1 ', 1.33500E-2, 4.21100E-2, 0.00000, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
45
+ 6, 11,'1 ', 9.49800E-2, 1.98900E-1, 0.00000, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
46
+ 6, 12,'1 ', 1.22910E-1, 2.55810E-1, 0.00000, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
47
+ 6, 13,'1 ', 6.61500E-2, 1.30270E-1, 0.00000, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
48
+ 7, 9,'1 ',-0.00000E+0, 1.10010E-1, 0.00000, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
49
+ 9, 10,'1 ', 3.18100E-2, 8.45000E-2, 0.00000, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
50
+ 9, 14,'1 ', 1.27110E-1, 2.70380E-1, 0.00000, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
51
+ 10, 11,'1 ', 8.20500E-2, 1.92070E-1, 0.00000, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
52
+ 12, 13,'1 ', 2.20920E-1, 1.99880E-1, 0.00000, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
53
+ 13, 14,'1 ', 1.70930E-1, 3.48020E-1, 0.00000, 100.00, 100.00, 0.00, 0.00000, 0.00000, 0.00000, 0.00000,1,1, 0.00, 1,1.0000
54
+ 0 /End of Branch data, Begin Transformer data
55
+ 4, 7, 0,'1 ',1,1,1, 0.00000E+0, 0.00000E+0,2,' ',1, 1,1.0000
56
+ 0.00000E+0, 2.09120E-1, 100.00
57
+ 0.99677, 0.000, 0.000, 20.00, 20.00, 0.00,-1, 0, 1.10000, 0.90000, 1.10000, 0.90000, 32, 0, 0.00000, 0.00000, 0.000
58
+ 1.00000, 0.000
59
+ 4, 9, 0,'1 ',1,1,1, 0.00000E+0, 0.00000E+0,2,' ',1, 1,1.0000
60
+ 0.00000E+0, 5.56180E-1, 100.00
61
+ 0.99677, 0.000, 0.000, 20.00, 20.00, 0.00,-1, 0, 1.10000, 0.90000, 1.10000, 0.90000, 32, 0, 0.00000, 0.00000, 0.000
62
+ 1.00000, 0.000
63
+ 6, 5, 0,'1 ',1,1,1, 0.00000E+0, 0.00000E+0,1,' ',1, 1,1.0000
64
+ 0.00000E+0, 2.52020E-1, 100.00
65
+ 0.99677, 0.000, 0.000, 50.00, 50.00, 0.00,-1, 0, 1.10000, 0.90000, 1.10000, 0.90000, 32, 0, 0.00000, 0.00000, 0.000
66
+ 1.00000, 0.000
67
+ 8, 7, 0,'1 ',1,1,1, 0.00000E+0, 0.00000E+0,1,' ',1, 1,1.0000
68
+ 0.00000E+0, 1.76150E-1, 100.00
69
+ 0.99677, 0.000, 0.000, 50.00, 50.00, 0.00,-1, 0, 1.10000, 0.90000, 1.10000, 0.90000, 32, 0, 0.00000, 0.00000, 0.000
70
+ 1.00000, 0.000
71
+ 0 /End of Transformer data, Begin Area interchange data
72
+ 1, 2, 0.000, 999.990,'AREA1 '
73
+ 2, 0, 0.000, 10.000,'AREA2 '
74
+ 0 /End of Area interchange data, Begin Two-terminal dc line data
75
+ 0 /End of Two-terminal dc line data, Begin VSC dc line data
76
+ 0 /End of VSC dc line data, Begin Impedance correction table data
77
+ 0 /End of Impedance correction table data, Begin Multi-terminal dc line data
78
+ 0 /End of Multi-terminal dc line data, Begin Multi-section line data
79
+ 0 /End of Multi-section line data, Begin Zone data
80
+ 1,'ZONE1 '
81
+ 2,'ZONE2 '
82
+ 0 /End of Zone data, Begin Inter-area transfer data
83
+ 0 /End of Inter-area transfer data, Begin Owner data
84
+ 1,'OWNER1 '
85
+ 2,'OWNER2 '
86
+ 0 /End of Owner data, Begin FACTS device data
87
+ 0 /End of FACTS device data, Begin Switched shunt data
88
+ 9,1,0,1,1.02500,0.96000, 0, 100.0,' ', 19.00, 3, 5.00, 1, 4.00
89
+ 14,1,0,1,1.02500,0.96000, 0, 100.0,' ', 15.00, 3, 5.00
90
+ 0 /End of Switched shunt data, Begin GNE device data
91
+ 0 /End of GNE device data
92
+ Q
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file