asim 25.9.7__cp312-cp312-win_amd64.whl → 25.10.1__cp312-cp312-win_amd64.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.
Potentially problematic release.
This version of asim might be problematic. Click here for more details.
- asim/dataset.cp312-win_amd64.pyd +0 -0
- asim/model.cp312-win_amd64.pyd +0 -0
- asim/simulator.cp312-win_amd64.pyd +0 -0
- {asim-25.9.7.dist-info → asim-25.10.1.dist-info}/METADATA +6 -4
- asim-25.10.1.dist-info/RECORD +12 -0
- asim-25.9.7.dist-info/RECORD +0 -12
- {asim-25.9.7.dist-info → asim-25.10.1.dist-info}/LICENSE +0 -0
- {asim-25.9.7.dist-info → asim-25.10.1.dist-info}/WHEEL +0 -0
- {asim-25.9.7.dist-info → asim-25.10.1.dist-info}/top_level.txt +0 -0
asim/dataset.cp312-win_amd64.pyd
CHANGED
|
Binary file
|
asim/model.cp312-win_amd64.pyd
CHANGED
|
Binary file
|
|
Binary file
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: asim
|
|
3
|
-
Version: 25.
|
|
3
|
+
Version: 25.10.1
|
|
4
4
|
Summary: Automatic simulation system powered by neural networks
|
|
5
5
|
Author: SHUniversity
|
|
6
6
|
Requires-Python: >=3.12
|
|
7
7
|
Description-Content-Type: text/markdown
|
|
8
8
|
License-File: LICENSE
|
|
9
|
+
Requires-Dist: torch >=2.8.0
|
|
10
|
+
Requires-Dist: lightning >=2.5.5
|
|
9
11
|
|
|
10
12
|
# Automatic simulation system powered by neural networks
|
|
11
13
|
|
|
@@ -26,7 +28,7 @@ pip install asim
|
|
|
26
28
|
|
|
27
29
|
```python
|
|
28
30
|
import pandas as pd
|
|
29
|
-
from asim.dataset import
|
|
31
|
+
from asim.dataset import TimeSeriesDataGroup, Ts, Fi, Fo
|
|
30
32
|
from asim.model import PhysicalFieldModel
|
|
31
33
|
from asim.trainer import Trainer
|
|
32
34
|
|
|
@@ -38,7 +40,7 @@ cols = [
|
|
|
38
40
|
Fo(group="boiler", label="temperature", rnn=True),
|
|
39
41
|
]
|
|
40
42
|
|
|
41
|
-
dm =
|
|
43
|
+
dm = TimeSeriesDataGroup(df, columns=cols, batch_size=64)
|
|
42
44
|
fm = PhysicalFieldModel(dm, lr=0.003)
|
|
43
45
|
|
|
44
46
|
trainer = Trainer(max_epochs=100, enable_progress_bar=False, enable_checkpointing=False, logger=None)
|
|
@@ -52,7 +54,7 @@ from asim.simulator import PhysicalSimulator
|
|
|
52
54
|
import matplotlib.pyplot as plt
|
|
53
55
|
|
|
54
56
|
simulator = PhysicalSimulator("demo.pkl", x_names=dm.x_names, y_names=dm.y_names)
|
|
55
|
-
x, y, y_ = simulator.
|
|
57
|
+
x, y, y_ = simulator.steps(dm.df[100:1000], y0=[100])
|
|
56
58
|
plt.plot(y)
|
|
57
59
|
plt.plot(y_)
|
|
58
60
|
plt.show()
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
asim/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
+
asim/dataset.cp312-win_amd64.pyd,sha256=Kkuspsj3syAvdJw6ntgGM7E1a0_JLcl-GtmJRws1d0w,124416
|
|
3
|
+
asim/explainer.cp312-win_amd64.pyd,sha256=n1cxjeS1KyT2u8Xvyi3Rui21P-PLLSBkeXqiQ4tKpXI,32768
|
|
4
|
+
asim/model.cp312-win_amd64.pyd,sha256=xCMBtf35YTD8wGeJIVAXbggK726woyWwg1P4avPw8-E,106496
|
|
5
|
+
asim/simulator.cp312-win_amd64.pyd,sha256=qMW4z58lsbF-cWOLZw7cRc0T7CXmFz7cN8PjzHyw1zY,69120
|
|
6
|
+
asim/trainer.cp312-win_amd64.pyd,sha256=10ADkUYByQv7SYWCZvKBXWekX11jdbyz8-uVpL8mSKg,18944
|
|
7
|
+
asim/version.py,sha256=IK8-f9F290j9Lf8Uh1tFZJMOlVSueV6jRA51WoRM8_U,20
|
|
8
|
+
asim-25.10.1.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
+
asim-25.10.1.dist-info/METADATA,sha256=L8MxMz2xmOc672dvlLjgJjYSAhTKwT8bXULqaUIG1HE,1609
|
|
10
|
+
asim-25.10.1.dist-info/WHEEL,sha256=VjOakRrFjQDaJ3SL0TIqKBZGtb43B2QJnIB-eW3qItk,101
|
|
11
|
+
asim-25.10.1.dist-info/top_level.txt,sha256=6tOoh20rJ_xz66lNdZVG11p8YArVbqac0k2MEp33X9M,5
|
|
12
|
+
asim-25.10.1.dist-info/RECORD,,
|
asim-25.9.7.dist-info/RECORD
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
asim/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
2
|
-
asim/dataset.cp312-win_amd64.pyd,sha256=Npg5VYguNyBXf8Sc-oWFONZh-yqlLBM7Iz6SBJj83d8,106496
|
|
3
|
-
asim/explainer.cp312-win_amd64.pyd,sha256=n1cxjeS1KyT2u8Xvyi3Rui21P-PLLSBkeXqiQ4tKpXI,32768
|
|
4
|
-
asim/model.cp312-win_amd64.pyd,sha256=Gcr5Typ5vAMfQsR52k2RZTXAKXAMaaN2QS_8mCj3vlU,95232
|
|
5
|
-
asim/simulator.cp312-win_amd64.pyd,sha256=6byWyVCSi3uW7SmirhsJ8iIiVNUoRT6-SzwlNrE6gyY,50176
|
|
6
|
-
asim/trainer.cp312-win_amd64.pyd,sha256=10ADkUYByQv7SYWCZvKBXWekX11jdbyz8-uVpL8mSKg,18944
|
|
7
|
-
asim/version.py,sha256=IK8-f9F290j9Lf8Uh1tFZJMOlVSueV6jRA51WoRM8_U,20
|
|
8
|
-
asim-25.9.7.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
asim-25.9.7.dist-info/METADATA,sha256=zHTgRC_H3BBX_6Zt7hFGf3jGqrZRGtJxOPZxd651wYw,1546
|
|
10
|
-
asim-25.9.7.dist-info/WHEEL,sha256=VjOakRrFjQDaJ3SL0TIqKBZGtb43B2QJnIB-eW3qItk,101
|
|
11
|
-
asim-25.9.7.dist-info/top_level.txt,sha256=6tOoh20rJ_xz66lNdZVG11p8YArVbqac0k2MEp33X9M,5
|
|
12
|
-
asim-25.9.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|