Skip to main content
Every aircraft analysis is driven by an Excel workbook. The model expects three sheets with specific layouts.

Workbook naming convention

Name your file using this pattern so main() can auto-discover it:
Examples:
The extract_aircraft_name() function strips _Cost_Model_1500hrs and replaces underscores with spaces to produce a clean display name.

Sheet 1 — Parameters

A two-column table: parameter name in column A, value in column B. Row 1 is a header and is skipped automatically.
For electric aircraft without conventional engines, set Number_of_Engines to 0 and Engine_Overhaul_Cost to 0. Battery costs are modelled separately via Battery_Cost and Battery_Life.
For autonomous aircraft, set Number_of_Pilots to 0. The model automatically applies the Automation_Cost_Base premium to the purchase price and increases liability insurance by 10%.

Sheet 2 — Lookup_Crews

Maps annual flight hours to the number of required crews. Rows 1–2 are headers and are skipped. The model interpolates (and extrapolates) linearly to find crews at the actual annual hours.

Sheet 3 — Lookup_Speed

Maps mission stage length to average cruise speed. Rows 1–2 are headers and are skipped. Units: stage length in nautical miles, speed in knots. The model linearly interpolates to find speed at the configured stage length, then derives flight time and flights-per-hour from that.