TESpy-based CHP
Important: This model is still unfinished and under active development! Use it with caution.
This project contains a CHP implemetation using TESpy. To install the package run
pip install tes-chp
The CHP is implemented as TESpy subsystem. A simple usage could look like:
from tes_chp import CHP
from tespy.networks import Network
net = Network(fluids=["H2O", "CH4", "H2", "O2", "CO2", "Ar", "N2"], p_unit='bar', T_unit='C', iterinfo=False)
chp = CHP("CHP")
net.add_subsys(chp)
chp.set_attr(P=-1e6)
mode= "design"
net.solve(mode=mode, design_path=".")
net.save("tmp")
net.print_results()
chp.set_attr(P=-5e5)
mode= "offdesign"
net.solve(mode=mode, design_path="tmp")
net.print_results()
Metadata
Release files for tes-chp 0.2.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 | Actions |
|---|---|---|---|---|
| tes_chp-0.2.1.tar.gz | 3.3 kB | Without provenance | Details for tes_chp-0.2.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tes_chp-0.2.1-py3-none-any.whl | Python 3 | none | any | Details for tes_chp-0.2.1-py3-none-any.whl |
Total release size: 6.7 kB
Release files / tes_chp-0.2.1.tar.gz
| Download URL | tes_chp-0.2.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
98af130b305aa4fca6245f4d30f018d8a58d8886196142142af282c7b2170ca5
|
|
BLAKE2b-256 checksum How to use checksums |
7aa52ab60331bdd16dab960a966881c714843961e4248ea7bc33c8823a24d9f7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / tes_chp-0.2.1-py3-none-any.whl
| Download URL | tes_chp-0.2.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
893093283a82b87b8e25c1f445a12e24604a00eb333c42e6e427a2a58823fe5d
|
|
BLAKE2b-256 checksum How to use checksums |
9803f0b27530a3dab929ed3f75e51ab931128fc97d577ff2300c112d56134c85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Security for tes-chp 0.2.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.