Skip to main content

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_turbojet
real_turbojet
real_turbojet_off_design
Turbofan Ideal
Non-ideal on design
Non-ideal off design
ideal_turbofan
real_turbofan
real_turbofan_off_design
Turboprop Non-ideal on design
Non-ideal off design
ideal_turboprop
real_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:

  1. 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]
    }
    
  2. 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

propsim-0.0.3.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

propsim-0.0.3-py3-none-any.whl (8.2 kB view details)

Uploaded Python 3

File details

Details for the file propsim-0.0.3.tar.gz.

File metadata

  • Download URL: propsim-0.0.3.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

Hashes for propsim-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2d5332c10cb7d0cccb4af975a3ac7b7bf00fcf7d04b237a9e6b3625c2df7616e
MD5 5221a0189eb403663f6266f6609062c6
BLAKE2b-256 1cbe9d5da15856757b264b7091e45463bcccff083d95d37e7b689ea758dd72da

See more details on using hashes here.

File details

Details for the file propsim-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: propsim-0.0.3-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

Hashes for propsim-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 9af1e5fbea3b502358c94711513b84dc40c6e19f13ceb9a629e95cf9d96323a8
MD5 408a57f2c0bf91a1723b369d6f8ca05c
BLAKE2b-256 d0fcf67fc063c643227a6034636252a44d678dc1a0b393572e9d2178615a439c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page