pyBondGraph 0.2.0__tar.gz → 0.2.1__tar.gz
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.
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/PKG-INFO +6 -5
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/README.md +5 -4
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph.egg-info/PKG-INFO +6 -5
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyproject.toml +1 -1
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/LICENSE +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph/__init__.py +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph/bondgraph.py +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph/core.py +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph/elements.py +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph/sensors.py +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph/subbondgraph.py +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph.egg-info/SOURCES.txt +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph.egg-info/dependency_links.txt +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph.egg-info/requires.txt +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/pyBondGraph.egg-info/top_level.txt +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/requirements.txt +0 -0
- {pybondgraph-0.2.0 → pybondgraph-0.2.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyBondGraph
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Modelling tool for linear bond graph systems in Python
|
|
5
5
|
Author-email: Matthias Panny <matthias.panny@mci.edu>
|
|
6
6
|
License-Expression: CC-BY-NC-SA-4.0
|
|
@@ -39,6 +39,7 @@ Bond graphs provide a **domain-independent modeling framework** for physical sys
|
|
|
39
39
|
* Automatic **symbolic equation derivation** using SymPy
|
|
40
40
|
* Conversion of models to **state-space systems**
|
|
41
41
|
* Example models for electrical and mechanical systems
|
|
42
|
+
* Capaility to **store** and **load** bond graph models in JSON format construct bond graphs from loaded sub bond graphs
|
|
42
43
|
|
|
43
44
|
---
|
|
44
45
|
|
|
@@ -97,10 +98,10 @@ capacitor = Capacitor("C", "C")
|
|
|
97
98
|
series_junction = OneJunction("J1")
|
|
98
99
|
|
|
99
100
|
# connect elements
|
|
100
|
-
# causalities need to be assigned manually
|
|
101
|
-
bg.
|
|
102
|
-
bg.
|
|
103
|
-
bg.
|
|
101
|
+
# causalities need to be assigned manually ^
|
|
102
|
+
bg.connect(voltage_source, series_junction, Causality.EFFORT_OUT)
|
|
103
|
+
bg.connect(series_junction, resistor, Causality.EFFORT_OUT)
|
|
104
|
+
bg.connect(series_junction, capacitor, Causality.FLOW_OUT)
|
|
104
105
|
|
|
105
106
|
# plot the resulting BondGraph
|
|
106
107
|
bg.plot()
|
|
@@ -13,6 +13,7 @@ Bond graphs provide a **domain-independent modeling framework** for physical sys
|
|
|
13
13
|
* Automatic **symbolic equation derivation** using SymPy
|
|
14
14
|
* Conversion of models to **state-space systems**
|
|
15
15
|
* Example models for electrical and mechanical systems
|
|
16
|
+
* Capaility to **store** and **load** bond graph models in JSON format construct bond graphs from loaded sub bond graphs
|
|
16
17
|
|
|
17
18
|
---
|
|
18
19
|
|
|
@@ -71,10 +72,10 @@ capacitor = Capacitor("C", "C")
|
|
|
71
72
|
series_junction = OneJunction("J1")
|
|
72
73
|
|
|
73
74
|
# connect elements
|
|
74
|
-
# causalities need to be assigned manually
|
|
75
|
-
bg.
|
|
76
|
-
bg.
|
|
77
|
-
bg.
|
|
75
|
+
# causalities need to be assigned manually ^
|
|
76
|
+
bg.connect(voltage_source, series_junction, Causality.EFFORT_OUT)
|
|
77
|
+
bg.connect(series_junction, resistor, Causality.EFFORT_OUT)
|
|
78
|
+
bg.connect(series_junction, capacitor, Causality.FLOW_OUT)
|
|
78
79
|
|
|
79
80
|
# plot the resulting BondGraph
|
|
80
81
|
bg.plot()
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyBondGraph
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.1
|
|
4
4
|
Summary: Modelling tool for linear bond graph systems in Python
|
|
5
5
|
Author-email: Matthias Panny <matthias.panny@mci.edu>
|
|
6
6
|
License-Expression: CC-BY-NC-SA-4.0
|
|
@@ -39,6 +39,7 @@ Bond graphs provide a **domain-independent modeling framework** for physical sys
|
|
|
39
39
|
* Automatic **symbolic equation derivation** using SymPy
|
|
40
40
|
* Conversion of models to **state-space systems**
|
|
41
41
|
* Example models for electrical and mechanical systems
|
|
42
|
+
* Capaility to **store** and **load** bond graph models in JSON format construct bond graphs from loaded sub bond graphs
|
|
42
43
|
|
|
43
44
|
---
|
|
44
45
|
|
|
@@ -97,10 +98,10 @@ capacitor = Capacitor("C", "C")
|
|
|
97
98
|
series_junction = OneJunction("J1")
|
|
98
99
|
|
|
99
100
|
# connect elements
|
|
100
|
-
# causalities need to be assigned manually
|
|
101
|
-
bg.
|
|
102
|
-
bg.
|
|
103
|
-
bg.
|
|
101
|
+
# causalities need to be assigned manually ^
|
|
102
|
+
bg.connect(voltage_source, series_junction, Causality.EFFORT_OUT)
|
|
103
|
+
bg.connect(series_junction, resistor, Causality.EFFORT_OUT)
|
|
104
|
+
bg.connect(series_junction, capacitor, Causality.FLOW_OUT)
|
|
104
105
|
|
|
105
106
|
# plot the resulting BondGraph
|
|
106
107
|
bg.plot()
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|