ccp-performance

Python library for calculation of centrifugal compressor performance.

https://github.com/petrobras/ccp

Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.7%) to scientific vocabulary

Keywords

python
Last synced: 6 months ago · JSON representation ·

Repository

Python library for calculation of centrifugal compressor performance.

Basic Info
Statistics
  • Stars: 31
  • Watchers: 1
  • Forks: 11
  • Open Issues: 13
  • Releases: 0
Topics
python
Created almost 3 years ago · Last pushed 6 months ago
Metadata Files
Readme Contributing License Code of conduct Citation Cla

README.md

drawing Centrifugal Compressor Performance

PyPI Version License code style black

ccp is a python library for calculation of centrifugal compressor performance. It uses CoolProp/REFPROP for the gas properties calculations.

```python 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(fluid=fluid, p=ps, T=Ts) disch0 = ccp.State(fluid=fluid, p=Q(7.255, 'bar'), T=391.1) disch1 = ccp.State(fluid=fluid, p=Q(6.754, 'bar'), T=382.1)

Create performance point(s):

point0 = ccp.Point( suc=suc0, disch=disch0, speed=Q(7941, 'RPM'), flowm=Q(34203.6, 'kg/hr'), b=0.0285, D=0.365, ) point1 = ccp.Point( suc=suc0, disch=disch1, speed=Q(7941, 'RPM'), flowm=Q(36204.8, 'kg/hr'), b=0.0285, D=0.365, )

Create an impeller with those points:

imp = ccp.Impeller([point0, point1])

Get results from the Impeller with methods such as

imp.headplot() imp.disch.Tplot() ```

Documentation

Access the documentation here.

Questions

If you have any questions, you can use the Discussions area in the repository.

Contributing to ccp

ccp is a community-driven project. If you want to contribute to the project, please check CONTRIBUTING.md.

Owner

  • Name: Petróleo Brasileiro S.A.
  • Login: petrobras
  • Kind: organization

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
- family-names: "Timbó"
  given-names: "Raphael"
  email: raphaelts@petrobras.com.br
  orcid: "https://orcid.org/0000-0001-7689-5486"
  affiliation: "Petróleo Brasileiro S.A."
- family-names: "Brandão"
  given-names: "André"
  orcid: "https://orcid.org/0000-0003-4128-7717"
  affiliation: "Petróleo Brasileiro S.A."
- family-names: "Cisneiros"
  given-names: "Raphael"
  orcid: "https://orcid.org/0000-0001-9248-0467"
  affiliation: "Petróleo Brasileiro S.A."

title: "ccp: Centrifugal Compressor Performance"
version: "0.2.1"
date-released: 2023-03-20
url: "https://github.com/petrobras/ccp"

GitHub Events

Total
  • Issues event: 4
  • Watch event: 12
  • Delete event: 1
  • Issue comment event: 2
  • Push event: 27
  • Pull request event: 11
  • Pull request review event: 3
  • Fork event: 3
  • Create event: 17
Last Year
  • Issues event: 4
  • Watch event: 12
  • Delete event: 1
  • Issue comment event: 2
  • Push event: 27
  • Pull request event: 11
  • Pull request review event: 3
  • Fork event: 3
  • Create event: 17

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 1,210
  • Total Committers: 5
  • Avg Commits per committer: 242.0
  • Development Distribution Score (DDS): 0.392
Past Year
  • Commits: 94
  • Committers: 4
  • Avg Commits per committer: 23.5
  • Development Distribution Score (DDS): 0.457
Top Committers
Name Email Commits
raphaeltimbo r****s@g****m 736
raphaeltimbo r****s@p****r 359
Raphael Cisneiros r****s@p****r 50
atbrandao a****o@p****r 44
marcusfilipe m****e@p****r 21
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 33
  • Total pull requests: 67
  • Average time to close issues: 2 months
  • Average time to close pull requests: 19 days
  • Total issue authors: 4
  • Total pull request authors: 4
  • Average comments per issue: 0.45
  • Average comments per pull request: 0.06
  • Merged pull requests: 58
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 6
  • Pull requests: 14
  • Average time to close issues: 6 months
  • Average time to close pull requests: 3 days
  • Issue authors: 2
  • Pull request authors: 3
  • Average comments per issue: 0.17
  • Average comments per pull request: 0.29
  • Merged pull requests: 12
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • raphaeltimbo (30)
  • thiagoemrich00 (1)
  • ricardoevvargas (1)
  • Hempstead (1)
Pull Request Authors
  • raphaeltimbo (47)
  • CisneirosRaphael (12)
  • marcusfilipesr (6)
  • Adriel007 (2)
Top Labels
Issue Labels
enhancement (7) documentation (2) bug (1)
Pull Request Labels
bug (3) enhancement (2)

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 3,597 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 56
  • Total maintainers: 1
pypi.org: ccp-performance

Centrifugal Compressor Performance calculation.

  • Versions: 56
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 3,597 Last month
Rankings
Dependent packages count: 10.0%
Forks count: 13.3%
Downloads: 14.3%
Average: 15.1%
Stargazers count: 16.0%
Dependent repos count: 21.7%
Maintainers (1)
Last synced: 6 months ago