ltbams 1.0.3a1__py3-none-any.whl → 1.0.4__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.
ams/_version.py CHANGED
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2025-02-02T08:55:36-0500",
11
+ "date": "2025-04-05T23:02:48-0400",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "8a697edc2d5ab9e5451fa1d4a5b2bec41d180d4c",
15
- "version": "1.0.3a1"
14
+ "full-revisionid": "af7a4e10ba2e35c4180562cf62f69ba5523c6725",
15
+ "version": "1.0.4"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
ams/core/matprocessor.py CHANGED
@@ -485,25 +485,6 @@ class MatProcessor:
485
485
  If True, use UMFPACK as the solver. Effective only when (`incremental=True`)
486
486
  & (`line` contains a single line or `step` is 1). Default is True.
487
487
 
488
- Parameters
489
- ----------
490
- line: int, str, list, optional
491
- Lines index for which the PTDF is calculated. It takes both single
492
- or multiple line indices. Note that if `line` is given, the PTDF will
493
- not be stored in the MParam.
494
- no_store : bool, optional
495
- If False, the PTDF will be stored into `MatProcessor.PTDF._v`.
496
- incremental : bool, optional
497
- If True, the sparse PTDF will be calculated in chunks to save memory.
498
- step : int, optional
499
- Step for incremental calculation.
500
- no_tqdm : bool, optional
501
- If True, the progress bar will be disabled.
502
- permc_spec : str, optional
503
- How to permute the columns of the matrix for sparsity preservation. (default: 'COLAMD')
504
- use_umfpack : bool, optional
505
- If True, use UMFPACK as the solver. (default: True)
506
-
507
488
  Returns
508
489
  -------
509
490
  PTDF : np.ndarray or scipy.sparse.lil_matrix
@@ -6,17 +6,22 @@ Release notes
6
6
 
7
7
  The APIs before v3.0.0 are in beta and may change without prior notice.
8
8
 
9
- Pre-v1.0.0
9
+ v1.0
10
10
  ==========
11
11
 
12
- v1.0.3 (2024-xx-xx)
12
+ v1.0.4 (2024-04-05)
13
+ --------------------
14
+
15
+ - Fix format in release notes
16
+ - Add badges of GitHub relesase and commits in README
17
+ - Add a demo to show sensitivity matrices calculation
13
18
 
19
+ v1.0.3 (2024-03-17)
14
20
  --------------------
15
21
 
16
22
  - Bug fix in function ``ams.interface.parse_addfile``, released in v1.0.3a1
17
23
 
18
24
  v1.0.2 (2024-02-01)
19
-
20
25
  --------------------
21
26
 
22
27
  - Enhance the GitHub Actions workflow file
@@ -41,6 +46,9 @@ v1.0.0 (2024-01-24)
41
46
  - Deprecate method ``get_idx`` and suggest using ``get_all_idxes`` instead
42
47
  - Remove module ``benchmarks.py`` and its tests for simplicity
43
48
 
49
+ Pre-v1.0
50
+ ==========
51
+
44
52
  v0.9.13 (2024-12-05)
45
53
  --------------------
46
54
 
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: ltbams
3
- Version: 1.0.3a1
3
+ Version: 1.0.4
4
4
  Summary: Python software for scheduling modeling and co-simulation with dynamics.
5
5
  Home-page: https://github.com/CURENT/ams
6
6
  Author: Jinning Wang
@@ -33,11 +33,17 @@ Python Software for Power System Scheduling Modeling and Co-Simulation with Dyna
33
33
  [![License: GPL-3.0](https://img.shields.io/badge/License-GPL--3.0-blue.svg)](https://github.com/CURENT/ams/blob/master/LICENSE)
34
34
  ![platforms](https://anaconda.org/conda-forge/ltbams/badges/platforms.svg)
35
35
  [![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/)
36
+ [![DOI:10.1109/TSTE.2025.3528027](https://zenodo.org/badge/DOI/10.1109/TSTE.2025.3528027.svg)](https://ieeexplore.ieee.org/document/10836855)
36
37
  [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
37
- ![Repo Size](https://img.shields.io/github/repo-size/CURENT/ams)
38
+ [![codecov](https://codecov.io/gh/CURENT/ams/graph/badge.svg?token=RZI5GLLBQH)](https://codecov.io/gh/CURENT/ams)
39
+
40
+ ![GitHub Tag](https://img.shields.io/github/v/tag/CURENT/ams)
41
+ ![GitHub commits since latest release (branch)](https://img.shields.io/github/commits-since/curent/ams/latest/develop)
38
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/)
39
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
+
40
45
  [![libraries](https://img.shields.io/librariesio/release/pypi/ltbams)](https://libraries.io/pypi/ltbams)
46
+ ![Repo Size](https://img.shields.io/github/repo-size/CURENT/ams)
41
47
  [![Structure](https://img.shields.io/badge/code_base-visualize-blue)](https://mango-dune-07a8b7110.1.azurestaticapps.net/?repo=CURENT%2Fams)
42
48
 
43
49
  [![Compatibility Tests](https://github.com/CURENT/ams/actions/workflows/compatibility.yml/badge.svg)](https://github.com/CURENT/ams/actions/workflows/compatibility.yml)
@@ -212,4 +218,4 @@ Some commercial solvers provide academic licenses, such as COPT, GUROBI, CPLEX,
212
218
  [Binder]: https://mybinder.org/v2/gh/curent/ams/master
213
219
  [LTB Repository]: https://github.com/CURENT
214
220
  [benchmark]: https://github.com/CURENT/demo/tree/master/demo/ams_benchmark
215
- [paper]: https://ieeexplore.ieee.org/document/9169830
221
+ [paper]: https://ieeexplore.ieee.org/document/10836855
@@ -1,6 +1,6 @@
1
1
  ams/__init__.py,sha256=dKIwng8xES4NQHn6ZHy8RCKeXphN9z2wyfmbvniIEg0,351
2
2
  ams/__main__.py,sha256=EB4GfGiKgvnQ_psNr0QwPoziYvjmGvQ2yVsBwQtfrLw,170
3
- ams/_version.py,sha256=jA4hGqiTxLiBPzRLM8URDRE3F6wZ9myl6bTEt2GKIkQ,499
3
+ ams/_version.py,sha256=QJewH8SVJp4BIef-1_4TgcwsHFkIMiPuupiTKidj58o,497
4
4
  ams/cli.py,sha256=EyNFXn565gFCppTxpyTZviBdPgUuKtgAPZ4WE6xewRk,6164
5
5
  ams/interface.py,sha256=PCR9geO-pvCxXxljWP4u3M-BAdVD5DjA3xvf338g9x8,44487
6
6
  ams/main.py,sha256=wzKLe_BeQAUyFh-U1cxQIOwr-rAJM8ppB3EEi6_v2tw,23607
@@ -38,7 +38,7 @@ ams/cases/wecc/wecc.m,sha256=8Wqal6H5r1wNxLLQBCXo2V3v3JZY5IJDEkyrEGCrCWE,30498
38
38
  ams/cases/wecc/wecc_uced.xlsx,sha256=R3tZgxEqz_ctKcjA1wwFecxn-QZXutvf7NzgnCg_078,94767
39
39
  ams/core/__init__.py,sha256=OUJFLACc9Ggjvzi6DZfmfxrzciRcGtpLTsBfdbOUxGg,80
40
40
  ams/core/documenter.py,sha256=FNkpiP65iO809B4Bgmp5C1QeJTQHi-sS9vTP7Wd9D8Q,23131
41
- ams/core/matprocessor.py,sha256=R3nsA3irZz4cTQMQxE0TXWw9-LucW9PsEMmphA80xns,27608
41
+ ams/core/matprocessor.py,sha256=fkfEE2-PcIuwgeDujyWdW-KNf-JUFhIAOkoWqMAHbnw,26700
42
42
  ams/core/model.py,sha256=vXLActAi9tLXRCNd5RrEMVWvF0Wt4mwltiRY5CjgrP4,10928
43
43
  ams/core/param.py,sha256=LPH48xUHyqWqODD6IsiamUtkJDDSgGCEMAo6vroFoHE,11130
44
44
  ams/core/service.py,sha256=bCeBKoVBd42UVGvjP1dU6DpP6LBW5FGWq3bbOHYSlCI,27984
@@ -126,7 +126,7 @@ docs/source/conf.py,sha256=ozLsGWVbFOZZfruXlvL6ou8i-R8kyCYZedtDzSQVRoU,6688
126
126
  docs/source/genmodelref.py,sha256=IhmF7bDw8BXPvLD8V3WjQNrfc-H07r5iS-_4DHbbp-8,1420
127
127
  docs/source/genroutineref.py,sha256=0JyMc2kV5bWrWbSoO6d7o4QgDgG8mVy3JGGQWacJypw,1064
128
128
  docs/source/index.rst,sha256=N5phQS5RIyYs-NZo_5yYB8LjvHzOKLeXzRA-M8i-g3Q,2688
129
- docs/source/release-notes.rst,sha256=Xna3XJePxxdJxoSAUXQJXwwfKhug0AqQH4OERU3qAxw,12712
129
+ docs/source/release-notes.rst,sha256=VX7Pf8XDe1jrT0jO1eJjoj3hRLkwKt2vId16B-cBPEg,12906
130
130
  docs/source/_templates/autosummary/base.rst,sha256=zl3U4baR4a6YjsHyT-x9zCOrHwKZOVUdWn1NPX2u3bc,106
131
131
  docs/source/_templates/autosummary/class.rst,sha256=Hv_igCsLsUpM62_zN0nqj6FSfKnS5xLyu8ZldMbfOAk,668
132
132
  docs/source/_templates/autosummary/module.rst,sha256=YdbpCudOrEU-JbuSlzGvcOI2hn_KrCM6FW5HcGqkaEE,1113
@@ -181,8 +181,8 @@ tests/test_rtn_pflow.py,sha256=aDL5Ewm6lWqpdHqIIu-DTllhXzt4bMjsLJaKbJa8sXQ,6990
181
181
  tests/test_rtn_rted.py,sha256=AyW5B4A51L_nIVLX1eYeu9ZUboOh1CH2FVj2C1XJjSc,9769
182
182
  tests/test_rtn_uc.py,sha256=vdG2ss3q91CXLZ2sUgzoUr1NU-63ue7nOxAYywMordE,8286
183
183
  tests/test_service.py,sha256=8YIa_PXurwgOzsWvUqoyqS_AzlpdrKHIMxAln5fIqCU,2438
184
- ltbams-1.0.3a1.dist-info/METADATA,sha256=zvi17maPhlfJkiEqd-5cxzN7ussINfOaCHJ7_8CdF4o,13417
185
- ltbams-1.0.3a1.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
186
- ltbams-1.0.3a1.dist-info/entry_points.txt,sha256=FA56FlhO_yVNeEf810SrorVQb7_Xsmo3_EW-W-ijUfA,37
187
- ltbams-1.0.3a1.dist-info/top_level.txt,sha256=pyKDqG2kj13F9-BYd_wkruRdBSqLXw8Nwc-cmljqrxg,15
188
- ltbams-1.0.3a1.dist-info/RECORD,,
184
+ ltbams-1.0.4.dist-info/METADATA,sha256=bIJkTtYXfycQdXFyh9018Jkp2aqxwXSc0jJYsr100i0,13855
185
+ ltbams-1.0.4.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
186
+ ltbams-1.0.4.dist-info/entry_points.txt,sha256=FA56FlhO_yVNeEf810SrorVQb7_Xsmo3_EW-W-ijUfA,37
187
+ ltbams-1.0.4.dist-info/top_level.txt,sha256=pyKDqG2kj13F9-BYd_wkruRdBSqLXw8Nwc-cmljqrxg,15
188
+ ltbams-1.0.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5