A simple and intuitive tool for simulating different types of aircraft engines.
Project description
propsim
A simple and intuitive tool for simulating different types of aircraft engines.
Overview
This library aims to bring a simple and intuitive way to perform computational calculations for the design and validation of the main models of aeronautical engines.
Through a core AircraftEngines class the user is able to switch between the following engine types and evaluation methodologies:
| Engine Model | Functionality | Implemented function |
|---|---|---|
| Turbojet | Ideal Non-ideal on design Non-ideal off design |
ideal_turbojetreal_turbojetreal_turbojet_off_design |
| Turbofan | Ideal Non-ideal on design Non-ideal off design |
ideal_turbofanreal_turbofanreal_turbofan_off_design |
| Turboprop | Ideal Non-ideal on design |
ideal_turbopropreal_turboprop |
| Ramjet | Ideal | ideal_ramjet |
Setup process
First, one must install the library using the following command in an environment containing Python 3.6 or higher.
pip install propsim
This command will install the library and its dependencies.
Usage cases
Once the library is properly installed, we have the following use cases:
-
The first one consists of carrying out a single point analysis with a fixed $\pi_c$ value. In this specific example an ideal turbofan type engine is shown.
from propsim import AircraftEngines engines = AircraftEngines(12500) engines.ideal_turbofan(M0=0.7, gamma=1.4, cp=1004, hpr=42.8*10**6, Tt4=1850, pi_c=10, pi_f=2, alpha=5)The expected result for this test case is the following data set:
{ 'pi_c': [10], 'F_m0': [279.62], 'f': [0.03], 'S': [1.94e-05], 'eta_T': [0.52], 'eta_P': [0.46], 'eta_Total': [0.24], 'FR': [4.46] } -
The second one consists of carrying out a bach analysis were $\pi_c$ values vary and so the output data can be plotted for carrying out the appropriate analysis. This feature is currently available only for the ideal turbofan, ideal turbojet and real turbojet. In this specific example an ideal turbofan type engine is also shown.
from propsim import AircraftEngines engines = AircraftEngines(12500) engines.ideal_turbofan(M0=0.7, gamma=1.4, cp=1004, hpr=42.8*10**6, Tt4=1850, pi_c=10, pi_f=2, alpha=5, batch_size=3, min_pi_c=7, max_pi_c=15)The expected result for this test case is the following data set:
{ 'pi_c': [7, 9.66, 12.33, 14.99], 'F_m0': [271.16, 278.94, 283.34, 286.05], 'f': [0.031, 0.032, 0.0312, 0.031], 'S': [2.06e-05, 1.95e-05, 1.87e-05, 1.82e-05], 'eta_T': [0.47, 0.52, 0.55, 0.57], 'eta_P': [0.48, 0.47, 0.46, 0.45], 'eta_Total': [0.23, 0.24, 0.25, 0.26], 'FR': [4.17, 4.43, 4.58, 4.67] }
Project details
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 propsim-0.0.4.tar.gz.
File metadata
- Download URL: propsim-0.0.4.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ba2afb483b3a846c897b675c2c2abc9e17a67d23b193a2c718d88ff39e5a8d8
|
|
| MD5 |
251e8d5df8b3be4a3dafc632f3abec9f
|
|
| BLAKE2b-256 |
e6566bbfa31f7a82ab0536ea04d8fbd0766929a0ce78bf2e7b3aa720d7be1bda
|
File details
Details for the file propsim-0.0.4-py3-none-any.whl.
File metadata
- Download URL: propsim-0.0.4-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e90fb68464dfe6a54d4c6a5c98011285a018db445bf438042c2c34e0fc7c873
|
|
| MD5 |
9d1893a19ec3126ba4f7ea4fb5282e15
|
|
| BLAKE2b-256 |
c97de727b29b8e5693d892691b888632f2b653866ea71dbc130083b9ff3a9588
|