Skip to main content

Requirements

  • Python 3.10 or later
  • An Excel parameter file describing your aircraft (see Input Format)

Install

Clone the repository and install in editable mode:
This pulls in all required dependencies automatically (numpy, pandas, scipy, matplotlib, openpyxl).
Use a virtual environment to keep dependencies isolated:

Run a single-aircraft analysis


Compare multiple aircraft

Place several Excel files in the same directory and call run_comparison:
Console output (example):

Run from the command line

If you have Excel files in the same directory as LCC.py, you can run the script directly:
It will auto-discover all *Cost_Model*.xlsx files, print the comparison table, and write charts to the current directory.

Run tests

Or with the standard library runner: