CHP models implemented in tespy (for WWNW)
Project description
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()
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
tes_chp-0.2.1.tar.gz
(3.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tes_chp-0.2.1.tar.gz.
File metadata
- Download URL: tes_chp-0.2.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98af130b305aa4fca6245f4d30f018d8a58d8886196142142af282c7b2170ca5
|
|
| MD5 |
df3f342ee05ba8b6cc93dcf53beda8db
|
|
| BLAKE2b-256 |
7aa52ab60331bdd16dab960a966881c714843961e4248ea7bc33c8823a24d9f7
|
File details
Details for the file tes_chp-0.2.1-py3-none-any.whl.
File metadata
- Download URL: tes_chp-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
893093283a82b87b8e25c1f445a12e24604a00eb333c42e6e427a2a58823fe5d
|
|
| MD5 |
42a412036bd2765527c60d1962bb0bd9
|
|
| BLAKE2b-256 |
9803f0b27530a3dab929ed3f75e51ab931128fc97d577ff2300c112d56134c85
|