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.

Quick installation guide (from Git repository)

This guide will walk you through installing Thermopt using Poetry, which manages dependencies and virtual environments efficiently.

1. Install Poetry

If you haven't installed Poetry yet, follow the official guide:
Poetry Installation

Verify the installation:

poetry --version

2. Clone the Repository

If you haven't cloned the ThermOpt repository yet, do so:

git clone https://github.com/turbo-sim/thermopt
cd thermopt

3. Create a Virtual Environment and Install Dependencies

Poetry will automatically create a virtual environment and install all dependencies specified in pyproject.toml:

poetry install

4. Activate the Virtual Environment

To activate the virtual environment, run:

poetry shell

To deactivate it, simply type:

exit

5. Verify the Installation

Run the following command inside the Poetry shell or using poetry run:

poetry run python -c "import thermopt; thermopt.print_package_info()"

If successful, this will display the Thermopt banner and package details.

6. Installing Additional Packages

To install new dependencies:

poetry add <package-name>

For development dependencies:

poetry add --dev <package-name>

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.0.5.tar.gz (84.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.0.5-py3-none-any.whl (102.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: thermopt-0.0.5.tar.gz
  • Upload date:
  • Size: 84.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for thermopt-0.0.5.tar.gz
Algorithm Hash digest
SHA256 e135f824095cd0be24b45a9824ef52829756b8cff19c25ffaa2119a0f245a77d
MD5 356cdcf76bcb29b34fbb25a64efa7d8f
BLAKE2b-256 29b4f044e0f16f0656425a148618920f6e8e3caeec390098dd45021a59dfdf95

See more details on using hashes here.

File details

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

File metadata

  • Download URL: thermopt-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 102.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.11.11 Linux/6.8.0-1021-azure

File hashes

Hashes for thermopt-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 de5d392db82d60528965cc7010cd40ec522d6a92622586e80c2fc5914f85f7b4
MD5 6ac07ca0170d47f2751f47cc0e06e1aa
BLAKE2b-256 508b0bb8d3ea5bfaed34d926a3ddc47939e02f285309de7e3aafd652ef118eca

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