Python-based Gearbox Reliability and Integrity Toolbox (PyGRITbx)
PyGritbx is a python-based tool born thanks to a project in the course "Fundamentals of Machine Design" at Politecnico di Torino. Students following 3rd year of the Mechanical Engineering bachelor's degree are required to submit a report for this project. The tool helps students define the components that constitute the gearbox in a given project, in order to then verify its design.
What does it do?
Given a gearbox configuration and an operating point, the tool is able to:
- Calculate all the forces exchanged between gears and reaction forces produced by the bearings.
- Calculate internal loads and stresses on shafts.
- Perform static and fatigue verification on shafts by calculating the corresponding safety factors.
- Gear tooth verification in terms of bending and pitting (wear).
- SKF bearing life analysis.
How does it do it?
Thanks to Python Object-Oriented Programming (POOP), the tool is able to define the components of the gearbox as objects as well as account for their specific geometries and interactions to perform the necessary calculations.
Components
The tool supports the following components:
- Motor
- Gear (can be used as spur/helical gear by setting the proper helix angle) and recently, even Bevel gears
- Shaft
- SKF Bearings
This structure allows the user to define the components based on their given characteristics.
Interactions and Geometries
The tool supports other classes that the user needs in order to define the interactions between different components as well as their geometry:
- Mesh: to define the meshing between two gears.
- Material: to define the material properties for a certain component (yield strength, ultimate tensile strength, etc.).
- Force/Torque: to define any external forces or torques acting on a certain component.
- Shaft Profile: to define the external profile of a shaft component.
- Shaft Section: to define a section of a shaft whose profile has already been defined to analyze it.
The tool accounts for stress concentration factors, notch sensitivity factor, and fatigue limit correction factors to accurately perform the analysis. The user must define the geometry of the shaft(s) properly so that the tool can account for all these factors accurately.
Examples
1. Normal Internal Load
2. Bending Stress
3. Haigh Diagram
Installation
For installation, make sure the proper environment is activated and execute the following command in the command line prompt:
pip install pygritbx
What's New?
- Bug fixes.
- Automated static and fatigue verification for shafts by implmenting the ".performStaticVerification()" and ".performFatigueVerification()" functions in the Shaft class.
- Automated gear tooth bending and gear tooth pitting analyses by implementing ".analyseGearToothBending()" and "analyseGearToothPitting()" functions in the Gear class.
- Modified examples according to latest implementations.
- Added Lieral for categorizing certain parameters.
References
- Richard G. Budynas and J. Keith Nisbett, Shigley's Mechanical Engineering Design, McGraw-Hill, 2006.
- SKF Group, SKF Rolling Bearings Catalogue, SKF. SKF Rolling Bearings
Metadata
Release files for pygritbx 1.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pygritbx-1.1.4.tar.gz | 29.8 kB | Without provenance | Details for pygritbx-1.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pygritbx-1.1.4-py3-none-any.whl | Python 3 | none | any | Details for pygritbx-1.1.4-py3-none-any.whl |
Total release size: 69.8 kB
Release files / pygritbx-1.1.4.tar.gz
| Download URL | pygritbx-1.1.4.tar.gz |
|---|---|
| Size | 29.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
90e99d6b614f541f5c67f9e24f86082cb64338abea20cbfdacd32a547cfa4b9b
|
|
BLAKE2b-256 checksum How to use checksums |
0600903ffddfb8c323a1f95e2a60bec55e03b65f09d5c03691cc0dfe58e2bd1c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Release files / pygritbx-1.1.4-py3-none-any.whl
| Download URL | pygritbx-1.1.4-py3-none-any.whl |
|---|---|
| Size | 40.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c97509393a20a668887b8571b969517e2b395f1b8c55e02bbab6a18e40b58a50
|
|
BLAKE2b-256 checksum How to use checksums |
6ad27a85e9bb1e1238e23177adcd4d29e32c6ee1ea4d90e2324b3a3e505f97ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Security for pygritbx 1.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.