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.16.tar.gz
(313.5 kB
view details)
Built Distribution
File details
Details for the file ccp-performance-0.1.16.tar.gz
.
File metadata
- Download URL: ccp-performance-0.1.16.tar.gz
- Upload date:
- Size: 313.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02e76d7c5f3aaffbd756b818145e8f4ddac79c9ea15fc3a601d955345844ed26 |
|
MD5 | 8eafe08a9863faf0b2a9fceea2384550 |
|
BLAKE2b-256 | d75d6120245c6f6ed806ac778a6fdb132ca4efdf87c63e86e594d0f92470ab49 |
File details
Details for the file ccp_performance-0.1.16-py3-none-any.whl
.
File metadata
- Download URL: ccp_performance-0.1.16-py3-none-any.whl
- Upload date:
- Size: 323.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0f35802c3dd0a651b54554b9ffdbf314e49f5c97338e4fd4f6b6171c08bc41d |
|
MD5 | b409b90541dba82f0823221225f684bf |
|
BLAKE2b-256 | 0389ceddf0463c186673d031353680b2177bd95d4cdcbf377393b1e61f17a23a |