mol-TDN: Thermodynamic properties of molecular fluids
Examples
- Compute density of methane at 100 bar using the Peng-Robinson equation of state:
from mol_tdn import Molecule, compute_eos, plot_pv
m = Molecule('methane')
m.info()
Molecule: methane
Chemical formula: CH4
Molecular Mass: 16.0 g/mol
Critical Temperature: 190.56 K
Critical Pressure: 45.99 bar
Accentric factor: 0.012
compute_eos(m, t=298, p=100, eos='pr')
{'phase': 'supercritic',
'temperature': 290,
'temperature_unit': 'K',
'temperature_reduced': 1.5218303946263645,
'pressure': 100,
'pressure_unit': 'bar',
'pressure_reduced': 2.1743857360295715,
'molar_density': 5.1136267891221125,
'molar_density_unit': 'mol/L',
'density': 0.08201746007072958,
'density_unit': 'g/cm^3',
'fugacity_coefficient': 0.8026596911737123,
'compressibility_factor': 0.8110786197961839,
'fugacity': 80.26596911737123,
'fugaciy_unit': 'bar',
'molar_volume': 0.1955559217045787,
'molar_volume_unit': 'L/mol',
'enthalpy_reduced': -1.8894059136250632,
'enthalpy_reduced_unit': 'kJ/mol',
'entropy_reduced': -0.004687572314523244,
'entropy_reduced_unit': 'kJ/mol/K',
'energy_gibbs_reduced': -0.530009942413322,
'energy_gibbs_reduced_unit': 'kJ/mol'}
Metadata
Release files for mol-tdn 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| mol-tdn-0.0.1.tar.gz | 6.6 kB | Without provenance | Details |
Release files / mol-tdn-0.0.1.tar.gz
| Download URL | mol-tdn-0.0.1.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e19abdea51de3fd2b616c75489f79ac70089174e9fb80d5363d74a65e1f5343d
|
|
BLAKE2b-256 checksum How to use checksums |
0e407eec582522ce85135b6a1deca2982dfc3767767c75329175d88010520b63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.0
|
Security for mol-tdn 0.0.1
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.