asim 25.9.6__cp312-cp312-win_amd64.whl → 25.9.7__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.

@@ -0,0 +1,59 @@
1
+ Metadata-Version: 2.1
2
+ Name: asim
3
+ Version: 25.9.7
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
+
10
+ # Automatic simulation system powered by neural networks
11
+
12
+ ## Installation
13
+
14
+ ```bash
15
+ pip install asim
16
+ ```
17
+
18
+ ## What is asim
19
+
20
+ - Physical field modeling with automatic constraint enforcement
21
+ - Flexible data grouping and normalization
22
+ - Built-in support for recurrent architectures
23
+ - Export/import of trained models
24
+
25
+ ## Using asim
26
+
27
+ ```python
28
+ import pandas as pd
29
+ from asim.dataset import TimeSeriesDataModel, Ts, Fi, Fo
30
+ from asim.model import PhysicalFieldModel
31
+ from asim.trainer import Trainer
32
+
33
+ df = pd.read_csv("demo.csv")
34
+ cols = [
35
+ Ts(label="ts"),
36
+ Fi(group="boiler", label="power1", min=0.0, union="a"),
37
+ Fi(group="boiler", label="power2", min=0.0, union="a"),
38
+ Fo(group="boiler", label="temperature", rnn=True),
39
+ ]
40
+
41
+ dm = TimeSeriesDataModel(df, columns=cols, batch_size=64)
42
+ fm = PhysicalFieldModel(dm, lr=0.003)
43
+
44
+ trainer = Trainer(max_epochs=100, enable_progress_bar=False, enable_checkpointing=False, logger=None)
45
+ trainer.fit(fm.model, datamodule=dm.datamodule)
46
+
47
+ fm.export("demo.pkl")
48
+ ```
49
+
50
+ ```python
51
+ from asim.simulator import PhysicalSimulator
52
+ import matplotlib.pyplot as plt
53
+
54
+ simulator = PhysicalSimulator("demo.pkl", x_names=dm.x_names, y_names=dm.y_names)
55
+ x, y, y_ = simulator.predict(dm.df[100:1000], y0=[100])
56
+ plt.plot(y)
57
+ plt.plot(y_)
58
+ plt.show()
59
+ ```
@@ -5,8 +5,8 @@ asim/model.cp312-win_amd64.pyd,sha256=Gcr5Typ5vAMfQsR52k2RZTXAKXAMaaN2QS_8mCj3vl
5
5
  asim/simulator.cp312-win_amd64.pyd,sha256=6byWyVCSi3uW7SmirhsJ8iIiVNUoRT6-SzwlNrE6gyY,50176
6
6
  asim/trainer.cp312-win_amd64.pyd,sha256=10ADkUYByQv7SYWCZvKBXWekX11jdbyz8-uVpL8mSKg,18944
7
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,,
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,,
@@ -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
-
File without changes
File without changes