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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for PyThermalAnalysis-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f175dc37d868d8107bd5300ca91b72da7640524adc9e2dfd4bda85ec68f8ba62 |
|
MD5 | e7b5bf507bb7b520c8888c6357052bca |
|
BLAKE2b-256 | 61c619b7f8ced66f41c61fc78494a62bfc7040f01194f7fb1c83605e7d4058ad |