Functions for generating compressor monitoring models
Project description
compressor-models
Monitoring models for compressors. Get time series data and compressor curves from SPD.
Install
Install from pypi using pip install compressor-models.
Usage
From SPD database
from compressor_models import CompressorPerformance, CurveFile
print(CompressorPerformance.models_in_database())
cmp = CompressorPerformance.from_database(functional_location="1130-KA101")
cf = CurveFile.from_Compressor(cmp)
print(cmp.get_yaml())
print(cf.to_json())
Create model from JSON curves
from compressor_models import CompressorPerformance
cmp = CompressorPerformance.get_empty(functional_location="TEST-KA101")
cmp.add_curves(curve_file="examples/compressor_curves.json")
print(cmp.get_yaml())
Develop / testing
Clone from github and install using uv sync.
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
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 compressor_models-0.4.2.tar.gz.
File metadata
- Download URL: compressor_models-0.4.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.14.5 Darwin/25.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6189bb8edbd83c34f6fa43f791e8cc808810c9901c62377201132d204626d1c5
|
|
| MD5 |
8d3e4d0bae30a9c9dcb9d992caaf086a
|
|
| BLAKE2b-256 |
75a4f394102dd8cbf7322e29b04bbc785a45cf0e39f1c150a94b4f258c8f5e7a
|
File details
Details for the file compressor_models-0.4.2-py3-none-any.whl.
File metadata
- Download URL: compressor_models-0.4.2-py3-none-any.whl
- Upload date:
- Size: 8.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.4.1 CPython/3.14.5 Darwin/25.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f24e123ec286046d2e3639052ba48809a01c4f44ac9ee9874c53f1209ddf6418
|
|
| MD5 |
cfbc6daa937853fad3942a846a684280
|
|
| BLAKE2b-256 |
b3e3de529c261a87255bbd17602468699f3448b7df48608a5c10785499fc1d40
|