Centrifugal Compressor Performance calculation.
Project description
Centrifugal Compressor Performance
ccp is a python library for calculation of centrifugal compressor performance. It is based on the book of [Ludtke04] and uses CoolProp REFPROP for the gas properties calculations.
Online documentation is available at here.
import ccp
# ccp uses pint to handle units. Q_ is a pint quantity.
# If a pint quantity is not provided, SI units are assumed.
Q_ = ccp.Q_
ps = Q_(3, 'bar')
Ts = 300
# Define the fluid as a dictionary:
fluid = {
"CarbonDioxide": 0.8,
"Nitrogen": 0.2,
}
# Define suction and discharge states:
suc0 = ccp.State.define(fluid=fluid, p=ps, T=Ts)
disch0 = ccp.State.define(fluid=fluid, p=Q_(7.255, 'bar'), T=391.1)
# Create performance point(s):
point0 = ccp.Point(
suc=suc0,
disch=disch0,
speed=Q_(7941, 'RPM'),
flow_m=Q_(34203.6, 'kg/hr'),
b=0.0285,
D=0.365)
)
point1...
# Create an impeller with those points:
imp = Impeller([point0, point1, ...])
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
ccp-performance-0.1.3.tar.gz
(25.8 kB
view details)
Built Distribution
File details
Details for the file ccp-performance-0.1.3.tar.gz
.
File metadata
- Download URL: ccp-performance-0.1.3.tar.gz
- Upload date:
- Size: 25.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae99fa4d4059e81141d95eba5a4c0e28fd017380b2d9fe6255380df05e14fb12 |
|
MD5 | f766c40c9e6d00c877f097073c577855 |
|
BLAKE2b-256 | 5c66588f4b2e8e56ff23cd082caf91affafdb8f7dc8bc82e1f84749731a86a90 |
File details
Details for the file ccp_performance-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: ccp_performance-0.1.3-py3-none-any.whl
- Upload date:
- Size: 29.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6428d65108dd6d50b709efbf4a49bd1cb017d0a5dfea090e7ee52786eef8e923 |
|
MD5 | a8308654a53f8211b7b68a2d15e6aeb4 |
|
BLAKE2b-256 | 6eabfff49dba11261d91a885829bc817a97908b0f88068b0f2065300e47b7a6d |