Library of exponential cone compatible sizing models
Project description
gpkit-models
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: a basic aircraft model that captures the fundamental design tradeoffs
- Economic Order Quantity: tradeoff between setup and holding costs
- Cylindrical Beam Moment of Inertia: GP approximation of cylindrical beam MOI
- Net Present Value: financial tradeoff between cash and equipment
- Raymer Weights: rule-of-thumb weight relations for aircraft design
- GP models
- Aircraft
- Wing Structural and Aero Models
- Empennage: TailBoom, HorizontalTail, and VerticalTail inherit from the Wing model
- Mission: models that unify subsystems and flight profiles
- Fuselage: elliptical and cylindrical fuselage models
- IC Gas Engine Model
- Bending Beam: discretized beam for distributed loads
- Aircraft
- SP models
- Aircraft
- Atmosphere
- Tony Tao's fits as (efficient) signomial equalities. Valid until 10,000m of altitude.
Releasing
Versions are derived automatically from git tags (via hatch-vcs) — there is no
__version__ to hand-edit and no version-bump PR to remember. gpkitmodels.__version__
reflects whatever tag is checked out:
- On a commit exactly at tag
v0.2.0, with no local changes:0.2.0. - On any other commit:
0.2.1.devN+g<hash>, whereNis commits since the last tag. - With uncommitted local changes: the version always carries a dev/dirty suffix, even
if
HEADis itself tagged — so a cleanX.Y.Zversion only ever comes from a committed, exactly-tagged commit.
To cut a release:
make release V=0.2.0
or directly:
gh release create v0.2.0 --generate-notes
Publishing the release triggers .github/workflows/publish.yml, which builds the
package (version read straight from the new tag) and uploads it to PyPI.
Use plain vMAJOR.MINOR.PATCH tags. Bump PATCH for fixes, MINOR for backwards-compatible
additions, MAJOR for breaking changes.
Project details
Release history Release notifications | RSS feed
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 gpkit_models-0.1.8.tar.gz.
File metadata
- Download URL: gpkit_models-0.1.8.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d3c5948cf978d51203403ea5e7efc0bef425a97e7fd85494c4d2c1260634be2a
|
|
| MD5 |
b4f2336117749e7b6024d370c2124034
|
|
| BLAKE2b-256 |
40328e8ba652eb1c6f7c8b1e3ada5c78d9070f85fad95b0324e7e618bdbb2813
|
File details
Details for the file gpkit_models-0.1.8-py3-none-any.whl.
File metadata
- Download URL: gpkit_models-0.1.8-py3-none-any.whl
- Upload date:
- Size: 1.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1eb8c5a6023e96927b4c09ac4b4fb5ca793ae67a3854de04df613c67825e033
|
|
| MD5 |
a3952007de38d798be3c45c159f3e73d
|
|
| BLAKE2b-256 |
46afc4e3ee9fb685e9f449064302258a7427368f93caf9e4a15740efbeac8b19
|