Metadata-Version: 2.4
Name: gpkit-models
Version: 0.1.7
Summary: Library of exponential cone compatible sizing models
Project-URL: Homepage, https://www.github.com/beautifulmachines/gpkit-models
Author-email: Warren Hoburg <whoburg@alum.mit.edu>
License: MIT License
        
        Copyright (c) 2025 Warren Hoburg
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Requires-Python: <3.14,>=3.11
Requires-Dist: adce>=1.3.3.2
Requires-Dist: gpkit-core>=0.2.4
Requires-Dist: pandas>=2.0.0
Description-Content-Type: text/markdown

# gpkit-models

[![CI Status](https://github.com/beautifulmachines/gpkit-models/actions/workflows/tests.yml/badge.svg)](https://github.com/beautifulmachines/gpkit-models/actions/workflows/tests.yml)
[![CI Status](https://github.com/beautifulmachines/gpkit-models/actions/workflows/lint.yml/badge.svg)](https://github.com/beautifulmachines/gpkit-models/actions/workflows/lint.yml)

This repository contains those GP-/SP-compatible models that we consider well documented and general enough to be useful to multiple projects.

* **Simple models with in-depth explanations** (good for learning GPkit)
  * [SimPleAC](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/SP/SimPleAC/): a basic aircraft model that captures the fundamental design tradeoffs
  * [Economic Order Quantity](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/misc/Economic%20Order%20Quantity/): tradeoff between setup and holding costs
  * [Cylindrical Beam Moment of Inertia](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/misc/Moment%20of%20Inertia%20(cylindrical%20beam)): GP approximation of cylindrical beam MOI
  * [Net Present Value](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/misc/Net%20Present%20Value): financial tradeoff between cash and equipment
  * [Raymer Weights](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/misc/Raymer%20Weights): rule-of-thumb weight relations for aircraft design
* **GP models**
  * Aircraft
    * [Wing Structural and Aero Models](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/GP/aircraft/wing)
    * [Empennage](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/GP/aircraft/tail): TailBoom, HorizontalTail, and VerticalTail inherit from the Wing model
    * [Mission](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/GP/aircraft/mission): models that unify subsystems and flight profiles
    * [Fuselage](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/GP/aircraft/fuselage): elliptical and cylindrical fuselage models
    * [IC Gas Engine Model](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/GP/aircraft/engine)
  * [Bending Beam](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/GP/beam): discretized beam for distributed loads
* **SP models**
  * Aircraft
    * [Tail Boom Flexibility](https://github.com/beautifulmachines/gpkit-models/tree/main/gpkitmodels/SP/aircraft/tail/tail_boom_flex.py)
    * [Wing Spanwise Effectiveness](https://github.com/beautifulmachines/gpkit-models/blob/main/gpkitmodels/SP/aircraft/wing/wing.py)
  * Atmosphere
    * [Tony Tao's fits as (efficient) signomial equalities](https://github.com/beautifulmachines/gpkit-models/blob/main/gpkitmodels/SP/atmosphere/atmosphere.py). Valid until 10,000m of altitude. 

