Skip to main content
https://img.shields.io/pypi/v/carbatpy.svg Documentation Status

Modeling Carnot Batteries (Thermal Energy Storage), a Python package.

This is a project aiming to model thermal energy storages using heat pumps for charging, organic Rankine cycles (ORC) for discharging and different kinds of storages. For this, it is planned to use detailed fluid models (as implemented e.g. in REFPROP, CoolProp, or TREND ) and setting up systems which can either be steady state or (later) also unsteady. For the moment a Refprop license is needed. Since this project just starts, do not expect too much.

If Trend is installed and shall be used, in the configuration file carbatpy.cb_config.py the dictionary _TREND has to be set from {“USE_TREND”:False, “TREND_DLL”:””, ‘TREND_PATH’:””} to True and the two paths must be set as system variables. (The Trend part is only ready for thermodynamic data, no transport data!)

It is aimed to have heat exchangers, machines and storages as compounds, which can be combined to different charging and dicharging configurations. For these, the energy balance, mass balance and further relations will be applied/solved. Later on also thermo-economic calculations are planned.

For the beginning, the solution of the spatially resolved heat exchanger profiles, a boundary value problem, and its irreversibility will be implemented. An optimization will follow. The main part of carbatpy are the subpackages in models

The main part of carbatpy are the subpackages in models:

cb_fluids

Evaluate fluid mixture properties using REFPROP and TREND.

components

Evaluate the change of state of a fluid when passing different devices like machines (turbines, compressors), heat exchangers, throttles, etc.; see comp.py.

coupled

Evaluate the coupled devices leading to thermodynamic cycles and Carnot batteries.

Burak Atakan, University of Duisburg-Essen, Germany

You can contact us at: batakan [a t ]uni-duisburg.de or atakan.thermodynamik.duisburg [ a t] gmail.com

Features

  • Can actually calculate steady state heat pumps, ORCs and Carnot-batteries with two storage tank pairs.

  • Only thermodynamics (at the moment): no heat exchanger calculations, only minimum approach temperatures used.

  • Fluid properties from Refprop (NIST)

  • Fluid properties from TREND (RU Bochum, Prof. Roland Span) for thermodynamic property calculations.

  • Optimizing pressure levels for high second law efficiencies.

  • Cost estimation with correlations from the literature

  • Include detailled machine models from SPP 2403

  • Reading the cycle configuration(s) and parameters from a yaml-file.

  • Include heat exchanger calculations (solvving the ODE with local properties)

  • Calculating efficiencies and costs of Carnot batteries in quasi steady-state

TODO

Evaluate time dependent cycle dependence

Credits

  • This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

  • The machine models from the Chair of Turbomachinery at University of Duisburg- Essen are used, authored by S. Folkers and Prof. D. Brillert.

Metadata

Release files for carbatpy 0.5.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for carbatpy 0.5.6
File Size Uploaded
carbatpy-0.5.6.tar.gz 3.2 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for carbatpy 0.5.6
File Interpreter ABI Platform
carbatpy-0.5.6-py3-none-any.whl Python 3 none any Details

Total release size: 6.4 MB

Release files / carbatpy-0.5.6.tar.gz

Download URL carbatpy-0.5.6.tar.gz
Size 3.2 MB
Tags Source
SHA-256 checksum
How to use checksums
4f05ed8e2289173d9be0d72262ee7e74b76e826d8b4d01eae495bfb730058a27
BLAKE2b-256 checksum
How to use checksums
bbc80ef79779f2c96376d6521fb104564248f5160916e3b3c3aab1abef1bb158
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.0 CPython/3.12.10 Windows/11

Release files / carbatpy-0.5.6-py3-none-any.whl

Download URL carbatpy-0.5.6-py3-none-any.whl
Size 3.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
b0200dbe72dbfa6cc5f96e665a45b044ef1f224400e4011d53fac8c8ed4409f1
BLAKE2b-256 checksum
How to use checksums
b8ada1166b783493d062db81b53fc3d06dbaa19b961fffd54b4ec48df4f18c90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.0.0 CPython/3.12.10 Windows/11

Release history Release notifications | RSS feed

0.7.2

2 release files

0.7.1

2 release files

0.6.7

2 release files

0.6.6

2 release files

0.6.5

2 release files

0.6.4

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

This release

0.5.6 This release

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.12

2 release files

0.3.3

2 release files

0.3.2

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

1 release file

0.1.3

2 release files

0.1.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page