ElecSolver 0.1.0__py3-none-any.whl → 0.1.2__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.
- ElecSolver/TemporalSystemBuilder.py +1 -1
- ElecSolver/_version.py +2 -2
- {elecsolver-0.1.0.dist-info → elecsolver-0.1.2.dist-info}/METADATA +9 -23
- elecsolver-0.1.2.dist-info/RECORD +10 -0
- elecsolver-0.1.0.dist-info/RECORD +0 -10
- {elecsolver-0.1.0.dist-info → elecsolver-0.1.2.dist-info}/WHEEL +0 -0
- {elecsolver-0.1.0.dist-info → elecsolver-0.1.2.dist-info}/licenses/LICENCE.txt +0 -0
- {elecsolver-0.1.0.dist-info → elecsolver-0.1.2.dist-info}/top_level.txt +0 -0
@@ -325,7 +325,7 @@ class TemporalSystemBuilder():
|
|
325
325
|
j_s_S1 = np.append(j_s_S1,np.array([self.offset_j + input_node,self.offset_j+output_node,new_eq]),axis=0)
|
326
326
|
else:
|
327
327
|
data_S1 = np.append(data_S1,np.array([1.,-1.,sign,-sign]),axis=0)
|
328
|
-
i_s_S1 = np.append(
|
328
|
+
i_s_S1 = np.append(i_s_S1,np.array([new_eq,new_eq,input_node+self.rescaler[input_node],output_node+self.rescaler[output_node]]),axis=0)
|
329
329
|
j_s_S1 = np.append(j_s_S1,np.array([self.offset_j + input_node,self.offset_j+output_node,new_eq,new_eq]),axis=0)
|
330
330
|
|
331
331
|
|
ElecSolver/_version.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: ElecSolver
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.2
|
4
4
|
Summary: Formalizes electric systems as linear problems for temporal and frequency-domain studies.
|
5
5
|
Author-email: William Piat <william.piat3@gmail.com>
|
6
6
|
License: MIT
|
@@ -12,7 +12,7 @@ Classifier: Operating System :: POSIX
|
|
12
12
|
Classifier: License :: OSI Approved :: MIT License
|
13
13
|
Classifier: Intended Audience :: Science/Research
|
14
14
|
Classifier: Topic :: Scientific/Engineering :: Physics
|
15
|
-
Requires-Python: >=3.
|
15
|
+
Requires-Python: >=3.9
|
16
16
|
Description-Content-Type: text/markdown
|
17
17
|
License-File: LICENCE.txt
|
18
18
|
Requires-Dist: numpy
|
@@ -23,11 +23,11 @@ Requires-Dist: pytest; extra == "dev"
|
|
23
23
|
Requires-Dist: pymumps; extra == "dev"
|
24
24
|
Dynamic: license-file
|
25
25
|
|
26
|
-
#
|
26
|
+
# ElecSolver
|
27
27
|
|
28
28
|
## Overview
|
29
29
|
|
30
|
-
**
|
30
|
+
**ElecSolver** formalizes electric systems as linear problems, suitable for both **temporal** and **frequency-domain** studies.
|
31
31
|
It focuses on constructing the linear system representation, leaving the actual numerical resolution to the user.
|
32
32
|
|
33
33
|
This repository is **not** a general-purpose electrical system solver. Instead, it acts as a **bridge** between:
|
@@ -44,7 +44,7 @@ Its main goal is to provide a friendly Python interface for simulating analog el
|
|
44
44
|
|
45
45
|
## Table of content
|
46
46
|
|
47
|
-
- [
|
47
|
+
- [ElecSolver](#elecsolver)
|
48
48
|
- [Overview](#overview)
|
49
49
|
- [Table of content](#table-of-content)
|
50
50
|
- [How to install](#how-to-install)
|
@@ -59,27 +59,13 @@ Its main goal is to provide a friendly Python interface for simulating analog el
|
|
59
59
|
- [Solver suggestions](#solver-suggestions)
|
60
60
|
|
61
61
|
## How to install
|
62
|
-
For now this package is
|
63
|
-
|
64
|
-
1. Cloning this repo:
|
65
|
-
|
66
|
-
```
|
67
|
-
git clone https://github.com/williampiat3/ElectricSystemSolver.git
|
62
|
+
For now this package is distributed on pypi and can be installed using pip
|
68
63
|
```
|
69
|
-
|
70
|
-
2. Creating a conda environement using the `env.yml` file:
|
71
|
-
|
64
|
+
pip install ElecSolver
|
72
65
|
```
|
73
|
-
|
74
|
-
```
|
75
|
-
|
76
|
-
> [!WARNING]
|
77
|
-
> pyMumps is not supported on Windows (But it is on WSL!!): If you want to execute this code on Windows, remove pyMumps from the `env.yml` file and use other solvers instead
|
78
|
-
|
79
|
-
3. Exporting the `PYTHONPATH` variable to import the system builders more smoothly
|
80
|
-
|
66
|
+
For solving the linear systems we advise using MUMPS through pyMUMPS on linux that can be installed via pip
|
81
67
|
```
|
82
|
-
|
68
|
+
pip install pymumps
|
83
69
|
```
|
84
70
|
|
85
71
|
|
@@ -0,0 +1,10 @@
|
|
1
|
+
ElecSolver/FrequencySystemBuilder.py,sha256=8GoF8R1d1Qfs3f2y4tXJfu5Yq7iPrZXM-cwogdzu5v0,11962
|
2
|
+
ElecSolver/TemporalSystemBuilder.py,sha256=04wBXkSOHKphW8xpcKKzQFuy7vo1TFbRH4nz1HFazUw,23513
|
3
|
+
ElecSolver/__init__.py,sha256=jYln4Hwpz5Y7aXUxCnHU6kPs--2MXc58rbaTTQvcE8I,224
|
4
|
+
ElecSolver/_version.py,sha256=bSmADqydH8nBu-J4lG8UVuR7hnU_zcwhnSav2oQ0W0A,511
|
5
|
+
ElecSolver/utils.py,sha256=M-42jBk3BW0jPq1DDAC04VwrDIgTAS0sI9q28l2j5YY,5215
|
6
|
+
elecsolver-0.1.2.dist-info/licenses/LICENCE.txt,sha256=v-lfIiLUg0gkkSbraLUejUcFsyG7SbKQaK7GqgIEWFQ,1068
|
7
|
+
elecsolver-0.1.2.dist-info/METADATA,sha256=sJ4mMdqPKGLN4t73-dv-vaUV5M-DmMyJ8uGjW5afduo,8110
|
8
|
+
elecsolver-0.1.2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
+
elecsolver-0.1.2.dist-info/top_level.txt,sha256=2toqgPNV9y44OzukZZEL4qeFZFkNR1GXZjIlZVmC-Ic,11
|
10
|
+
elecsolver-0.1.2.dist-info/RECORD,,
|
@@ -1,10 +0,0 @@
|
|
1
|
-
ElecSolver/FrequencySystemBuilder.py,sha256=8GoF8R1d1Qfs3f2y4tXJfu5Yq7iPrZXM-cwogdzu5v0,11962
|
2
|
-
ElecSolver/TemporalSystemBuilder.py,sha256=ierqBI2Vr9LoLVi9ddNzKo7Z7dmZ3uPEywGHn8F73jg,23515
|
3
|
-
ElecSolver/__init__.py,sha256=jYln4Hwpz5Y7aXUxCnHU6kPs--2MXc58rbaTTQvcE8I,224
|
4
|
-
ElecSolver/_version.py,sha256=-LyU5F1uZDjn6Q8_Z6-_FJt_8RE4Kq9zcKdg1abSSps,511
|
5
|
-
ElecSolver/utils.py,sha256=M-42jBk3BW0jPq1DDAC04VwrDIgTAS0sI9q28l2j5YY,5215
|
6
|
-
elecsolver-0.1.0.dist-info/licenses/LICENCE.txt,sha256=v-lfIiLUg0gkkSbraLUejUcFsyG7SbKQaK7GqgIEWFQ,1068
|
7
|
-
elecsolver-0.1.0.dist-info/METADATA,sha256=Uy8P0iJJIVj3ZRJ99o8SBJ-ueLrx5UZiXhzT_9DZjG4,8548
|
8
|
-
elecsolver-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
9
|
-
elecsolver-0.1.0.dist-info/top_level.txt,sha256=2toqgPNV9y44OzukZZEL4qeFZFkNR1GXZjIlZVmC-Ic,11
|
10
|
-
elecsolver-0.1.0.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|