ThermoOpt
ThermoOpt is a Python package for the modeling and optimization of thermodynamic cycles.
📚 Documentation: https://turbo-sim.github.io/thermopt/ (under construction)
📦 PyPI package: https://pypi.org/project/thermopt/
🚀 User installation (via PyPI)
If you just want to use ThermoOpt, the easiest way is to install it from PyPI:
pip install thermopt
You can then verify the installation with:
python -c "import thermopt; thermopt.print_package_info()"
🛠️ Developer installation (from source with Poetry)
This guide walks you through installation for development using Poetry, which manages both dependencies and virtual environments automatically.
-
Install Poetry package manager Follow the official guide: Poetry Installation
Then verify the installation:poetry --version -
Clone the repository from GitHub
git clone https://github.com/turbo-sim/thermopt.git
-
Navigate to the project directory
cd thermopt
-
Install the package using Poetry
poetry install -
Verify the installation
poetry run python -c "import thermopt; thermopt.print_package_info()"
If the installation was successful, you should see output similar to:
-------------------------------------------------------------------------------- ________ ____ __ /_ __/ /_ ___ _________ ___ / __ \____ / /_ / / / __ \/ _ \/ ___/ __ `__ \/ / / / __ \/ __/ / / / / / / __/ / / / / / / / /_/ / /_/ / /_ /_/ /_/ /_/\___/_/ /_/ /_/ /_/\____/ .___/\__/ /_/ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- Version: 0.2.2 Repository: https://github.com/turbo-sim/thermopt Documentation: https://turbo-sim.github.io/thermopt/ --------------------------------------------------------------------------------
📂 Examples
The examples directory contains a variety of ready-to-run thermodynamic cycle cases, covering different working fluids and applications.
Each example:
- Is defined in a
.yamlinput file - Is executed via a corresponding
run_optimization.pyscript - Outputs results in a subdirectory called
results/
To run any example, navigate to the corresponding subfolder and execute the optimization script.
Metadata
Release files for thermopt 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| thermopt-0.2.4.tar.gz | 49.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| thermopt-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 112.7 kB
Release files / thermopt-0.2.4.tar.gz
| Download URL | thermopt-0.2.4.tar.gz |
|---|---|
| Size | 49.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
69a9dc63a0803478205a1f638b043a8f1dffefc5cdef6be33635ffc6ec896bc6
|
|
BLAKE2b-256 checksum How to use checksums |
c4c07457252f5345af1e503dce4793a9b70865ac7a756634e48169f5e48c5a92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.15 Linux/6.17.0-1008-azure
|
Release files / thermopt-0.2.4-py3-none-any.whl
| Download URL | thermopt-0.2.4-py3-none-any.whl |
|---|---|
| Size | 62.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
921a9da656fd78e6d01ff19a9d843a42e375b2433e93df28c3c0169735d617ae
|
|
BLAKE2b-256 checksum How to use checksums |
41862e69cb563580b6c5289e844211764f2fc1866efb0206a435b1dd450110fb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.2 CPython/3.11.15 Linux/6.17.0-1008-azure
|