Skip to main content

A Python tool for the analysis and optimization of thermodynamic cycles.

Project description

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.

  1. Install Poetry package manager Follow the official guide: Poetry Installation
    Then verify the installation:

    poetry --version
    
  2. Clone the repository from GitHub

    git clone https://github.com/turbo-sim/thermopt.git
    
  3. Navigate to the project directory

    cd thermopt
    
  4. Install the package using Poetry

    poetry install
    
  5. 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 .yaml input file
  • Is executed via a corresponding run_optimization.py script
  • Outputs results in a subdirectory called results/

To run any example, navigate to the corresponding subfolder and execute the optimization script.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thermopt-0.2.3.tar.gz (49.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

thermopt-0.2.3-py3-none-any.whl (62.9 kB view details)

Uploaded Python 3

File details

Details for the file thermopt-0.2.3.tar.gz.

File metadata

  • Download URL: thermopt-0.2.3.tar.gz
  • Upload date:
  • Size: 49.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.14 Linux/6.11.0-1018-azure

File hashes

Hashes for thermopt-0.2.3.tar.gz
Algorithm Hash digest
SHA256 569ce4a35e692e0b887921e5e358ff8722d1f143add1be00db78db0665d022d9
MD5 288d394876f4d88e186d9d38b1261ae8
BLAKE2b-256 6c6d29b4b529baefb639a06b62d6df45624b333d59df5aa7574984518417fa42

See more details on using hashes here.

File details

Details for the file thermopt-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: thermopt-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 62.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.11.14 Linux/6.11.0-1018-azure

File hashes

Hashes for thermopt-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5cb5f0d87be849af9b4635e05a66bf755d58824241c6101a8ac7b8bd1ad07648
MD5 70d540c62c3c7251c17e2970b6fa59d9
BLAKE2b-256 bce5f9d3cb434ac846b2b55d04ae69f4bf7f834c0f19241bb5c204bc58dbfa48

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page