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.
Metadata
Release files for gpkit-models 0.1.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gpkit_models-0.1.9.tar.gz | 1.8 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gpkit_models-0.1.9-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.7 MB
Release files / gpkit_models-0.1.9.tar.gz
| Download URL | gpkit_models-0.1.9.tar.gz |
|---|---|
| Size | 1.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90c606f0c1a1c8d558534efb29668c25a38945255466bacadbacec39a55bb6d8
|
|
BLAKE2b-256 checksum How to use checksums |
97e6e8036aa37f87fc9685f4d0cc1786376f00da315417730a73d191c2b21aeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / gpkit_models-0.1.9-py3-none-any.whl
| Download URL | gpkit_models-0.1.9-py3-none-any.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1cc03e85aeb946d80b3be464ce9860ffac4a814327dbe107ee0ed018d5970f5e
|
|
BLAKE2b-256 checksum How to use checksums |
d1593fb1153d604fac187fe7ca63ff1da00ace91855cf190d02f4a7453014540
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|