{"id":18552296,"url":"https://github.com/cuspaceflight/campyros","last_synced_at":"2025-04-09T22:31:55.962Z","repository":{"id":52351278,"uuid":"308847422","full_name":"cuspaceflight/CamPyRoS","owner":"cuspaceflight","description":"CamPyRoS (Cambridge Python Rocketry Simulator) is a Python package which provides fully featured rocket trajectory simulation","archived":false,"fork":false,"pushed_at":"2021-07-27T17:48:01.000Z","size":39341,"stargazers_count":25,"open_issues_count":2,"forks_count":6,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-24T13:11:26.832Z","etag":null,"topics":["aerodynamics","heating","rockets","stochastic-analysis","trajectory","trajectory-prediction","wind"],"latest_commit_sha":null,"homepage":"https://campyros.readthedocs.io/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cuspaceflight.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-31T09:30:53.000Z","updated_at":"2025-03-24T10:14:02.000Z","dependencies_parsed_at":"2022-09-06T13:11:17.862Z","dependency_job_id":null,"html_url":"https://github.com/cuspaceflight/CamPyRoS","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuspaceflight%2FCamPyRoS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuspaceflight%2FCamPyRoS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuspaceflight%2FCamPyRoS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cuspaceflight%2FCamPyRoS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cuspaceflight","download_url":"https://codeload.github.com/cuspaceflight/CamPyRoS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248123721,"owners_count":21051519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aerodynamics","heating","rockets","stochastic-analysis","trajectory","trajectory-prediction","wind"],"created_at":"2024-11-06T21:13:44.363Z","updated_at":"2025-04-09T22:31:50.947Z","avatar_url":"https://github.com/cuspaceflight.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CamPyRoS - A 6DOF Rocket Trajectory Simulator\n[![DOI](https://zenodo.org/badge/308847422.svg)](https://zenodo.org/badge/latestdoi/308847422) [![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)[![Testing](https://github.com/cuspaceflight/CamPyRoS/actions/workflows/testcase.yml/badge.svg)](https://github.com/cuspaceflight/CamPyRoS/actions/workflows/testcase.yml)\n\nCamPyRoS (Cambridge Python Rocketry Simulator) is a Python package which provides fully featured rocket trajectory simulation including features like:\n- 6 degrees of freedom (3 translational, 3 rotational)\n- Monte Carlo stochastic analysis\n- Aerodynamic heating model\n- Use of live wind data\n- Variable mass and moments of inertia models\n\n## Getting started\nCurrently not all dependancies are supported by the same install methods so the easiest install doesn't contain the full functionality. To install the core library:\n\n`pip install git+https://github.com/cuspaceflight/CamPyRoS.git`  \n\nStatistics has a dependancy not fully supported by windows, to install it:\n\n`pip install ray` on most platforms, for Windows problems see [here](https://docs.ray.io/en/master/installation.html).\n\nIf you don't install this the statistics module will run but only single threaded which will be *extremely* slow.\n\n## Usage\n\nThe repository contains some examples you can run:\n- `example.ipynb` or `example.py` : Launch of a simple rocket (the Martlet 4).\n- `Stats Model Example.ipynb` : Example of how to use the statistics model and stochastic analysis.\n- `Aerodynamic Heating Example.ipynb` : Example of how to run an aerodynamic heating simulation.\n\n## Helping out\nIf you would like to contribute please have a look at the [guidelines](CONTRIBUTING.md)\n\n\n## In progress\n- **GUI:** An incomplete (and outdated) GUI has been made using Tkinter, and is in gui.py.\n- **Slosh modelling:** Some slosh modelling functions have been put together in slosh.py, based on the following source - [The Dynamic Behavior of Liquids in Moving Containers, with Applications to Space Vehicle Technology](https://ntrs.nasa.gov/citations/19670006555).\n- **Wind variability:** Statistical analysis of historic wind forecasts and obervations are analysed to create a Guassian difference profile to vary the wind in the statistical models (see wind-stats branch for a very poorly documented insight to current progress)\n\n\n## Potential for expansion\n- **Multistage rockets**\n- **Fin cant, roll damping, and roll acceleration:** [OpenRocket Technical Documentation](http://openrocket.info/documentation.html)\n- **CFD coupling:** [PyFoam](https://openfoamwiki.net/index.php/Contrib/PyFoam), [Simulations of 6-DOF Motion\nwith a Cartesian Method](https://pdfs.semanticscholar.org/ace3/5a61803390b0e0b70f6ca34492ad20a03e03.pdf)\n- **Multiphysics coupling:** [PRECICE](https://www.precice.org/)\n\n## Cite as\nDaniel Gibbons, \u0026 Jago Strong-Wright. (2021, February 11). cuspaceflight/CamPyRoS: First release! (Version V1.0). Zenodo. http://doi.org/10.5281/zenodo.4535672\n\n## Main References\n\n[1] - [Stochastic Six-Degree-of-Freedom Flight Simulator for Passively Controlled High-Power Rockets](https://ascelibrary.org/doi/10.1061/%28ASCE%29AS.1943-5525.0000051)\n\n[2] - [Tangent ogive nose aerodynamic heating program: NQLD019](https://ntrs.nasa.gov/citations/19730063810)\n\n\n## Additional References\n[3] - [NASA Basic Considerations for Rocket Trajectory Simulation](https://apps.dtic.mil/sti/pdfs/AD0642855.pdf)\n\n[4] - [SIX DEGREE OF FREEDOM DIGITAL SIMULATION MODEL FOR UNGUIDED FIN-STABILIZED ROCKETS](https://apps.dtic.mil/dtic/tr/fulltext/u2/452106.pdf)\n\n[5] - [Trajectory Prediction for a Typical Fin Stabilized Artillery Rocket](https://journals.ekb.eg/article_23742_f19c1da1a61e78c1f5bb7ce58a7b30dd.pdf)\n\n[6] - [Central Limit Theorem and Sample Size](https://www.umass.edu/remp/Papers/Smith\u0026Wells_NERA06.pdf)\n\n[7] - [Monte Carlo Simulations: Number of Iterations and Accuracy](https://apps.dtic.mil/dtic/tr/fulltext/u2/a621501.pdf)\n\n[8] - [Method for Calculating Aerodynamic Heating on Sounding Rocket Tangent Ogive Noses](https://arc.aiaa.org/doi/abs/10.2514/3.62081)\n\n[9] - [Six degree-of-freedom (6-DOF) Flight Simulation Check-cases](https://nescacademy.nasa.gov/flightsim/)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuspaceflight%2Fcampyros","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcuspaceflight%2Fcampyros","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcuspaceflight%2Fcampyros/lists"}