tespy 0.3.0__py2.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.
- TESPy-0.3.0.data/data/src/tespy/data/char_lines.json +213 -0
- TESPy-0.3.0.data/data/src/tespy/data/char_maps.json +52 -0
- TESPy-0.3.0.dist-info/DESCRIPTION.rst +117 -0
- TESPy-0.3.0.dist-info/METADATA +156 -0
- TESPy-0.3.0.dist-info/RECORD +34 -0
- TESPy-0.3.0.dist-info/WHEEL +6 -0
- TESPy-0.3.0.dist-info/metadata.json +1 -0
- TESPy-0.3.0.dist-info/top_level.txt +1 -0
- tespy/__init__.py +27 -0
- tespy/components/__init__.py +28 -0
- tespy/components/basics.py +507 -0
- tespy/components/combustion.py +3291 -0
- tespy/components/components.py +813 -0
- tespy/components/customs.py +729 -0
- tespy/components/heat_exchangers.py +3116 -0
- tespy/components/nodes.py +1890 -0
- tespy/components/piping.py +536 -0
- tespy/components/reactors.py +965 -0
- tespy/components/subsystems.py +89 -0
- tespy/components/turbomachinery.py +1726 -0
- tespy/connections.py +1062 -0
- tespy/data/__init__.py +1 -0
- tespy/data/char_lines.json +213 -0
- tespy/data/char_maps.json +52 -0
- tespy/networks/__init__.py +3 -0
- tespy/networks/network_reader.py +660 -0
- tespy/networks/networks.py +3001 -0
- tespy/tools/__init__.py +13 -0
- tespy/tools/characteristics.py +663 -0
- tespy/tools/data_containers.py +429 -0
- tespy/tools/fluid_properties.py +1763 -0
- tespy/tools/global_vars.py +15 -0
- tespy/tools/helpers.py +592 -0
- tespy/tools/logger.py +216 -0
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
{
|
|
2
|
+
"turbine": {
|
|
3
|
+
"eta_s_char": {
|
|
4
|
+
"DEFAULT": {
|
|
5
|
+
"x": [0.000, 0.300, 0.600, 0.700, 0.800, 0.900, 1.000, 1.100,
|
|
6
|
+
1.200, 1.300, 1.400, 1.500],
|
|
7
|
+
"y": [0.950, 0.980, 0.993, 0.996, 0.998, 0.9995, 1.000, 0.999,
|
|
8
|
+
0.996, 0.990, 0.980, 0.960],
|
|
9
|
+
"ref": false
|
|
10
|
+
},
|
|
11
|
+
"TRAUPEL": {
|
|
12
|
+
"x": [0.0000, 0.1905, 0.3810, 0.5714, 0.7619, 0.9524, 1.0000,
|
|
13
|
+
1.1429, 1.3333, 1.5238, 1.7143, 1.9048],
|
|
14
|
+
"y": [0.0000, 0.3975, 0.6772, 0.8581, 0.9593, 0.9985, 1.0000,
|
|
15
|
+
0.9875, 0.9357, 0.8464, 0.7219, 0.5643],
|
|
16
|
+
"ref": "Traupel2001"
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"compressor": {
|
|
21
|
+
"eta_s_char": {
|
|
22
|
+
"DEFAULT": {
|
|
23
|
+
"x": [0.49, 0.55782, 0.62612, 0.69418, 0.76132, 0.82682,
|
|
24
|
+
0.89, 0.95016, 1, 1.04326, 1.07753, 1.10916,
|
|
25
|
+
1.13795, 1.16365, 1.18604, 1.2049, 1.22],
|
|
26
|
+
"y": [0.78, 0.82066, 0.86025, 0.89742, 0.93083, 0.95914,
|
|
27
|
+
0.981, 0.99507, 1.0, 0.99733, 0.98913, 0.97496,
|
|
28
|
+
0.95435, 0.92687, 0.89205, 0.84944, 0.79859],
|
|
29
|
+
"ref": false
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
"pump": {
|
|
34
|
+
"eta_s_char": {
|
|
35
|
+
"DEFAULT": {
|
|
36
|
+
"x": [0.071, 0.282, 0.635, 0.776, 0.917, 1.000, 1.128, 1.270,
|
|
37
|
+
1.410, 1.763, 2.115, 2.500],
|
|
38
|
+
"y": [0.250, 0.547, 0.900, 0.965, 0.995, 1.000, 0.990, 0.959,
|
|
39
|
+
0.911, 0.737, 0.519, 0.250],
|
|
40
|
+
"ref": false
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"combustion engine": {
|
|
45
|
+
"tiP_char": {
|
|
46
|
+
"DEFAULT": {
|
|
47
|
+
"x": [0.50, 0.625, 0.75, 0.875, 1.00],
|
|
48
|
+
"y": [3.03, 2.875, 2.74, 2.625, 2.53],
|
|
49
|
+
"ref": false
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
"Q1_char": {
|
|
53
|
+
"DEFAULT": {
|
|
54
|
+
"x": [0.50, 0.625, 0.75, 0.875, 1.00],
|
|
55
|
+
"y": [0.699, 0.645, 0.593, 0.544, 0.498],
|
|
56
|
+
"ref": false
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
"Q2_char": {
|
|
60
|
+
"DEFAULT": {
|
|
61
|
+
"x": [0.50, 0.625, 0.75, 0.875, 1.00],
|
|
62
|
+
"y": [0.524, 0.484, 0.445, 0.409, 0.374],
|
|
63
|
+
"ref": false
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"Qloss_char": {
|
|
67
|
+
"DEFAULT": {
|
|
68
|
+
"x": [0.50, 0.625, 0.75, 0.875, 1.00],
|
|
69
|
+
"y": [0.147, 0.153, 0.166, 0.187, 0.215],
|
|
70
|
+
"ref": false
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"heat exchanger": {
|
|
75
|
+
"kA_char1": {
|
|
76
|
+
"DEFAULT": {
|
|
77
|
+
"x": [0.0, 0.01084, 0.03655, 0.07779, 0.13389, 0.20417,
|
|
78
|
+
0.28796, 0.38458, 0.49337, 0.61364, 0.74473, 0.88595,
|
|
79
|
+
1.0, 1.19613, 1.36374, 1.53879, 1.72061, 1.90854,
|
|
80
|
+
2.10189, 2.29999, 2.50217, 2.70776, 2.91608, 3.0],
|
|
81
|
+
"y": [0.01, 0.09598, 0.18995, 0.28191, 0.37185, 0.45974,
|
|
82
|
+
0.54557, 0.62932, 0.71098, 0.79053, 0.86796, 0.94324,
|
|
83
|
+
1.0, 1.0873, 1.15605, 1.22259, 1.28691, 1.34898,
|
|
84
|
+
1.40879, 1.46633, 1.52157, 1.5745, 1.62511, 1.645],
|
|
85
|
+
"ref": false
|
|
86
|
+
},
|
|
87
|
+
"CONDENSING FLUID": {
|
|
88
|
+
"x": [0.0, 0.02476, 0.08114, 0.167, 0.28023, 0.41869,
|
|
89
|
+
0.58027, 0.76284, 0.96428, 1.0, 1.18245, 1.41525,
|
|
90
|
+
1.66053, 1.91619, 2.18009, 2.4501, 2.72412, 3.0],
|
|
91
|
+
"y": [0.01, 0.19836, 0.37181, 0.52217, 0.65124, 0.76085,
|
|
92
|
+
0.8528, 0.92891, 0.99099, 1.0, 1.04084, 1.0803,
|
|
93
|
+
1.11116, 1.13524, 1.15435, 1.1703, 1.18492, 1.2],
|
|
94
|
+
"ref": false
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
"kA_char2": {
|
|
98
|
+
"DEFAULT": {
|
|
99
|
+
"x": [0.0, 0.10449, 0.23774, 0.40054, 0.59243, 0.81296,
|
|
100
|
+
1.0, 1.0617, 1.33818, 1.64196, 1.97259, 2.32963,
|
|
101
|
+
2.71261, 3.0012],
|
|
102
|
+
"y": [0.01, 0.21181, 0.40637, 0.58484, 0.74792, 0.89627,
|
|
103
|
+
1.0, 1.03058, 1.15152, 1.25977, 1.35602, 1.44093,
|
|
104
|
+
1.51519, 1.562],
|
|
105
|
+
"ref": false
|
|
106
|
+
},
|
|
107
|
+
"EVAPORATING FLUID": {
|
|
108
|
+
"x": [0.0, 0.00412, 0.0076, 0.01101, 0.01488, 0.0211,
|
|
109
|
+
0.02758, 0.0362, 0.04751, 0.06206, 0.08041, 0.10312,
|
|
110
|
+
0.13073, 0.1638, 0.20288, 0.24854, 0.30132, 0.37528,
|
|
111
|
+
0.45378, 0.54212, 0.64561, 0.76955, 0.91927, 1.0,
|
|
112
|
+
1.10006, 1.31723, 1.57609, 1.88195, 2.24011, 2.65589,
|
|
113
|
+
3.0],
|
|
114
|
+
"y": [0.01, 0.04969, 0.10554, 0.16642, 0.2312, 0.29888,
|
|
115
|
+
0.36806, 0.43773, 0.50677, 0.57404, 0.6384, 0.69873,
|
|
116
|
+
0.75388, 0.80274, 0.84415, 0.87699, 0.90012, 0.92187,
|
|
117
|
+
0.94082, 0.95729, 0.97163, 0.98417, 0.99525, 1.0,
|
|
118
|
+
1.00521, 1.01439, 1.02312, 1.03175, 1.0406, 1.05002,
|
|
119
|
+
1.0575],
|
|
120
|
+
"ref": false
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
"condenser": {
|
|
125
|
+
"kA_char1": {
|
|
126
|
+
"DEFAULT": {
|
|
127
|
+
"x": [0.0, 0.02476, 0.08114, 0.167, 0.28023, 0.41869,
|
|
128
|
+
0.58027, 0.76284, 0.96428, 1.0, 1.18245, 1.41525,
|
|
129
|
+
1.66053, 1.91619, 2.18009, 2.4501, 2.72412, 3.0],
|
|
130
|
+
"y": [0.01, 0.19836, 0.37181, 0.52217, 0.65124, 0.76085,
|
|
131
|
+
0.8528, 0.92891, 0.99099, 1.0, 1.04084, 1.0803,
|
|
132
|
+
1.11116, 1.13524, 1.15435, 1.1703, 1.18492, 1.2],
|
|
133
|
+
"ref": false
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
"kA_char2": {
|
|
137
|
+
"DEFAULT": {
|
|
138
|
+
"x": [0.0, 0.10449, 0.23774, 0.40054, 0.59243, 0.81296,
|
|
139
|
+
1.0, 1.0617, 1.33818, 1.64196, 1.97259, 2.32963,
|
|
140
|
+
2.71261, 3.0012],
|
|
141
|
+
"y": [0.01, 0.21181, 0.40637, 0.58484, 0.74792, 0.89627,
|
|
142
|
+
1.0, 1.03058, 1.15152, 1.25977, 1.35602, 1.44093,
|
|
143
|
+
1.51519, 1.562],
|
|
144
|
+
"ref": false
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
"desuperheater": {
|
|
149
|
+
"kA_char1": {
|
|
150
|
+
"DEFAULT": {
|
|
151
|
+
"x": [0.0, 0.01084, 0.03655, 0.07779, 0.13389, 0.20417,
|
|
152
|
+
0.28796, 0.38458, 0.49337, 0.61364, 0.74473, 0.88595,
|
|
153
|
+
1.0, 1.19613, 1.36374, 1.53879, 1.72061, 1.90854,
|
|
154
|
+
2.10189, 2.29999, 2.50217, 2.70776, 2.91608, 3.0],
|
|
155
|
+
"y": [0.01, 0.09598, 0.18995, 0.28191, 0.37185, 0.45974,
|
|
156
|
+
0.54557, 0.62932, 0.71098, 0.79053, 0.86796, 0.94324,
|
|
157
|
+
1.0, 1.0873, 1.15605, 1.22259, 1.28691, 1.34898,
|
|
158
|
+
1.40879, 1.46633, 1.52157, 1.5745, 1.62511, 1.645],
|
|
159
|
+
"ref": false
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
"kA_char2": {
|
|
163
|
+
"DEFAULT": {
|
|
164
|
+
"x": [0.0, 0.10449, 0.23774, 0.40054, 0.59243, 0.81296,
|
|
165
|
+
1.0, 1.0617, 1.33818, 1.64196, 1.97259, 2.32963,
|
|
166
|
+
2.71261, 3.0012],
|
|
167
|
+
"y": [0.01, 0.21181, 0.40637, 0.58484, 0.74792, 0.89627,
|
|
168
|
+
1.0, 1.03058, 1.15152, 1.25977, 1.35602, 1.44093,
|
|
169
|
+
1.51519, 1.562],
|
|
170
|
+
"ref": false
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
"heat exchanger simple": {
|
|
175
|
+
"kA_char": {
|
|
176
|
+
"DEFAULT": {
|
|
177
|
+
"x": [0.0, 0.01084, 0.03655, 0.07779, 0.13389, 0.20417,
|
|
178
|
+
0.28796, 0.38458, 0.49337, 0.61364, 0.74473, 0.88595,
|
|
179
|
+
1.0, 1.19613, 1.36374, 1.53879, 1.72061, 1.90854,
|
|
180
|
+
2.10189, 2.29999, 2.50217, 2.70776, 2.91608, 3.0],
|
|
181
|
+
"y": [0.01, 0.09598, 0.18995, 0.28191, 0.37185, 0.45974,
|
|
182
|
+
0.54557, 0.62932, 0.71098, 0.79053, 0.86796, 0.94324,
|
|
183
|
+
1.0, 1.0873, 1.15605, 1.22259, 1.28691, 1.34898,
|
|
184
|
+
1.40879, 1.46633, 1.52157, 1.5745, 1.62511, 1.645],
|
|
185
|
+
"ref": false
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
},
|
|
189
|
+
"pipe": {
|
|
190
|
+
"kA_char": {
|
|
191
|
+
"DEFAULT": {
|
|
192
|
+
"x": [0.0, 0.01084, 0.03655, 0.07779, 0.13389, 0.20417,
|
|
193
|
+
0.28796, 0.38458, 0.49337, 0.61364, 0.74473, 0.88595,
|
|
194
|
+
1.0, 1.19613, 1.36374, 1.53879, 1.72061, 1.90854,
|
|
195
|
+
2.10189, 2.29999, 2.50217, 2.70776, 2.91608, 3.0],
|
|
196
|
+
"y": [0.01, 0.09598, 0.18995, 0.28191, 0.37185, 0.45974,
|
|
197
|
+
0.54557, 0.62932, 0.71098, 0.79053, 0.86796, 0.94324,
|
|
198
|
+
1.0, 1.0873, 1.15605, 1.22259, 1.28691, 1.34898,
|
|
199
|
+
1.40879, 1.46633, 1.52157, 1.5745, 1.62511, 1.645],
|
|
200
|
+
"ref": false
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
},
|
|
204
|
+
"water electrolyzer": {
|
|
205
|
+
"eta_char": {
|
|
206
|
+
"DEFAULT": {
|
|
207
|
+
"x": [0.000, 0.0833, 0.250, 0.500, 0.750, 1.000, 1.333],
|
|
208
|
+
"y": [1.100, 1.075, 1.050, 1.025, 1.010, 1.000, 0.990],
|
|
209
|
+
"ref": false
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
{
|
|
2
|
+
"compressor": {
|
|
3
|
+
"char_map": {
|
|
4
|
+
"DEFAULT": {
|
|
5
|
+
"x": [0.810, 0.870, 0.946, 0.971, 1, 1.029, 1.062],
|
|
6
|
+
"y": [[0.460, 0.481, 0.502, 0.523, 0.543,
|
|
7
|
+
0.562,0.583, 0.598, 0.606, 0.612],
|
|
8
|
+
[0.590, 0.605, 0.620, 0.640, 0.660,
|
|
9
|
+
0.685, 0.703, 0.710, 0.711, 0.713],
|
|
10
|
+
[0.767, 0.805, 0.838, 0.859, 0.87,
|
|
11
|
+
0.876, 0.878, 0.878, 0.879, 0.88],
|
|
12
|
+
[0.874, 0.908, 0.93, 0.943, 0.953,
|
|
13
|
+
0.961, 0.962, 0.963, 0.963, 0.964],
|
|
14
|
+
[0.948, 0.974, 0.987, 0.995, 1.0,
|
|
15
|
+
1.002, 1.005, 1.005, 1.006, 1.006],
|
|
16
|
+
[1.014, 1.017, 1.02, 1.023, 1.026,
|
|
17
|
+
1.028, 1.03, 1.032, 1.034, 1.036],
|
|
18
|
+
[1.045, 1.047, 1.049, 1.051, 1.052,
|
|
19
|
+
1.053, 1.054, 1.054, 1.055, 1.056]],
|
|
20
|
+
"z1": [[0.502, 0.493, 0.485, 0.467, 0.442,
|
|
21
|
+
0.411, 0.378, 0.344, 0.31, 0.276],
|
|
22
|
+
[0.65, 0.637, 0.617, 0.589, 0.556,
|
|
23
|
+
0.519, 0.482, 0.445, 0.407, 0.37],
|
|
24
|
+
[0.931, 0.917, 0.893, 0.859, 0.82,
|
|
25
|
+
0.779, 0.738, 0.698, 0.657, 0.616],
|
|
26
|
+
[1.05, 1.02, 0.982, 0.939, 0.895,
|
|
27
|
+
0.851, 0.806, 0.762, 0.717, 0.672],
|
|
28
|
+
[1.195, 1.151, 1.102, 1.052, 1.0,
|
|
29
|
+
0.951, 0.9, 0.85, 0.799, 0.748],
|
|
30
|
+
[1.34, 1.276, 1.213, 1.149, 1.085,
|
|
31
|
+
1.022, 0.958, 0.894, 0.831, 0.767],
|
|
32
|
+
[1.441, 1.37, 1.3, 1.229, 1.158,
|
|
33
|
+
1.088, 1.017, 0.946, 0.876, 0.805]],
|
|
34
|
+
"z2": [[0.872, 0.885, 0.898, 0.911, 0.925,
|
|
35
|
+
0.94, 0.945, 0.926, 0.903, 0.879],
|
|
36
|
+
[0.887, 0.909, 0.93, 0.947, 0.963,
|
|
37
|
+
0.971, 0.965, 0.939, 0.913, 0.887],
|
|
38
|
+
[0.891, 0.918, 0.946, 0.973, 1.001,
|
|
39
|
+
1.014, 1.015, 0.986, 0.955, 0.925],
|
|
40
|
+
[0.977, 0.977, 0.981, 0.995, 1.007,
|
|
41
|
+
1.002, 0.981, 0.961, 0.94, 0.92],
|
|
42
|
+
[0.956, 0.959, 0.969, 0.984, 1.0,
|
|
43
|
+
0.985, 0.967, 0.95, 0.932, 0.914],
|
|
44
|
+
[0.948, 0.959, 0.962, 0.949, 0.935,
|
|
45
|
+
0.922, 0.908, 0.895, 0.881, 0.868],
|
|
46
|
+
[0.879, 0.888, 0.898, 0.907, 0.916,
|
|
47
|
+
0.924, 0.915, 0.906, 0.896, 0.887]],
|
|
48
|
+
"ref": "Plis2016"
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
Thermal Engineering Systems in Python
|
|
2
|
+
=====================================
|
|
3
|
+
|
|
4
|
+
TESPy stands for "Thermal Engineering Systems in Python" and provides a
|
|
5
|
+
powerful simulation toolkit for thermal engineering plants such as power
|
|
6
|
+
plants, district heating systems or heat pumps. It is an external extension
|
|
7
|
+
module within the `Open Energy Modelling Framework <https://oemof.org/>`_ and
|
|
8
|
+
can be used as a standalone package.
|
|
9
|
+
|
|
10
|
+
With the TESPy package you are able to calculate stationary operation in order
|
|
11
|
+
to design the process of thermal energy systems. From that point it is possible
|
|
12
|
+
to simulate the offdesign behaviour of your plant using underlying
|
|
13
|
+
characteristics for each of the plants components. The package inlcudes basic
|
|
14
|
+
components, such as turbines, pumps, compressors, heat exchangers, pipes,
|
|
15
|
+
mixers and splitters as well as some advanced components (derivatives of heat
|
|
16
|
+
exchangers, drum).
|
|
17
|
+
|
|
18
|
+
Everybody is welcome to use and/or develop TESPy. Contribution is already
|
|
19
|
+
possible on a low level by simply fixing typos in TESPy's documentation or
|
|
20
|
+
rephrasing sections which are unclear. If you want to support us that way
|
|
21
|
+
please fork the TESPy repository to your own github account and make changes
|
|
22
|
+
as described in the github guidelines:
|
|
23
|
+
https://guides.github.com/activities/hello-world/
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
Documentation
|
|
28
|
+
=============
|
|
29
|
+
|
|
30
|
+
You can find the full documentation at
|
|
31
|
+
`readthedocs <http://tespy.readthedocs.org>`_. Use the
|
|
32
|
+
`project site <http://readthedocs.org/projects/tespy>`_ of readthedocs to
|
|
33
|
+
choose the version of the documentation. Go to the
|
|
34
|
+
`download page <http://readthedocs.org/projects/tespy/downloads/>`_ to
|
|
35
|
+
download different versions and formats (pdf, html, epub) of the documentation.
|
|
36
|
+
|
|
37
|
+
To get the latest news visit and follow our `website <https://www.oemof.org>`_.
|
|
38
|
+
|
|
39
|
+
Installing TESPy
|
|
40
|
+
================
|
|
41
|
+
|
|
42
|
+
If you have a working Python3 environment, use pypi to install the latest
|
|
43
|
+
tespy version:
|
|
44
|
+
|
|
45
|
+
.. code:: bash
|
|
46
|
+
|
|
47
|
+
pip install tespy
|
|
48
|
+
|
|
49
|
+
If you want to use the latest features, you might want to install the
|
|
50
|
+
**developer version**. See section
|
|
51
|
+
`Developing TESPy <http://tespy.readthedocs.io/en/dev/developing_tespy.html>`_
|
|
52
|
+
for more information. The developer version is not recommended for productive
|
|
53
|
+
use.
|
|
54
|
+
|
|
55
|
+
Examples
|
|
56
|
+
========
|
|
57
|
+
|
|
58
|
+
For a short introduction on how TESPy works and how you can use it, we provide
|
|
59
|
+
some
|
|
60
|
+
`examples and tutorials <https://tespy.readthedocs.io/en/master/tutorials_examples.html>`_,
|
|
61
|
+
go and check them out. You can download the python scripts of all example plants
|
|
62
|
+
from the
|
|
63
|
+
`tespy_examples <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy>`_
|
|
64
|
+
repository.
|
|
65
|
+
|
|
66
|
+
Citation
|
|
67
|
+
========
|
|
68
|
+
|
|
69
|
+
The scope and functionalities of TESPy have been documented in a paper
|
|
70
|
+
published in the Journal of Open Source Software with an OpenAccess license.
|
|
71
|
+
Download the paper from https://doi.org/10.21105/joss.02178. As TESPy is a free
|
|
72
|
+
software, we kindly ask that you add a reference to TESPy if you use the
|
|
73
|
+
software for your scientific work. Please cite the article with the BibTeX
|
|
74
|
+
citation below.
|
|
75
|
+
|
|
76
|
+
Additionally, you have the possibility to cite a specific version of TESPy to
|
|
77
|
+
make your work reproducible. The source code of every version is published on
|
|
78
|
+
zenodo. Find your version here: https://doi.org/10.5281/zenodo.2555866.
|
|
79
|
+
|
|
80
|
+
BibTeX citation::
|
|
81
|
+
|
|
82
|
+
@article{Witte2020,
|
|
83
|
+
doi = {10.21105/joss.02178}
|
|
84
|
+
year = {2020},
|
|
85
|
+
publisher = {The Open Journal},
|
|
86
|
+
volume = {5},
|
|
87
|
+
number = {49},
|
|
88
|
+
pages = {2178},
|
|
89
|
+
author = {Francesco Witte and Ilja Tuschy},
|
|
90
|
+
title = {{TESPy}: {T}hermal {E}ngineering {S}ystems in {P}ython},
|
|
91
|
+
journal = {Journal of Open Source Software}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
License
|
|
95
|
+
=======
|
|
96
|
+
|
|
97
|
+
Copyright (c) 2017-2020 oemof developer group
|
|
98
|
+
|
|
99
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
100
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
101
|
+
in the Software without restriction, including without limitation the rights
|
|
102
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
103
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
104
|
+
furnished to do so, subject to the following conditions:
|
|
105
|
+
|
|
106
|
+
The above copyright notice and this permission notice shall be included in all
|
|
107
|
+
copies or substantial portions of the Software.
|
|
108
|
+
|
|
109
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
110
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
111
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
112
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
113
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
114
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
115
|
+
SOFTWARE.
|
|
116
|
+
|
|
117
|
+
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
Metadata-Version: 2.0
|
|
2
|
+
Name: TESPy
|
|
3
|
+
Version: 0.3.0
|
|
4
|
+
Summary: Thermal Engineering Systems in Python (TESPy)
|
|
5
|
+
Home-page: https://github.com/oemof/tespy
|
|
6
|
+
Author: Francesco Witte
|
|
7
|
+
Author-email: francesco.witte@hs-flensburg.de
|
|
8
|
+
License: MIT
|
|
9
|
+
Project-URL: Documentation, https://tespy.readthedocs.io/
|
|
10
|
+
Project-URL: Changelog, https://tespy.readthedocs.io/en/latest/whats_new.html
|
|
11
|
+
Project-URL: Issue Tracker, https://github.com/oemof/tespy/issues
|
|
12
|
+
Platform: UNKNOWN
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Education
|
|
15
|
+
Classifier: Intended Audience :: Science/Research
|
|
16
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
+
Classifier: Operating System :: Unix
|
|
18
|
+
Classifier: Operating System :: POSIX
|
|
19
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
20
|
+
Classifier: Programming Language :: Python
|
|
21
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
22
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
23
|
+
Classifier: Programming Language :: Python :: 3.8
|
|
24
|
+
Classifier: Topic :: Scientific/Engineering
|
|
25
|
+
Requires-Python: >=3.6, <3.9
|
|
26
|
+
Provides-Extra: dev
|
|
27
|
+
Provides-Extra: dummy
|
|
28
|
+
Requires-Dist: CoolProp (<7,>=6.4)
|
|
29
|
+
Requires-Dist: numpy (<2,>=1.13.3)
|
|
30
|
+
Requires-Dist: pandas (!=1.0.0,<2,>=0.19.2)
|
|
31
|
+
Requires-Dist: scipy (<2,>=0.19.1)
|
|
32
|
+
Requires-Dist: tabulate (<0.9,>=0.8.2)
|
|
33
|
+
Provides-Extra: dev
|
|
34
|
+
Requires-Dist: pytest; extra == 'dev'
|
|
35
|
+
Requires-Dist: sphinx; extra == 'dev'
|
|
36
|
+
Requires-Dist: sphinx-rtd-theme; extra == 'dev'
|
|
37
|
+
Provides-Extra: dummy
|
|
38
|
+
Requires-Dist: tespy; extra == 'dummy'
|
|
39
|
+
|
|
40
|
+
Thermal Engineering Systems in Python
|
|
41
|
+
=====================================
|
|
42
|
+
|
|
43
|
+
TESPy stands for "Thermal Engineering Systems in Python" and provides a
|
|
44
|
+
powerful simulation toolkit for thermal engineering plants such as power
|
|
45
|
+
plants, district heating systems or heat pumps. It is an external extension
|
|
46
|
+
module within the `Open Energy Modelling Framework <https://oemof.org/>`_ and
|
|
47
|
+
can be used as a standalone package.
|
|
48
|
+
|
|
49
|
+
With the TESPy package you are able to calculate stationary operation in order
|
|
50
|
+
to design the process of thermal energy systems. From that point it is possible
|
|
51
|
+
to simulate the offdesign behaviour of your plant using underlying
|
|
52
|
+
characteristics for each of the plants components. The package inlcudes basic
|
|
53
|
+
components, such as turbines, pumps, compressors, heat exchangers, pipes,
|
|
54
|
+
mixers and splitters as well as some advanced components (derivatives of heat
|
|
55
|
+
exchangers, drum).
|
|
56
|
+
|
|
57
|
+
Everybody is welcome to use and/or develop TESPy. Contribution is already
|
|
58
|
+
possible on a low level by simply fixing typos in TESPy's documentation or
|
|
59
|
+
rephrasing sections which are unclear. If you want to support us that way
|
|
60
|
+
please fork the TESPy repository to your own github account and make changes
|
|
61
|
+
as described in the github guidelines:
|
|
62
|
+
https://guides.github.com/activities/hello-world/
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
Documentation
|
|
67
|
+
=============
|
|
68
|
+
|
|
69
|
+
You can find the full documentation at
|
|
70
|
+
`readthedocs <http://tespy.readthedocs.org>`_. Use the
|
|
71
|
+
`project site <http://readthedocs.org/projects/tespy>`_ of readthedocs to
|
|
72
|
+
choose the version of the documentation. Go to the
|
|
73
|
+
`download page <http://readthedocs.org/projects/tespy/downloads/>`_ to
|
|
74
|
+
download different versions and formats (pdf, html, epub) of the documentation.
|
|
75
|
+
|
|
76
|
+
To get the latest news visit and follow our `website <https://www.oemof.org>`_.
|
|
77
|
+
|
|
78
|
+
Installing TESPy
|
|
79
|
+
================
|
|
80
|
+
|
|
81
|
+
If you have a working Python3 environment, use pypi to install the latest
|
|
82
|
+
tespy version:
|
|
83
|
+
|
|
84
|
+
.. code:: bash
|
|
85
|
+
|
|
86
|
+
pip install tespy
|
|
87
|
+
|
|
88
|
+
If you want to use the latest features, you might want to install the
|
|
89
|
+
**developer version**. See section
|
|
90
|
+
`Developing TESPy <http://tespy.readthedocs.io/en/dev/developing_tespy.html>`_
|
|
91
|
+
for more information. The developer version is not recommended for productive
|
|
92
|
+
use.
|
|
93
|
+
|
|
94
|
+
Examples
|
|
95
|
+
========
|
|
96
|
+
|
|
97
|
+
For a short introduction on how TESPy works and how you can use it, we provide
|
|
98
|
+
some
|
|
99
|
+
`examples and tutorials <https://tespy.readthedocs.io/en/master/tutorials_examples.html>`_,
|
|
100
|
+
go and check them out. You can download the python scripts of all example plants
|
|
101
|
+
from the
|
|
102
|
+
`tespy_examples <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy>`_
|
|
103
|
+
repository.
|
|
104
|
+
|
|
105
|
+
Citation
|
|
106
|
+
========
|
|
107
|
+
|
|
108
|
+
The scope and functionalities of TESPy have been documented in a paper
|
|
109
|
+
published in the Journal of Open Source Software with an OpenAccess license.
|
|
110
|
+
Download the paper from https://doi.org/10.21105/joss.02178. As TESPy is a free
|
|
111
|
+
software, we kindly ask that you add a reference to TESPy if you use the
|
|
112
|
+
software for your scientific work. Please cite the article with the BibTeX
|
|
113
|
+
citation below.
|
|
114
|
+
|
|
115
|
+
Additionally, you have the possibility to cite a specific version of TESPy to
|
|
116
|
+
make your work reproducible. The source code of every version is published on
|
|
117
|
+
zenodo. Find your version here: https://doi.org/10.5281/zenodo.2555866.
|
|
118
|
+
|
|
119
|
+
BibTeX citation::
|
|
120
|
+
|
|
121
|
+
@article{Witte2020,
|
|
122
|
+
doi = {10.21105/joss.02178}
|
|
123
|
+
year = {2020},
|
|
124
|
+
publisher = {The Open Journal},
|
|
125
|
+
volume = {5},
|
|
126
|
+
number = {49},
|
|
127
|
+
pages = {2178},
|
|
128
|
+
author = {Francesco Witte and Ilja Tuschy},
|
|
129
|
+
title = {{TESPy}: {T}hermal {E}ngineering {S}ystems in {P}ython},
|
|
130
|
+
journal = {Journal of Open Source Software}
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
License
|
|
134
|
+
=======
|
|
135
|
+
|
|
136
|
+
Copyright (c) 2017-2020 oemof developer group
|
|
137
|
+
|
|
138
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
139
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
140
|
+
in the Software without restriction, including without limitation the rights
|
|
141
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
142
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
143
|
+
furnished to do so, subject to the following conditions:
|
|
144
|
+
|
|
145
|
+
The above copyright notice and this permission notice shall be included in all
|
|
146
|
+
copies or substantial portions of the Software.
|
|
147
|
+
|
|
148
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
149
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
150
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
151
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
152
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
153
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
154
|
+
SOFTWARE.
|
|
155
|
+
|
|
156
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
TESPy-0.3.0.data/data/src/tespy/data/char_lines.json,sha256=_2v-0dd4f8GxHdDNe2xmKypfyrrxzwHpqHHE0giJbWQ,7834
|
|
2
|
+
TESPy-0.3.0.data/data/src/tespy/data/char_maps.json,sha256=k8Rm7Cd7KSalzKrzsTnZ2oXqOqGkjEY-gIZAQmcg2D0,2661
|
|
3
|
+
TESPy-0.3.0.dist-info/DESCRIPTION.rst,sha256=plVA8z0_zKq53NouBMVEPY_Eg68xPC0_fbmNIh1ulLM,4710
|
|
4
|
+
TESPy-0.3.0.dist-info/METADATA,sha256=u63LFmR_h0jp5Dqb4kNEfGj4uYJEKD27YuVMI6qIBfw,6176
|
|
5
|
+
TESPy-0.3.0.dist-info/RECORD,,
|
|
6
|
+
TESPy-0.3.0.dist-info/WHEEL,sha256=kdsN-5OJAZIiHN-iO4Rhl82KyS0bDWf4uBwMbkNafr8,110
|
|
7
|
+
TESPy-0.3.0.dist-info/metadata.json,sha256=VZeWeY_AwRtq4ZEfQ9K9EFuIsMjidrHj98y_0MaqTG4,1342
|
|
8
|
+
TESPy-0.3.0.dist-info/top_level.txt,sha256=2H9I6Sw4GG9Mv4dvViO8XsaZKVrtC0EWnAIoqQyUzq8,6
|
|
9
|
+
tespy/__init__.py,sha256=OkOf9RuvkzNqS9kMoeyOYXZQl92UWeFcwZ0X-g9_mzE,1048
|
|
10
|
+
tespy/connections.py,sha256=JXGnIRa5NaNalJCefJKcYuWToRhOiEmP9pqtfg62DKc,39596
|
|
11
|
+
tespy/components/__init__.py,sha256=1hLg0ZxlUUxKV4v7278l9bJxQFhaW8-OvX4IZFM18O0,1314
|
|
12
|
+
tespy/components/basics.py,sha256=cGihXkhAkP4JMwSO3-JyW84O3bauclp4-EVK_TY_YBE,14510
|
|
13
|
+
tespy/components/combustion.py,sha256=EJyDoKybjy8lOUiPs7pUVuSNkY_UUIVawoLezTFpe8Y,111537
|
|
14
|
+
tespy/components/components.py,sha256=DmXzOfcOM4M9GeXhsPHd9114lrZvPzc4D75lX0j6A-w,27003
|
|
15
|
+
tespy/components/customs.py,sha256=5nfVjRYH2_hGmP08kvqU42WqKdM5Dsu5X8sLpQABkAs,26711
|
|
16
|
+
tespy/components/heat_exchangers.py,sha256=SqHp0UJgXWUqTFLMtE0D_aOEvzSzJsbfj_LBJ5gHxLk,110808
|
|
17
|
+
tespy/components/nodes.py,sha256=pvIff5KgVDXgxqxKnPreSum7kYBjXlWG1ba9WUdgJZs,59816
|
|
18
|
+
tespy/components/piping.py,sha256=rSGfEiMV192DfmSvHLh57_NZLkvaCf5n-mTt4YR6SvA,16715
|
|
19
|
+
tespy/components/reactors.py,sha256=qHyoXaw9ikIczhpX1XCOE7DjADN2E5yJV6XOSJK1QHk,33747
|
|
20
|
+
tespy/components/subsystems.py,sha256=4eqP1H4wq77kf8wcwCfOyDaNoKhdssQrTdLwo0K5wQQ,2278
|
|
21
|
+
tespy/components/turbomachinery.py,sha256=hD5Nt_3A8z-3zZQ4n58wiXGmFaD3PcSOGWhjJGvzA6w,57363
|
|
22
|
+
tespy/data/__init__.py,sha256=48yRT_Qp8ubyhuV91BHJ_igXd5trCVay-cEtuBjk3rM,20
|
|
23
|
+
tespy/data/char_lines.json,sha256=_2v-0dd4f8GxHdDNe2xmKypfyrrxzwHpqHHE0giJbWQ,7834
|
|
24
|
+
tespy/data/char_maps.json,sha256=k8Rm7Cd7KSalzKrzsTnZ2oXqOqGkjEY-gIZAQmcg2D0,2661
|
|
25
|
+
tespy/networks/__init__.py,sha256=n8P8Ol9g9YliTJS9mqhTKLznyj-fejDu3W78gD8IlPc,119
|
|
26
|
+
tespy/networks/network_reader.py,sha256=ASFZOYGnY97eWFmy24GGHKpoArAGx_zH8AaYRsAKahQ,22352
|
|
27
|
+
tespy/networks/networks.py,sha256=GuVW4YZhygeRUXhX3uVEvB3ZRWgmu4o4DAdqW6xEOi4,114541
|
|
28
|
+
tespy/tools/__init__.py,sha256=PTEa1yZnMSlwrxpq9P1xUms6lD5-cBvpspQwF3-as2o,598
|
|
29
|
+
tespy/tools/characteristics.py,sha256=iEOuLfah8eiFZ-bUawrK9YHkQlFz3WlXVYDQ9WoM0ck,20202
|
|
30
|
+
tespy/tools/data_containers.py,sha256=g35AKbH8ItfDIj9YCd3mk45xnjmjjtWDWTA-VwOcVVM,12191
|
|
31
|
+
tespy/tools/fluid_properties.py,sha256=hU6oJb4OenNbeNfXvCB6CYqJSeluv9vXBDEwAz_oDR0,48315
|
|
32
|
+
tespy/tools/global_vars.py,sha256=9e-w19nrHQa3hkaqccm8imOg6CcP8rKLbdOLbYM8JU0,428
|
|
33
|
+
tespy/tools/helpers.py,sha256=NQUf-cLB89eyiQLgGuE3wMefyJLfI77VwHBk_OX5pXk,13157
|
|
34
|
+
tespy/tools/logger.py,sha256=QE-ZrgSr3FELdbvCH9nf_MG2P4RnEUI_dd8WAEYTBMU,6208
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"classifiers": ["Development Status :: 4 - Beta", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: Unix", "Operating System :: POSIX", "Operating System :: Microsoft :: Windows", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Scientific/Engineering"], "extensions": {"python.details": {"contacts": [{"email": "francesco.witte@hs-flensburg.de", "name": "Francesco Witte", "role": "author"}], "document_names": {"description": "DESCRIPTION.rst"}, "project_urls": {"Home": "https://github.com/oemof/tespy"}}}, "extras": ["dev", "dummy"], "generator": "bdist_wheel (0.30.0)", "license": "MIT", "metadata_version": "2.0", "name": "TESPy", "project_url": "Documentation, https://tespy.readthedocs.io/", "requires_python": ">=3.6, <3.9", "run_requires": [{"requires": ["CoolProp (<7,>=6.4)", "numpy (<2,>=1.13.3)", "pandas (!=1.0.0,<2,>=0.19.2)", "scipy (<2,>=0.19.1)", "tabulate (<0.9,>=0.8.2)"]}, {"extra": "dev", "requires": ["pytest", "sphinx-rtd-theme", "sphinx"]}, {"extra": "dummy", "requires": ["tespy"]}], "summary": "Thermal Engineering Systems in Python (TESPy)", "test_requires": [{"requires": ["pytest"]}], "version": "0.3.0"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tespy
|
tespy/__init__.py
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# -*- coding: utf-8
|
|
2
|
+
|
|
3
|
+
__version__ = '0.3.0 - Mayer\'s Merit'
|
|
4
|
+
|
|
5
|
+
# tespy data and connection import
|
|
6
|
+
from . import connections # noqa: F401
|
|
7
|
+
from . import data # noqa: F401
|
|
8
|
+
# tespy components imports
|
|
9
|
+
from .components import basics # noqa: F401
|
|
10
|
+
from .components import combustion # noqa: F401
|
|
11
|
+
from .components import components # noqa: F401
|
|
12
|
+
from .components import heat_exchangers # noqa: F401
|
|
13
|
+
from .components import nodes # noqa: F401
|
|
14
|
+
from .components import piping # noqa: F401
|
|
15
|
+
from .components import reactors # noqa: F401
|
|
16
|
+
from .components import subsystems # noqa: F401
|
|
17
|
+
from .components import turbomachinery # noqa: F401
|
|
18
|
+
# tespy networks imports
|
|
19
|
+
from .networks import network_reader # noqa: F401
|
|
20
|
+
from .networks import networks # noqa: F401
|
|
21
|
+
# tespy tools imports
|
|
22
|
+
from .tools import characteristics # noqa: F401
|
|
23
|
+
from .tools import data_containers # noqa: F401
|
|
24
|
+
from .tools import fluid_properties # noqa: F401
|
|
25
|
+
from .tools import global_vars # noqa: F401
|
|
26
|
+
from .tools import helpers # noqa: F401
|
|
27
|
+
from .tools import logger # noqa: F401
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# -*- coding: utf-8
|
|
2
|
+
|
|
3
|
+
from .basics import cycle_closer # noqa: F401
|
|
4
|
+
from .basics import sink # noqa: F401
|
|
5
|
+
from .basics import source # noqa: F401
|
|
6
|
+
from .basics import subsystem_interface # noqa: F401
|
|
7
|
+
from .combustion import combustion_chamber # noqa: F401
|
|
8
|
+
from .combustion import combustion_chamber_stoich # noqa: F401
|
|
9
|
+
from .combustion import combustion_engine # noqa: F401
|
|
10
|
+
from .heat_exchangers import condenser # noqa: F401
|
|
11
|
+
from .heat_exchangers import desuperheater # noqa: F401
|
|
12
|
+
from .heat_exchangers import heat_exchanger # noqa: F401
|
|
13
|
+
from .heat_exchangers import heat_exchanger_simple # noqa: F401
|
|
14
|
+
from .heat_exchangers import parabolic_trough # noqa: F401
|
|
15
|
+
from .heat_exchangers import solar_collector # noqa: F401
|
|
16
|
+
from .nodes import droplet_separator # noqa: F401
|
|
17
|
+
from .nodes import drum # noqa: F401
|
|
18
|
+
from .nodes import merge # noqa: F401
|
|
19
|
+
from .nodes import node # noqa: F401
|
|
20
|
+
from .nodes import separator # noqa: F401
|
|
21
|
+
from .nodes import splitter # noqa: F401
|
|
22
|
+
from .piping import pipe # noqa: F401
|
|
23
|
+
from .piping import valve # noqa: F401
|
|
24
|
+
from .reactors import water_electrolyzer # noqa: F401
|
|
25
|
+
from .subsystems import subsystem # noqa: F401
|
|
26
|
+
from .turbomachinery import compressor # noqa: F401
|
|
27
|
+
from .turbomachinery import pump # noqa: F401
|
|
28
|
+
from .turbomachinery import turbine # noqa: F401
|