ltbams 1.0.2a2__py3-none-any.whl → 1.0.3a1__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 +3 -3
- ams/interface.py +6 -1
- docs/source/release-notes.rst +6 -0
- {ltbams-1.0.2a2.dist-info → ltbams-1.0.3a1.dist-info}/METADATA +4 -3
- {ltbams-1.0.2a2.dist-info → ltbams-1.0.3a1.dist-info}/RECORD +8 -8
- {ltbams-1.0.2a2.dist-info → ltbams-1.0.3a1.dist-info}/WHEEL +0 -0
- {ltbams-1.0.2a2.dist-info → ltbams-1.0.3a1.dist-info}/entry_points.txt +0 -0
- {ltbams-1.0.2a2.dist-info → ltbams-1.0.3a1.dist-info}/top_level.txt +0 -0
ams/_version.py
CHANGED
@@ -8,11 +8,11 @@ import json
|
|
8
8
|
|
9
9
|
version_json = '''
|
10
10
|
{
|
11
|
-
"date": "2025-02-
|
11
|
+
"date": "2025-02-02T08:55:36-0500",
|
12
12
|
"dirty": false,
|
13
13
|
"error": null,
|
14
|
-
"full-revisionid": "
|
15
|
-
"version": "1.0.
|
14
|
+
"full-revisionid": "8a697edc2d5ab9e5451fa1d4a5b2bec41d180d4c",
|
15
|
+
"version": "1.0.3a1"
|
16
16
|
}
|
17
17
|
''' # END VERSION_JSON
|
18
18
|
|
ams/interface.py
CHANGED
@@ -336,7 +336,12 @@ def parse_addfile(adsys, amsys, addfile):
|
|
336
336
|
|
337
337
|
# NOTE: Group TimedEvent needs special treatment
|
338
338
|
# adjust Toggle and Fault models
|
339
|
-
|
339
|
+
keys_toggle = ['Toggle', 'Toggler']
|
340
|
+
toggle_df = None
|
341
|
+
for key in keys_toggle:
|
342
|
+
if key in df_models:
|
343
|
+
toggle_df = df_models[key]
|
344
|
+
break
|
340
345
|
if toggle_df is not None:
|
341
346
|
toggle_df['dev'] = toggle_df.apply(replace_dev, axis=1,
|
342
347
|
mdl='model', dev='dev',
|
docs/source/release-notes.rst
CHANGED
@@ -9,6 +9,12 @@ The APIs before v3.0.0 are in beta and may change without prior notice.
|
|
9
9
|
Pre-v1.0.0
|
10
10
|
==========
|
11
11
|
|
12
|
+
v1.0.3 (2024-xx-xx)
|
13
|
+
|
14
|
+
--------------------
|
15
|
+
|
16
|
+
- Bug fix in function ``ams.interface.parse_addfile``, released in v1.0.3a1
|
17
|
+
|
12
18
|
v1.0.2 (2024-02-01)
|
13
19
|
|
14
20
|
--------------------
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: ltbams
|
3
|
-
Version: 1.0.
|
3
|
+
Version: 1.0.3a1
|
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
|
@@ -143,11 +143,12 @@ pip install git+https://github.com/CURENT/ams.git
|
|
143
143
|
```
|
144
144
|
|
145
145
|
***NOTE:***
|
146
|
-
-
|
147
|
-
- `kvxopt` is recommended to install via `conda` as sometimes ``pip`` struggles to set the correct path for compiled libraries
|
146
|
+
- `cvxpy` is distributed with the open source solvers CLARABEL, OSQP, and SCS, but MIP-capable solvers need separate installation
|
148
147
|
- `cvxpy` versions **below 1.5** are incompatible with `numpy` versions **2.0 and above**
|
149
148
|
- If the solver `SCIP` encounters an import error caused by a missing `libscip.9.1.dylib`, try reinstalling its Python interface by running `pip install pyscipopt --no-binary scip --force`
|
149
|
+
- `kvxopt` is recommended to install via `conda` as sometimes ``pip`` struggles to set the correct path for compiled libraries
|
150
150
|
- Versions **1.0.0** and **1.0.1** are only available on PyPI
|
151
|
+
- Version **0.9.9** has known issues and has been yanked from PyPI
|
151
152
|
|
152
153
|
# Example Usage
|
153
154
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
ams/__init__.py,sha256=dKIwng8xES4NQHn6ZHy8RCKeXphN9z2wyfmbvniIEg0,351
|
2
2
|
ams/__main__.py,sha256=EB4GfGiKgvnQ_psNr0QwPoziYvjmGvQ2yVsBwQtfrLw,170
|
3
|
-
ams/_version.py,sha256=
|
3
|
+
ams/_version.py,sha256=jA4hGqiTxLiBPzRLM8URDRE3F6wZ9myl6bTEt2GKIkQ,499
|
4
4
|
ams/cli.py,sha256=EyNFXn565gFCppTxpyTZviBdPgUuKtgAPZ4WE6xewRk,6164
|
5
|
-
ams/interface.py,sha256=
|
5
|
+
ams/interface.py,sha256=PCR9geO-pvCxXxljWP4u3M-BAdVD5DjA3xvf338g9x8,44487
|
6
6
|
ams/main.py,sha256=wzKLe_BeQAUyFh-U1cxQIOwr-rAJM8ppB3EEi6_v2tw,23607
|
7
7
|
ams/report.py,sha256=gUscOYpPjuPuruzIXAADaifIZv2BSjmP1oKCuHdD3Vw,11004
|
8
8
|
ams/shared.py,sha256=Zdy4-kHKc0_3CzyZKmGyCvpmrJz4Wzs9qnFlk8eyzq0,4159
|
@@ -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=
|
129
|
+
docs/source/release-notes.rst,sha256=Xna3XJePxxdJxoSAUXQJXwwfKhug0AqQH4OERU3qAxw,12712
|
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.
|
185
|
-
ltbams-1.0.
|
186
|
-
ltbams-1.0.
|
187
|
-
ltbams-1.0.
|
188
|
-
ltbams-1.0.
|
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,,
|
File without changes
|
File without changes
|
File without changes
|