Skip to main content

A Python library for a basic exergy analysis in thermodynamic systems

Project description

PyThermalAnalysis

Advanced Thermal Analysis Library

PyThermalAnalysis

PyThermalAnalysis is a Python library for performing exergy analysis in thermodynamic systems.

Features

  • Calculate exergy of various thermodynamic states
  • Analyze exergy destruction in components like heat exchangers and turbines

Installation

You can install the library using pip:

pip install PyThermalAnalysis

use

from PyThermalAnalysis import ExergyAnalysis, ThermodynamicState

# Define ambient conditions
T0 = 298.15  # K
h0 = 0.0     # kJ/kg
s0 = 0.0     # kJ/kg-K

# Create a thermodynamic state
state = ThermodynamicState(500, 101325, 2800, 6.8)

# Perform exergy analysis
exergy_analyzer = ExergyAnalysis(T0, h0, s0)
exergy = exergy_analyzer.calculate_exergy(state)
print(f"Exergy: {exergy} kJ/kg")

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

PyThermalAnalysis-0.1.0.tar.gz (6.6 kB view hashes)

Uploaded Source

Built Distribution

PyThermalAnalysis-0.1.0-py3-none-any.whl (7.2 kB view hashes)

Uploaded Python 3

Supported by

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