asim 25.9.6__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.

Binary file
Binary file
Binary file
@@ -0,0 +1,61 @@
1
+ Metadata-Version: 2.1
2
+ Name: asim
3
+ Version: 25.10.1
4
+ Summary: Automatic simulation system powered by neural networks
5
+ Author: SHUniversity
6
+ Requires-Python: >=3.12
7
+ Description-Content-Type: text/markdown
8
+ License-File: LICENSE
9
+ Requires-Dist: torch >=2.8.0
10
+ Requires-Dist: lightning >=2.5.5
11
+
12
+ # Automatic simulation system powered by neural networks
13
+
14
+ ## Installation
15
+
16
+ ```bash
17
+ pip install asim
18
+ ```
19
+
20
+ ## What is asim
21
+
22
+ - Physical field modeling with automatic constraint enforcement
23
+ - Flexible data grouping and normalization
24
+ - Built-in support for recurrent architectures
25
+ - Export/import of trained models
26
+
27
+ ## Using asim
28
+
29
+ ```python
30
+ import pandas as pd
31
+ from asim.dataset import TimeSeriesDataGroup, Ts, Fi, Fo
32
+ from asim.model import PhysicalFieldModel
33
+ from asim.trainer import Trainer
34
+
35
+ df = pd.read_csv("demo.csv")
36
+ cols = [
37
+ Ts(label="ts"),
38
+ Fi(group="boiler", label="power1", min=0.0, union="a"),
39
+ Fi(group="boiler", label="power2", min=0.0, union="a"),
40
+ Fo(group="boiler", label="temperature", rnn=True),
41
+ ]
42
+
43
+ dm = TimeSeriesDataGroup(df, columns=cols, batch_size=64)
44
+ fm = PhysicalFieldModel(dm, lr=0.003)
45
+
46
+ trainer = Trainer(max_epochs=100, enable_progress_bar=False, enable_checkpointing=False, logger=None)
47
+ trainer.fit(fm.model, datamodule=dm.datamodule)
48
+
49
+ fm.export("demo.pkl")
50
+ ```
51
+
52
+ ```python
53
+ from asim.simulator import PhysicalSimulator
54
+ import matplotlib.pyplot as plt
55
+
56
+ simulator = PhysicalSimulator("demo.pkl", x_names=dm.x_names, y_names=dm.y_names)
57
+ x, y, y_ = simulator.steps(dm.df[100:1000], y0=[100])
58
+ plt.plot(y)
59
+ plt.plot(y_)
60
+ plt.show()
61
+ ```
@@ -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,,
@@ -1,8 +0,0 @@
1
- Metadata-Version: 2.1
2
- Name: asim
3
- Version: 25.9.6
4
- Summary: Automatic simulation system powered by neural networks
5
- Author: SHUniversity
6
- Requires-Python: >=3.12
7
- License-File: LICENSE
8
-
@@ -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.6.dist-info/LICENSE,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- asim-25.9.6.dist-info/METADATA,sha256=WO3b2fjhYdL5bcQjj4ZSktOWLe0zYKRwREuOqHjRn20,189
10
- asim-25.9.6.dist-info/WHEEL,sha256=VjOakRrFjQDaJ3SL0TIqKBZGtb43B2QJnIB-eW3qItk,101
11
- asim-25.9.6.dist-info/top_level.txt,sha256=6tOoh20rJ_xz66lNdZVG11p8YArVbqac0k2MEp33X9M,5
12
- asim-25.9.6.dist-info/RECORD,,
File without changes