tespy 0.2.0__tar.gz → 0.2.2__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.
Files changed (38) hide show
  1. {TESPy-0.2.0 → TESPy-0.2.2}/PKG-INFO +46 -15
  2. TESPy-0.2.2/README.rst +93 -0
  3. {TESPy-0.2.0 → TESPy-0.2.2}/TESPy.egg-info/PKG-INFO +46 -15
  4. {TESPy-0.2.0 → TESPy-0.2.2}/TESPy.egg-info/SOURCES.txt +1 -0
  5. TESPy-0.2.2/TESPy.egg-info/requires.txt +5 -0
  6. {TESPy-0.2.0 → TESPy-0.2.2}/setup.py +6 -6
  7. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/__init__.py +1 -1
  8. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/components/basics.py +133 -75
  9. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/components/combustion.py +563 -413
  10. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/components/components.py +88 -116
  11. TESPy-0.2.2/tespy/components/customs.py +742 -0
  12. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/components/heat_exchangers.py +587 -683
  13. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/components/nodes.py +378 -382
  14. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/components/piping.py +121 -91
  15. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/components/reactors.py +274 -254
  16. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/components/subsystems.py +0 -2
  17. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/components/turbomachinery.py +463 -494
  18. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/connections.py +19 -9
  19. TESPy-0.2.2/tespy/data/char_lines.json +213 -0
  20. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/data/char_maps.json +3 -2
  21. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/networks/network_reader.py +16 -11
  22. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/networks/networks.py +360 -555
  23. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/tools/characteristics.py +127 -17
  24. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/tools/data_containers.py +47 -51
  25. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/tools/fluid_properties.py +46 -58
  26. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/tools/helpers.py +26 -39
  27. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/tools/logger.py +2 -1
  28. TESPy-0.2.0/README.rst +0 -62
  29. TESPy-0.2.0/TESPy.egg-info/requires.txt +0 -5
  30. TESPy-0.2.0/tespy/data/char_lines.json +0 -191
  31. {TESPy-0.2.0 → TESPy-0.2.2}/TESPy.egg-info/dependency_links.txt +0 -0
  32. {TESPy-0.2.0 → TESPy-0.2.2}/TESPy.egg-info/top_level.txt +0 -0
  33. {TESPy-0.2.0 → TESPy-0.2.2}/setup.cfg +0 -0
  34. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/components/__init__.py +0 -0
  35. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/data/__init__.py +0 -0
  36. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/networks/__init__.py +0 -0
  37. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/tools/__init__.py +0 -0
  38. {TESPy-0.2.0 → TESPy-0.2.2}/tespy/tools/global_vars.py +0 -0
@@ -1,50 +1,81 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: TESPy
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Thermal Engineering Systems in Python (TESPy)
5
5
  Home-page: http://github.com/oemof/tespy
6
6
  Author: Francesco Witte
7
7
  Author-email: francesco.witte@web.de
8
8
  License: MIT
9
- Description: .. image:: https://coveralls.io/repos/github/oemof/tespy/badge.svg?branch=dev
10
- :target: https://coveralls.io/github/oemof/tespy?branch=dev
11
- .. image:: https://travis-ci.org/oemof/tespy.svg?branch=dev
9
+ Description: .. image:: https://coveralls.io/repos/github/oemof/tespy/badge.svg?branch=master
10
+ :target: https://coveralls.io/github/oemof/tespy?branch=master
11
+ .. image:: https://travis-ci.org/oemof/tespy.svg?branch=master
12
12
  :target: https://travis-ci.org/oemof/tespy
13
- .. image:: https://readthedocs.org/projects/tespy/badge/?version=dev
14
- :target: https://tespy.readthedocs.io/en/dev/
13
+ .. image:: https://readthedocs.org/projects/tespy/badge/?version=master
14
+ :target: https://tespy.readthedocs.io/en/master/
15
15
  .. image:: https://badge.fury.io/py/TESPy.svg
16
16
  :target: https://badge.fury.io/py/TESPy
17
17
  .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.2555866.svg
18
18
  :target: https://doi.org/10.5281/zenodo.2555866
19
19
 
20
- TESPy stands for "Thermal Engineering Systems in Python" and provides a powerful simulation toolkit for thermal engineering plants such as power plants, district heating systems or heat pumps. It is an external extension module within the `Open Energy Modelling Framework <https://oemof.org/>`_ and can be used as a standalone package.
21
-
22
- With the TESPy package you are able to calculate stationary operation in order to design the process of thermal energy systems. From that point it is possible to simulate the offdesign behaviour of your plant using underlying characteristics for each of the plants components. The package inlcudes basic components, such as turbines, pumps, compressors, heat exchangers, pipes, mixers and splitters as well as some advanced components (derivatives of heat exchangers, drum).
23
-
24
- Everybody is welcome to use and/or develop TESPy. Contribution is already possible on a low level by simply fixing typos in TESPy's documentation or rephrasing sections which are unclear. If you want to support us that way please fork the TESPy repository to your own github account and make changes as described in the github guidelines: https://guides.github.com/activities/hello-world/
20
+ TESPy stands for "Thermal Engineering Systems in Python" and provides a
21
+ powerful simulation toolkit for thermal engineering plants such as power
22
+ plants, district heating systems or heat pumps. It is an external extension
23
+ module within the `Open Energy Modelling Framework <https://oemof.org/>`_ and
24
+ can be used as a standalone package.
25
+
26
+ With the TESPy package you are able to calculate stationary operation in order
27
+ to design the process of thermal energy systems. From that point it is possible
28
+ to simulate the offdesign behaviour of your plant using underlying
29
+ characteristics for each of the plants components. The package inlcudes basic
30
+ components, such as turbines, pumps, compressors, heat exchangers, pipes,
31
+ mixers and splitters as well as some advanced components (derivatives of heat
32
+ exchangers, drum).
33
+
34
+ Everybody is welcome to use and/or develop TESPy. Contribution is already
35
+ possible on a low level by simply fixing typos in TESPy's documentation or
36
+ rephrasing sections which are unclear. If you want to support us that way
37
+ please fork the TESPy repository to your own github account and make changes
38
+ as described in the github guidelines:
39
+ https://guides.github.com/activities/hello-world/
25
40
 
26
41
  Documentation
27
42
  =============
28
43
 
29
- You can find the full documentation at `readthedocs <http://tespy.readthedocs.org>`_. Use the `project site <http://readthedocs.org/projects/tespy>`_ of readthedocs to choose the version of the documentation. Go to the `download page <http://readthedocs.org/projects/tespy/downloads/>`_ to download different versions and formats (pdf, html, epub) of the documentation.
44
+ You can find the full documentation at
45
+ `readthedocs <http://tespy.readthedocs.org>`_. Use the
46
+ `project site <http://readthedocs.org/projects/tespy>`_ of readthedocs to
47
+ choose the version of the documentation. Go to the
48
+ `download page <http://readthedocs.org/projects/tespy/downloads/>`_ to
49
+ download different versions and formats (pdf, html, epub) of the documentation.
30
50
 
31
51
  To get the latest news visit and follow our `website <https://www.oemof.org>`_.
32
52
 
33
53
  Installing TESPy
34
54
  ================
35
55
 
36
- If you have a working Python3 environment, use pypi to install the latest tespy version:
56
+ If you have a working Python3 environment, use pypi to install the latest
57
+ tespy version:
37
58
 
38
59
  .. code:: bash
39
60
 
40
61
  pip install tespy
41
62
 
42
- If you want to use the latest features, you might want to install the **developer version**. See section `Developing TESPy <http://tespy.readthedocs.io/en/latest/developing_tespy.html>`_ for more information. The developer version is not recommended for productive use.
63
+ If you want to use the latest features, you might want to install the
64
+ **developer version**. See section
65
+ `Developing TESPy <http://tespy.readthedocs.io/en/dev/developing_tespy.html>`_
66
+ for more information. The developer version is not recommended for productive
67
+ use.
43
68
 
44
69
  Examples
45
70
  ========
46
71
 
47
- For a short introduction on how TESPy works and how you can use it, we provide some `basic examples and tutorials <http://tespy.readthedocs.io/en/latest/getting_started.html>`_, go and check them out. You can download the python scripts of all example plants from the `tespy_examples repository <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy>`_.
72
+ For a short introduction on how TESPy works and how you can use it, we provide
73
+ some
74
+ `examples and tutorials <https://tespy.readthedocs.io/en/master/tutorials_examples.html>`_,
75
+ go and check them out. You can download the python scripts of all example plants
76
+ from the
77
+ `tespy_examples <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy>`_
78
+ repository.
48
79
 
49
80
  License
50
81
  =======
TESPy-0.2.2/README.rst ADDED
@@ -0,0 +1,93 @@
1
+ .. image:: https://coveralls.io/repos/github/oemof/tespy/badge.svg?branch=master
2
+ :target: https://coveralls.io/github/oemof/tespy?branch=master
3
+ .. image:: https://travis-ci.org/oemof/tespy.svg?branch=master
4
+ :target: https://travis-ci.org/oemof/tespy
5
+ .. image:: https://readthedocs.org/projects/tespy/badge/?version=master
6
+ :target: https://tespy.readthedocs.io/en/master/
7
+ .. image:: https://badge.fury.io/py/TESPy.svg
8
+ :target: https://badge.fury.io/py/TESPy
9
+ .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.2555866.svg
10
+ :target: https://doi.org/10.5281/zenodo.2555866
11
+
12
+ TESPy stands for "Thermal Engineering Systems in Python" and provides a
13
+ powerful simulation toolkit for thermal engineering plants such as power
14
+ plants, district heating systems or heat pumps. It is an external extension
15
+ module within the `Open Energy Modelling Framework <https://oemof.org/>`_ and
16
+ can be used as a standalone package.
17
+
18
+ With the TESPy package you are able to calculate stationary operation in order
19
+ to design the process of thermal energy systems. From that point it is possible
20
+ to simulate the offdesign behaviour of your plant using underlying
21
+ characteristics for each of the plants components. The package inlcudes basic
22
+ components, such as turbines, pumps, compressors, heat exchangers, pipes,
23
+ mixers and splitters as well as some advanced components (derivatives of heat
24
+ exchangers, drum).
25
+
26
+ Everybody is welcome to use and/or develop TESPy. Contribution is already
27
+ possible on a low level by simply fixing typos in TESPy's documentation or
28
+ rephrasing sections which are unclear. If you want to support us that way
29
+ please fork the TESPy repository to your own github account and make changes
30
+ as described in the github guidelines:
31
+ https://guides.github.com/activities/hello-world/
32
+
33
+ Documentation
34
+ =============
35
+
36
+ You can find the full documentation at
37
+ `readthedocs <http://tespy.readthedocs.org>`_. Use the
38
+ `project site <http://readthedocs.org/projects/tespy>`_ of readthedocs to
39
+ choose the version of the documentation. Go to the
40
+ `download page <http://readthedocs.org/projects/tespy/downloads/>`_ to
41
+ download different versions and formats (pdf, html, epub) of the documentation.
42
+
43
+ To get the latest news visit and follow our `website <https://www.oemof.org>`_.
44
+
45
+ Installing TESPy
46
+ ================
47
+
48
+ If you have a working Python3 environment, use pypi to install the latest
49
+ tespy version:
50
+
51
+ .. code:: bash
52
+
53
+ pip install tespy
54
+
55
+ If you want to use the latest features, you might want to install the
56
+ **developer version**. See section
57
+ `Developing TESPy <http://tespy.readthedocs.io/en/dev/developing_tespy.html>`_
58
+ for more information. The developer version is not recommended for productive
59
+ use.
60
+
61
+ Examples
62
+ ========
63
+
64
+ For a short introduction on how TESPy works and how you can use it, we provide
65
+ some
66
+ `examples and tutorials <https://tespy.readthedocs.io/en/master/tutorials_examples.html>`_,
67
+ go and check them out. You can download the python scripts of all example plants
68
+ from the
69
+ `tespy_examples <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy>`_
70
+ repository.
71
+
72
+ License
73
+ =======
74
+
75
+ Copyright (c) 2019 oemof developer group
76
+
77
+ Permission is hereby granted, free of charge, to any person obtaining a copy
78
+ of this software and associated documentation files (the "Software"), to deal
79
+ in the Software without restriction, including without limitation the rights
80
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
81
+ copies of the Software, and to permit persons to whom the Software is
82
+ furnished to do so, subject to the following conditions:
83
+
84
+ The above copyright notice and this permission notice shall be included in all
85
+ copies or substantial portions of the Software.
86
+
87
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
88
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
89
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
90
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
91
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
92
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
93
+ SOFTWARE.
@@ -1,50 +1,81 @@
1
1
  Metadata-Version: 1.2
2
2
  Name: TESPy
3
- Version: 0.2.0
3
+ Version: 0.2.2
4
4
  Summary: Thermal Engineering Systems in Python (TESPy)
5
5
  Home-page: http://github.com/oemof/tespy
6
6
  Author: Francesco Witte
7
7
  Author-email: francesco.witte@web.de
8
8
  License: MIT
9
- Description: .. image:: https://coveralls.io/repos/github/oemof/tespy/badge.svg?branch=dev
10
- :target: https://coveralls.io/github/oemof/tespy?branch=dev
11
- .. image:: https://travis-ci.org/oemof/tespy.svg?branch=dev
9
+ Description: .. image:: https://coveralls.io/repos/github/oemof/tespy/badge.svg?branch=master
10
+ :target: https://coveralls.io/github/oemof/tespy?branch=master
11
+ .. image:: https://travis-ci.org/oemof/tespy.svg?branch=master
12
12
  :target: https://travis-ci.org/oemof/tespy
13
- .. image:: https://readthedocs.org/projects/tespy/badge/?version=dev
14
- :target: https://tespy.readthedocs.io/en/dev/
13
+ .. image:: https://readthedocs.org/projects/tespy/badge/?version=master
14
+ :target: https://tespy.readthedocs.io/en/master/
15
15
  .. image:: https://badge.fury.io/py/TESPy.svg
16
16
  :target: https://badge.fury.io/py/TESPy
17
17
  .. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.2555866.svg
18
18
  :target: https://doi.org/10.5281/zenodo.2555866
19
19
 
20
- TESPy stands for "Thermal Engineering Systems in Python" and provides a powerful simulation toolkit for thermal engineering plants such as power plants, district heating systems or heat pumps. It is an external extension module within the `Open Energy Modelling Framework <https://oemof.org/>`_ and can be used as a standalone package.
21
-
22
- With the TESPy package you are able to calculate stationary operation in order to design the process of thermal energy systems. From that point it is possible to simulate the offdesign behaviour of your plant using underlying characteristics for each of the plants components. The package inlcudes basic components, such as turbines, pumps, compressors, heat exchangers, pipes, mixers and splitters as well as some advanced components (derivatives of heat exchangers, drum).
23
-
24
- Everybody is welcome to use and/or develop TESPy. Contribution is already possible on a low level by simply fixing typos in TESPy's documentation or rephrasing sections which are unclear. If you want to support us that way please fork the TESPy repository to your own github account and make changes as described in the github guidelines: https://guides.github.com/activities/hello-world/
20
+ TESPy stands for "Thermal Engineering Systems in Python" and provides a
21
+ powerful simulation toolkit for thermal engineering plants such as power
22
+ plants, district heating systems or heat pumps. It is an external extension
23
+ module within the `Open Energy Modelling Framework <https://oemof.org/>`_ and
24
+ can be used as a standalone package.
25
+
26
+ With the TESPy package you are able to calculate stationary operation in order
27
+ to design the process of thermal energy systems. From that point it is possible
28
+ to simulate the offdesign behaviour of your plant using underlying
29
+ characteristics for each of the plants components. The package inlcudes basic
30
+ components, such as turbines, pumps, compressors, heat exchangers, pipes,
31
+ mixers and splitters as well as some advanced components (derivatives of heat
32
+ exchangers, drum).
33
+
34
+ Everybody is welcome to use and/or develop TESPy. Contribution is already
35
+ possible on a low level by simply fixing typos in TESPy's documentation or
36
+ rephrasing sections which are unclear. If you want to support us that way
37
+ please fork the TESPy repository to your own github account and make changes
38
+ as described in the github guidelines:
39
+ https://guides.github.com/activities/hello-world/
25
40
 
26
41
  Documentation
27
42
  =============
28
43
 
29
- You can find the full documentation at `readthedocs <http://tespy.readthedocs.org>`_. Use the `project site <http://readthedocs.org/projects/tespy>`_ of readthedocs to choose the version of the documentation. Go to the `download page <http://readthedocs.org/projects/tespy/downloads/>`_ to download different versions and formats (pdf, html, epub) of the documentation.
44
+ You can find the full documentation at
45
+ `readthedocs <http://tespy.readthedocs.org>`_. Use the
46
+ `project site <http://readthedocs.org/projects/tespy>`_ of readthedocs to
47
+ choose the version of the documentation. Go to the
48
+ `download page <http://readthedocs.org/projects/tespy/downloads/>`_ to
49
+ download different versions and formats (pdf, html, epub) of the documentation.
30
50
 
31
51
  To get the latest news visit and follow our `website <https://www.oemof.org>`_.
32
52
 
33
53
  Installing TESPy
34
54
  ================
35
55
 
36
- If you have a working Python3 environment, use pypi to install the latest tespy version:
56
+ If you have a working Python3 environment, use pypi to install the latest
57
+ tespy version:
37
58
 
38
59
  .. code:: bash
39
60
 
40
61
  pip install tespy
41
62
 
42
- If you want to use the latest features, you might want to install the **developer version**. See section `Developing TESPy <http://tespy.readthedocs.io/en/latest/developing_tespy.html>`_ for more information. The developer version is not recommended for productive use.
63
+ If you want to use the latest features, you might want to install the
64
+ **developer version**. See section
65
+ `Developing TESPy <http://tespy.readthedocs.io/en/dev/developing_tespy.html>`_
66
+ for more information. The developer version is not recommended for productive
67
+ use.
43
68
 
44
69
  Examples
45
70
  ========
46
71
 
47
- For a short introduction on how TESPy works and how you can use it, we provide some `basic examples and tutorials <http://tespy.readthedocs.io/en/latest/getting_started.html>`_, go and check them out. You can download the python scripts of all example plants from the `tespy_examples repository <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy>`_.
72
+ For a short introduction on how TESPy works and how you can use it, we provide
73
+ some
74
+ `examples and tutorials <https://tespy.readthedocs.io/en/master/tutorials_examples.html>`_,
75
+ go and check them out. You can download the python scripts of all example plants
76
+ from the
77
+ `tespy_examples <https://github.com/oemof/oemof-examples/tree/master/oemof_examples/tespy>`_
78
+ repository.
48
79
 
49
80
  License
50
81
  =======
@@ -12,6 +12,7 @@ tespy/components/__init__.py
12
12
  tespy/components/basics.py
13
13
  tespy/components/combustion.py
14
14
  tespy/components/components.py
15
+ tespy/components/customs.py
15
16
  tespy/components/heat_exchangers.py
16
17
  tespy/components/nodes.py
17
18
  tespy/components/piping.py
@@ -0,0 +1,5 @@
1
+ CoolProp<7,>=6
2
+ numpy<2,>=1.13.3
3
+ pandas!=1.0.0,<2,>=0.19.2
4
+ scipy<2,>=0.19.1
5
+ tabulate<0.9,>=0.8.2
@@ -7,7 +7,7 @@ def read(fname):
7
7
 
8
8
 
9
9
  setup(name='TESPy',
10
- version='0.2.0',
10
+ version='0.2.2',
11
11
  description='Thermal Engineering Systems in Python (TESPy)',
12
12
  url='http://github.com/oemof/tespy',
13
13
  author='Francesco Witte',
@@ -20,8 +20,8 @@ setup(name='TESPy',
20
20
  data_files=[('tespy/data', ['tespy/data/char_lines.json',
21
21
  'tespy/data/char_maps.json'])],
22
22
  python_requires='>=3',
23
- install_requires=['CoolProp >= 6.0.0',
24
- 'numpy >= 1.13.3',
25
- 'pandas >= 0.19.2',
26
- 'scipy >= 0.19.1',
27
- 'tabulate >= 0.8.2'])
23
+ install_requires=['CoolProp>=6,<7',
24
+ 'numpy>=1.13.3,<2',
25
+ 'pandas>=0.19.2,!=1.0.0,<2',
26
+ 'scipy>=0.19.1,<2',
27
+ 'tabulate>=0.8.2,<0.9'])
@@ -1,6 +1,6 @@
1
1
  # -*- coding: utf-8
2
2
 
3
- __version__ = '0.2.0 - Clausius\' Circus'
3
+ __version__ = '0.2.2 - Rankine\'s Realm'
4
4
 
5
5
  # tespy networks imports
6
6
  from tespy.networks import (