Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
fwitte committed Mar 2, 2025
2 parents c15e688 + 190bf6e commit 5ec3708
Show file tree
Hide file tree
Showing 20 changed files with 1,153 additions and 66 deletions.
20 changes: 20 additions & 0 deletions docs/references.bib
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@ @misc{Kearney1988
year = {1988},
}

@book{Tanuma2017,
doi = {10.1016/C2014-0-03636-2},
editor = {T. Tanuma},
isbn = {9780081003145},
publisher = {Elsevier},
title = {Advances in Steam Turbines for Modern Power Plants},
year = {2017},
}

@TechReport{Lippke1995,
author = {Lippke, Frank},
institution = {Sandia National Lab.},
Expand Down Expand Up @@ -411,3 +420,14 @@ @inproceedings{Fritz2024
author = {Fritz, Malte and Freißmann, Jonas and Tuschy, Ilja},
title = {Open-Source Web Dashboard zur Simulation, Analyse und Bewertung von Wärmepumpen}
}

@article{bell2015,
title = {A generalized moving-boundary algorithm to predict the heat transfer rate of counterflow heat exchangers for any phase configuration},
journal = {Applied Thermal Engineering},
volume = {79},
pages = {192-201},
year = {2015},
issn = {1359-4311},
doi = {https://doi.org/10.1016/j.applthermaleng.2014.12.028},
author = {Ian H. Bell and Sylvain Quoilin and Emeline Georges and James E. Braun and Eckhard A. Groll and W. Travis Horton and Vincent Lemort},
}
1 change: 1 addition & 0 deletions docs/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ What's New

Discover notable new features and improvements in each release

.. include:: whats_new/v0-7-9.rst
.. include:: whats_new/v0-7-8-002.rst
.. include:: whats_new/v0-7-8-001.rst
.. include:: whats_new/v0-7-8.rst
Expand Down
38 changes: 38 additions & 0 deletions docs/whats_new/v0-7-9.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
v0.7.9 - Under development
++++++++++++++++++++++++++

New Features
############
- Implement a new property for connections to report the phase of the fluid,
i.e. :code:`"l"` for liquid, :code:`"tp"` for two-phase and :code:`"g"` for
gaseous. The phase is only reported in subcritical pressure
(`PR #592 <https://github.com/oemof/tespy/pull/592>`__).
- Implement the Baumann correlation for wet expansion in steamturbines. The
feature is available in a new component class,
:py:class:`tespy.components.turbomachinery.steam_turbine.SteamTurbine`. To
use the feature check the documentation of the component class
(`PR #602 <https://github.com/oemof/tespy/pull/602>`__).
- Implement a new component class
:py:class:`tespy.components.heat_exchangers.movingboundary.MovingBoundaryHeatExchanger`,
which allows to make specification of internal pinch temperature difference
in case of heat exchanger internal phase changes on the hot or the cold side
of the component. It splits the heat exchange automatically in sections,
where in each section the phase of the hot and the cold fluid does not change.
These sections are utilized to find the minimum pinch internally, and allow
to assing heat transfer coefficients `UA` for all individual sections as well
as the total sum
(`PR #515 <https://github.com/oemof/tespy/pull/515>`__).

Bug Fixes
#########
- Run the postprocessing only for a converged solution. Otherwise specified
values on buses, components or connections may change to nonsense, because
the calculation is based on not-converged results of the variables
(`PR #609 <https://github.com/oemof/tespy/pull/609>`__).
- Fix the fuel cell example and make sure it is tested properly
(`PR #618 <https://github.com/oemof/tespy/pull/618>`__).

Contributors
############
- `@tlmerbecks <https://github.com/tlmerbecks>`__
- Francesco Witte (`@fwitte <https://github.com/fwitte>`__)
3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ exclude = ["docs/_build"]

[project]
name = "tespy"
version = "0.7.8.post2"
version = "0.7.9"
description = "Thermal Engineering Systems in Python (TESPy)"
readme = "README.rst"
authors = [
Expand All @@ -51,6 +51,7 @@ dependencies = [
"matplotlib>=3.2.1",
"numpy>=1.13.3",
"pandas>=1.3.0",
"scipy",
"tabulate>=0.8.2",
]
license = {text = "MIT"}
Expand Down
2 changes: 1 addition & 1 deletion src/tespy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os

__datapath__ = os.path.join(importlib.resources.files("tespy"), "data")
__version__ = '0.7.8.post2 - Newton\'s Nature'
__version__ = '0.7.9 - Newton\'s Nature'

# tespy data and connections import
from . import connections # noqa: F401
Expand Down
2 changes: 2 additions & 0 deletions src/tespy/components/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from .heat_exchangers.base import HeatExchanger # noqa: F401
from .heat_exchangers.condenser import Condenser # noqa: F401
from .heat_exchangers.desuperheater import Desuperheater # noqa: F401
from .heat_exchangers.movingboundary import MovingBoundaryHeatExchanger # noqa: F401
from .heat_exchangers.parabolic_trough import ParabolicTrough # noqa: F401
from .heat_exchangers.simple import HeatExchangerSimple # noqa: F401
from .heat_exchangers.simple import SimpleHeatExchanger # noqa: F401
Expand All @@ -26,4 +27,5 @@
from .subsystem import Subsystem # noqa: F401
from .turbomachinery.compressor import Compressor # noqa: F401
from .turbomachinery.pump import Pump # noqa: F401
from .turbomachinery.steam_turbine import SteamTurbine # noqa: F401
from .turbomachinery.turbine import Turbine # noqa: F401
Loading

0 comments on commit 5ec3708

Please sign in to comment.