Skip to main content

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.

Metadata

Release files for thermopt 0.2.5

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

Source distribution (sdist)

Source distribution for thermopt 0.2.5
File Size Uploaded Provenance Actions
thermopt-0.2.5.tar.gz 51.8 kB Without provenance Details for thermopt-0.2.5.tar.gz

Built distribution (wheel)

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

Total release size: 116.7 kB

Release files / thermopt-0.2.5.tar.gz

Download URL thermopt-0.2.5.tar.gz
Size 51.8 kB
Tags Source
SHA-256 checksum
How to use checksums
abc63d09fc9da272b773e91faf1a28c905c2a725ea2a793aa8255fca219ff18d
BLAKE2b-256 checksum
How to use checksums
df0878960c3dc8e5c668af296d8e8bdd32d3b20b15c272c123f4013479ecb73d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.17 Linux/6.17.0-1022-azure

Release files / thermopt-0.2.5-py3-none-any.whl

Download URL thermopt-0.2.5-py3-none-any.whl
Size 64.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
962a963798455163ffcbe846ec0823dab936fa9d08e45fb143be7016ce87c2ca
BLAKE2b-256 checksum
How to use checksums
193169c659044cb6174605d1fc6ec5ac09bd6ab1d9148e09a45bc4a5f30eeddc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.8.2 CPython/3.11.17 Linux/6.17.0-1022-azure

Security for thermopt 0.2.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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