Skip to content

Commit 90f0940

Browse files
committed
Merge remote-tracking branch 'remotes/pp/develop' into controller_nrv
2 parents e7d6e16 + 9db47fa commit 90f0940

26 files changed

+616
-245
lines changed

pandapipes/create.py

Lines changed: 50 additions & 46 deletions
Large diffs are not rendered by default.

pandapipes/pipeflow_setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ def set_user_pf_options(net, reset=False, **kwargs):
170170
This function sets the "user_pf_options" dictionary for net. These options overrule
171171
net._internal_options once they are added to net. These options are used in configuration of
172172
load flow calculation.
173-
At the same time, user-defined arguments for pandapower.runpp() always have a higher priority.
174-
To remove user_pf_options, set "overwrite = True" and provide no additional arguments.
173+
At the same time, user-defined arguments for `pandapipes.pipeflow()` always have a higher
174+
priority. To remove user_pf_options, set "reset = True" and provide no additional arguments.
175175
176176
:param net: pandapipes network for which to create user options
177177
:type net: pandapipesNet
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
263 0.7601724655675309
2-
273 0.7320721770940607
3-
283 0.7059981039503254
4-
293 0.6817225592492853
5-
303 0.6590718810611205
6-
313 0.637889297594854
7-
323 0.6180304720790736
8-
333 0.5993769221606164
1+
263 0.7614762591064257
2+
273 0.733332277439119
3+
283 0.7072104923835694
4+
293 0.6828947600611692
5+
303 0.660205611537355
6+
313 0.6389854855679075
7+
323 0.6190946329317856
8+
333 0.6004074588524487
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
263 2116.275649450405
2-
273 2133.8009387428015
3-
283 2153.264304632777
4-
293 2174.599077755464
5-
303 2197.6871835478196
6-
313 2222.437403963176
7-
323 2248.7721608228626
8-
333 2276.504072959723
1+
263 2111.7430409177705
2+
273 2129.19525821288
3+
283 2148.5756908384515
4+
293 2169.8204812997346
5+
303 2192.8111461983763
6+
313 2217.455354914997
7+
323 2243.67904088272
8+
333 2271.295613279192
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.534465
1+
16.604497
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
263 1.0035530617360702e-05
2-
273 1.0390365321293799e-05
3-
283 1.0692713111636964e-05
4-
293 1.0994950155374195e-05
5-
303 1.1324299455598343e-05
6-
313 1.1694770044987924e-05
7-
323 1.1997184580971867e-05
8-
333 1.229928445542125e-05
1+
263 1.0047118361853041e-05
2+
273 1.04021750220461e-05
3+
283 1.0704866480048474e-05
4+
293 1.1007402297863992e-05
5+
303 1.1337005139349375e-05
6+
313 1.170765177634217e-05
7+
323 1.2010332619395079e-05
8+
333 1.231274052527204e-05
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
263 0.8061384658565334
2-
273 0.776244645669407
3-
283 0.7486623252182165
4-
293 0.7228932415821546
5-
303 0.6988702058487433
6-
313 0.6764325042987719
7-
323 0.6553291931563104
8-
333 0.6355887607852605
1+
263 0.8306178051814026
2+
273 0.799922400724048
3+
283 0.7714316639262186
4+
293 0.7449139708771392
5+
303 0.7201700961205101
6+
313 0.6970224553493767
7+
323 0.6753263217289178
8+
333 0.6549476238271483
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
263 1988.0279940929372
2-
273 2004.2383040682475
3-
283 2022.2062184118254
4-
293 2041.8360344488058
5-
303 2063.044947202759
6-
313 2085.72538899377
7-
323 2109.8124859346017
8-
333 2135.097361889473
1+
263 1912.6508646326008
2+
273 1927.5860535717497
3+
283 1944.1070056856142
4+
293 1962.1734284157246
5+
303 1981.6919875625886
6+
313 2002.53540838842
7+
323 2024.704116513856
8+
333 2048.0058721763976
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.671231
1+
18.1138902
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
263 1.0611887533890938e-05
2-
273 1.097999656553613e-05
3-
283 1.13003513726697e-05
4-
293 1.1620561612045843e-05
5-
303 1.1962418232021982e-05
6-
313 1.2342087570589509e-05
7-
323 1.266064664279232e-05
8-
333 1.2977373081403864e-05
1+
263 1.0819805733440352e-05
2+
273 1.1191812807790197e-05
3+
283 1.1518299476596454e-05
4+
293 1.1843752890043477e-05
5+
303 1.2190162697374919e-05
6+
313 1.2572974116790026e-05
7+
323 1.2896201894801348e-05
8+
333 1.3218481585118151e-05
Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,60 @@
1-
263 1.284
2-
273 1.234
3-
283 1.1924
4-
293 1.1508
5-
303 1.1126
6-
313 1.0778
7-
323 1.043
8-
333 1.01284
1+
# NIST Chemistry WebBook, SRD 69
2+
# https://webbook.nist.gov/cgi/fluid.cgi?P=1&TLow=263.15&THigh=373.15&TInc=2&Applet=on&Digits=5&ID=C7727379&Action=Load&Type=IsoBar&TUnit=K&PUnit=bar&DUnit=kg%2Fm3&HUnit=kJ%2Fkg&WUnit=m%2Fs&VisUnit=Pa*s&STUnit=N%2Fm&RefState=DEF
3+
# Eric W. Lemmon, Mark O. McLinden and Daniel G. Friend, "Thermophysical Properties of Fluid Systems" in NIST Chemistry WebBook, NIST Standard Reference Database Number 69, Eds. P.J. Linstrom and W.G. Mallard, National Institute of Standards and Technology, Gaithersburg MD, 20899, https://doi.org/10.18434/T4D303, (retrieved June 10, 2020)
4+
# temperature in Kelvin, density in kg/m³ at 1 bar
5+
263.15 1.28110
6+
265.15 1.27140
7+
267.15 1.26180
8+
269.15 1.25240
9+
271.15 1.24320
10+
273.15 1.23400
11+
275.15 1.22500
12+
277.15 1.21620
13+
279.15 1.20740
14+
281.15 1.19880
15+
283.15 1.19030
16+
285.15 1.18190
17+
287.15 1.17370
18+
289.15 1.16550
19+
291.15 1.15750
20+
293.15 1.14960
21+
295.15 1.14180
22+
297.15 1.13410
23+
299.15 1.12650
24+
301.15 1.11900
25+
303.15 1.11160
26+
305.15 1.10430
27+
307.15 1.09710
28+
309.15 1.09000
29+
311.15 1.08290
30+
313.15 1.07600
31+
315.15 1.06920
32+
317.15 1.06240
33+
319.15 1.05570
34+
321.15 1.04910
35+
323.15 1.04260
36+
325.15 1.03620
37+
327.15 1.02990
38+
329.15 1.02360
39+
331.15 1.01740
40+
333.15 1.01130
41+
335.15 1.00520
42+
337.15 0.99927
43+
339.15 0.99336
44+
341.15 0.98753
45+
343.15 0.98177
46+
345.15 0.97607
47+
347.15 0.97044
48+
349.15 0.96487
49+
351.15 0.95936
50+
353.15 0.95392
51+
355.15 0.94854
52+
357.15 0.94323
53+
359.15 0.93797
54+
361.15 0.93276
55+
363.15 0.92762
56+
365.15 0.92253
57+
367.15 0.91750
58+
369.15 0.91252
59+
371.15 0.90760
60+
373.15 0.90273
Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,60 @@
1-
263 1.0414e3
2-
273 1.041e3
3-
283 1.041e3
4-
293 1.041e3
5-
303 1.0412e3
6-
313 1.0416e3
7-
323 1.042e3
8-
333 1.042e3
1+
# NIST Chemistry WebBook, SRD 69
2+
# https://webbook.nist.gov/cgi/fluid.cgi?P=1&TLow=263.15&THigh=373.15&TInc=2&Applet=on&Digits=5&ID=C7727379&Action=Load&Type=IsoBar&TUnit=K&PUnit=bar&DUnit=kg%2Fm3&HUnit=kJ%2Fkg&WUnit=m%2Fs&VisUnit=Pa*s&STUnit=N%2Fm&RefState=DEF
3+
# Eric W. Lemmon, Mark O. McLinden and Daniel G. Friend, "Thermophysical Properties of Fluid Systems" in NIST Chemistry WebBook, NIST Standard Reference Database Number 69, Eds. P.J. Linstrom and W.G. Mallard, National Institute of Standards and Technology, Gaithersburg MD, 20899, https://doi.org/10.18434/T4D303, (retrieved June 10, 2020)
4+
# temperature in Kelvin, isobaric heat capacity in J/(kg K) at 1 bar
5+
263.15 1041.5
6+
265.15 1041.5
7+
267.15 1041.5
8+
269.15 1041.4
9+
271.15 1041.4
10+
273.15 1041.4
11+
275.15 1041.4
12+
277.15 1041.4
13+
279.15 1041.3
14+
281.15 1041.3
15+
283.15 1041.3
16+
285.15 1041.3
17+
287.15 1041.3
18+
289.15 1041.3
19+
291.15 1041.3
20+
293.15 1041.3
21+
295.15 1041.3
22+
297.15 1041.3
23+
299.15 1041.3
24+
301.15 1041.3
25+
303.15 1041.4
26+
305.15 1041.4
27+
307.15 1041.4
28+
309.15 1041.4
29+
311.15 1041.4
30+
313.15 1041.4
31+
315.15 1041.5
32+
317.15 1041.5
33+
319.15 1041.5
34+
321.15 1041.6
35+
323.15 1041.6
36+
325.15 1041.6
37+
327.15 1041.7
38+
329.15 1041.7
39+
331.15 1041.7
40+
333.15 1041.8
41+
335.15 1041.8
42+
337.15 1041.9
43+
339.15 1041.9
44+
341.15 1042.0
45+
343.15 1042.1
46+
345.15 1042.1
47+
347.15 1042.2
48+
349.15 1042.3
49+
351.15 1042.3
50+
353.15 1042.4
51+
355.15 1042.5
52+
357.15 1042.5
53+
359.15 1042.6
54+
361.15 1042.7
55+
363.15 1042.8
56+
365.15 1042.9
57+
367.15 1043.0
58+
369.15 1043.1
59+
371.15 1043.2
60+
373.15 1043.3
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
14.007
1+
# molar mass N2 in kg/kmol
2+
28.0134
Lines changed: 60 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,60 @@
1-
263 16.162e-6
2-
273 16.65e-6
3-
283 17.122e-6
4-
293 17.594e-6
5-
303 18.056e-6
6-
313 18.508e-6
7-
323 18.96e-6
8-
333 19.396e-6
1+
# NIST Chemistry WebBook, SRD 69
2+
# https://webbook.nist.gov/cgi/fluid.cgi?P=1&TLow=263.15&THigh=373.15&TInc=2&Applet=on&Digits=5&ID=C7727379&Action=Load&Type=IsoBar&TUnit=K&PUnit=bar&DUnit=kg%2Fm3&HUnit=kJ%2Fkg&WUnit=m%2Fs&VisUnit=Pa*s&STUnit=N%2Fm&RefState=DEF
3+
# Eric W. Lemmon, Mark O. McLinden and Daniel G. Friend, "Thermophysical Properties of Fluid Systems" in NIST Chemistry WebBook, NIST Standard Reference Database Number 69, Eds. P.J. Linstrom and W.G. Mallard, National Institute of Standards and Technology, Gaithersburg MD, 20899, https://doi.org/10.18434/T4D303, (retrieved June 10, 2020)
4+
# temperature in Kelvin, dynamic viscosity in Pa*s (or kg/(m s)) at 1 bar
5+
263.15 16.154E-6
6+
265.15 16.251E-6
7+
267.15 16.348E-6
8+
269.15 16.445E-6
9+
271.15 16.541E-6
10+
273.15 16.637E-6
11+
275.15 16.732E-6
12+
277.15 16.828E-6
13+
279.15 16.923E-6
14+
281.15 17.017E-6
15+
283.15 17.112E-6
16+
285.15 17.206E-6
17+
287.15 17.300E-6
18+
289.15 17.394E-6
19+
291.15 17.487E-6
20+
293.15 17.580E-6
21+
295.15 17.673E-6
22+
297.15 17.766E-6
23+
299.15 17.858E-6
24+
301.15 17.950E-6
25+
303.15 18.042E-6
26+
305.15 18.133E-6
27+
307.15 18.225E-6
28+
309.15 18.316E-6
29+
311.15 18.407E-6
30+
313.15 18.497E-6
31+
315.15 18.588E-6
32+
317.15 18.678E-6
33+
319.15 18.767E-6
34+
321.15 18.857E-6
35+
323.15 18.946E-6
36+
325.15 19.036E-6
37+
327.15 19.124E-6
38+
329.15 19.213E-6
39+
331.15 19.302E-6
40+
333.15 19.390E-6
41+
335.15 19.478E-6
42+
337.15 19.565E-6
43+
339.15 19.653E-6
44+
341.15 19.740E-6
45+
343.15 19.827E-6
46+
345.15 19.914E-6
47+
347.15 20.001E-6
48+
349.15 20.087E-6
49+
351.15 20.174E-6
50+
353.15 20.260E-6
51+
355.15 20.345E-6
52+
357.15 20.431E-6
53+
359.15 20.516E-6
54+
361.15 20.601E-6
55+
363.15 20.686E-6
56+
365.15 20.771E-6
57+
367.15 20.856E-6
58+
369.15 20.940E-6
59+
371.15 21.024E-6
60+
373.15 21.108E-6

0 commit comments

Comments
 (0)